devtools-protocol 0.0.1269399 → 0.0.1271979

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.
@@ -13818,6 +13818,27 @@
13818
13818
  "description": "Connection type if known.",
13819
13819
  "optional": true,
13820
13820
  "$ref": "ConnectionType"
13821
+ },
13822
+ {
13823
+ "name": "packetLoss",
13824
+ "description": "WebRTC packet loss (percent, 0-100). 0 disables packet loss emulation, 100 drops all the packets.",
13825
+ "experimental": true,
13826
+ "optional": true,
13827
+ "type": "number"
13828
+ },
13829
+ {
13830
+ "name": "packetQueueLength",
13831
+ "description": "WebRTC packet queue length (packet). 0 removes any queue length limitations.",
13832
+ "experimental": true,
13833
+ "optional": true,
13834
+ "type": "integer"
13835
+ },
13836
+ {
13837
+ "name": "packetReordering",
13838
+ "description": "WebRTC packetReordering feature.",
13839
+ "experimental": true,
13840
+ "optional": true,
13841
+ "type": "boolean"
13821
13842
  }
13822
13843
  ]
13823
13844
  },
@@ -16472,7 +16493,7 @@
16472
16493
  "ch-ua-platform",
16473
16494
  "ch-ua-model",
16474
16495
  "ch-ua-mobile",
16475
- "ch-ua-form-factor",
16496
+ "ch-ua-form-factors",
16476
16497
  "ch-ua-full-version",
16477
16498
  "ch-ua-full-version-list",
16478
16499
  "ch-ua-platform-version",
@@ -20387,91 +20408,6 @@
20387
20408
  "sellerTrustedSignals"
20388
20409
  ]
20389
20410
  },
20390
- {
20391
- "id": "InterestGroupAd",
20392
- "description": "Ad advertising element inside an interest group.",
20393
- "type": "object",
20394
- "properties": [
20395
- {
20396
- "name": "renderURL",
20397
- "type": "string"
20398
- },
20399
- {
20400
- "name": "metadata",
20401
- "optional": true,
20402
- "type": "string"
20403
- }
20404
- ]
20405
- },
20406
- {
20407
- "id": "InterestGroupDetails",
20408
- "description": "The full details of an interest group.",
20409
- "type": "object",
20410
- "properties": [
20411
- {
20412
- "name": "ownerOrigin",
20413
- "type": "string"
20414
- },
20415
- {
20416
- "name": "name",
20417
- "type": "string"
20418
- },
20419
- {
20420
- "name": "expirationTime",
20421
- "$ref": "Network.TimeSinceEpoch"
20422
- },
20423
- {
20424
- "name": "joiningOrigin",
20425
- "type": "string"
20426
- },
20427
- {
20428
- "name": "biddingLogicURL",
20429
- "optional": true,
20430
- "type": "string"
20431
- },
20432
- {
20433
- "name": "biddingWasmHelperURL",
20434
- "optional": true,
20435
- "type": "string"
20436
- },
20437
- {
20438
- "name": "updateURL",
20439
- "optional": true,
20440
- "type": "string"
20441
- },
20442
- {
20443
- "name": "trustedBiddingSignalsURL",
20444
- "optional": true,
20445
- "type": "string"
20446
- },
20447
- {
20448
- "name": "trustedBiddingSignalsKeys",
20449
- "type": "array",
20450
- "items": {
20451
- "type": "string"
20452
- }
20453
- },
20454
- {
20455
- "name": "userBiddingSignals",
20456
- "optional": true,
20457
- "type": "string"
20458
- },
20459
- {
20460
- "name": "ads",
20461
- "type": "array",
20462
- "items": {
20463
- "$ref": "InterestGroupAd"
20464
- }
20465
- },
20466
- {
20467
- "name": "adComponents",
20468
- "type": "array",
20469
- "items": {
20470
- "$ref": "InterestGroupAd"
20471
- }
20472
- }
20473
- ]
20474
- },
20475
20411
  {
20476
20412
  "id": "SharedStorageAccessType",
20477
20413
  "description": "Enum of shared storage access types.",
@@ -20492,7 +20428,11 @@
20492
20428
  "workletKeys",
20493
20429
  "workletEntries",
20494
20430
  "workletLength",
20495
- "workletRemainingBudget"
20431
+ "workletRemainingBudget",
20432
+ "headerSet",
20433
+ "headerAppend",
20434
+ "headerDelete",
20435
+ "headerClear"
20496
20436
  ]
20497
20437
  },
20498
20438
  {
@@ -20606,19 +20546,19 @@
20606
20546
  },
20607
20547
  {
20608
20548
  "name": "key",
20609
- "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, and\nSharedStorageAccessType.workletGet.",
20549
+ "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.",
20610
20550
  "optional": true,
20611
20551
  "type": "string"
20612
20552
  },
20613
20553
  {
20614
20554
  "name": "value",
20615
- "description": "Value for a specific entry in an origin's shared storage.\nPresent only for SharedStorageAccessType.documentSet,\nSharedStorageAccessType.documentAppend,\nSharedStorageAccessType.workletSet, and\nSharedStorageAccessType.workletAppend.",
20555
+ "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.",
20616
20556
  "optional": true,
20617
20557
  "type": "string"
20618
20558
  },
20619
20559
  {
20620
20560
  "name": "ignoreIfPresent",
20621
- "description": "Whether or not to set an entry for a key if that key is already present.\nPresent only for SharedStorageAccessType.documentSet and\nSharedStorageAccessType.workletSet.",
20561
+ "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.",
20622
20562
  "optional": true,
20623
20563
  "type": "boolean"
20624
20564
  }
@@ -21431,7 +21371,8 @@
21431
21371
  "returns": [
21432
21372
  {
21433
21373
  "name": "details",
21434
- "$ref": "InterestGroupDetails"
21374
+ "description": "This largely corresponds to:\nhttps://wicg.github.io/turtledove/#dictdef-generatebidinterestgroup\nbut has absolute expirationTime instead of relative lifetimeMs and\nalso adds joiningOrigin.",
21375
+ "type": "object"
21435
21376
  }
21436
21377
  ]
21437
21378
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1269399",
3
+ "version": "0.0.1271979",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -6356,6 +6356,12 @@ domain Network
6356
6356
  number uploadThroughput
6357
6357
  # Connection type if known.
6358
6358
  optional ConnectionType connectionType
6359
+ # WebRTC packet loss (percent, 0-100). 0 disables packet loss emulation, 100 drops all the packets.
6360
+ experimental optional number packetLoss
6361
+ # WebRTC packet queue length (packet). 0 removes any queue length limitations.
6362
+ experimental optional integer packetQueueLength
6363
+ # WebRTC packetReordering feature.
6364
+ experimental optional boolean packetReordering
6359
6365
 
6360
6366
  # Enables network tracking, network events will now be delivered to the client.
6361
6367
  command enable
@@ -7729,7 +7735,7 @@ domain Page
7729
7735
  ch-ua-platform
7730
7736
  ch-ua-model
7731
7737
  ch-ua-mobile
7732
- ch-ua-form-factor
7738
+ ch-ua-form-factors
7733
7739
  ch-ua-full-version
7734
7740
  ch-ua-full-version-list
7735
7741
  ch-ua-platform-version
@@ -9649,28 +9655,6 @@ experimental domain Storage
9649
9655
  bidderTrustedSignals
9650
9656
  sellerTrustedSignals
9651
9657
 
9652
- # Ad advertising element inside an interest group.
9653
- type InterestGroupAd extends object
9654
- properties
9655
- string renderURL
9656
- optional string metadata
9657
-
9658
- # The full details of an interest group.
9659
- type InterestGroupDetails extends object
9660
- properties
9661
- string ownerOrigin
9662
- string name
9663
- Network.TimeSinceEpoch expirationTime
9664
- string joiningOrigin
9665
- optional string biddingLogicURL
9666
- optional string biddingWasmHelperURL
9667
- optional string updateURL
9668
- optional string trustedBiddingSignalsURL
9669
- array of string trustedBiddingSignalsKeys
9670
- optional string userBiddingSignals
9671
- array of InterestGroupAd ads
9672
- array of InterestGroupAd adComponents
9673
-
9674
9658
  # Enum of shared storage access types.
9675
9659
  type SharedStorageAccessType extends string
9676
9660
  enum
@@ -9690,6 +9674,10 @@ experimental domain Storage
9690
9674
  workletEntries
9691
9675
  workletLength
9692
9676
  workletRemainingBudget
9677
+ headerSet
9678
+ headerAppend
9679
+ headerDelete
9680
+ headerClear
9693
9681
 
9694
9682
  # Struct for a single key-value pair in an origin's shared storage.
9695
9683
  type SharedStorageEntry extends object
@@ -9748,18 +9736,24 @@ experimental domain Storage
9748
9736
  # SharedStorageAccessType.documentDelete,
9749
9737
  # SharedStorageAccessType.workletSet,
9750
9738
  # SharedStorageAccessType.workletAppend,
9751
- # SharedStorageAccessType.workletDelete, and
9752
- # SharedStorageAccessType.workletGet.
9739
+ # SharedStorageAccessType.workletDelete,
9740
+ # SharedStorageAccessType.workletGet,
9741
+ # SharedStorageAccessType.headerSet,
9742
+ # SharedStorageAccessType.headerAppend, and
9743
+ # SharedStorageAccessType.headerDelete.
9753
9744
  optional string key
9754
9745
  # Value for a specific entry in an origin's shared storage.
9755
9746
  # Present only for SharedStorageAccessType.documentSet,
9756
9747
  # SharedStorageAccessType.documentAppend,
9757
- # SharedStorageAccessType.workletSet, and
9758
- # SharedStorageAccessType.workletAppend.
9748
+ # SharedStorageAccessType.workletSet,
9749
+ # SharedStorageAccessType.workletAppend,
9750
+ # SharedStorageAccessType.headerSet, and
9751
+ # SharedStorageAccessType.headerAppend.
9759
9752
  optional string value
9760
9753
  # Whether or not to set an entry for a key if that key is already present.
9761
- # Present only for SharedStorageAccessType.documentSet and
9762
- # SharedStorageAccessType.workletSet.
9754
+ # Present only for SharedStorageAccessType.documentSet,
9755
+ # SharedStorageAccessType.workletSet, and
9756
+ # SharedStorageAccessType.headerSet.
9763
9757
  optional boolean ignoreIfPresent
9764
9758
 
9765
9759
  type StorageBucketsDurability extends string
@@ -9927,7 +9921,11 @@ experimental domain Storage
9927
9921
  string ownerOrigin
9928
9922
  string name
9929
9923
  returns
9930
- InterestGroupDetails details
9924
+ # This largely corresponds to:
9925
+ # https://wicg.github.io/turtledove/#dictdef-generatebidinterestgroup
9926
+ # but has absolute expirationTime instead of relative lifetimeMs and
9927
+ # also adds joiningOrigin.
9928
+ object details
9931
9929
 
9932
9930
  # Enables/Disables issuing of interestGroupAccessed events.
9933
9931
  experimental command setInterestGroupTracking
@@ -11220,6 +11220,18 @@ export namespace Protocol {
11220
11220
  * Connection type if known.
11221
11221
  */
11222
11222
  connectionType?: ConnectionType;
11223
+ /**
11224
+ * WebRTC packet loss (percent, 0-100). 0 disables packet loss emulation, 100 drops all the packets.
11225
+ */
11226
+ packetLoss?: number;
11227
+ /**
11228
+ * WebRTC packet queue length (packet). 0 removes any queue length limitations.
11229
+ */
11230
+ packetQueueLength?: integer;
11231
+ /**
11232
+ * WebRTC packetReordering feature.
11233
+ */
11234
+ packetReordering?: boolean;
11223
11235
  }
11224
11236
 
11225
11237
  export interface EnableRequest {
@@ -13046,7 +13058,7 @@ export namespace Protocol {
13046
13058
  * All Permissions Policy features. This enum should match the one defined
13047
13059
  * in third_party/blink/renderer/core/permissions_policy/permissions_policy_features.json5.
13048
13060
  */
13049
- export type PermissionsPolicyFeature = ('accelerometer' | 'ambient-light-sensor' | 'attribution-reporting' | 'autoplay' | 'bluetooth' | 'browsing-topics' | 'camera' | 'captured-surface-control' | 'ch-dpr' | 'ch-device-memory' | 'ch-downlink' | 'ch-ect' | 'ch-prefers-color-scheme' | 'ch-prefers-reduced-motion' | 'ch-prefers-reduced-transparency' | 'ch-rtt' | 'ch-save-data' | 'ch-ua' | 'ch-ua-arch' | 'ch-ua-bitness' | 'ch-ua-platform' | 'ch-ua-model' | 'ch-ua-mobile' | 'ch-ua-form-factor' | 'ch-ua-full-version' | 'ch-ua-full-version-list' | 'ch-ua-platform-version' | 'ch-ua-wow64' | 'ch-viewport-height' | 'ch-viewport-width' | 'ch-width' | 'clipboard-read' | 'clipboard-write' | 'compute-pressure' | 'cross-origin-isolated' | 'direct-sockets' | 'display-capture' | 'document-domain' | 'encrypted-media' | 'execution-while-out-of-viewport' | 'execution-while-not-rendered' | 'focus-without-user-activation' | 'fullscreen' | 'frobulate' | 'gamepad' | 'geolocation' | 'gyroscope' | 'hid' | 'identity-credentials-get' | 'idle-detection' | 'interest-cohort' | 'join-ad-interest-group' | 'keyboard-map' | 'local-fonts' | 'magnetometer' | 'microphone' | 'midi' | 'otp-credentials' | 'payment' | 'picture-in-picture' | 'private-aggregation' | 'private-state-token-issuance' | 'private-state-token-redemption' | 'publickey-credentials-create' | 'publickey-credentials-get' | 'run-ad-auction' | 'screen-wake-lock' | 'serial' | 'shared-autofill' | 'shared-storage' | 'shared-storage-select-url' | 'smart-card' | 'speaker-selection' | 'storage-access' | 'sub-apps' | 'sync-xhr' | 'unload' | 'usb' | 'usb-unrestricted' | 'vertical-scroll' | 'web-printing' | 'web-share' | 'window-management' | 'window-placement' | 'xr-spatial-tracking');
13061
+ export type PermissionsPolicyFeature = ('accelerometer' | 'ambient-light-sensor' | 'attribution-reporting' | 'autoplay' | 'bluetooth' | 'browsing-topics' | 'camera' | 'captured-surface-control' | 'ch-dpr' | 'ch-device-memory' | 'ch-downlink' | 'ch-ect' | 'ch-prefers-color-scheme' | 'ch-prefers-reduced-motion' | 'ch-prefers-reduced-transparency' | 'ch-rtt' | 'ch-save-data' | 'ch-ua' | 'ch-ua-arch' | 'ch-ua-bitness' | 'ch-ua-platform' | 'ch-ua-model' | 'ch-ua-mobile' | 'ch-ua-form-factors' | 'ch-ua-full-version' | 'ch-ua-full-version-list' | 'ch-ua-platform-version' | 'ch-ua-wow64' | 'ch-viewport-height' | 'ch-viewport-width' | 'ch-width' | 'clipboard-read' | 'clipboard-write' | 'compute-pressure' | 'cross-origin-isolated' | 'direct-sockets' | 'display-capture' | 'document-domain' | 'encrypted-media' | 'execution-while-out-of-viewport' | 'execution-while-not-rendered' | 'focus-without-user-activation' | 'fullscreen' | 'frobulate' | 'gamepad' | 'geolocation' | 'gyroscope' | 'hid' | 'identity-credentials-get' | 'idle-detection' | 'interest-cohort' | 'join-ad-interest-group' | 'keyboard-map' | 'local-fonts' | 'magnetometer' | 'microphone' | 'midi' | 'otp-credentials' | 'payment' | 'picture-in-picture' | 'private-aggregation' | 'private-state-token-issuance' | 'private-state-token-redemption' | 'publickey-credentials-create' | 'publickey-credentials-get' | 'run-ad-auction' | 'screen-wake-lock' | 'serial' | 'shared-autofill' | 'shared-storage' | 'shared-storage-select-url' | 'smart-card' | 'speaker-selection' | 'storage-access' | 'sub-apps' | 'sync-xhr' | 'unload' | 'usb' | 'usb-unrestricted' | 'vertical-scroll' | 'web-printing' | 'web-share' | 'window-management' | 'window-placement' | 'xr-spatial-tracking');
13050
13062
 
13051
13063
  /**
13052
13064
  * Reason for a permissions policy feature to be disabled.
@@ -15328,36 +15340,10 @@ export namespace Protocol {
15328
15340
  */
15329
15341
  export type InterestGroupAuctionFetchType = ('bidderJs' | 'bidderWasm' | 'sellerJs' | 'bidderTrustedSignals' | 'sellerTrustedSignals');
15330
15342
 
15331
- /**
15332
- * Ad advertising element inside an interest group.
15333
- */
15334
- export interface InterestGroupAd {
15335
- renderURL: string;
15336
- metadata?: string;
15337
- }
15338
-
15339
- /**
15340
- * The full details of an interest group.
15341
- */
15342
- export interface InterestGroupDetails {
15343
- ownerOrigin: string;
15344
- name: string;
15345
- expirationTime: Network.TimeSinceEpoch;
15346
- joiningOrigin: string;
15347
- biddingLogicURL?: string;
15348
- biddingWasmHelperURL?: string;
15349
- updateURL?: string;
15350
- trustedBiddingSignalsURL?: string;
15351
- trustedBiddingSignalsKeys: string[];
15352
- userBiddingSignals?: string;
15353
- ads: InterestGroupAd[];
15354
- adComponents: InterestGroupAd[];
15355
- }
15356
-
15357
15343
  /**
15358
15344
  * Enum of shared storage access types.
15359
15345
  */
15360
- export type SharedStorageAccessType = ('documentAddModule' | 'documentSelectURL' | 'documentRun' | 'documentSet' | 'documentAppend' | 'documentDelete' | 'documentClear' | 'workletSet' | 'workletAppend' | 'workletDelete' | 'workletClear' | 'workletGet' | 'workletKeys' | 'workletEntries' | 'workletLength' | 'workletRemainingBudget');
15346
+ export type SharedStorageAccessType = ('documentAddModule' | 'documentSelectURL' | 'documentRun' | 'documentSet' | 'documentAppend' | 'documentDelete' | 'documentClear' | 'workletSet' | 'workletAppend' | 'workletDelete' | 'workletClear' | 'workletGet' | 'workletKeys' | 'workletEntries' | 'workletLength' | 'workletRemainingBudget' | 'headerSet' | 'headerAppend' | 'headerDelete' | 'headerClear');
15361
15347
 
15362
15348
  /**
15363
15349
  * Struct for a single key-value pair in an origin's shared storage.
@@ -15446,22 +15432,28 @@ export namespace Protocol {
15446
15432
  * SharedStorageAccessType.documentDelete,
15447
15433
  * SharedStorageAccessType.workletSet,
15448
15434
  * SharedStorageAccessType.workletAppend,
15449
- * SharedStorageAccessType.workletDelete, and
15450
- * SharedStorageAccessType.workletGet.
15435
+ * SharedStorageAccessType.workletDelete,
15436
+ * SharedStorageAccessType.workletGet,
15437
+ * SharedStorageAccessType.headerSet,
15438
+ * SharedStorageAccessType.headerAppend, and
15439
+ * SharedStorageAccessType.headerDelete.
15451
15440
  */
15452
15441
  key?: string;
15453
15442
  /**
15454
15443
  * Value for a specific entry in an origin's shared storage.
15455
15444
  * Present only for SharedStorageAccessType.documentSet,
15456
15445
  * SharedStorageAccessType.documentAppend,
15457
- * SharedStorageAccessType.workletSet, and
15458
- * SharedStorageAccessType.workletAppend.
15446
+ * SharedStorageAccessType.workletSet,
15447
+ * SharedStorageAccessType.workletAppend,
15448
+ * SharedStorageAccessType.headerSet, and
15449
+ * SharedStorageAccessType.headerAppend.
15459
15450
  */
15460
15451
  value?: string;
15461
15452
  /**
15462
15453
  * Whether or not to set an entry for a key if that key is already present.
15463
- * Present only for SharedStorageAccessType.documentSet and
15464
- * SharedStorageAccessType.workletSet.
15454
+ * Present only for SharedStorageAccessType.documentSet,
15455
+ * SharedStorageAccessType.workletSet, and
15456
+ * SharedStorageAccessType.headerSet.
15465
15457
  */
15466
15458
  ignoreIfPresent?: boolean;
15467
15459
  }
@@ -15799,7 +15791,13 @@ export namespace Protocol {
15799
15791
  }
15800
15792
 
15801
15793
  export interface GetInterestGroupDetailsResponse {
15802
- details: InterestGroupDetails;
15794
+ /**
15795
+ * This largely corresponds to:
15796
+ * https://wicg.github.io/turtledove/#dictdef-generatebidinterestgroup
15797
+ * but has absolute expirationTime instead of relative lifetimeMs and
15798
+ * also adds joiningOrigin.
15799
+ */
15800
+ details: any;
15803
15801
  }
15804
15802
 
15805
15803
  export interface SetInterestGroupTrackingRequest {