devtools-protocol 0.0.1000917 → 0.0.1000974
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7373,6 +7373,10 @@
|
|
7373
7373
|
"description": "Query and modify DOM storage.",
|
7374
7374
|
"experimental": true,
|
7375
7375
|
"types": [
|
7376
|
+
{
|
7377
|
+
"id": "SerializedStorageKey",
|
7378
|
+
"type": "string"
|
7379
|
+
},
|
7376
7380
|
{
|
7377
7381
|
"id": "StorageId",
|
7378
7382
|
"description": "DOM Storage identifier.",
|
@@ -7381,8 +7385,15 @@
|
|
7381
7385
|
{
|
7382
7386
|
"name": "securityOrigin",
|
7383
7387
|
"description": "Security origin for the storage.",
|
7388
|
+
"optional": true,
|
7384
7389
|
"type": "string"
|
7385
7390
|
},
|
7391
|
+
{
|
7392
|
+
"name": "storageKey",
|
7393
|
+
"description": "Represents a key by which DOM Storage keys its CachedStorageAreas",
|
7394
|
+
"optional": true,
|
7395
|
+
"$ref": "SerializedStorageKey"
|
7396
|
+
},
|
7386
7397
|
{
|
7387
7398
|
"name": "isLocalStorage",
|
7388
7399
|
"description": "Whether the storage is local storage (not session storage).",
|
@@ -7464,6 +7475,21 @@
|
|
7464
7475
|
"type": "string"
|
7465
7476
|
}
|
7466
7477
|
]
|
7478
|
+
},
|
7479
|
+
{
|
7480
|
+
"name": "getStorageKeyForFrame",
|
7481
|
+
"parameters": [
|
7482
|
+
{
|
7483
|
+
"name": "frameId",
|
7484
|
+
"$ref": "Page.FrameId"
|
7485
|
+
}
|
7486
|
+
],
|
7487
|
+
"returns": [
|
7488
|
+
{
|
7489
|
+
"name": "storageKey",
|
7490
|
+
"$ref": "SerializedStorageKey"
|
7491
|
+
}
|
7492
|
+
]
|
7467
7493
|
}
|
7468
7494
|
],
|
7469
7495
|
"events": [
|
@@ -18723,6 +18749,10 @@
|
|
18723
18749
|
"Network"
|
18724
18750
|
],
|
18725
18751
|
"types": [
|
18752
|
+
{
|
18753
|
+
"id": "SerializedStorageKey",
|
18754
|
+
"type": "string"
|
18755
|
+
},
|
18726
18756
|
{
|
18727
18757
|
"id": "StorageType",
|
18728
18758
|
"description": "Enum of possible storage types.",
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
@@ -3399,11 +3399,15 @@ experimental domain DOMSnapshot
|
|
3399
3399
|
# Query and modify DOM storage.
|
3400
3400
|
experimental domain DOMStorage
|
3401
3401
|
|
3402
|
+
type SerializedStorageKey extends string
|
3403
|
+
|
3402
3404
|
# DOM Storage identifier.
|
3403
3405
|
type StorageId extends object
|
3404
3406
|
properties
|
3405
3407
|
# Security origin for the storage.
|
3406
|
-
string securityOrigin
|
3408
|
+
optional string securityOrigin
|
3409
|
+
# Represents a key by which DOM Storage keys its CachedStorageAreas
|
3410
|
+
optional SerializedStorageKey storageKey
|
3407
3411
|
# Whether the storage is local storage (not session storage).
|
3408
3412
|
boolean isLocalStorage
|
3409
3413
|
|
@@ -3437,6 +3441,12 @@ experimental domain DOMStorage
|
|
3437
3441
|
string key
|
3438
3442
|
string value
|
3439
3443
|
|
3444
|
+
command getStorageKeyForFrame
|
3445
|
+
parameters
|
3446
|
+
Page.FrameId frameId
|
3447
|
+
returns
|
3448
|
+
SerializedStorageKey storageKey
|
3449
|
+
|
3440
3450
|
event domStorageItemAdded
|
3441
3451
|
parameters
|
3442
3452
|
StorageId storageId
|
@@ -8803,6 +8813,8 @@ experimental domain Storage
|
|
8803
8813
|
depends on Browser
|
8804
8814
|
depends on Network
|
8805
8815
|
|
8816
|
+
type SerializedStorageKey extends string
|
8817
|
+
|
8806
8818
|
# Enum of possible storage types.
|
8807
8819
|
type StorageType extends string
|
8808
8820
|
enum
|
@@ -2352,6 +2352,10 @@ export namespace ProtocolMapping {
|
|
2352
2352
|
paramsType: [Protocol.DOMStorage.SetDOMStorageItemRequest];
|
2353
2353
|
returnType: void;
|
2354
2354
|
};
|
2355
|
+
'DOMStorage.getStorageKeyForFrame': {
|
2356
|
+
paramsType: [Protocol.DOMStorage.GetStorageKeyForFrameRequest];
|
2357
|
+
returnType: Protocol.DOMStorage.GetStorageKeyForFrameResponse;
|
2358
|
+
};
|
2355
2359
|
/**
|
2356
2360
|
* Disables database tracking, prevents database events from being sent to the client.
|
2357
2361
|
*/
|
@@ -1614,6 +1614,8 @@ export namespace ProtocolProxyApi {
|
|
1614
1614
|
|
1615
1615
|
setDOMStorageItem(params: Protocol.DOMStorage.SetDOMStorageItemRequest): Promise<void>;
|
1616
1616
|
|
1617
|
+
getStorageKeyForFrame(params: Protocol.DOMStorage.GetStorageKeyForFrameRequest): Promise<Protocol.DOMStorage.GetStorageKeyForFrameResponse>;
|
1618
|
+
|
1617
1619
|
on(event: 'domStorageItemAdded', listener: (params: Protocol.DOMStorage.DomStorageItemAddedEvent) => void): void;
|
1618
1620
|
|
1619
1621
|
on(event: 'domStorageItemRemoved', listener: (params: Protocol.DOMStorage.DomStorageItemRemovedEvent) => void): void;
|
package/types/protocol.d.ts
CHANGED
@@ -7093,6 +7093,8 @@ export namespace Protocol {
|
|
7093
7093
|
*/
|
7094
7094
|
export namespace DOMStorage {
|
7095
7095
|
|
7096
|
+
export type SerializedStorageKey = string;
|
7097
|
+
|
7096
7098
|
/**
|
7097
7099
|
* DOM Storage identifier.
|
7098
7100
|
*/
|
@@ -7100,7 +7102,11 @@ export namespace Protocol {
|
|
7100
7102
|
/**
|
7101
7103
|
* Security origin for the storage.
|
7102
7104
|
*/
|
7103
|
-
securityOrigin
|
7105
|
+
securityOrigin?: string;
|
7106
|
+
/**
|
7107
|
+
* Represents a key by which DOM Storage keys its CachedStorageAreas
|
7108
|
+
*/
|
7109
|
+
storageKey?: SerializedStorageKey;
|
7104
7110
|
/**
|
7105
7111
|
* Whether the storage is local storage (not session storage).
|
7106
7112
|
*/
|
@@ -7135,6 +7141,14 @@ export namespace Protocol {
|
|
7135
7141
|
value: string;
|
7136
7142
|
}
|
7137
7143
|
|
7144
|
+
export interface GetStorageKeyForFrameRequest {
|
7145
|
+
frameId: Page.FrameId;
|
7146
|
+
}
|
7147
|
+
|
7148
|
+
export interface GetStorageKeyForFrameResponse {
|
7149
|
+
storageKey: SerializedStorageKey;
|
7150
|
+
}
|
7151
|
+
|
7138
7152
|
export interface DomStorageItemAddedEvent {
|
7139
7153
|
storageId: StorageId;
|
7140
7154
|
key: string;
|
@@ -14273,6 +14287,8 @@ export namespace Protocol {
|
|
14273
14287
|
|
14274
14288
|
export namespace Storage {
|
14275
14289
|
|
14290
|
+
export type SerializedStorageKey = string;
|
14291
|
+
|
14276
14292
|
/**
|
14277
14293
|
* Enum of possible storage types.
|
14278
14294
|
*/
|