devtools-protocol 0.0.1498597 → 0.0.1501221

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.
Files changed (54) hide show
  1. package/json/browser_protocol.json +17895 -17678
  2. package/package.json +1 -1
  3. package/pdl/browser_protocol.pdl +47 -13824
  4. package/pdl/domains/Accessibility.pdl +290 -0
  5. package/pdl/domains/Animation.pdl +195 -0
  6. package/pdl/domains/Audits.pdl +755 -0
  7. package/pdl/domains/Autofill.pdl +106 -0
  8. package/pdl/domains/BackgroundService.pdl +77 -0
  9. package/pdl/domains/BluetoothEmulation.pdl +227 -0
  10. package/pdl/domains/Browser.pdl +345 -0
  11. package/pdl/domains/CSS.pdl +996 -0
  12. package/pdl/domains/CacheStorage.pdl +125 -0
  13. package/pdl/domains/Cast.pdl +62 -0
  14. package/pdl/domains/DOM.pdl +932 -0
  15. package/pdl/domains/DOMDebugger.pdl +128 -0
  16. package/pdl/domains/DOMSnapshot.pdl +319 -0
  17. package/pdl/domains/DOMStorage.pdl +72 -0
  18. package/pdl/domains/DeviceAccess.pdl +43 -0
  19. package/pdl/domains/DeviceOrientation.pdl +20 -0
  20. package/pdl/domains/Emulation.pdl +608 -0
  21. package/pdl/domains/EventBreakpoints.pdl +24 -0
  22. package/pdl/domains/Extensions.pdl +72 -0
  23. package/pdl/domains/FedCm.pdl +100 -0
  24. package/pdl/domains/Fetch.pdl +251 -0
  25. package/pdl/domains/FileSystem.pdl +41 -0
  26. package/pdl/domains/HeadlessExperimental.pdl +56 -0
  27. package/pdl/domains/IO.pdl +45 -0
  28. package/pdl/domains/IndexedDB.pdl +226 -0
  29. package/pdl/domains/Input.pdl +336 -0
  30. package/pdl/domains/Inspector.pdl +25 -0
  31. package/pdl/domains/LayerTree.pdl +178 -0
  32. package/pdl/domains/Log.pdl +93 -0
  33. package/pdl/domains/Media.pdl +106 -0
  34. package/pdl/domains/Memory.pdl +112 -0
  35. package/pdl/domains/Network.pdl +2039 -0
  36. package/pdl/domains/Overlay.pdl +498 -0
  37. package/pdl/domains/PWA.pdl +142 -0
  38. package/pdl/domains/Page.pdl +1767 -0
  39. package/pdl/domains/Performance.pdl +54 -0
  40. package/pdl/domains/PerformanceTimeline.pdl +71 -0
  41. package/pdl/domains/Preload.pdl +290 -0
  42. package/pdl/domains/Security.pdl +196 -0
  43. package/pdl/domains/ServiceWorker.pdl +121 -0
  44. package/pdl/domains/Storage.pdl +913 -0
  45. package/pdl/domains/SystemInfo.pdl +145 -0
  46. package/pdl/domains/Target.pdl +325 -0
  47. package/pdl/domains/Tethering.pdl +28 -0
  48. package/pdl/domains/Tracing.pdl +157 -0
  49. package/pdl/domains/WebAudio.pdl +205 -0
  50. package/pdl/domains/WebAuthn.pdl +230 -0
  51. package/types/protocol-mapping.d.ts +659 -635
  52. package/types/protocol-proxy-api.d.ts +543 -522
  53. package/types/protocol-tests-proxy-api.d.ts +628 -607
  54. package/types/protocol.d.ts +8062 -7911
@@ -0,0 +1,913 @@
1
+ # Copyright 2017 The Chromium Authors
2
+ # Use of this source code is governed by a BSD-style license that can be
3
+ # found in the LICENSE file.
4
+ #
5
+ # Contributing to Chrome DevTools Protocol: https://goo.gle/devtools-contribution-guide-cdp
6
+
7
+ experimental domain Storage
8
+ depends on Browser
9
+ depends on Network
10
+
11
+ type SerializedStorageKey extends string
12
+
13
+ # Enum of possible storage types.
14
+ type StorageType extends string
15
+ enum
16
+ cookies
17
+ file_systems
18
+ indexeddb
19
+ local_storage
20
+ shader_cache
21
+ websql
22
+ service_workers
23
+ cache_storage
24
+ interest_groups
25
+ shared_storage
26
+ storage_buckets
27
+ all
28
+ other
29
+
30
+ # Usage for a storage type.
31
+ type UsageForType extends object
32
+ properties
33
+ # Name of storage type.
34
+ StorageType storageType
35
+ # Storage usage (bytes).
36
+ number usage
37
+
38
+ # Pair of issuer origin and number of available (signed, but not used) Trust
39
+ # Tokens from that issuer.
40
+ experimental type TrustTokens extends object
41
+ properties
42
+ string issuerOrigin
43
+ number count
44
+
45
+ # Protected audience interest group auction identifier.
46
+ type InterestGroupAuctionId extends string
47
+
48
+ # Enum of interest group access types.
49
+ type InterestGroupAccessType extends string
50
+ enum
51
+ join
52
+ leave
53
+ update
54
+ loaded
55
+ bid
56
+ win
57
+ additionalBid
58
+ additionalBidWin
59
+ topLevelBid
60
+ topLevelAdditionalBid
61
+ clear
62
+
63
+ # Enum of auction events.
64
+ type InterestGroupAuctionEventType extends string
65
+ enum
66
+ started
67
+ configResolved
68
+
69
+ # Enum of network fetches auctions can do.
70
+ type InterestGroupAuctionFetchType extends string
71
+ enum
72
+ bidderJs
73
+ bidderWasm
74
+ sellerJs
75
+ bidderTrustedSignals
76
+ sellerTrustedSignals
77
+
78
+ # Enum of shared storage access scopes.
79
+ type SharedStorageAccessScope extends string
80
+ enum
81
+ window
82
+ sharedStorageWorklet
83
+ protectedAudienceWorklet
84
+ header
85
+
86
+ # Enum of shared storage access methods.
87
+ type SharedStorageAccessMethod extends string
88
+ enum
89
+ addModule
90
+ createWorklet
91
+ selectURL
92
+ run
93
+ batchUpdate
94
+ set
95
+ append
96
+ delete
97
+ clear
98
+ get
99
+ keys
100
+ values
101
+ entries
102
+ length
103
+ remainingBudget
104
+
105
+ # Struct for a single key-value pair in an origin's shared storage.
106
+ type SharedStorageEntry extends object
107
+ properties
108
+ string key
109
+ string value
110
+
111
+ # Details for an origin's shared storage.
112
+ type SharedStorageMetadata extends object
113
+ properties
114
+ # Time when the origin's shared storage was last created.
115
+ Network.TimeSinceEpoch creationTime
116
+ # Number of key-value pairs stored in origin's shared storage.
117
+ integer length
118
+ # Current amount of bits of entropy remaining in the navigation budget.
119
+ number remainingBudget
120
+ # Total number of bytes stored as key-value pairs in origin's shared
121
+ # storage.
122
+ integer bytesUsed
123
+
124
+ # Represents a dictionary object passed in as privateAggregationConfig to
125
+ # run or selectURL.
126
+ type SharedStoragePrivateAggregationConfig extends object
127
+ properties
128
+ # The chosen aggregation service deployment.
129
+ optional string aggregationCoordinatorOrigin
130
+ # The context ID provided.
131
+ optional string contextId
132
+ # Configures the maximum size allowed for filtering IDs.
133
+ integer filteringIdMaxBytes
134
+ # The limit on the number of contributions in the final report.
135
+ optional integer maxContributions
136
+
137
+ # Pair of reporting metadata details for a candidate URL for `selectURL()`.
138
+ type SharedStorageReportingMetadata extends object
139
+ properties
140
+ string eventType
141
+ string reportingUrl
142
+
143
+ # Bundles a candidate URL with its reporting metadata.
144
+ type SharedStorageUrlWithMetadata extends object
145
+ properties
146
+ # Spec of candidate URL.
147
+ string url
148
+ # Any associated reporting metadata.
149
+ array of SharedStorageReportingMetadata reportingMetadata
150
+
151
+ # Bundles the parameters for shared storage access events whose
152
+ # presence/absence can vary according to SharedStorageAccessType.
153
+ type SharedStorageAccessParams extends object
154
+ properties
155
+ # Spec of the module script URL.
156
+ # Present only for SharedStorageAccessMethods: addModule and
157
+ # createWorklet.
158
+ optional string scriptSourceUrl
159
+ # String denoting "context-origin", "script-origin", or a custom
160
+ # origin to be used as the worklet's data origin.
161
+ # Present only for SharedStorageAccessMethod: createWorklet.
162
+ optional string dataOrigin
163
+ # Name of the registered operation to be run.
164
+ # Present only for SharedStorageAccessMethods: run and selectURL.
165
+ optional string operationName
166
+ # ID of the operation call.
167
+ # Present only for SharedStorageAccessMethods: run and selectURL.
168
+ optional string operationId
169
+ # Whether or not to keep the worket alive for future run or selectURL
170
+ # calls.
171
+ # Present only for SharedStorageAccessMethods: run and selectURL.
172
+ optional boolean keepAlive
173
+ # Configures the private aggregation options.
174
+ # Present only for SharedStorageAccessMethods: run and selectURL.
175
+ optional SharedStoragePrivateAggregationConfig privateAggregationConfig
176
+ # The operation's serialized data in bytes (converted to a string).
177
+ # Present only for SharedStorageAccessMethods: run and selectURL.
178
+ # TODO(crbug.com/401011862): Consider updating this parameter to binary.
179
+ optional string serializedData
180
+ # Array of candidate URLs' specs, along with any associated metadata.
181
+ # Present only for SharedStorageAccessMethod: selectURL.
182
+ optional array of SharedStorageUrlWithMetadata urlsWithMetadata
183
+ # Spec of the URN:UUID generated for a selectURL call.
184
+ # Present only for SharedStorageAccessMethod: selectURL.
185
+ optional string urnUuid
186
+ # Key for a specific entry in an origin's shared storage.
187
+ # Present only for SharedStorageAccessMethods: set, append, delete, and
188
+ # get.
189
+ optional string key
190
+ # Value for a specific entry in an origin's shared storage.
191
+ # Present only for SharedStorageAccessMethods: set and append.
192
+ optional string value
193
+ # Whether or not to set an entry for a key if that key is already present.
194
+ # Present only for SharedStorageAccessMethod: set.
195
+ optional boolean ignoreIfPresent
196
+ # A number denoting the (0-based) order of the worklet's
197
+ # creation relative to all other shared storage worklets created by
198
+ # documents using the current storage partition.
199
+ # Present only for SharedStorageAccessMethods: addModule, createWorklet.
200
+ optional integer workletOrdinal
201
+ # Hex representation of the DevTools token used as the TargetID for the
202
+ # associated shared storage worklet.
203
+ # Present only for SharedStorageAccessMethods: addModule, createWorklet,
204
+ # run, selectURL, and any other SharedStorageAccessMethod when the
205
+ # SharedStorageAccessScope is sharedStorageWorklet.
206
+ optional Target.TargetID workletTargetId
207
+ # Name of the lock to be acquired, if present.
208
+ # Optionally present only for SharedStorageAccessMethods: batchUpdate,
209
+ # set, append, delete, and clear.
210
+ optional string withLock
211
+ # If the method has been called as part of a batchUpdate, then this
212
+ # number identifies the batch to which it belongs.
213
+ # Optionally present only for SharedStorageAccessMethods:
214
+ # batchUpdate (required), set, append, delete, and clear.
215
+ optional string batchUpdateId
216
+ # Number of modifier methods sent in batch.
217
+ # Present only for SharedStorageAccessMethod: batchUpdate.
218
+ optional integer batchSize
219
+
220
+ type StorageBucketsDurability extends string
221
+ enum
222
+ relaxed
223
+ strict
224
+
225
+ type StorageBucket extends object
226
+ properties
227
+ SerializedStorageKey storageKey
228
+ # If not specified, it is the default bucket of the storageKey.
229
+ optional string name
230
+
231
+ type StorageBucketInfo extends object
232
+ properties
233
+ StorageBucket bucket
234
+ string id
235
+ Network.TimeSinceEpoch expiration
236
+ # Storage quota (bytes).
237
+ number quota
238
+ boolean persistent
239
+ StorageBucketsDurability durability
240
+
241
+ # Returns a storage key given a frame id.
242
+ command getStorageKeyForFrame
243
+ parameters
244
+ Page.FrameId frameId
245
+ returns
246
+ SerializedStorageKey storageKey
247
+
248
+ # Clears storage for origin.
249
+ command clearDataForOrigin
250
+ parameters
251
+ # Security origin.
252
+ string origin
253
+ # Comma separated list of StorageType to clear.
254
+ string storageTypes
255
+
256
+ # Clears storage for storage key.
257
+ command clearDataForStorageKey
258
+ parameters
259
+ # Storage key.
260
+ string storageKey
261
+ # Comma separated list of StorageType to clear.
262
+ string storageTypes
263
+
264
+ # Returns all browser cookies.
265
+ command getCookies
266
+ parameters
267
+ # Browser context to use when called on the browser endpoint.
268
+ optional Browser.BrowserContextID browserContextId
269
+ returns
270
+ # Array of cookie objects.
271
+ array of Network.Cookie cookies
272
+
273
+ # Sets given cookies.
274
+ command setCookies
275
+ parameters
276
+ # Cookies to be set.
277
+ array of Network.CookieParam cookies
278
+ # Browser context to use when called on the browser endpoint.
279
+ optional Browser.BrowserContextID browserContextId
280
+
281
+ # Clears cookies.
282
+ command clearCookies
283
+ parameters
284
+ # Browser context to use when called on the browser endpoint.
285
+ optional Browser.BrowserContextID browserContextId
286
+
287
+ # Returns usage and quota in bytes.
288
+ command getUsageAndQuota
289
+ parameters
290
+ # Security origin.
291
+ string origin
292
+ returns
293
+ # Storage usage (bytes).
294
+ number usage
295
+ # Storage quota (bytes).
296
+ number quota
297
+ # Whether or not the origin has an active storage quota override
298
+ boolean overrideActive
299
+ # Storage usage per type (bytes).
300
+ array of UsageForType usageBreakdown
301
+
302
+ # Override quota for the specified origin
303
+ experimental command overrideQuotaForOrigin
304
+ parameters
305
+ # Security origin.
306
+ string origin
307
+ # The quota size (in bytes) to override the original quota with.
308
+ # If this is called multiple times, the overridden quota will be equal to
309
+ # the quotaSize provided in the final call. If this is called without
310
+ # specifying a quotaSize, the quota will be reset to the default value for
311
+ # the specified origin. If this is called multiple times with different
312
+ # origins, the override will be maintained for each origin until it is
313
+ # disabled (called without a quotaSize).
314
+ optional number quotaSize
315
+
316
+ # Registers origin to be notified when an update occurs to its cache storage list.
317
+ command trackCacheStorageForOrigin
318
+ parameters
319
+ # Security origin.
320
+ string origin
321
+
322
+ # Registers storage key to be notified when an update occurs to its cache storage list.
323
+ command trackCacheStorageForStorageKey
324
+ parameters
325
+ # Storage key.
326
+ string storageKey
327
+
328
+ # Registers origin to be notified when an update occurs to its IndexedDB.
329
+ command trackIndexedDBForOrigin
330
+ parameters
331
+ # Security origin.
332
+ string origin
333
+
334
+ # Registers storage key to be notified when an update occurs to its IndexedDB.
335
+ command trackIndexedDBForStorageKey
336
+ parameters
337
+ # Storage key.
338
+ string storageKey
339
+
340
+ # Unregisters origin from receiving notifications for cache storage.
341
+ command untrackCacheStorageForOrigin
342
+ parameters
343
+ # Security origin.
344
+ string origin
345
+
346
+ # Unregisters storage key from receiving notifications for cache storage.
347
+ command untrackCacheStorageForStorageKey
348
+ parameters
349
+ # Storage key.
350
+ string storageKey
351
+
352
+ # Unregisters origin from receiving notifications for IndexedDB.
353
+ command untrackIndexedDBForOrigin
354
+ parameters
355
+ # Security origin.
356
+ string origin
357
+
358
+ # Unregisters storage key from receiving notifications for IndexedDB.
359
+ command untrackIndexedDBForStorageKey
360
+ parameters
361
+ # Storage key.
362
+ string storageKey
363
+
364
+ # Returns the number of stored Trust Tokens per issuer for the
365
+ # current browsing context.
366
+ experimental command getTrustTokens
367
+ returns
368
+ array of TrustTokens tokens
369
+
370
+ # Removes all Trust Tokens issued by the provided issuerOrigin.
371
+ # Leaves other stored data, including the issuer's Redemption Records, intact.
372
+ experimental command clearTrustTokens
373
+ parameters
374
+ string issuerOrigin
375
+ returns
376
+ # True if any tokens were deleted, false otherwise.
377
+ boolean didDeleteTokens
378
+
379
+ # Gets details for a named interest group.
380
+ experimental command getInterestGroupDetails
381
+ parameters
382
+ string ownerOrigin
383
+ string name
384
+ returns
385
+ # This largely corresponds to:
386
+ # https://wicg.github.io/turtledove/#dictdef-generatebidinterestgroup
387
+ # but has absolute expirationTime instead of relative lifetimeMs and
388
+ # also adds joiningOrigin.
389
+ object details
390
+
391
+ # Enables/Disables issuing of interestGroupAccessed events.
392
+ experimental command setInterestGroupTracking
393
+ parameters
394
+ boolean enable
395
+
396
+ # Enables/Disables issuing of interestGroupAuctionEventOccurred and
397
+ # interestGroupAuctionNetworkRequestCreated.
398
+ experimental command setInterestGroupAuctionTracking
399
+ parameters
400
+ boolean enable
401
+
402
+ # Gets metadata for an origin's shared storage.
403
+ experimental command getSharedStorageMetadata
404
+ parameters
405
+ string ownerOrigin
406
+ returns
407
+ SharedStorageMetadata metadata
408
+
409
+ # Gets the entries in an given origin's shared storage.
410
+ experimental command getSharedStorageEntries
411
+ parameters
412
+ string ownerOrigin
413
+ returns
414
+ array of SharedStorageEntry entries
415
+
416
+ # Sets entry with `key` and `value` for a given origin's shared storage.
417
+ experimental command setSharedStorageEntry
418
+ parameters
419
+ string ownerOrigin
420
+ string key
421
+ string value
422
+ # If `ignoreIfPresent` is included and true, then only sets the entry if
423
+ # `key` doesn't already exist.
424
+ optional boolean ignoreIfPresent
425
+
426
+ # Deletes entry for `key` (if it exists) for a given origin's shared storage.
427
+ experimental command deleteSharedStorageEntry
428
+ parameters
429
+ string ownerOrigin
430
+ string key
431
+
432
+ # Clears all entries for a given origin's shared storage.
433
+ experimental command clearSharedStorageEntries
434
+ parameters
435
+ string ownerOrigin
436
+
437
+ # Resets the budget for `ownerOrigin` by clearing all budget withdrawals.
438
+ experimental command resetSharedStorageBudget
439
+ parameters
440
+ string ownerOrigin
441
+
442
+ # Enables/disables issuing of sharedStorageAccessed events.
443
+ experimental command setSharedStorageTracking
444
+ parameters
445
+ boolean enable
446
+
447
+ # Set tracking for a storage key's buckets.
448
+ experimental command setStorageBucketTracking
449
+ parameters
450
+ string storageKey
451
+ boolean enable
452
+
453
+ # Deletes the Storage Bucket with the given storage key and bucket name.
454
+ experimental command deleteStorageBucket
455
+ parameters
456
+ StorageBucket bucket
457
+
458
+ # Deletes state for sites identified as potential bounce trackers, immediately.
459
+ experimental command runBounceTrackingMitigations
460
+ returns
461
+ array of string deletedSites
462
+
463
+ # A cache's contents have been modified.
464
+ event cacheStorageContentUpdated
465
+ parameters
466
+ # Origin to update.
467
+ string origin
468
+ # Storage key to update.
469
+ string storageKey
470
+ # Storage bucket to update.
471
+ string bucketId
472
+ # Name of cache in origin.
473
+ string cacheName
474
+
475
+ # A cache has been added/deleted.
476
+ event cacheStorageListUpdated
477
+ parameters
478
+ # Origin to update.
479
+ string origin
480
+ # Storage key to update.
481
+ string storageKey
482
+ # Storage bucket to update.
483
+ string bucketId
484
+
485
+ # The origin's IndexedDB object store has been modified.
486
+ event indexedDBContentUpdated
487
+ parameters
488
+ # Origin to update.
489
+ string origin
490
+ # Storage key to update.
491
+ string storageKey
492
+ # Storage bucket to update.
493
+ string bucketId
494
+ # Database to update.
495
+ string databaseName
496
+ # ObjectStore to update.
497
+ string objectStoreName
498
+
499
+ # The origin's IndexedDB database list has been modified.
500
+ event indexedDBListUpdated
501
+ parameters
502
+ # Origin to update.
503
+ string origin
504
+ # Storage key to update.
505
+ string storageKey
506
+ # Storage bucket to update.
507
+ string bucketId
508
+
509
+ # One of the interest groups was accessed. Note that these events are global
510
+ # to all targets sharing an interest group store.
511
+ event interestGroupAccessed
512
+ parameters
513
+ Network.TimeSinceEpoch accessTime
514
+ InterestGroupAccessType type
515
+ string ownerOrigin
516
+ string name
517
+ # For topLevelBid/topLevelAdditionalBid, and when appropriate,
518
+ # win and additionalBidWin
519
+ optional string componentSellerOrigin
520
+ # For bid or somethingBid event, if done locally and not on a server.
521
+ optional number bid
522
+ optional string bidCurrency
523
+ # For non-global events --- links to interestGroupAuctionEvent
524
+ optional InterestGroupAuctionId uniqueAuctionId
525
+
526
+ # An auction involving interest groups is taking place. These events are
527
+ # target-specific.
528
+ event interestGroupAuctionEventOccurred
529
+ parameters
530
+ Network.TimeSinceEpoch eventTime
531
+ InterestGroupAuctionEventType type
532
+ InterestGroupAuctionId uniqueAuctionId
533
+ # Set for child auctions.
534
+ optional InterestGroupAuctionId parentAuctionId
535
+ # Set for started and configResolved
536
+ optional object auctionConfig
537
+
538
+ # Specifies which auctions a particular network fetch may be related to, and
539
+ # in what role. Note that it is not ordered with respect to
540
+ # Network.requestWillBeSent (but will happen before loadingFinished
541
+ # loadingFailed).
542
+ event interestGroupAuctionNetworkRequestCreated
543
+ parameters
544
+ InterestGroupAuctionFetchType type
545
+ Network.RequestId requestId
546
+ # This is the set of the auctions using the worklet that issued this
547
+ # request. In the case of trusted signals, it's possible that only some of
548
+ # them actually care about the keys being queried.
549
+ array of InterestGroupAuctionId auctions
550
+
551
+ # Shared storage was accessed by the associated page.
552
+ # The following parameters are included in all events.
553
+ event sharedStorageAccessed
554
+ parameters
555
+ # Time of the access.
556
+ Network.TimeSinceEpoch accessTime
557
+ # Enum value indicating the access scope.
558
+ SharedStorageAccessScope scope
559
+ # Enum value indicating the Shared Storage API method invoked.
560
+ SharedStorageAccessMethod method
561
+ # DevTools Frame Token for the primary frame tree's root.
562
+ Page.FrameId mainFrameId
563
+ # Serialization of the origin owning the Shared Storage data.
564
+ string ownerOrigin
565
+ # Serialization of the site owning the Shared Storage data.
566
+ string ownerSite
567
+ # The sub-parameters wrapped by `params` are all optional and their
568
+ # presence/absence depends on `type`.
569
+ SharedStorageAccessParams params
570
+
571
+ # A shared storage run or selectURL operation finished its execution.
572
+ # The following parameters are included in all events.
573
+ event sharedStorageWorkletOperationExecutionFinished
574
+ parameters
575
+ # Time that the operation finished.
576
+ Network.TimeSinceEpoch finishedTime
577
+ # Time, in microseconds, from start of shared storage JS API call until
578
+ # end of operation execution in the worklet.
579
+ integer executionTime
580
+ # Enum value indicating the Shared Storage API method invoked.
581
+ SharedStorageAccessMethod method
582
+ # ID of the operation call.
583
+ string operationId
584
+ # Hex representation of the DevTools token used as the TargetID for the
585
+ # associated shared storage worklet.
586
+ Target.TargetID workletTargetId
587
+ # DevTools Frame Token for the primary frame tree's root.
588
+ Page.FrameId mainFrameId
589
+ # Serialization of the origin owning the Shared Storage data.
590
+ string ownerOrigin
591
+
592
+ event storageBucketCreatedOrUpdated
593
+ parameters
594
+ StorageBucketInfo bucketInfo
595
+
596
+ event storageBucketDeleted
597
+ parameters
598
+ string bucketId
599
+
600
+ # https://wicg.github.io/attribution-reporting-api/
601
+ experimental command setAttributionReportingLocalTestingMode
602
+ parameters
603
+ # If enabled, noise is suppressed and reports are sent immediately.
604
+ boolean enabled
605
+
606
+ # Enables/disables issuing of Attribution Reporting events.
607
+ experimental command setAttributionReportingTracking
608
+ parameters
609
+ boolean enable
610
+
611
+ # Sends all pending Attribution Reports immediately, regardless of their
612
+ # scheduled report time.
613
+ experimental command sendPendingAttributionReports
614
+ returns
615
+ # The number of reports that were sent.
616
+ integer numSent
617
+
618
+ experimental type AttributionReportingSourceType extends string
619
+ enum
620
+ navigation
621
+ event
622
+
623
+ experimental type UnsignedInt64AsBase10 extends string
624
+ experimental type UnsignedInt128AsBase16 extends string
625
+ experimental type SignedInt64AsBase10 extends string
626
+
627
+ experimental type AttributionReportingFilterDataEntry extends object
628
+ properties
629
+ string key
630
+ array of string values
631
+
632
+ experimental type AttributionReportingFilterConfig extends object
633
+ properties
634
+ array of AttributionReportingFilterDataEntry filterValues
635
+ # duration in seconds
636
+ optional integer lookbackWindow
637
+
638
+ experimental type AttributionReportingFilterPair extends object
639
+ properties
640
+ array of AttributionReportingFilterConfig filters
641
+ array of AttributionReportingFilterConfig notFilters
642
+
643
+ experimental type AttributionReportingAggregationKeysEntry extends object
644
+ properties
645
+ string key
646
+ UnsignedInt128AsBase16 value
647
+
648
+ experimental type AttributionReportingEventReportWindows extends object
649
+ properties
650
+ # duration in seconds
651
+ integer start
652
+ # duration in seconds
653
+ array of integer ends
654
+
655
+ experimental type AttributionReportingTriggerDataMatching extends string
656
+ enum
657
+ exact
658
+ modulus
659
+
660
+ experimental type AttributionReportingAggregatableDebugReportingData extends object
661
+ properties
662
+ UnsignedInt128AsBase16 keyPiece
663
+ # number instead of integer because not all uint32 can be represented by
664
+ # int
665
+ number value
666
+ array of string types
667
+
668
+ experimental type AttributionReportingAggregatableDebugReportingConfig extends object
669
+ properties
670
+ # number instead of integer because not all uint32 can be represented by
671
+ # int, only present for source registrations
672
+ optional number budget
673
+ UnsignedInt128AsBase16 keyPiece
674
+ array of AttributionReportingAggregatableDebugReportingData debugData
675
+ optional string aggregationCoordinatorOrigin
676
+
677
+ experimental type AttributionScopesData extends object
678
+ properties
679
+ array of string values
680
+ # number instead of integer because not all uint32 can be represented by
681
+ # int
682
+ number limit
683
+ number maxEventStates
684
+
685
+ experimental type AttributionReportingNamedBudgetDef extends object
686
+ properties
687
+ string name
688
+ integer budget
689
+
690
+ experimental type AttributionReportingSourceRegistration extends object
691
+ properties
692
+ Network.TimeSinceEpoch time
693
+ # duration in seconds
694
+ integer expiry
695
+ # number instead of integer because not all uint32 can be represented by
696
+ # int
697
+ array of number triggerData
698
+ AttributionReportingEventReportWindows eventReportWindows
699
+ # duration in seconds
700
+ integer aggregatableReportWindow
701
+ AttributionReportingSourceType type
702
+ string sourceOrigin
703
+ string reportingOrigin
704
+ array of string destinationSites
705
+ UnsignedInt64AsBase10 eventId
706
+ SignedInt64AsBase10 priority
707
+ array of AttributionReportingFilterDataEntry filterData
708
+ array of AttributionReportingAggregationKeysEntry aggregationKeys
709
+ optional UnsignedInt64AsBase10 debugKey
710
+ AttributionReportingTriggerDataMatching triggerDataMatching
711
+ SignedInt64AsBase10 destinationLimitPriority
712
+ AttributionReportingAggregatableDebugReportingConfig aggregatableDebugReportingConfig
713
+ optional AttributionScopesData scopesData
714
+ integer maxEventLevelReports
715
+ array of AttributionReportingNamedBudgetDef namedBudgets
716
+ boolean debugReporting
717
+ number eventLevelEpsilon
718
+
719
+ experimental type AttributionReportingSourceRegistrationResult extends string
720
+ enum
721
+ success
722
+ internalError
723
+ insufficientSourceCapacity
724
+ insufficientUniqueDestinationCapacity
725
+ excessiveReportingOrigins
726
+ prohibitedByBrowserPolicy
727
+ successNoised
728
+ destinationReportingLimitReached
729
+ destinationGlobalLimitReached
730
+ destinationBothLimitsReached
731
+ reportingOriginsPerSiteLimitReached
732
+ exceedsMaxChannelCapacity
733
+ exceedsMaxScopesChannelCapacity
734
+ exceedsMaxTriggerStateCardinality
735
+ exceedsMaxEventStatesLimit
736
+ destinationPerDayReportingLimitReached
737
+
738
+ experimental event attributionReportingSourceRegistered
739
+ parameters
740
+ AttributionReportingSourceRegistration registration
741
+ AttributionReportingSourceRegistrationResult result
742
+
743
+ experimental type AttributionReportingSourceRegistrationTimeConfig extends string
744
+ enum
745
+ include
746
+ exclude
747
+
748
+ experimental type AttributionReportingAggregatableValueDictEntry extends object
749
+ properties
750
+ string key
751
+ # number instead of integer because not all uint32 can be represented by
752
+ # int
753
+ number value
754
+ UnsignedInt64AsBase10 filteringId
755
+
756
+
757
+ experimental type AttributionReportingAggregatableValueEntry extends object
758
+ properties
759
+ array of AttributionReportingAggregatableValueDictEntry values
760
+ AttributionReportingFilterPair filters
761
+
762
+ experimental type AttributionReportingEventTriggerData extends object
763
+ properties
764
+ UnsignedInt64AsBase10 data
765
+ SignedInt64AsBase10 priority
766
+ optional UnsignedInt64AsBase10 dedupKey
767
+ AttributionReportingFilterPair filters
768
+
769
+ experimental type AttributionReportingAggregatableTriggerData extends object
770
+ properties
771
+ UnsignedInt128AsBase16 keyPiece
772
+ array of string sourceKeys
773
+ AttributionReportingFilterPair filters
774
+
775
+ experimental type AttributionReportingAggregatableDedupKey extends object
776
+ properties
777
+ optional UnsignedInt64AsBase10 dedupKey
778
+ AttributionReportingFilterPair filters
779
+
780
+ experimental type AttributionReportingNamedBudgetCandidate extends object
781
+ properties
782
+ optional string name
783
+ AttributionReportingFilterPair filters
784
+
785
+ experimental type AttributionReportingTriggerRegistration extends object
786
+ properties
787
+ AttributionReportingFilterPair filters
788
+ optional UnsignedInt64AsBase10 debugKey
789
+ array of AttributionReportingAggregatableDedupKey aggregatableDedupKeys
790
+ array of AttributionReportingEventTriggerData eventTriggerData
791
+ array of AttributionReportingAggregatableTriggerData aggregatableTriggerData
792
+ array of AttributionReportingAggregatableValueEntry aggregatableValues
793
+ integer aggregatableFilteringIdMaxBytes
794
+ boolean debugReporting
795
+ optional string aggregationCoordinatorOrigin
796
+ AttributionReportingSourceRegistrationTimeConfig sourceRegistrationTimeConfig
797
+ optional string triggerContextId
798
+ AttributionReportingAggregatableDebugReportingConfig aggregatableDebugReportingConfig
799
+ array of string scopes
800
+ array of AttributionReportingNamedBudgetCandidate namedBudgets
801
+
802
+ experimental type AttributionReportingEventLevelResult extends string
803
+ enum
804
+ success
805
+ successDroppedLowerPriority
806
+ internalError
807
+ noCapacityForAttributionDestination
808
+ noMatchingSources
809
+ deduplicated
810
+ excessiveAttributions
811
+ priorityTooLow
812
+ neverAttributedSource
813
+ excessiveReportingOrigins
814
+ noMatchingSourceFilterData
815
+ prohibitedByBrowserPolicy
816
+ noMatchingConfigurations
817
+ excessiveReports
818
+ falselyAttributedSource
819
+ reportWindowPassed
820
+ notRegistered
821
+ reportWindowNotStarted
822
+ noMatchingTriggerData
823
+
824
+ experimental type AttributionReportingAggregatableResult extends string
825
+ enum
826
+ success
827
+ internalError
828
+ noCapacityForAttributionDestination
829
+ noMatchingSources
830
+ excessiveAttributions
831
+ excessiveReportingOrigins
832
+ noHistograms
833
+ insufficientBudget
834
+ insufficientNamedBudget
835
+ noMatchingSourceFilterData
836
+ notRegistered
837
+ prohibitedByBrowserPolicy
838
+ deduplicated
839
+ reportWindowPassed
840
+ excessiveReports
841
+
842
+ experimental event attributionReportingTriggerRegistered
843
+ parameters
844
+ AttributionReportingTriggerRegistration registration
845
+ AttributionReportingEventLevelResult eventLevel
846
+ AttributionReportingAggregatableResult aggregatable
847
+
848
+ experimental type AttributionReportingReportResult extends string
849
+ enum
850
+ # A network request was attempted for the report.
851
+ sent
852
+ # No request was attempted because of browser policy.
853
+ prohibited
854
+ # No request was attempted because of an error in report assembly,
855
+ # e.g. the aggregation service was unavailable.
856
+ failedToAssemble
857
+ # No request was attempted because the report's expiry passed.
858
+ expired
859
+
860
+ experimental event attributionReportingReportSent
861
+ parameters
862
+ string url
863
+ object body
864
+ AttributionReportingReportResult result
865
+ # If result is `sent`, populated with net/HTTP status.
866
+ optional integer netError
867
+ optional string netErrorName
868
+ optional integer httpStatusCode
869
+
870
+ experimental event attributionReportingVerboseDebugReportSent
871
+ parameters
872
+ string url
873
+ optional array of object body
874
+ optional integer netError
875
+ optional string netErrorName
876
+ optional integer httpStatusCode
877
+
878
+ # A single Related Website Set object.
879
+ experimental type RelatedWebsiteSet extends object
880
+ properties
881
+ # The primary site of this set, along with the ccTLDs if there is any.
882
+ array of string primarySites
883
+ # The associated sites of this set, along with the ccTLDs if there is any.
884
+ array of string associatedSites
885
+ # The service sites of this set, along with the ccTLDs if there is any.
886
+ array of string serviceSites
887
+
888
+ # Returns the effective Related Website Sets in use by this profile for the browser
889
+ # session. The effective Related Website Sets will not change during a browser session.
890
+ experimental command getRelatedWebsiteSets
891
+ returns
892
+ array of RelatedWebsiteSet sets
893
+
894
+ # Returns the list of URLs from a page and its embedded resources that match
895
+ # existing grace period URL pattern rules.
896
+ # https://developers.google.com/privacy-sandbox/cookies/temporary-exceptions/grace-period
897
+ experimental command getAffectedUrlsForThirdPartyCookieMetadata
898
+ parameters
899
+ # The URL of the page currently being visited.
900
+ string firstPartyUrl
901
+ # The list of embedded resource URLs from the page.
902
+ array of string thirdPartyUrls
903
+
904
+ returns
905
+ # Array of matching URLs. If there is a primary pattern match for the first-
906
+ # party URL, only the first-party URL is returned in the array.
907
+ array of string matchedUrls
908
+
909
+ command setProtectedAudienceKAnonymity
910
+ parameters
911
+ string owner
912
+ string name
913
+ array of binary hashes