devtools-protocol 0.0.1449749 → 0.0.1450379

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.
@@ -22479,6 +22479,36 @@
22479
22479
  }
22480
22480
  ]
22481
22481
  },
22482
+ {
22483
+ "id": "SharedStoragePrivateAggregationConfig",
22484
+ "description": "Represents a dictionary object passed in as privateAggregationConfig to\nrun or selectURL.",
22485
+ "type": "object",
22486
+ "properties": [
22487
+ {
22488
+ "name": "aggregationCoordinatorOrigin",
22489
+ "description": "The chosen aggregation service deployment.",
22490
+ "optional": true,
22491
+ "type": "string"
22492
+ },
22493
+ {
22494
+ "name": "contextId",
22495
+ "description": "The context ID provided.",
22496
+ "optional": true,
22497
+ "type": "string"
22498
+ },
22499
+ {
22500
+ "name": "filteringIdMaxBytes",
22501
+ "description": "Configures the maximum size allowed for filtering IDs.",
22502
+ "type": "integer"
22503
+ },
22504
+ {
22505
+ "name": "maxContributions",
22506
+ "description": "The limit on the number of contributions in the final report.",
22507
+ "optional": true,
22508
+ "type": "integer"
22509
+ }
22510
+ ]
22511
+ },
22482
22512
  {
22483
22513
  "id": "SharedStorageReportingMetadata",
22484
22514
  "description": "Pair of reporting metadata details for a candidate URL for `selectURL()`.",
@@ -22521,48 +22551,96 @@
22521
22551
  "properties": [
22522
22552
  {
22523
22553
  "name": "scriptSourceUrl",
22524
- "description": "Spec of the module script URL.\nPresent only for SharedStorageAccessType.documentAddModule.",
22554
+ "description": "Spec of the module script URL.\nPresent only for SharedStorageAccessMethods: addModule and\ncreateWorklet.",
22555
+ "optional": true,
22556
+ "type": "string"
22557
+ },
22558
+ {
22559
+ "name": "dataOrigin",
22560
+ "description": "String denoting \"context-origin\", \"script-origin\", or a custom\norigin to be used as the worklet's data origin.\nPresent only for SharedStorageAccessMethod: createWorklet.",
22525
22561
  "optional": true,
22526
22562
  "type": "string"
22527
22563
  },
22528
22564
  {
22529
22565
  "name": "operationName",
22530
- "description": "Name of the registered operation to be run.\nPresent only for SharedStorageAccessType.documentRun and\nSharedStorageAccessType.documentSelectURL.",
22566
+ "description": "Name of the registered operation to be run.\nPresent only for SharedStorageAccessMethods: run and selectURL.",
22531
22567
  "optional": true,
22532
22568
  "type": "string"
22533
22569
  },
22570
+ {
22571
+ "name": "keepAlive",
22572
+ "description": "Whether or not to keep the worket alive for future run or selectURL\ncalls.\nPresent only for SharedStorageAccessMethods: run and selectURL.",
22573
+ "optional": true,
22574
+ "type": "boolean"
22575
+ },
22576
+ {
22577
+ "name": "privateAggregationConfig",
22578
+ "description": "Configures the private aggregation options.\nPresent only for SharedStorageAccessMethods: run and selectURL.",
22579
+ "optional": true,
22580
+ "$ref": "SharedStoragePrivateAggregationConfig"
22581
+ },
22534
22582
  {
22535
22583
  "name": "serializedData",
22536
- "description": "The operation's serialized data in bytes (converted to a string).\nPresent only for SharedStorageAccessType.documentRun and\nSharedStorageAccessType.documentSelectURL.",
22584
+ "description": "The operation's serialized data in bytes (converted to a string).\nPresent only for SharedStorageAccessMethods: run and selectURL.\nTODO(crbug.com/401011862): Consider updating this parameter to binary.",
22537
22585
  "optional": true,
22538
22586
  "type": "string"
22539
22587
  },
22540
22588
  {
22541
22589
  "name": "urlsWithMetadata",
22542
- "description": "Array of candidate URLs' specs, along with any associated metadata.\nPresent only for SharedStorageAccessType.documentSelectURL.",
22590
+ "description": "Array of candidate URLs' specs, along with any associated metadata.\nPresent only for SharedStorageAccessMethod: selectURL.",
22543
22591
  "optional": true,
22544
22592
  "type": "array",
22545
22593
  "items": {
22546
22594
  "$ref": "SharedStorageUrlWithMetadata"
22547
22595
  }
22548
22596
  },
22597
+ {
22598
+ "name": "urnUuid",
22599
+ "description": "Spec of the URN:UUID generated for a selectURL call.\nPresent only for SharedStorageAccessMethod: selectURL.",
22600
+ "optional": true,
22601
+ "type": "string"
22602
+ },
22549
22603
  {
22550
22604
  "name": "key",
22551
- "description": "Key for a specific entry in an origin's shared storage.\nPresent only for SharedStorageAccessType.documentSet,\nSharedStorageAccessType.documentAppend,\nSharedStorageAccessType.documentDelete,\nSharedStorageAccessType.workletSet,\nSharedStorageAccessType.workletAppend,\nSharedStorageAccessType.workletDelete,\nSharedStorageAccessType.workletGet,\nSharedStorageAccessType.headerSet,\nSharedStorageAccessType.headerAppend, and\nSharedStorageAccessType.headerDelete.",
22605
+ "description": "Key for a specific entry in an origin's shared storage.\nPresent only for SharedStorageAccessMethods: set, append, delete, and\nget.",
22552
22606
  "optional": true,
22553
22607
  "type": "string"
22554
22608
  },
22555
22609
  {
22556
22610
  "name": "value",
22557
- "description": "Value for a specific entry in an origin's shared storage.\nPresent only for SharedStorageAccessType.documentSet,\nSharedStorageAccessType.documentAppend,\nSharedStorageAccessType.workletSet,\nSharedStorageAccessType.workletAppend,\nSharedStorageAccessType.headerSet, and\nSharedStorageAccessType.headerAppend.",
22611
+ "description": "Value for a specific entry in an origin's shared storage.\nPresent only for SharedStorageAccessMethods: set and append.",
22558
22612
  "optional": true,
22559
22613
  "type": "string"
22560
22614
  },
22561
22615
  {
22562
22616
  "name": "ignoreIfPresent",
22563
- "description": "Whether or not to set an entry for a key if that key is already present.\nPresent only for SharedStorageAccessType.documentSet,\nSharedStorageAccessType.workletSet, and\nSharedStorageAccessType.headerSet.",
22617
+ "description": "Whether or not to set an entry for a key if that key is already present.\nPresent only for SharedStorageAccessMethod: set.",
22564
22618
  "optional": true,
22565
22619
  "type": "boolean"
22620
+ },
22621
+ {
22622
+ "name": "workletId",
22623
+ "description": "If the method is called on a worklet, or as part of\na worklet script, it will have an ID for the associated worklet.\nPresent only for SharedStorageAccessMethods: addModule, createWorklet,\nrun, selectURL, and any other SharedStorageAccessMethod when the\nSharedStorageAccessScope is worklet.",
22624
+ "optional": true,
22625
+ "type": "string"
22626
+ },
22627
+ {
22628
+ "name": "withLock",
22629
+ "description": "Name of the lock to be acquired, if present.\nOptionally present only for SharedStorageAccessMethods: batchUpdate,\nset, append, delete, and clear.",
22630
+ "optional": true,
22631
+ "type": "string"
22632
+ },
22633
+ {
22634
+ "name": "batchUpdateId",
22635
+ "description": "If the method has been called as part of a batchUpdate, then this\nnumber identifies the batch to which it belongs.\nOptionally present only for SharedStorageAccessMethods:\nbatchUpdate (required), set, append, delete, and clear.",
22636
+ "optional": true,
22637
+ "type": "string"
22638
+ },
22639
+ {
22640
+ "name": "batchSize",
22641
+ "description": "Number of modifier methods sent in batch.\nPresent only for SharedStorageAccessMethod: batchUpdate.",
22642
+ "optional": true,
22643
+ "type": "integer"
22566
22644
  }
22567
22645
  ]
22568
22646
  },
@@ -22956,6 +23034,14 @@
22956
23034
  "items": {
22957
23035
  "$ref": "AttributionReportingNamedBudgetDef"
22958
23036
  }
23037
+ },
23038
+ {
23039
+ "name": "debugReporting",
23040
+ "type": "boolean"
23041
+ },
23042
+ {
23043
+ "name": "eventLevelEpsilon",
23044
+ "type": "number"
22959
23045
  }
22960
23046
  ]
22961
23047
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1449749",
3
+ "version": "0.0.1450379",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -10656,6 +10656,19 @@ experimental domain Storage
10656
10656
  # storage.
10657
10657
  integer bytesUsed
10658
10658
 
10659
+ # Represents a dictionary object passed in as privateAggregationConfig to
10660
+ # run or selectURL.
10661
+ type SharedStoragePrivateAggregationConfig extends object
10662
+ properties
10663
+ # The chosen aggregation service deployment.
10664
+ optional string aggregationCoordinatorOrigin
10665
+ # The context ID provided.
10666
+ optional string contextId
10667
+ # Configures the maximum size allowed for filtering IDs.
10668
+ integer filteringIdMaxBytes
10669
+ # The limit on the number of contributions in the final report.
10670
+ optional integer maxContributions
10671
+
10659
10672
  # Pair of reporting metadata details for a candidate URL for `selectURL()`.
10660
10673
  type SharedStorageReportingMetadata extends object
10661
10674
  properties
@@ -10675,44 +10688,61 @@ experimental domain Storage
10675
10688
  type SharedStorageAccessParams extends object
10676
10689
  properties
10677
10690
  # Spec of the module script URL.
10678
- # Present only for SharedStorageAccessType.documentAddModule.
10691
+ # Present only for SharedStorageAccessMethods: addModule and
10692
+ # createWorklet.
10679
10693
  optional string scriptSourceUrl
10694
+ # String denoting "context-origin", "script-origin", or a custom
10695
+ # origin to be used as the worklet's data origin.
10696
+ # Present only for SharedStorageAccessMethod: createWorklet.
10697
+ optional string dataOrigin
10680
10698
  # Name of the registered operation to be run.
10681
- # Present only for SharedStorageAccessType.documentRun and
10682
- # SharedStorageAccessType.documentSelectURL.
10699
+ # Present only for SharedStorageAccessMethods: run and selectURL.
10683
10700
  optional string operationName
10701
+ # Whether or not to keep the worket alive for future run or selectURL
10702
+ # calls.
10703
+ # Present only for SharedStorageAccessMethods: run and selectURL.
10704
+ optional boolean keepAlive
10705
+ # Configures the private aggregation options.
10706
+ # Present only for SharedStorageAccessMethods: run and selectURL.
10707
+ optional SharedStoragePrivateAggregationConfig privateAggregationConfig
10684
10708
  # The operation's serialized data in bytes (converted to a string).
10685
- # Present only for SharedStorageAccessType.documentRun and
10686
- # SharedStorageAccessType.documentSelectURL.
10709
+ # Present only for SharedStorageAccessMethods: run and selectURL.
10710
+ # TODO(crbug.com/401011862): Consider updating this parameter to binary.
10687
10711
  optional string serializedData
10688
10712
  # Array of candidate URLs' specs, along with any associated metadata.
10689
- # Present only for SharedStorageAccessType.documentSelectURL.
10713
+ # Present only for SharedStorageAccessMethod: selectURL.
10690
10714
  optional array of SharedStorageUrlWithMetadata urlsWithMetadata
10715
+ # Spec of the URN:UUID generated for a selectURL call.
10716
+ # Present only for SharedStorageAccessMethod: selectURL.
10717
+ optional string urnUuid
10691
10718
  # Key for a specific entry in an origin's shared storage.
10692
- # Present only for SharedStorageAccessType.documentSet,
10693
- # SharedStorageAccessType.documentAppend,
10694
- # SharedStorageAccessType.documentDelete,
10695
- # SharedStorageAccessType.workletSet,
10696
- # SharedStorageAccessType.workletAppend,
10697
- # SharedStorageAccessType.workletDelete,
10698
- # SharedStorageAccessType.workletGet,
10699
- # SharedStorageAccessType.headerSet,
10700
- # SharedStorageAccessType.headerAppend, and
10701
- # SharedStorageAccessType.headerDelete.
10719
+ # Present only for SharedStorageAccessMethods: set, append, delete, and
10720
+ # get.
10702
10721
  optional string key
10703
10722
  # Value for a specific entry in an origin's shared storage.
10704
- # Present only for SharedStorageAccessType.documentSet,
10705
- # SharedStorageAccessType.documentAppend,
10706
- # SharedStorageAccessType.workletSet,
10707
- # SharedStorageAccessType.workletAppend,
10708
- # SharedStorageAccessType.headerSet, and
10709
- # SharedStorageAccessType.headerAppend.
10723
+ # Present only for SharedStorageAccessMethods: set and append.
10710
10724
  optional string value
10711
10725
  # Whether or not to set an entry for a key if that key is already present.
10712
- # Present only for SharedStorageAccessType.documentSet,
10713
- # SharedStorageAccessType.workletSet, and
10714
- # SharedStorageAccessType.headerSet.
10726
+ # Present only for SharedStorageAccessMethod: set.
10715
10727
  optional boolean ignoreIfPresent
10728
+ # If the method is called on a worklet, or as part of
10729
+ # a worklet script, it will have an ID for the associated worklet.
10730
+ # Present only for SharedStorageAccessMethods: addModule, createWorklet,
10731
+ # run, selectURL, and any other SharedStorageAccessMethod when the
10732
+ # SharedStorageAccessScope is worklet.
10733
+ optional string workletId
10734
+ # Name of the lock to be acquired, if present.
10735
+ # Optionally present only for SharedStorageAccessMethods: batchUpdate,
10736
+ # set, append, delete, and clear.
10737
+ optional string withLock
10738
+ # If the method has been called as part of a batchUpdate, then this
10739
+ # number identifies the batch to which it belongs.
10740
+ # Optionally present only for SharedStorageAccessMethods:
10741
+ # batchUpdate (required), set, append, delete, and clear.
10742
+ optional string batchUpdateId
10743
+ # Number of modifier methods sent in batch.
10744
+ # Present only for SharedStorageAccessMethod: batchUpdate.
10745
+ optional integer batchSize
10716
10746
 
10717
10747
  type StorageBucketsDurability extends string
10718
10748
  enum
@@ -11193,6 +11223,8 @@ experimental domain Storage
11193
11223
  optional AttributionScopesData scopesData
11194
11224
  integer maxEventLevelReports
11195
11225
  array of AttributionReportingNamedBudgetDef namedBudgets
11226
+ boolean debugReporting
11227
+ number eventLevelEpsilon
11196
11228
 
11197
11229
  experimental type AttributionReportingSourceRegistrationResult extends string
11198
11230
  enum
@@ -16458,6 +16458,29 @@ export namespace Protocol {
16458
16458
  bytesUsed: integer;
16459
16459
  }
16460
16460
 
16461
+ /**
16462
+ * Represents a dictionary object passed in as privateAggregationConfig to
16463
+ * run or selectURL.
16464
+ */
16465
+ export interface SharedStoragePrivateAggregationConfig {
16466
+ /**
16467
+ * The chosen aggregation service deployment.
16468
+ */
16469
+ aggregationCoordinatorOrigin?: string;
16470
+ /**
16471
+ * The context ID provided.
16472
+ */
16473
+ contextId?: string;
16474
+ /**
16475
+ * Configures the maximum size allowed for filtering IDs.
16476
+ */
16477
+ filteringIdMaxBytes: integer;
16478
+ /**
16479
+ * The limit on the number of contributions in the final report.
16480
+ */
16481
+ maxContributions?: integer;
16482
+ }
16483
+
16461
16484
  /**
16462
16485
  * Pair of reporting metadata details for a candidate URL for `selectURL()`.
16463
16486
  */
@@ -16487,57 +16510,90 @@ export namespace Protocol {
16487
16510
  export interface SharedStorageAccessParams {
16488
16511
  /**
16489
16512
  * Spec of the module script URL.
16490
- * Present only for SharedStorageAccessType.documentAddModule.
16513
+ * Present only for SharedStorageAccessMethods: addModule and
16514
+ * createWorklet.
16491
16515
  */
16492
16516
  scriptSourceUrl?: string;
16517
+ /**
16518
+ * String denoting "context-origin", "script-origin", or a custom
16519
+ * origin to be used as the worklet's data origin.
16520
+ * Present only for SharedStorageAccessMethod: createWorklet.
16521
+ */
16522
+ dataOrigin?: string;
16493
16523
  /**
16494
16524
  * Name of the registered operation to be run.
16495
- * Present only for SharedStorageAccessType.documentRun and
16496
- * SharedStorageAccessType.documentSelectURL.
16525
+ * Present only for SharedStorageAccessMethods: run and selectURL.
16497
16526
  */
16498
16527
  operationName?: string;
16528
+ /**
16529
+ * Whether or not to keep the worket alive for future run or selectURL
16530
+ * calls.
16531
+ * Present only for SharedStorageAccessMethods: run and selectURL.
16532
+ */
16533
+ keepAlive?: boolean;
16534
+ /**
16535
+ * Configures the private aggregation options.
16536
+ * Present only for SharedStorageAccessMethods: run and selectURL.
16537
+ */
16538
+ privateAggregationConfig?: SharedStoragePrivateAggregationConfig;
16499
16539
  /**
16500
16540
  * The operation's serialized data in bytes (converted to a string).
16501
- * Present only for SharedStorageAccessType.documentRun and
16502
- * SharedStorageAccessType.documentSelectURL.
16541
+ * Present only for SharedStorageAccessMethods: run and selectURL.
16542
+ * TODO(crbug.com/401011862): Consider updating this parameter to binary.
16503
16543
  */
16504
16544
  serializedData?: string;
16505
16545
  /**
16506
16546
  * Array of candidate URLs' specs, along with any associated metadata.
16507
- * Present only for SharedStorageAccessType.documentSelectURL.
16547
+ * Present only for SharedStorageAccessMethod: selectURL.
16508
16548
  */
16509
16549
  urlsWithMetadata?: SharedStorageUrlWithMetadata[];
16550
+ /**
16551
+ * Spec of the URN:UUID generated for a selectURL call.
16552
+ * Present only for SharedStorageAccessMethod: selectURL.
16553
+ */
16554
+ urnUuid?: string;
16510
16555
  /**
16511
16556
  * Key for a specific entry in an origin's shared storage.
16512
- * Present only for SharedStorageAccessType.documentSet,
16513
- * SharedStorageAccessType.documentAppend,
16514
- * SharedStorageAccessType.documentDelete,
16515
- * SharedStorageAccessType.workletSet,
16516
- * SharedStorageAccessType.workletAppend,
16517
- * SharedStorageAccessType.workletDelete,
16518
- * SharedStorageAccessType.workletGet,
16519
- * SharedStorageAccessType.headerSet,
16520
- * SharedStorageAccessType.headerAppend, and
16521
- * SharedStorageAccessType.headerDelete.
16557
+ * Present only for SharedStorageAccessMethods: set, append, delete, and
16558
+ * get.
16522
16559
  */
16523
16560
  key?: string;
16524
16561
  /**
16525
16562
  * Value for a specific entry in an origin's shared storage.
16526
- * Present only for SharedStorageAccessType.documentSet,
16527
- * SharedStorageAccessType.documentAppend,
16528
- * SharedStorageAccessType.workletSet,
16529
- * SharedStorageAccessType.workletAppend,
16530
- * SharedStorageAccessType.headerSet, and
16531
- * SharedStorageAccessType.headerAppend.
16563
+ * Present only for SharedStorageAccessMethods: set and append.
16532
16564
  */
16533
16565
  value?: string;
16534
16566
  /**
16535
16567
  * Whether or not to set an entry for a key if that key is already present.
16536
- * Present only for SharedStorageAccessType.documentSet,
16537
- * SharedStorageAccessType.workletSet, and
16538
- * SharedStorageAccessType.headerSet.
16568
+ * Present only for SharedStorageAccessMethod: set.
16539
16569
  */
16540
16570
  ignoreIfPresent?: boolean;
16571
+ /**
16572
+ * If the method is called on a worklet, or as part of
16573
+ * a worklet script, it will have an ID for the associated worklet.
16574
+ * Present only for SharedStorageAccessMethods: addModule, createWorklet,
16575
+ * run, selectURL, and any other SharedStorageAccessMethod when the
16576
+ * SharedStorageAccessScope is worklet.
16577
+ */
16578
+ workletId?: string;
16579
+ /**
16580
+ * Name of the lock to be acquired, if present.
16581
+ * Optionally present only for SharedStorageAccessMethods: batchUpdate,
16582
+ * set, append, delete, and clear.
16583
+ */
16584
+ withLock?: string;
16585
+ /**
16586
+ * If the method has been called as part of a batchUpdate, then this
16587
+ * number identifies the batch to which it belongs.
16588
+ * Optionally present only for SharedStorageAccessMethods:
16589
+ * batchUpdate (required), set, append, delete, and clear.
16590
+ */
16591
+ batchUpdateId?: string;
16592
+ /**
16593
+ * Number of modifier methods sent in batch.
16594
+ * Present only for SharedStorageAccessMethod: batchUpdate.
16595
+ */
16596
+ batchSize?: integer;
16541
16597
  }
16542
16598
 
16543
16599
  export type StorageBucketsDurability = ('relaxed' | 'strict');
@@ -16677,6 +16733,8 @@ export namespace Protocol {
16677
16733
  scopesData?: AttributionScopesData;
16678
16734
  maxEventLevelReports: integer;
16679
16735
  namedBudgets: AttributionReportingNamedBudgetDef[];
16736
+ debugReporting: boolean;
16737
+ eventLevelEpsilon: number;
16680
16738
  }
16681
16739
 
16682
16740
  export type AttributionReportingSourceRegistrationResult = ('success' | 'internalError' | 'insufficientSourceCapacity' | 'insufficientUniqueDestinationCapacity' | 'excessiveReportingOrigins' | 'prohibitedByBrowserPolicy' | 'successNoised' | 'destinationReportingLimitReached' | 'destinationGlobalLimitReached' | 'destinationBothLimitsReached' | 'reportingOriginsPerSiteLimitReached' | 'exceedsMaxChannelCapacity' | 'exceedsMaxScopesChannelCapacity' | 'exceedsMaxTriggerStateCardinality' | 'exceedsMaxEventStatesLimit' | 'destinationPerDayReportingLimitReached');