devtools-protocol 0.0.1084174 → 0.0.1085283
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.
@@ -19836,6 +19836,17 @@
|
|
19836
19836
|
}
|
19837
19837
|
]
|
19838
19838
|
},
|
19839
|
+
{
|
19840
|
+
"name": "resetSharedStorageBudget",
|
19841
|
+
"description": "Resets the budget for `ownerOrigin` by clearing all budget withdrawals.",
|
19842
|
+
"experimental": true,
|
19843
|
+
"parameters": [
|
19844
|
+
{
|
19845
|
+
"name": "ownerOrigin",
|
19846
|
+
"type": "string"
|
19847
|
+
}
|
19848
|
+
]
|
19849
|
+
},
|
19839
19850
|
{
|
19840
19851
|
"name": "setSharedStorageTracking",
|
19841
19852
|
"description": "Enables/disables issuing of sharedStorageAccessed events.",
|
@@ -20593,6 +20604,13 @@
|
|
20593
20604
|
"description": "Whether to create the target in background or foreground (chrome-only,\nfalse by default).",
|
20594
20605
|
"optional": true,
|
20595
20606
|
"type": "boolean"
|
20607
|
+
},
|
20608
|
+
{
|
20609
|
+
"name": "forTab",
|
20610
|
+
"description": "Whether to create the target of type \"tab\".",
|
20611
|
+
"experimental": true,
|
20612
|
+
"optional": true,
|
20613
|
+
"type": "boolean"
|
20596
20614
|
}
|
20597
20615
|
],
|
20598
20616
|
"returns": [
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
@@ -9381,6 +9381,11 @@ experimental domain Storage
|
|
9381
9381
|
parameters
|
9382
9382
|
string ownerOrigin
|
9383
9383
|
|
9384
|
+
# Resets the budget for `ownerOrigin` by clearing all budget withdrawals.
|
9385
|
+
experimental command resetSharedStorageBudget
|
9386
|
+
parameters
|
9387
|
+
string ownerOrigin
|
9388
|
+
|
9384
9389
|
# Enables/disables issuing of sharedStorageAccessed events.
|
9385
9390
|
experimental command setSharedStorageTracking
|
9386
9391
|
parameters
|
@@ -9723,6 +9728,8 @@ domain Target
|
|
9723
9728
|
# Whether to create the target in background or foreground (chrome-only,
|
9724
9729
|
# false by default).
|
9725
9730
|
optional boolean background
|
9731
|
+
# Whether to create the target of type "tab".
|
9732
|
+
experimental optional boolean forTab
|
9726
9733
|
returns
|
9727
9734
|
# The id of the page opened.
|
9728
9735
|
TargetID targetId
|
@@ -4151,6 +4151,13 @@ export namespace ProtocolMapping {
|
|
4151
4151
|
paramsType: [Protocol.Storage.ClearSharedStorageEntriesRequest];
|
4152
4152
|
returnType: void;
|
4153
4153
|
};
|
4154
|
+
/**
|
4155
|
+
* Resets the budget for `ownerOrigin` by clearing all budget withdrawals.
|
4156
|
+
*/
|
4157
|
+
'Storage.resetSharedStorageBudget': {
|
4158
|
+
paramsType: [Protocol.Storage.ResetSharedStorageBudgetRequest];
|
4159
|
+
returnType: void;
|
4160
|
+
};
|
4154
4161
|
/**
|
4155
4162
|
* Enables/disables issuing of sharedStorageAccessed events.
|
4156
4163
|
*/
|
@@ -3343,6 +3343,11 @@ export namespace ProtocolProxyApi {
|
|
3343
3343
|
*/
|
3344
3344
|
clearSharedStorageEntries(params: Protocol.Storage.ClearSharedStorageEntriesRequest): Promise<void>;
|
3345
3345
|
|
3346
|
+
/**
|
3347
|
+
* Resets the budget for `ownerOrigin` by clearing all budget withdrawals.
|
3348
|
+
*/
|
3349
|
+
resetSharedStorageBudget(params: Protocol.Storage.ResetSharedStorageBudgetRequest): Promise<void>;
|
3350
|
+
|
3346
3351
|
/**
|
3347
3352
|
* Enables/disables issuing of sharedStorageAccessed events.
|
3348
3353
|
*/
|
package/types/protocol.d.ts
CHANGED
@@ -14934,6 +14934,10 @@ export namespace Protocol {
|
|
14934
14934
|
ownerOrigin: string;
|
14935
14935
|
}
|
14936
14936
|
|
14937
|
+
export interface ResetSharedStorageBudgetRequest {
|
14938
|
+
ownerOrigin: string;
|
14939
|
+
}
|
14940
|
+
|
14937
14941
|
export interface SetSharedStorageTrackingRequest {
|
14938
14942
|
enable: boolean;
|
14939
14943
|
}
|
@@ -15449,6 +15453,10 @@ export namespace Protocol {
|
|
15449
15453
|
* false by default).
|
15450
15454
|
*/
|
15451
15455
|
background?: boolean;
|
15456
|
+
/**
|
15457
|
+
* Whether to create the target of type "tab".
|
15458
|
+
*/
|
15459
|
+
forTab?: boolean;
|
15452
15460
|
}
|
15453
15461
|
|
15454
15462
|
export interface CreateTargetResponse {
|