devtools-protocol 0.0.1683682 → 0.0.1684464
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.
- package/json/browser_protocol.json +107 -444
- package/package.json +1 -1
- package/pdl/domains/ServiceWorker.pdl +50 -0
- package/pdl/domains/Storage.pdl +0 -228
- package/pdl/domains/WebMCP.pdl +2 -0
- package/types/protocol-mapping.d.ts +0 -66
- package/types/protocol-proxy-api.d.ts +0 -54
- package/types/protocol-tests-proxy-api.d.ts +0 -58
- package/types/protocol.d.ts +60 -309
|
@@ -32,6 +32,52 @@ experimental domain ServiceWorker
|
|
|
32
32
|
activated
|
|
33
33
|
redundant
|
|
34
34
|
|
|
35
|
+
# Mostly corresponds to `RouterCondition` in ServiceWorker spec
|
|
36
|
+
# (https://www.w3.org/TR/service-workers/#dictdef-routercondition) while this
|
|
37
|
+
# currently lacks support for the nested conditions ("or" and "not").
|
|
38
|
+
# TODO(crbug.com/540469610): Support recursive conditions.
|
|
39
|
+
type ServiceWorkerRouterCondition extends object
|
|
40
|
+
properties
|
|
41
|
+
# Plain text, or JSON serialization of URLPatternInit or URLPattern
|
|
42
|
+
optional string urlPattern
|
|
43
|
+
optional string requestMethod
|
|
44
|
+
optional string requestMode
|
|
45
|
+
optional string requestDestination
|
|
46
|
+
optional ServiceWorkerVersionRunningStatus runningStatus
|
|
47
|
+
|
|
48
|
+
type ServiceWorkerRouterSourceType extends string
|
|
49
|
+
enum
|
|
50
|
+
# https://www.w3.org/TR/service-workers/#enumdef-routersourceenum
|
|
51
|
+
cache
|
|
52
|
+
fetchEvent
|
|
53
|
+
network
|
|
54
|
+
raceNetworkAndFetchHandler
|
|
55
|
+
raceNetworkAndCache
|
|
56
|
+
# Tag for https://www.w3.org/TR/service-workers/#dictdef-routersourcedict
|
|
57
|
+
sourceDict
|
|
58
|
+
|
|
59
|
+
# https://www.w3.org/TR/service-workers/#dictdef-routersourcedict
|
|
60
|
+
type ServiceWorkerRouterSourceDict extends object
|
|
61
|
+
properties
|
|
62
|
+
string cacheName
|
|
63
|
+
|
|
64
|
+
# Corresponds to `RouterSource` in the spec while the representation is different as follows.
|
|
65
|
+
# (https://www.w3.org/TR/service-workers/#typedefdef-routersource)
|
|
66
|
+
# - `RouterSourceEnum`: `type` equals `cache`, `sourceDict` is null.
|
|
67
|
+
# - `RouterSourceDict`: `type` equals `sourceDict`, `sourceDict` has valid value.
|
|
68
|
+
type ServiceWorkerRouterSource extends object
|
|
69
|
+
properties
|
|
70
|
+
ServiceWorkerRouterSourceType type
|
|
71
|
+
# Non-empty iff `type` equals "sourceDict".
|
|
72
|
+
optional ServiceWorkerRouterSourceDict sourceDict
|
|
73
|
+
|
|
74
|
+
type ServiceWorkerRouterRule extends object
|
|
75
|
+
properties
|
|
76
|
+
ServiceWorkerRouterCondition condition
|
|
77
|
+
ServiceWorkerRouterSource source
|
|
78
|
+
# Rule ID assigned by the browser. Unique within each ServiceWorkerVersion.
|
|
79
|
+
integer id
|
|
80
|
+
|
|
35
81
|
# ServiceWorker version.
|
|
36
82
|
type ServiceWorkerVersion extends object
|
|
37
83
|
properties
|
|
@@ -47,7 +93,11 @@ experimental domain ServiceWorker
|
|
|
47
93
|
optional number scriptResponseTime
|
|
48
94
|
optional array of Target.TargetID controlledClients
|
|
49
95
|
optional Target.TargetID targetId
|
|
96
|
+
# Migration to `typedRouterRules` is in progress. The browser sends either
|
|
97
|
+
# `routerRules` or `typedRouterRules`.
|
|
98
|
+
# TODO(crbug.com/540469610): Remove `routerRules` after the migration.
|
|
50
99
|
optional string routerRules
|
|
100
|
+
optional array of ServiceWorkerRouterRule typedRouterRules
|
|
51
101
|
|
|
52
102
|
# ServiceWorker error message.
|
|
53
103
|
type ServiceWorkerErrorMessage extends object
|
package/pdl/domains/Storage.pdl
CHANGED
|
@@ -21,7 +21,6 @@ experimental domain Storage
|
|
|
21
21
|
websql
|
|
22
22
|
service_workers
|
|
23
23
|
cache_storage
|
|
24
|
-
shared_storage
|
|
25
24
|
storage_buckets
|
|
26
25
|
all
|
|
27
26
|
other
|
|
@@ -42,147 +41,6 @@ experimental domain Storage
|
|
|
42
41
|
number count
|
|
43
42
|
|
|
44
43
|
|
|
45
|
-
# Enum of shared storage access scopes.
|
|
46
|
-
type SharedStorageAccessScope extends string
|
|
47
|
-
enum
|
|
48
|
-
window
|
|
49
|
-
sharedStorageWorklet
|
|
50
|
-
header
|
|
51
|
-
|
|
52
|
-
# Enum of shared storage access methods.
|
|
53
|
-
type SharedStorageAccessMethod extends string
|
|
54
|
-
enum
|
|
55
|
-
addModule
|
|
56
|
-
createWorklet
|
|
57
|
-
selectURL
|
|
58
|
-
run
|
|
59
|
-
batchUpdate
|
|
60
|
-
set
|
|
61
|
-
append
|
|
62
|
-
delete
|
|
63
|
-
clear
|
|
64
|
-
get
|
|
65
|
-
keys
|
|
66
|
-
values
|
|
67
|
-
entries
|
|
68
|
-
length
|
|
69
|
-
remainingBudget
|
|
70
|
-
|
|
71
|
-
# Struct for a single key-value pair in an origin's shared storage.
|
|
72
|
-
type SharedStorageEntry extends object
|
|
73
|
-
properties
|
|
74
|
-
string key
|
|
75
|
-
string value
|
|
76
|
-
|
|
77
|
-
# Details for an origin's shared storage.
|
|
78
|
-
type SharedStorageMetadata extends object
|
|
79
|
-
properties
|
|
80
|
-
# Time when the origin's shared storage was last created.
|
|
81
|
-
Network.TimeSinceEpoch creationTime
|
|
82
|
-
# Number of key-value pairs stored in origin's shared storage.
|
|
83
|
-
integer length
|
|
84
|
-
# Current amount of bits of entropy remaining in the navigation budget.
|
|
85
|
-
number remainingBudget
|
|
86
|
-
# Total number of bytes stored as key-value pairs in origin's shared
|
|
87
|
-
# storage.
|
|
88
|
-
integer bytesUsed
|
|
89
|
-
|
|
90
|
-
# Represents a dictionary object passed in as privateAggregationConfig to
|
|
91
|
-
# run or selectURL.
|
|
92
|
-
type SharedStoragePrivateAggregationConfig extends object
|
|
93
|
-
properties
|
|
94
|
-
# The chosen aggregation service deployment.
|
|
95
|
-
optional string aggregationCoordinatorOrigin
|
|
96
|
-
# The context ID provided.
|
|
97
|
-
optional string contextId
|
|
98
|
-
# Configures the maximum size allowed for filtering IDs.
|
|
99
|
-
integer filteringIdMaxBytes
|
|
100
|
-
# The limit on the number of contributions in the final report.
|
|
101
|
-
optional integer maxContributions
|
|
102
|
-
|
|
103
|
-
# Pair of reporting metadata details for a candidate URL for `selectURL()`.
|
|
104
|
-
type SharedStorageReportingMetadata extends object
|
|
105
|
-
properties
|
|
106
|
-
string eventType
|
|
107
|
-
string reportingUrl
|
|
108
|
-
|
|
109
|
-
# Bundles a candidate URL with its reporting metadata.
|
|
110
|
-
type SharedStorageUrlWithMetadata extends object
|
|
111
|
-
properties
|
|
112
|
-
# Spec of candidate URL.
|
|
113
|
-
string url
|
|
114
|
-
# Any associated reporting metadata.
|
|
115
|
-
array of SharedStorageReportingMetadata reportingMetadata
|
|
116
|
-
|
|
117
|
-
# Bundles the parameters for shared storage access events whose
|
|
118
|
-
# presence/absence can vary according to SharedStorageAccessType.
|
|
119
|
-
type SharedStorageAccessParams extends object
|
|
120
|
-
properties
|
|
121
|
-
# Spec of the module script URL.
|
|
122
|
-
# Present only for SharedStorageAccessMethods: addModule and
|
|
123
|
-
# createWorklet.
|
|
124
|
-
optional string scriptSourceUrl
|
|
125
|
-
# String denoting "context-origin", "script-origin", or a custom
|
|
126
|
-
# origin to be used as the worklet's data origin.
|
|
127
|
-
# Present only for SharedStorageAccessMethod: createWorklet.
|
|
128
|
-
optional string dataOrigin
|
|
129
|
-
# Name of the registered operation to be run.
|
|
130
|
-
# Present only for SharedStorageAccessMethods: run and selectURL.
|
|
131
|
-
optional string operationName
|
|
132
|
-
# ID of the operation call.
|
|
133
|
-
# Present only for SharedStorageAccessMethods: run and selectURL.
|
|
134
|
-
optional string operationId
|
|
135
|
-
# Whether or not to keep the worket alive for future run or selectURL
|
|
136
|
-
# calls.
|
|
137
|
-
# Present only for SharedStorageAccessMethods: run and selectURL.
|
|
138
|
-
optional boolean keepAlive
|
|
139
|
-
# Configures the private aggregation options.
|
|
140
|
-
# Present only for SharedStorageAccessMethods: run and selectURL.
|
|
141
|
-
optional SharedStoragePrivateAggregationConfig privateAggregationConfig
|
|
142
|
-
# The operation's serialized data in bytes (converted to a string).
|
|
143
|
-
# Present only for SharedStorageAccessMethods: run and selectURL.
|
|
144
|
-
# TODO(crbug.com/401011862): Consider updating this parameter to binary.
|
|
145
|
-
optional string serializedData
|
|
146
|
-
# Array of candidate URLs' specs, along with any associated metadata.
|
|
147
|
-
# Present only for SharedStorageAccessMethod: selectURL.
|
|
148
|
-
optional array of SharedStorageUrlWithMetadata urlsWithMetadata
|
|
149
|
-
# Spec of the URN:UUID generated for a selectURL call.
|
|
150
|
-
# Present only for SharedStorageAccessMethod: selectURL.
|
|
151
|
-
optional string urnUuid
|
|
152
|
-
# Key for a specific entry in an origin's shared storage.
|
|
153
|
-
# Present only for SharedStorageAccessMethods: set, append, delete, and
|
|
154
|
-
# get.
|
|
155
|
-
optional string key
|
|
156
|
-
# Value for a specific entry in an origin's shared storage.
|
|
157
|
-
# Present only for SharedStorageAccessMethods: set and append.
|
|
158
|
-
optional string value
|
|
159
|
-
# Whether or not to set an entry for a key if that key is already present.
|
|
160
|
-
# Present only for SharedStorageAccessMethod: set.
|
|
161
|
-
optional boolean ignoreIfPresent
|
|
162
|
-
# A number denoting the (0-based) order of the worklet's
|
|
163
|
-
# creation relative to all other shared storage worklets created by
|
|
164
|
-
# documents using the current storage partition.
|
|
165
|
-
# Present only for SharedStorageAccessMethods: addModule, createWorklet.
|
|
166
|
-
optional integer workletOrdinal
|
|
167
|
-
# Hex representation of the DevTools token used as the TargetID for the
|
|
168
|
-
# associated shared storage worklet.
|
|
169
|
-
# Present only for SharedStorageAccessMethods: addModule, createWorklet,
|
|
170
|
-
# run, selectURL, and any other SharedStorageAccessMethod when the
|
|
171
|
-
# SharedStorageAccessScope is sharedStorageWorklet.
|
|
172
|
-
optional Target.TargetID workletTargetId
|
|
173
|
-
# Name of the lock to be acquired, if present.
|
|
174
|
-
# Optionally present only for SharedStorageAccessMethods: batchUpdate,
|
|
175
|
-
# set, append, delete, and clear.
|
|
176
|
-
optional string withLock
|
|
177
|
-
# If the method has been called as part of a batchUpdate, then this
|
|
178
|
-
# number identifies the batch to which it belongs.
|
|
179
|
-
# Optionally present only for SharedStorageAccessMethods:
|
|
180
|
-
# batchUpdate (required), set, append, delete, and clear.
|
|
181
|
-
optional string batchUpdateId
|
|
182
|
-
# Number of modifier methods sent in batch.
|
|
183
|
-
# Present only for SharedStorageAccessMethod: batchUpdate.
|
|
184
|
-
optional integer batchSize
|
|
185
|
-
|
|
186
44
|
type StorageBucketsDurability extends string
|
|
187
45
|
enum
|
|
188
46
|
relaxed
|
|
@@ -351,51 +209,6 @@ experimental domain Storage
|
|
|
351
209
|
# True if any tokens were deleted, false otherwise.
|
|
352
210
|
boolean didDeleteTokens
|
|
353
211
|
|
|
354
|
-
# Gets metadata for an origin's shared storage.
|
|
355
|
-
experimental command getSharedStorageMetadata
|
|
356
|
-
parameters
|
|
357
|
-
string ownerOrigin
|
|
358
|
-
returns
|
|
359
|
-
SharedStorageMetadata metadata
|
|
360
|
-
|
|
361
|
-
# Gets the entries in an given origin's shared storage.
|
|
362
|
-
experimental command getSharedStorageEntries
|
|
363
|
-
parameters
|
|
364
|
-
string ownerOrigin
|
|
365
|
-
returns
|
|
366
|
-
array of SharedStorageEntry entries
|
|
367
|
-
|
|
368
|
-
# Sets entry with `key` and `value` for a given origin's shared storage.
|
|
369
|
-
experimental command setSharedStorageEntry
|
|
370
|
-
parameters
|
|
371
|
-
string ownerOrigin
|
|
372
|
-
string key
|
|
373
|
-
string value
|
|
374
|
-
# If `ignoreIfPresent` is included and true, then only sets the entry if
|
|
375
|
-
# `key` doesn't already exist.
|
|
376
|
-
optional boolean ignoreIfPresent
|
|
377
|
-
|
|
378
|
-
# Deletes entry for `key` (if it exists) for a given origin's shared storage.
|
|
379
|
-
experimental command deleteSharedStorageEntry
|
|
380
|
-
parameters
|
|
381
|
-
string ownerOrigin
|
|
382
|
-
string key
|
|
383
|
-
|
|
384
|
-
# Clears all entries for a given origin's shared storage.
|
|
385
|
-
experimental command clearSharedStorageEntries
|
|
386
|
-
parameters
|
|
387
|
-
string ownerOrigin
|
|
388
|
-
|
|
389
|
-
# Resets the budget for `ownerOrigin` by clearing all budget withdrawals.
|
|
390
|
-
experimental command resetSharedStorageBudget
|
|
391
|
-
parameters
|
|
392
|
-
string ownerOrigin
|
|
393
|
-
|
|
394
|
-
# Enables/disables issuing of sharedStorageAccessed events.
|
|
395
|
-
experimental command setSharedStorageTracking
|
|
396
|
-
parameters
|
|
397
|
-
boolean enable
|
|
398
|
-
|
|
399
212
|
# Set tracking for a storage key's buckets.
|
|
400
213
|
experimental command setStorageBucketTracking
|
|
401
214
|
parameters
|
|
@@ -458,47 +271,6 @@ experimental domain Storage
|
|
|
458
271
|
# Storage bucket to update.
|
|
459
272
|
string bucketId
|
|
460
273
|
|
|
461
|
-
# Shared storage was accessed by the associated page.
|
|
462
|
-
# The following parameters are included in all events.
|
|
463
|
-
event sharedStorageAccessed
|
|
464
|
-
parameters
|
|
465
|
-
# Time of the access.
|
|
466
|
-
Network.TimeSinceEpoch accessTime
|
|
467
|
-
# Enum value indicating the access scope.
|
|
468
|
-
SharedStorageAccessScope scope
|
|
469
|
-
# Enum value indicating the Shared Storage API method invoked.
|
|
470
|
-
SharedStorageAccessMethod method
|
|
471
|
-
# DevTools Frame Token for the primary frame tree's root.
|
|
472
|
-
Page.FrameId mainFrameId
|
|
473
|
-
# Serialization of the origin owning the Shared Storage data.
|
|
474
|
-
string ownerOrigin
|
|
475
|
-
# Serialization of the site owning the Shared Storage data.
|
|
476
|
-
string ownerSite
|
|
477
|
-
# The sub-parameters wrapped by `params` are all optional and their
|
|
478
|
-
# presence/absence depends on `type`.
|
|
479
|
-
SharedStorageAccessParams params
|
|
480
|
-
|
|
481
|
-
# A shared storage run or selectURL operation finished its execution.
|
|
482
|
-
# The following parameters are included in all events.
|
|
483
|
-
event sharedStorageWorkletOperationExecutionFinished
|
|
484
|
-
parameters
|
|
485
|
-
# Time that the operation finished.
|
|
486
|
-
Network.TimeSinceEpoch finishedTime
|
|
487
|
-
# Time, in microseconds, from start of shared storage JS API call until
|
|
488
|
-
# end of operation execution in the worklet.
|
|
489
|
-
integer executionTime
|
|
490
|
-
# Enum value indicating the Shared Storage API method invoked.
|
|
491
|
-
SharedStorageAccessMethod method
|
|
492
|
-
# ID of the operation call.
|
|
493
|
-
string operationId
|
|
494
|
-
# Hex representation of the DevTools token used as the TargetID for the
|
|
495
|
-
# associated shared storage worklet.
|
|
496
|
-
Target.TargetID workletTargetId
|
|
497
|
-
# DevTools Frame Token for the primary frame tree's root.
|
|
498
|
-
Page.FrameId mainFrameId
|
|
499
|
-
# Serialization of the origin owning the Shared Storage data.
|
|
500
|
-
string ownerOrigin
|
|
501
|
-
|
|
502
274
|
event storageBucketCreatedOrUpdated
|
|
503
275
|
parameters
|
|
504
276
|
StorageBucketInfo bucketInfo
|
package/pdl/domains/WebMCP.pdl
CHANGED
|
@@ -17,6 +17,8 @@ experimental domain WebMCP
|
|
|
17
17
|
optional boolean readOnly
|
|
18
18
|
# A hint indicating that the tool output may contain untrusted content, ex: UGC, 3rd party data.
|
|
19
19
|
optional boolean untrustedContent
|
|
20
|
+
# A hint indicating that executing the tool will result in consequential actions, ex: booking a flight, transferring money.
|
|
21
|
+
optional boolean consequential
|
|
20
22
|
# If the declarative tool was declared with the autosubmit attribute.
|
|
21
23
|
optional boolean autosubmit
|
|
22
24
|
|
|
@@ -939,16 +939,6 @@ export namespace ProtocolMapping {
|
|
|
939
939
|
* The origin's IndexedDB database list has been modified.
|
|
940
940
|
*/
|
|
941
941
|
'Storage.indexedDBListUpdated': [Protocol.Storage.IndexedDBListUpdatedEvent];
|
|
942
|
-
/**
|
|
943
|
-
* Shared storage was accessed by the associated page.
|
|
944
|
-
* The following parameters are included in all events.
|
|
945
|
-
*/
|
|
946
|
-
'Storage.sharedStorageAccessed': [Protocol.Storage.SharedStorageAccessedEvent];
|
|
947
|
-
/**
|
|
948
|
-
* A shared storage run or selectURL operation finished its execution.
|
|
949
|
-
* The following parameters are included in all events.
|
|
950
|
-
*/
|
|
951
|
-
'Storage.sharedStorageWorkletOperationExecutionFinished': [Protocol.Storage.SharedStorageWorkletOperationExecutionFinishedEvent];
|
|
952
942
|
'Storage.storageBucketCreatedOrUpdated': [Protocol.Storage.StorageBucketCreatedOrUpdatedEvent];
|
|
953
943
|
'Storage.storageBucketDeleted': [Protocol.Storage.StorageBucketDeletedEvent];
|
|
954
944
|
/**
|
|
@@ -5803,62 +5793,6 @@ export namespace ProtocolMapping {
|
|
|
5803
5793
|
paramsType: [Protocol.Storage.ClearTrustTokensRequest];
|
|
5804
5794
|
returnType: Protocol.Storage.ClearTrustTokensResponse;
|
|
5805
5795
|
};
|
|
5806
|
-
/**
|
|
5807
|
-
* Gets metadata for an origin's shared storage.
|
|
5808
|
-
* @experimental
|
|
5809
|
-
*/
|
|
5810
|
-
'Storage.getSharedStorageMetadata': {
|
|
5811
|
-
paramsType: [Protocol.Storage.GetSharedStorageMetadataRequest];
|
|
5812
|
-
returnType: Protocol.Storage.GetSharedStorageMetadataResponse;
|
|
5813
|
-
};
|
|
5814
|
-
/**
|
|
5815
|
-
* Gets the entries in an given origin's shared storage.
|
|
5816
|
-
* @experimental
|
|
5817
|
-
*/
|
|
5818
|
-
'Storage.getSharedStorageEntries': {
|
|
5819
|
-
paramsType: [Protocol.Storage.GetSharedStorageEntriesRequest];
|
|
5820
|
-
returnType: Protocol.Storage.GetSharedStorageEntriesResponse;
|
|
5821
|
-
};
|
|
5822
|
-
/**
|
|
5823
|
-
* Sets entry with `key` and `value` for a given origin's shared storage.
|
|
5824
|
-
* @experimental
|
|
5825
|
-
*/
|
|
5826
|
-
'Storage.setSharedStorageEntry': {
|
|
5827
|
-
paramsType: [Protocol.Storage.SetSharedStorageEntryRequest];
|
|
5828
|
-
returnType: void;
|
|
5829
|
-
};
|
|
5830
|
-
/**
|
|
5831
|
-
* Deletes entry for `key` (if it exists) for a given origin's shared storage.
|
|
5832
|
-
* @experimental
|
|
5833
|
-
*/
|
|
5834
|
-
'Storage.deleteSharedStorageEntry': {
|
|
5835
|
-
paramsType: [Protocol.Storage.DeleteSharedStorageEntryRequest];
|
|
5836
|
-
returnType: void;
|
|
5837
|
-
};
|
|
5838
|
-
/**
|
|
5839
|
-
* Clears all entries for a given origin's shared storage.
|
|
5840
|
-
* @experimental
|
|
5841
|
-
*/
|
|
5842
|
-
'Storage.clearSharedStorageEntries': {
|
|
5843
|
-
paramsType: [Protocol.Storage.ClearSharedStorageEntriesRequest];
|
|
5844
|
-
returnType: void;
|
|
5845
|
-
};
|
|
5846
|
-
/**
|
|
5847
|
-
* Resets the budget for `ownerOrigin` by clearing all budget withdrawals.
|
|
5848
|
-
* @experimental
|
|
5849
|
-
*/
|
|
5850
|
-
'Storage.resetSharedStorageBudget': {
|
|
5851
|
-
paramsType: [Protocol.Storage.ResetSharedStorageBudgetRequest];
|
|
5852
|
-
returnType: void;
|
|
5853
|
-
};
|
|
5854
|
-
/**
|
|
5855
|
-
* Enables/disables issuing of sharedStorageAccessed events.
|
|
5856
|
-
* @experimental
|
|
5857
|
-
*/
|
|
5858
|
-
'Storage.setSharedStorageTracking': {
|
|
5859
|
-
paramsType: [Protocol.Storage.SetSharedStorageTrackingRequest];
|
|
5860
|
-
returnType: void;
|
|
5861
|
-
};
|
|
5862
5796
|
/**
|
|
5863
5797
|
* Set tracking for a storage key's buckets.
|
|
5864
5798
|
* @experimental
|
|
@@ -4886,48 +4886,6 @@ export namespace ProtocolProxyApi {
|
|
|
4886
4886
|
*/
|
|
4887
4887
|
clearTrustTokens(params: Protocol.Storage.ClearTrustTokensRequest): Promise<Protocol.Storage.ClearTrustTokensResponse>;
|
|
4888
4888
|
|
|
4889
|
-
/**
|
|
4890
|
-
* Gets metadata for an origin's shared storage.
|
|
4891
|
-
* @experimental
|
|
4892
|
-
*/
|
|
4893
|
-
getSharedStorageMetadata(params: Protocol.Storage.GetSharedStorageMetadataRequest): Promise<Protocol.Storage.GetSharedStorageMetadataResponse>;
|
|
4894
|
-
|
|
4895
|
-
/**
|
|
4896
|
-
* Gets the entries in an given origin's shared storage.
|
|
4897
|
-
* @experimental
|
|
4898
|
-
*/
|
|
4899
|
-
getSharedStorageEntries(params: Protocol.Storage.GetSharedStorageEntriesRequest): Promise<Protocol.Storage.GetSharedStorageEntriesResponse>;
|
|
4900
|
-
|
|
4901
|
-
/**
|
|
4902
|
-
* Sets entry with `key` and `value` for a given origin's shared storage.
|
|
4903
|
-
* @experimental
|
|
4904
|
-
*/
|
|
4905
|
-
setSharedStorageEntry(params: Protocol.Storage.SetSharedStorageEntryRequest): Promise<void>;
|
|
4906
|
-
|
|
4907
|
-
/**
|
|
4908
|
-
* Deletes entry for `key` (if it exists) for a given origin's shared storage.
|
|
4909
|
-
* @experimental
|
|
4910
|
-
*/
|
|
4911
|
-
deleteSharedStorageEntry(params: Protocol.Storage.DeleteSharedStorageEntryRequest): Promise<void>;
|
|
4912
|
-
|
|
4913
|
-
/**
|
|
4914
|
-
* Clears all entries for a given origin's shared storage.
|
|
4915
|
-
* @experimental
|
|
4916
|
-
*/
|
|
4917
|
-
clearSharedStorageEntries(params: Protocol.Storage.ClearSharedStorageEntriesRequest): Promise<void>;
|
|
4918
|
-
|
|
4919
|
-
/**
|
|
4920
|
-
* Resets the budget for `ownerOrigin` by clearing all budget withdrawals.
|
|
4921
|
-
* @experimental
|
|
4922
|
-
*/
|
|
4923
|
-
resetSharedStorageBudget(params: Protocol.Storage.ResetSharedStorageBudgetRequest): Promise<void>;
|
|
4924
|
-
|
|
4925
|
-
/**
|
|
4926
|
-
* Enables/disables issuing of sharedStorageAccessed events.
|
|
4927
|
-
* @experimental
|
|
4928
|
-
*/
|
|
4929
|
-
setSharedStorageTracking(params: Protocol.Storage.SetSharedStorageTrackingRequest): Promise<void>;
|
|
4930
|
-
|
|
4931
4889
|
/**
|
|
4932
4890
|
* Set tracking for a storage key's buckets.
|
|
4933
4891
|
* @experimental
|
|
@@ -4973,18 +4931,6 @@ export namespace ProtocolProxyApi {
|
|
|
4973
4931
|
*/
|
|
4974
4932
|
on(event: 'indexedDBListUpdated', listener: (params: Protocol.Storage.IndexedDBListUpdatedEvent) => void): void;
|
|
4975
4933
|
|
|
4976
|
-
/**
|
|
4977
|
-
* Shared storage was accessed by the associated page.
|
|
4978
|
-
* The following parameters are included in all events.
|
|
4979
|
-
*/
|
|
4980
|
-
on(event: 'sharedStorageAccessed', listener: (params: Protocol.Storage.SharedStorageAccessedEvent) => void): void;
|
|
4981
|
-
|
|
4982
|
-
/**
|
|
4983
|
-
* A shared storage run or selectURL operation finished its execution.
|
|
4984
|
-
* The following parameters are included in all events.
|
|
4985
|
-
*/
|
|
4986
|
-
on(event: 'sharedStorageWorkletOperationExecutionFinished', listener: (params: Protocol.Storage.SharedStorageWorkletOperationExecutionFinishedEvent) => void): void;
|
|
4987
|
-
|
|
4988
4934
|
on(event: 'storageBucketCreatedOrUpdated', listener: (params: Protocol.Storage.StorageBucketCreatedOrUpdatedEvent) => void): void;
|
|
4989
4935
|
|
|
4990
4936
|
on(event: 'storageBucketDeleted', listener: (params: Protocol.Storage.StorageBucketDeletedEvent) => void): void;
|
|
@@ -5272,48 +5272,6 @@ export namespace ProtocolTestsProxyApi {
|
|
|
5272
5272
|
*/
|
|
5273
5273
|
clearTrustTokens(params: Protocol.Storage.ClearTrustTokensRequest): Promise<{id: number, result: Protocol.Storage.ClearTrustTokensResponse, sessionId: string}>;
|
|
5274
5274
|
|
|
5275
|
-
/**
|
|
5276
|
-
* Gets metadata for an origin's shared storage.
|
|
5277
|
-
* @experimental
|
|
5278
|
-
*/
|
|
5279
|
-
getSharedStorageMetadata(params: Protocol.Storage.GetSharedStorageMetadataRequest): Promise<{id: number, result: Protocol.Storage.GetSharedStorageMetadataResponse, sessionId: string}>;
|
|
5280
|
-
|
|
5281
|
-
/**
|
|
5282
|
-
* Gets the entries in an given origin's shared storage.
|
|
5283
|
-
* @experimental
|
|
5284
|
-
*/
|
|
5285
|
-
getSharedStorageEntries(params: Protocol.Storage.GetSharedStorageEntriesRequest): Promise<{id: number, result: Protocol.Storage.GetSharedStorageEntriesResponse, sessionId: string}>;
|
|
5286
|
-
|
|
5287
|
-
/**
|
|
5288
|
-
* Sets entry with `key` and `value` for a given origin's shared storage.
|
|
5289
|
-
* @experimental
|
|
5290
|
-
*/
|
|
5291
|
-
setSharedStorageEntry(params: Protocol.Storage.SetSharedStorageEntryRequest): Promise<{id: number, result: void, sessionId: string}>;
|
|
5292
|
-
|
|
5293
|
-
/**
|
|
5294
|
-
* Deletes entry for `key` (if it exists) for a given origin's shared storage.
|
|
5295
|
-
* @experimental
|
|
5296
|
-
*/
|
|
5297
|
-
deleteSharedStorageEntry(params: Protocol.Storage.DeleteSharedStorageEntryRequest): Promise<{id: number, result: void, sessionId: string}>;
|
|
5298
|
-
|
|
5299
|
-
/**
|
|
5300
|
-
* Clears all entries for a given origin's shared storage.
|
|
5301
|
-
* @experimental
|
|
5302
|
-
*/
|
|
5303
|
-
clearSharedStorageEntries(params: Protocol.Storage.ClearSharedStorageEntriesRequest): Promise<{id: number, result: void, sessionId: string}>;
|
|
5304
|
-
|
|
5305
|
-
/**
|
|
5306
|
-
* Resets the budget for `ownerOrigin` by clearing all budget withdrawals.
|
|
5307
|
-
* @experimental
|
|
5308
|
-
*/
|
|
5309
|
-
resetSharedStorageBudget(params: Protocol.Storage.ResetSharedStorageBudgetRequest): Promise<{id: number, result: void, sessionId: string}>;
|
|
5310
|
-
|
|
5311
|
-
/**
|
|
5312
|
-
* Enables/disables issuing of sharedStorageAccessed events.
|
|
5313
|
-
* @experimental
|
|
5314
|
-
*/
|
|
5315
|
-
setSharedStorageTracking(params: Protocol.Storage.SetSharedStorageTrackingRequest): Promise<{id: number, result: void, sessionId: string}>;
|
|
5316
|
-
|
|
5317
5275
|
/**
|
|
5318
5276
|
* Set tracking for a storage key's buckets.
|
|
5319
5277
|
* @experimental
|
|
@@ -5367,22 +5325,6 @@ export namespace ProtocolTestsProxyApi {
|
|
|
5367
5325
|
offIndexedDBListUpdated(listener: (event: { params: Protocol.Storage.IndexedDBListUpdatedEvent }) => void): void;
|
|
5368
5326
|
onceIndexedDBListUpdated(eventMatcher?: (event: { params: Protocol.Storage.IndexedDBListUpdatedEvent }) => boolean): Promise<{ params: Protocol.Storage.IndexedDBListUpdatedEvent }>;
|
|
5369
5327
|
|
|
5370
|
-
/**
|
|
5371
|
-
* Shared storage was accessed by the associated page.
|
|
5372
|
-
* The following parameters are included in all events.
|
|
5373
|
-
*/
|
|
5374
|
-
onSharedStorageAccessed(listener: (event: { params: Protocol.Storage.SharedStorageAccessedEvent }) => void): void;
|
|
5375
|
-
offSharedStorageAccessed(listener: (event: { params: Protocol.Storage.SharedStorageAccessedEvent }) => void): void;
|
|
5376
|
-
onceSharedStorageAccessed(eventMatcher?: (event: { params: Protocol.Storage.SharedStorageAccessedEvent }) => boolean): Promise<{ params: Protocol.Storage.SharedStorageAccessedEvent }>;
|
|
5377
|
-
|
|
5378
|
-
/**
|
|
5379
|
-
* A shared storage run or selectURL operation finished its execution.
|
|
5380
|
-
* The following parameters are included in all events.
|
|
5381
|
-
*/
|
|
5382
|
-
onSharedStorageWorkletOperationExecutionFinished(listener: (event: { params: Protocol.Storage.SharedStorageWorkletOperationExecutionFinishedEvent }) => void): void;
|
|
5383
|
-
offSharedStorageWorkletOperationExecutionFinished(listener: (event: { params: Protocol.Storage.SharedStorageWorkletOperationExecutionFinishedEvent }) => void): void;
|
|
5384
|
-
onceSharedStorageWorkletOperationExecutionFinished(eventMatcher?: (event: { params: Protocol.Storage.SharedStorageWorkletOperationExecutionFinishedEvent }) => boolean): Promise<{ params: Protocol.Storage.SharedStorageWorkletOperationExecutionFinishedEvent }>;
|
|
5385
|
-
|
|
5386
5328
|
onStorageBucketCreatedOrUpdated(listener: (event: { params: Protocol.Storage.StorageBucketCreatedOrUpdatedEvent }) => void): void;
|
|
5387
5329
|
offStorageBucketCreatedOrUpdated(listener: (event: { params: Protocol.Storage.StorageBucketCreatedOrUpdatedEvent }) => void): void;
|
|
5388
5330
|
onceStorageBucketCreatedOrUpdated(eventMatcher?: (event: { params: Protocol.Storage.StorageBucketCreatedOrUpdatedEvent }) => boolean): Promise<{ params: Protocol.Storage.StorageBucketCreatedOrUpdatedEvent }>;
|