devtools-protocol 0.0.1004730 → 0.0.1005172
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.
@@ -7472,21 +7472,6 @@
|
|
7472
7472
|
"type": "string"
|
7473
7473
|
}
|
7474
7474
|
]
|
7475
|
-
},
|
7476
|
-
{
|
7477
|
-
"name": "getStorageKeyForFrame",
|
7478
|
-
"parameters": [
|
7479
|
-
{
|
7480
|
-
"name": "frameId",
|
7481
|
-
"$ref": "Page.FrameId"
|
7482
|
-
}
|
7483
|
-
],
|
7484
|
-
"returns": [
|
7485
|
-
{
|
7486
|
-
"name": "storageKey",
|
7487
|
-
"$ref": "SerializedStorageKey"
|
7488
|
-
}
|
7489
|
-
]
|
7490
7475
|
}
|
7491
7476
|
],
|
7492
7477
|
"events": [
|
@@ -18934,6 +18919,22 @@
|
|
18934
18919
|
}
|
18935
18920
|
],
|
18936
18921
|
"commands": [
|
18922
|
+
{
|
18923
|
+
"name": "getStorageKeyForFrame",
|
18924
|
+
"description": "Returns a storage key given a frame id.",
|
18925
|
+
"parameters": [
|
18926
|
+
{
|
18927
|
+
"name": "frameId",
|
18928
|
+
"$ref": "Page.FrameId"
|
18929
|
+
}
|
18930
|
+
],
|
18931
|
+
"returns": [
|
18932
|
+
{
|
18933
|
+
"name": "storageKey",
|
18934
|
+
"$ref": "SerializedStorageKey"
|
18935
|
+
}
|
18936
|
+
]
|
18937
|
+
},
|
18937
18938
|
{
|
18938
18939
|
"name": "clearDataForOrigin",
|
18939
18940
|
"description": "Clears storage for origin.",
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
@@ -3434,12 +3434,6 @@ experimental domain DOMStorage
|
|
3434
3434
|
string key
|
3435
3435
|
string value
|
3436
3436
|
|
3437
|
-
command getStorageKeyForFrame
|
3438
|
-
parameters
|
3439
|
-
Page.FrameId frameId
|
3440
|
-
returns
|
3441
|
-
SerializedStorageKey storageKey
|
3442
|
-
|
3443
3437
|
event domStorageItemAdded
|
3444
3438
|
parameters
|
3445
3439
|
StorageId storageId
|
@@ -8904,6 +8898,13 @@ experimental domain Storage
|
|
8904
8898
|
array of InterestGroupAd ads
|
8905
8899
|
array of InterestGroupAd adComponents
|
8906
8900
|
|
8901
|
+
# Returns a storage key given a frame id.
|
8902
|
+
command getStorageKeyForFrame
|
8903
|
+
parameters
|
8904
|
+
Page.FrameId frameId
|
8905
|
+
returns
|
8906
|
+
SerializedStorageKey storageKey
|
8907
|
+
|
8907
8908
|
# Clears storage for origin.
|
8908
8909
|
command clearDataForOrigin
|
8909
8910
|
parameters
|
@@ -2352,10 +2352,6 @@ 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
|
-
};
|
2359
2355
|
/**
|
2360
2356
|
* Disables database tracking, prevents database events from being sent to the client.
|
2361
2357
|
*/
|
@@ -3930,6 +3926,13 @@ export namespace ProtocolMapping {
|
|
3930
3926
|
paramsType: [Protocol.ServiceWorker.UpdateRegistrationRequest];
|
3931
3927
|
returnType: void;
|
3932
3928
|
};
|
3929
|
+
/**
|
3930
|
+
* Returns a storage key given a frame id.
|
3931
|
+
*/
|
3932
|
+
'Storage.getStorageKeyForFrame': {
|
3933
|
+
paramsType: [Protocol.Storage.GetStorageKeyForFrameRequest];
|
3934
|
+
returnType: Protocol.Storage.GetStorageKeyForFrameResponse;
|
3935
|
+
};
|
3933
3936
|
/**
|
3934
3937
|
* Clears storage for origin.
|
3935
3938
|
*/
|
@@ -1614,8 +1614,6 @@ 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
|
-
|
1619
1617
|
on(event: 'domStorageItemAdded', listener: (params: Protocol.DOMStorage.DomStorageItemAddedEvent) => void): void;
|
1620
1618
|
|
1621
1619
|
on(event: 'domStorageItemRemoved', listener: (params: Protocol.DOMStorage.DomStorageItemRemovedEvent) => void): void;
|
@@ -3189,6 +3187,11 @@ export namespace ProtocolProxyApi {
|
|
3189
3187
|
}
|
3190
3188
|
|
3191
3189
|
export interface StorageApi {
|
3190
|
+
/**
|
3191
|
+
* Returns a storage key given a frame id.
|
3192
|
+
*/
|
3193
|
+
getStorageKeyForFrame(params: Protocol.Storage.GetStorageKeyForFrameRequest): Promise<Protocol.Storage.GetStorageKeyForFrameResponse>;
|
3194
|
+
|
3192
3195
|
/**
|
3193
3196
|
* Clears storage for origin.
|
3194
3197
|
*/
|
package/types/protocol.d.ts
CHANGED
@@ -7142,14 +7142,6 @@ export namespace Protocol {
|
|
7142
7142
|
value: string;
|
7143
7143
|
}
|
7144
7144
|
|
7145
|
-
export interface GetStorageKeyForFrameRequest {
|
7146
|
-
frameId: Page.FrameId;
|
7147
|
-
}
|
7148
|
-
|
7149
|
-
export interface GetStorageKeyForFrameResponse {
|
7150
|
-
storageKey: SerializedStorageKey;
|
7151
|
-
}
|
7152
|
-
|
7153
7145
|
export interface DomStorageItemAddedEvent {
|
7154
7146
|
storageId: StorageId;
|
7155
7147
|
key: string;
|
@@ -14350,6 +14342,14 @@ export namespace Protocol {
|
|
14350
14342
|
adComponents: InterestGroupAd[];
|
14351
14343
|
}
|
14352
14344
|
|
14345
|
+
export interface GetStorageKeyForFrameRequest {
|
14346
|
+
frameId: Page.FrameId;
|
14347
|
+
}
|
14348
|
+
|
14349
|
+
export interface GetStorageKeyForFrameResponse {
|
14350
|
+
storageKey: SerializedStorageKey;
|
14351
|
+
}
|
14352
|
+
|
14353
14353
|
export interface ClearDataForOriginRequest {
|
14354
14354
|
/**
|
14355
14355
|
* Security origin.
|