devtools-protocol 0.0.1682007 → 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 +151 -446
- package/package.json +1 -1
- package/pdl/domains/Ads.pdl +20 -0
- package/pdl/domains/Network.pdl +3 -0
- package/pdl/domains/Page.pdl +9 -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 +9 -66
- package/types/protocol-proxy-api.d.ts +7 -54
- package/types/protocol-tests-proxy-api.d.ts +7 -58
- package/types/protocol.d.ts +99 -310
package/package.json
CHANGED
package/pdl/domains/Ads.pdl
CHANGED
|
@@ -48,3 +48,23 @@ experimental domain Ads
|
|
|
48
48
|
command getAdMetrics
|
|
49
49
|
returns
|
|
50
50
|
AdMetrics metrics
|
|
51
|
+
|
|
52
|
+
# An ad script.
|
|
53
|
+
# Note: when the script is a transitive ad script, we only fill in the
|
|
54
|
+
# immediate ancestor script in the provenance's adScriptAncestry field (as its
|
|
55
|
+
# first entry), rather than filling in the full ancestry. This saves work for
|
|
56
|
+
# the backend, and the frontend can reconstruct the full ancestry if
|
|
57
|
+
# necessary.
|
|
58
|
+
type AdScript extends object
|
|
59
|
+
properties
|
|
60
|
+
# The script ID.
|
|
61
|
+
Runtime.ScriptId scriptId
|
|
62
|
+
# The ad provenance.
|
|
63
|
+
Network.AdProvenance provenance
|
|
64
|
+
|
|
65
|
+
# Retrieves ad scripts for the current page. To minimize payload size, this
|
|
66
|
+
# only returns the newly tracked ad scripts since the last call to
|
|
67
|
+
# getAdScripts (i.e., the delta).
|
|
68
|
+
command getAdScripts
|
|
69
|
+
returns
|
|
70
|
+
array of AdScript newScripts
|
package/pdl/domains/Network.pdl
CHANGED
|
@@ -1701,6 +1701,9 @@ domain Network
|
|
|
1701
1701
|
# The filterlist rule that matched, if any.
|
|
1702
1702
|
optional string filterlistRule
|
|
1703
1703
|
# The script ancestry that created the ad, if any.
|
|
1704
|
+
# Note: depending on the context, this may represent the full ancestry up
|
|
1705
|
+
# to the root script, or it may contain only one script representing the
|
|
1706
|
+
# immediate ancestor.
|
|
1704
1707
|
optional AdAncestry adScriptAncestry
|
|
1705
1708
|
|
|
1706
1709
|
# Fired when additional information about a requestWillBeSent event is available from the
|
package/pdl/domains/Page.pdl
CHANGED
|
@@ -1170,8 +1170,16 @@ domain Page
|
|
|
1170
1170
|
optional integer maxWidth
|
|
1171
1171
|
# Maximum screenshot height.
|
|
1172
1172
|
optional integer maxHeight
|
|
1173
|
-
# Send every n-th frame.
|
|
1173
|
+
# Send every n-th frame. Must be a positive integer.
|
|
1174
1174
|
optional integer everyNthFrame
|
|
1175
|
+
# Maximum number of frames sent until screencastFrameAck is required.
|
|
1176
|
+
# Defaults to 3. Must be a positive integer.
|
|
1177
|
+
optional integer maxFramesInFlight
|
|
1178
|
+
# By default, after screencastFrameAck arrives, the next produced frame is sent.
|
|
1179
|
+
# Passing this flag enables storing the last produced frame in memory, which is
|
|
1180
|
+
# immediately sent upon screencastFrameAck. This way, overall performance is
|
|
1181
|
+
# traded for a better latency.
|
|
1182
|
+
optional boolean sendLastFrame
|
|
1175
1183
|
|
|
1176
1184
|
# Starts screencast video recording.
|
|
1177
1185
|
experimental command startScreenRecording
|
|
@@ -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
|
/**
|
|
@@ -1756,6 +1746,15 @@ export namespace ProtocolMapping {
|
|
|
1756
1746
|
paramsType: [];
|
|
1757
1747
|
returnType: Protocol.Ads.GetAdMetricsResponse;
|
|
1758
1748
|
};
|
|
1749
|
+
/**
|
|
1750
|
+
* Retrieves ad scripts for the current page. To minimize payload size, this
|
|
1751
|
+
* only returns the newly tracked ad scripts since the last call to
|
|
1752
|
+
* getAdScripts (i.e., the delta).
|
|
1753
|
+
*/
|
|
1754
|
+
'Ads.getAdScripts': {
|
|
1755
|
+
paramsType: [];
|
|
1756
|
+
returnType: Protocol.Ads.GetAdScriptsResponse;
|
|
1757
|
+
};
|
|
1759
1758
|
/**
|
|
1760
1759
|
* Disables animation domain notifications.
|
|
1761
1760
|
*/
|
|
@@ -5794,62 +5793,6 @@ export namespace ProtocolMapping {
|
|
|
5794
5793
|
paramsType: [Protocol.Storage.ClearTrustTokensRequest];
|
|
5795
5794
|
returnType: Protocol.Storage.ClearTrustTokensResponse;
|
|
5796
5795
|
};
|
|
5797
|
-
/**
|
|
5798
|
-
* Gets metadata for an origin's shared storage.
|
|
5799
|
-
* @experimental
|
|
5800
|
-
*/
|
|
5801
|
-
'Storage.getSharedStorageMetadata': {
|
|
5802
|
-
paramsType: [Protocol.Storage.GetSharedStorageMetadataRequest];
|
|
5803
|
-
returnType: Protocol.Storage.GetSharedStorageMetadataResponse;
|
|
5804
|
-
};
|
|
5805
|
-
/**
|
|
5806
|
-
* Gets the entries in an given origin's shared storage.
|
|
5807
|
-
* @experimental
|
|
5808
|
-
*/
|
|
5809
|
-
'Storage.getSharedStorageEntries': {
|
|
5810
|
-
paramsType: [Protocol.Storage.GetSharedStorageEntriesRequest];
|
|
5811
|
-
returnType: Protocol.Storage.GetSharedStorageEntriesResponse;
|
|
5812
|
-
};
|
|
5813
|
-
/**
|
|
5814
|
-
* Sets entry with `key` and `value` for a given origin's shared storage.
|
|
5815
|
-
* @experimental
|
|
5816
|
-
*/
|
|
5817
|
-
'Storage.setSharedStorageEntry': {
|
|
5818
|
-
paramsType: [Protocol.Storage.SetSharedStorageEntryRequest];
|
|
5819
|
-
returnType: void;
|
|
5820
|
-
};
|
|
5821
|
-
/**
|
|
5822
|
-
* Deletes entry for `key` (if it exists) for a given origin's shared storage.
|
|
5823
|
-
* @experimental
|
|
5824
|
-
*/
|
|
5825
|
-
'Storage.deleteSharedStorageEntry': {
|
|
5826
|
-
paramsType: [Protocol.Storage.DeleteSharedStorageEntryRequest];
|
|
5827
|
-
returnType: void;
|
|
5828
|
-
};
|
|
5829
|
-
/**
|
|
5830
|
-
* Clears all entries for a given origin's shared storage.
|
|
5831
|
-
* @experimental
|
|
5832
|
-
*/
|
|
5833
|
-
'Storage.clearSharedStorageEntries': {
|
|
5834
|
-
paramsType: [Protocol.Storage.ClearSharedStorageEntriesRequest];
|
|
5835
|
-
returnType: void;
|
|
5836
|
-
};
|
|
5837
|
-
/**
|
|
5838
|
-
* Resets the budget for `ownerOrigin` by clearing all budget withdrawals.
|
|
5839
|
-
* @experimental
|
|
5840
|
-
*/
|
|
5841
|
-
'Storage.resetSharedStorageBudget': {
|
|
5842
|
-
paramsType: [Protocol.Storage.ResetSharedStorageBudgetRequest];
|
|
5843
|
-
returnType: void;
|
|
5844
|
-
};
|
|
5845
|
-
/**
|
|
5846
|
-
* Enables/disables issuing of sharedStorageAccessed events.
|
|
5847
|
-
* @experimental
|
|
5848
|
-
*/
|
|
5849
|
-
'Storage.setSharedStorageTracking': {
|
|
5850
|
-
paramsType: [Protocol.Storage.SetSharedStorageTrackingRequest];
|
|
5851
|
-
returnType: void;
|
|
5852
|
-
};
|
|
5853
5796
|
/**
|
|
5854
5797
|
* Set tracking for a storage key's buckets.
|
|
5855
5798
|
* @experimental
|
|
@@ -761,6 +761,13 @@ export namespace ProtocolProxyApi {
|
|
|
761
761
|
*/
|
|
762
762
|
getAdMetrics(): Promise<Protocol.Ads.GetAdMetricsResponse>;
|
|
763
763
|
|
|
764
|
+
/**
|
|
765
|
+
* Retrieves ad scripts for the current page. To minimize payload size, this
|
|
766
|
+
* only returns the newly tracked ad scripts since the last call to
|
|
767
|
+
* getAdScripts (i.e., the delta).
|
|
768
|
+
*/
|
|
769
|
+
getAdScripts(): Promise<Protocol.Ads.GetAdScriptsResponse>;
|
|
770
|
+
|
|
764
771
|
}
|
|
765
772
|
|
|
766
773
|
export interface AnimationApi {
|
|
@@ -4879,48 +4886,6 @@ export namespace ProtocolProxyApi {
|
|
|
4879
4886
|
*/
|
|
4880
4887
|
clearTrustTokens(params: Protocol.Storage.ClearTrustTokensRequest): Promise<Protocol.Storage.ClearTrustTokensResponse>;
|
|
4881
4888
|
|
|
4882
|
-
/**
|
|
4883
|
-
* Gets metadata for an origin's shared storage.
|
|
4884
|
-
* @experimental
|
|
4885
|
-
*/
|
|
4886
|
-
getSharedStorageMetadata(params: Protocol.Storage.GetSharedStorageMetadataRequest): Promise<Protocol.Storage.GetSharedStorageMetadataResponse>;
|
|
4887
|
-
|
|
4888
|
-
/**
|
|
4889
|
-
* Gets the entries in an given origin's shared storage.
|
|
4890
|
-
* @experimental
|
|
4891
|
-
*/
|
|
4892
|
-
getSharedStorageEntries(params: Protocol.Storage.GetSharedStorageEntriesRequest): Promise<Protocol.Storage.GetSharedStorageEntriesResponse>;
|
|
4893
|
-
|
|
4894
|
-
/**
|
|
4895
|
-
* Sets entry with `key` and `value` for a given origin's shared storage.
|
|
4896
|
-
* @experimental
|
|
4897
|
-
*/
|
|
4898
|
-
setSharedStorageEntry(params: Protocol.Storage.SetSharedStorageEntryRequest): Promise<void>;
|
|
4899
|
-
|
|
4900
|
-
/**
|
|
4901
|
-
* Deletes entry for `key` (if it exists) for a given origin's shared storage.
|
|
4902
|
-
* @experimental
|
|
4903
|
-
*/
|
|
4904
|
-
deleteSharedStorageEntry(params: Protocol.Storage.DeleteSharedStorageEntryRequest): Promise<void>;
|
|
4905
|
-
|
|
4906
|
-
/**
|
|
4907
|
-
* Clears all entries for a given origin's shared storage.
|
|
4908
|
-
* @experimental
|
|
4909
|
-
*/
|
|
4910
|
-
clearSharedStorageEntries(params: Protocol.Storage.ClearSharedStorageEntriesRequest): Promise<void>;
|
|
4911
|
-
|
|
4912
|
-
/**
|
|
4913
|
-
* Resets the budget for `ownerOrigin` by clearing all budget withdrawals.
|
|
4914
|
-
* @experimental
|
|
4915
|
-
*/
|
|
4916
|
-
resetSharedStorageBudget(params: Protocol.Storage.ResetSharedStorageBudgetRequest): Promise<void>;
|
|
4917
|
-
|
|
4918
|
-
/**
|
|
4919
|
-
* Enables/disables issuing of sharedStorageAccessed events.
|
|
4920
|
-
* @experimental
|
|
4921
|
-
*/
|
|
4922
|
-
setSharedStorageTracking(params: Protocol.Storage.SetSharedStorageTrackingRequest): Promise<void>;
|
|
4923
|
-
|
|
4924
4889
|
/**
|
|
4925
4890
|
* Set tracking for a storage key's buckets.
|
|
4926
4891
|
* @experimental
|
|
@@ -4966,18 +4931,6 @@ export namespace ProtocolProxyApi {
|
|
|
4966
4931
|
*/
|
|
4967
4932
|
on(event: 'indexedDBListUpdated', listener: (params: Protocol.Storage.IndexedDBListUpdatedEvent) => void): void;
|
|
4968
4933
|
|
|
4969
|
-
/**
|
|
4970
|
-
* Shared storage was accessed by the associated page.
|
|
4971
|
-
* The following parameters are included in all events.
|
|
4972
|
-
*/
|
|
4973
|
-
on(event: 'sharedStorageAccessed', listener: (params: Protocol.Storage.SharedStorageAccessedEvent) => void): void;
|
|
4974
|
-
|
|
4975
|
-
/**
|
|
4976
|
-
* A shared storage run or selectURL operation finished its execution.
|
|
4977
|
-
* The following parameters are included in all events.
|
|
4978
|
-
*/
|
|
4979
|
-
on(event: 'sharedStorageWorkletOperationExecutionFinished', listener: (params: Protocol.Storage.SharedStorageWorkletOperationExecutionFinishedEvent) => void): void;
|
|
4980
|
-
|
|
4981
4934
|
on(event: 'storageBucketCreatedOrUpdated', listener: (params: Protocol.Storage.StorageBucketCreatedOrUpdatedEvent) => void): void;
|
|
4982
4935
|
|
|
4983
4936
|
on(event: 'storageBucketDeleted', listener: (params: Protocol.Storage.StorageBucketDeletedEvent) => void): void;
|
|
@@ -809,6 +809,13 @@ export namespace ProtocolTestsProxyApi {
|
|
|
809
809
|
*/
|
|
810
810
|
getAdMetrics(): Promise<{id: number, result: Protocol.Ads.GetAdMetricsResponse, sessionId: string}>;
|
|
811
811
|
|
|
812
|
+
/**
|
|
813
|
+
* Retrieves ad scripts for the current page. To minimize payload size, this
|
|
814
|
+
* only returns the newly tracked ad scripts since the last call to
|
|
815
|
+
* getAdScripts (i.e., the delta).
|
|
816
|
+
*/
|
|
817
|
+
getAdScripts(): Promise<{id: number, result: Protocol.Ads.GetAdScriptsResponse, sessionId: string}>;
|
|
818
|
+
|
|
812
819
|
}
|
|
813
820
|
|
|
814
821
|
export interface AnimationApi {
|
|
@@ -5265,48 +5272,6 @@ export namespace ProtocolTestsProxyApi {
|
|
|
5265
5272
|
*/
|
|
5266
5273
|
clearTrustTokens(params: Protocol.Storage.ClearTrustTokensRequest): Promise<{id: number, result: Protocol.Storage.ClearTrustTokensResponse, sessionId: string}>;
|
|
5267
5274
|
|
|
5268
|
-
/**
|
|
5269
|
-
* Gets metadata for an origin's shared storage.
|
|
5270
|
-
* @experimental
|
|
5271
|
-
*/
|
|
5272
|
-
getSharedStorageMetadata(params: Protocol.Storage.GetSharedStorageMetadataRequest): Promise<{id: number, result: Protocol.Storage.GetSharedStorageMetadataResponse, sessionId: string}>;
|
|
5273
|
-
|
|
5274
|
-
/**
|
|
5275
|
-
* Gets the entries in an given origin's shared storage.
|
|
5276
|
-
* @experimental
|
|
5277
|
-
*/
|
|
5278
|
-
getSharedStorageEntries(params: Protocol.Storage.GetSharedStorageEntriesRequest): Promise<{id: number, result: Protocol.Storage.GetSharedStorageEntriesResponse, sessionId: string}>;
|
|
5279
|
-
|
|
5280
|
-
/**
|
|
5281
|
-
* Sets entry with `key` and `value` for a given origin's shared storage.
|
|
5282
|
-
* @experimental
|
|
5283
|
-
*/
|
|
5284
|
-
setSharedStorageEntry(params: Protocol.Storage.SetSharedStorageEntryRequest): Promise<{id: number, result: void, sessionId: string}>;
|
|
5285
|
-
|
|
5286
|
-
/**
|
|
5287
|
-
* Deletes entry for `key` (if it exists) for a given origin's shared storage.
|
|
5288
|
-
* @experimental
|
|
5289
|
-
*/
|
|
5290
|
-
deleteSharedStorageEntry(params: Protocol.Storage.DeleteSharedStorageEntryRequest): Promise<{id: number, result: void, sessionId: string}>;
|
|
5291
|
-
|
|
5292
|
-
/**
|
|
5293
|
-
* Clears all entries for a given origin's shared storage.
|
|
5294
|
-
* @experimental
|
|
5295
|
-
*/
|
|
5296
|
-
clearSharedStorageEntries(params: Protocol.Storage.ClearSharedStorageEntriesRequest): Promise<{id: number, result: void, sessionId: string}>;
|
|
5297
|
-
|
|
5298
|
-
/**
|
|
5299
|
-
* Resets the budget for `ownerOrigin` by clearing all budget withdrawals.
|
|
5300
|
-
* @experimental
|
|
5301
|
-
*/
|
|
5302
|
-
resetSharedStorageBudget(params: Protocol.Storage.ResetSharedStorageBudgetRequest): Promise<{id: number, result: void, sessionId: string}>;
|
|
5303
|
-
|
|
5304
|
-
/**
|
|
5305
|
-
* Enables/disables issuing of sharedStorageAccessed events.
|
|
5306
|
-
* @experimental
|
|
5307
|
-
*/
|
|
5308
|
-
setSharedStorageTracking(params: Protocol.Storage.SetSharedStorageTrackingRequest): Promise<{id: number, result: void, sessionId: string}>;
|
|
5309
|
-
|
|
5310
5275
|
/**
|
|
5311
5276
|
* Set tracking for a storage key's buckets.
|
|
5312
5277
|
* @experimental
|
|
@@ -5360,22 +5325,6 @@ export namespace ProtocolTestsProxyApi {
|
|
|
5360
5325
|
offIndexedDBListUpdated(listener: (event: { params: Protocol.Storage.IndexedDBListUpdatedEvent }) => void): void;
|
|
5361
5326
|
onceIndexedDBListUpdated(eventMatcher?: (event: { params: Protocol.Storage.IndexedDBListUpdatedEvent }) => boolean): Promise<{ params: Protocol.Storage.IndexedDBListUpdatedEvent }>;
|
|
5362
5327
|
|
|
5363
|
-
/**
|
|
5364
|
-
* Shared storage was accessed by the associated page.
|
|
5365
|
-
* The following parameters are included in all events.
|
|
5366
|
-
*/
|
|
5367
|
-
onSharedStorageAccessed(listener: (event: { params: Protocol.Storage.SharedStorageAccessedEvent }) => void): void;
|
|
5368
|
-
offSharedStorageAccessed(listener: (event: { params: Protocol.Storage.SharedStorageAccessedEvent }) => void): void;
|
|
5369
|
-
onceSharedStorageAccessed(eventMatcher?: (event: { params: Protocol.Storage.SharedStorageAccessedEvent }) => boolean): Promise<{ params: Protocol.Storage.SharedStorageAccessedEvent }>;
|
|
5370
|
-
|
|
5371
|
-
/**
|
|
5372
|
-
* A shared storage run or selectURL operation finished its execution.
|
|
5373
|
-
* The following parameters are included in all events.
|
|
5374
|
-
*/
|
|
5375
|
-
onSharedStorageWorkletOperationExecutionFinished(listener: (event: { params: Protocol.Storage.SharedStorageWorkletOperationExecutionFinishedEvent }) => void): void;
|
|
5376
|
-
offSharedStorageWorkletOperationExecutionFinished(listener: (event: { params: Protocol.Storage.SharedStorageWorkletOperationExecutionFinishedEvent }) => void): void;
|
|
5377
|
-
onceSharedStorageWorkletOperationExecutionFinished(eventMatcher?: (event: { params: Protocol.Storage.SharedStorageWorkletOperationExecutionFinishedEvent }) => boolean): Promise<{ params: Protocol.Storage.SharedStorageWorkletOperationExecutionFinishedEvent }>;
|
|
5378
|
-
|
|
5379
5328
|
onStorageBucketCreatedOrUpdated(listener: (event: { params: Protocol.Storage.StorageBucketCreatedOrUpdatedEvent }) => void): void;
|
|
5380
5329
|
offStorageBucketCreatedOrUpdated(listener: (event: { params: Protocol.Storage.StorageBucketCreatedOrUpdatedEvent }) => void): void;
|
|
5381
5330
|
onceStorageBucketCreatedOrUpdated(eventMatcher?: (event: { params: Protocol.Storage.StorageBucketCreatedOrUpdatedEvent }) => boolean): Promise<{ params: Protocol.Storage.StorageBucketCreatedOrUpdatedEvent }>;
|