devtools-protocol 0.0.1341448 → 0.0.1342118
Sign up to get free protection for your applications and to get access to all the features.
@@ -2281,6 +2281,27 @@
|
|
2281
2281
|
"$ref": "StorageArea"
|
2282
2282
|
}
|
2283
2283
|
]
|
2284
|
+
},
|
2285
|
+
{
|
2286
|
+
"name": "setStorageItems",
|
2287
|
+
"description": "Sets `values` in extension storage in the given `storageArea`. The provided `values`\nwill be merged with existing values in the storage area.",
|
2288
|
+
"parameters": [
|
2289
|
+
{
|
2290
|
+
"name": "id",
|
2291
|
+
"description": "ID of extension.",
|
2292
|
+
"type": "string"
|
2293
|
+
},
|
2294
|
+
{
|
2295
|
+
"name": "storageArea",
|
2296
|
+
"description": "StorageArea to set data in.",
|
2297
|
+
"$ref": "StorageArea"
|
2298
|
+
},
|
2299
|
+
{
|
2300
|
+
"name": "values",
|
2301
|
+
"description": "Values to set.",
|
2302
|
+
"type": "object"
|
2303
|
+
}
|
2304
|
+
]
|
2284
2305
|
}
|
2285
2306
|
]
|
2286
2307
|
},
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
@@ -1151,6 +1151,16 @@ experimental domain Extensions
|
|
1151
1151
|
string id
|
1152
1152
|
# StorageArea to remove data from.
|
1153
1153
|
StorageArea storageArea
|
1154
|
+
# Sets `values` in extension storage in the given `storageArea`. The provided `values`
|
1155
|
+
# will be merged with existing values in the storage area.
|
1156
|
+
command setStorageItems
|
1157
|
+
parameters
|
1158
|
+
# ID of extension.
|
1159
|
+
string id
|
1160
|
+
# StorageArea to set data in.
|
1161
|
+
StorageArea storageArea
|
1162
|
+
# Values to set.
|
1163
|
+
object values
|
1154
1164
|
|
1155
1165
|
# Defines commands and events for Autofill.
|
1156
1166
|
experimental domain Autofill
|
@@ -1539,6 +1539,14 @@ export namespace ProtocolMapping {
|
|
1539
1539
|
paramsType: [Protocol.Extensions.ClearStorageItemsRequest];
|
1540
1540
|
returnType: void;
|
1541
1541
|
};
|
1542
|
+
/**
|
1543
|
+
* Sets `values` in extension storage in the given `storageArea`. The provided `values`
|
1544
|
+
* will be merged with existing values in the storage area.
|
1545
|
+
*/
|
1546
|
+
'Extensions.setStorageItems': {
|
1547
|
+
paramsType: [Protocol.Extensions.SetStorageItemsRequest];
|
1548
|
+
returnType: void;
|
1549
|
+
};
|
1542
1550
|
/**
|
1543
1551
|
* Trigger autofill on a form identified by the fieldId.
|
1544
1552
|
* If the field and related form cannot be autofilled, returns an error.
|
@@ -837,6 +837,12 @@ export namespace ProtocolProxyApi {
|
|
837
837
|
*/
|
838
838
|
clearStorageItems(params: Protocol.Extensions.ClearStorageItemsRequest): Promise<void>;
|
839
839
|
|
840
|
+
/**
|
841
|
+
* Sets `values` in extension storage in the given `storageArea`. The provided `values`
|
842
|
+
* will be merged with existing values in the storage area.
|
843
|
+
*/
|
844
|
+
setStorageItems(params: Protocol.Extensions.SetStorageItemsRequest): Promise<void>;
|
845
|
+
|
840
846
|
}
|
841
847
|
|
842
848
|
export interface AutofillApi {
|
@@ -895,6 +895,12 @@ export namespace ProtocolTestsProxyApi {
|
|
895
895
|
*/
|
896
896
|
clearStorageItems(params: Protocol.Extensions.ClearStorageItemsRequest): Promise<{id: number, result: void, sessionId: string}>;
|
897
897
|
|
898
|
+
/**
|
899
|
+
* Sets `values` in extension storage in the given `storageArea`. The provided `values`
|
900
|
+
* will be merged with existing values in the storage area.
|
901
|
+
*/
|
902
|
+
setStorageItems(params: Protocol.Extensions.SetStorageItemsRequest): Promise<{id: number, result: void, sessionId: string}>;
|
903
|
+
|
898
904
|
}
|
899
905
|
|
900
906
|
export interface AutofillApi {
|
package/types/protocol.d.ts
CHANGED
@@ -3833,6 +3833,21 @@ export namespace Protocol {
|
|
3833
3833
|
*/
|
3834
3834
|
storageArea: StorageArea;
|
3835
3835
|
}
|
3836
|
+
|
3837
|
+
export interface SetStorageItemsRequest {
|
3838
|
+
/**
|
3839
|
+
* ID of extension.
|
3840
|
+
*/
|
3841
|
+
id: string;
|
3842
|
+
/**
|
3843
|
+
* StorageArea to set data in.
|
3844
|
+
*/
|
3845
|
+
storageArea: StorageArea;
|
3846
|
+
/**
|
3847
|
+
* Values to set.
|
3848
|
+
*/
|
3849
|
+
values: any;
|
3850
|
+
}
|
3836
3851
|
}
|
3837
3852
|
|
3838
3853
|
/**
|