devtools-protocol 0.0.1310407 → 0.0.1311068

Sign up to get free protection for your applications and to get access to all the features.
@@ -12967,6 +12967,24 @@
12967
12967
  }
12968
12968
  ]
12969
12969
  },
12970
+ {
12971
+ "id": "CookiePartitionKey",
12972
+ "description": "cookiePartitionKey object\nThe representation of the components of the key that are created by the cookiePartitionKey class contained in net/cookies/cookie_partition_key.h.",
12973
+ "experimental": true,
12974
+ "type": "object",
12975
+ "properties": [
12976
+ {
12977
+ "name": "topLevelSite",
12978
+ "description": "The site of the top-level URL the browser was visiting at the start\nof the request to the endpoint that set the cookie.",
12979
+ "type": "string"
12980
+ },
12981
+ {
12982
+ "name": "hasCrossSiteAncestor",
12983
+ "description": "Indicates if the cookie has any ancestors that are cross-site to the topLevelSite.",
12984
+ "type": "boolean"
12985
+ }
12986
+ ]
12987
+ },
12970
12988
  {
12971
12989
  "id": "Cookie",
12972
12990
  "description": "Cookie object",
@@ -13050,10 +13068,10 @@
13050
13068
  },
13051
13069
  {
13052
13070
  "name": "partitionKey",
13053
- "description": "Cookie partition key. The site of the top-level URL the browser was visiting at the start\nof the request to the endpoint that set the cookie.",
13071
+ "description": "Cookie partition key.",
13054
13072
  "experimental": true,
13055
13073
  "optional": true,
13056
- "type": "string"
13074
+ "$ref": "CookiePartitionKey"
13057
13075
  },
13058
13076
  {
13059
13077
  "name": "partitionKeyOpaque",
@@ -13300,10 +13318,10 @@
13300
13318
  },
13301
13319
  {
13302
13320
  "name": "partitionKey",
13303
- "description": "Cookie partition key. The site of the top-level URL the browser was visiting at the start\nof the request to the endpoint that set the cookie.\nIf not set, the cookie will be set as not partitioned.",
13321
+ "description": "Cookie partition key. If not set, the cookie will be set as not partitioned.",
13304
13322
  "experimental": true,
13305
13323
  "optional": true,
13306
- "type": "string"
13324
+ "$ref": "CookiePartitionKey"
13307
13325
  }
13308
13326
  ]
13309
13327
  },
@@ -14055,10 +14073,10 @@
14055
14073
  },
14056
14074
  {
14057
14075
  "name": "partitionKey",
14058
- "description": "If specified, deletes only cookies with the the given name and partitionKey where domain\nmatches provided URL.",
14076
+ "description": "If specified, deletes only cookies with the the given name and partitionKey where\nwhere all partition key attributes match the cookie partition key attribute.",
14059
14077
  "experimental": true,
14060
14078
  "optional": true,
14061
- "type": "string"
14079
+ "$ref": "CookiePartitionKey"
14062
14080
  }
14063
14081
  ]
14064
14082
  },
@@ -14462,10 +14480,10 @@
14462
14480
  },
14463
14481
  {
14464
14482
  "name": "partitionKey",
14465
- "description": "Cookie partition key. The site of the top-level URL the browser was visiting at the start\nof the request to the endpoint that set the cookie.\nIf not set, the cookie will be set as not partitioned.",
14483
+ "description": "Cookie partition key. If not set, the cookie will be set as not partitioned.",
14466
14484
  "experimental": true,
14467
14485
  "optional": true,
14468
- "type": "string"
14486
+ "$ref": "CookiePartitionKey"
14469
14487
  }
14470
14488
  ],
14471
14489
  "returns": [
@@ -15301,8 +15319,9 @@
15301
15319
  {
15302
15320
  "name": "cookiePartitionKey",
15303
15321
  "description": "The cookie partition key that will be used to store partitioned cookies set in this response.\nOnly sent when partitioned cookies are enabled.",
15322
+ "experimental": true,
15304
15323
  "optional": true,
15305
- "type": "string"
15324
+ "$ref": "CookiePartitionKey"
15306
15325
  },
15307
15326
  {
15308
15327
  "name": "cookiePartitionKeyOpaque",
@@ -16799,6 +16818,7 @@
16799
16818
  "clipboard-write",
16800
16819
  "compute-pressure",
16801
16820
  "cross-origin-isolated",
16821
+ "deferred-fetch",
16802
16822
  "direct-sockets",
16803
16823
  "display-capture",
16804
16824
  "document-domain",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1310407",
3
+ "version": "0.0.1311068",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -6032,6 +6032,16 @@ domain Network
6032
6032
  # Set if another request triggered this request (e.g. preflight).
6033
6033
  optional RequestId requestId
6034
6034
 
6035
+ # cookiePartitionKey object
6036
+ # The representation of the components of the key that are created by the cookiePartitionKey class contained in net/cookies/cookie_partition_key.h.
6037
+ experimental type CookiePartitionKey extends object
6038
+ properties
6039
+ # The site of the top-level URL the browser was visiting at the start
6040
+ # of the request to the endpoint that set the cookie.
6041
+ string topLevelSite
6042
+ # Indicates if the cookie has any ancestors that are cross-site to the topLevelSite.
6043
+ boolean hasCrossSiteAncestor
6044
+
6035
6045
  # Cookie object
6036
6046
  type Cookie extends object
6037
6047
  properties
@@ -6065,9 +6075,8 @@ domain Network
6065
6075
  # An unspecified port value allows protocol clients to emulate legacy cookie scope for the port.
6066
6076
  # This is a temporary ability and it will be removed in the future.
6067
6077
  experimental integer sourcePort
6068
- # Cookie partition key. The site of the top-level URL the browser was visiting at the start
6069
- # of the request to the endpoint that set the cookie.
6070
- experimental optional string partitionKey
6078
+ # Cookie partition key.
6079
+ experimental optional CookiePartitionKey partitionKey
6071
6080
  # True if cookie partition key is opaque.
6072
6081
  experimental optional boolean partitionKeyOpaque
6073
6082
 
@@ -6283,10 +6292,8 @@ domain Network
6283
6292
  # An unspecified port value allows protocol clients to emulate legacy cookie scope for the port.
6284
6293
  # This is a temporary ability and it will be removed in the future.
6285
6294
  experimental optional integer sourcePort
6286
- # Cookie partition key. The site of the top-level URL the browser was visiting at the start
6287
- # of the request to the endpoint that set the cookie.
6288
- # If not set, the cookie will be set as not partitioned.
6289
- experimental optional string partitionKey
6295
+ # Cookie partition key. If not set, the cookie will be set as not partitioned.
6296
+ experimental optional CookiePartitionKey partitionKey
6290
6297
 
6291
6298
  # Authorization challenge for HTTP status code 401 or 407.
6292
6299
  experimental type AuthChallenge extends object
@@ -6489,9 +6496,9 @@ domain Network
6489
6496
  optional string domain
6490
6497
  # If specified, deletes only cookies with the exact path.
6491
6498
  optional string path
6492
- # If specified, deletes only cookies with the the given name and partitionKey where domain
6493
- # matches provided URL.
6494
- experimental optional string partitionKey
6499
+ # If specified, deletes only cookies with the the given name and partitionKey where
6500
+ # where all partition key attributes match the cookie partition key attribute.
6501
+ experimental optional CookiePartitionKey partitionKey
6495
6502
 
6496
6503
  # Disables network tracking, prevents network events from being sent to the client.
6497
6504
  command disable
@@ -6668,10 +6675,8 @@ domain Network
6668
6675
  # An unspecified port value allows protocol clients to emulate legacy cookie scope for the port.
6669
6676
  # This is a temporary ability and it will be removed in the future.
6670
6677
  experimental optional integer sourcePort
6671
- # Cookie partition key. The site of the top-level URL the browser was visiting at the start
6672
- # of the request to the endpoint that set the cookie.
6673
- # If not set, the cookie will be set as not partitioned.
6674
- experimental optional string partitionKey
6678
+ # Cookie partition key. If not set, the cookie will be set as not partitioned.
6679
+ experimental optional CookiePartitionKey partitionKey
6675
6680
  returns
6676
6681
  # Always set to true. If an error occurs, the response indicates protocol error.
6677
6682
  deprecated boolean success
@@ -7063,7 +7068,7 @@ domain Network
7063
7068
  optional string headersText
7064
7069
  # The cookie partition key that will be used to store partitioned cookies set in this response.
7065
7070
  # Only sent when partitioned cookies are enabled.
7066
- optional string cookiePartitionKey
7071
+ experimental optional CookiePartitionKey cookiePartitionKey
7067
7072
  # True if partitioned cookies are enabled, but the partition key is not serializable to string.
7068
7073
  optional boolean cookiePartitionKeyOpaque
7069
7074
  # A list of cookies which should have been blocked by 3PCD but are exempted and stored from
@@ -7910,6 +7915,7 @@ domain Page
7910
7915
  clipboard-write
7911
7916
  compute-pressure
7912
7917
  cross-origin-isolated
7918
+ deferred-fetch
7913
7919
  direct-sockets
7914
7920
  display-capture
7915
7921
  document-domain
@@ -10720,6 +10720,22 @@ export namespace Protocol {
10720
10720
  requestId?: RequestId;
10721
10721
  }
10722
10722
 
10723
+ /**
10724
+ * cookiePartitionKey object
10725
+ * The representation of the components of the key that are created by the cookiePartitionKey class contained in net/cookies/cookie_partition_key.h.
10726
+ */
10727
+ export interface CookiePartitionKey {
10728
+ /**
10729
+ * The site of the top-level URL the browser was visiting at the start
10730
+ * of the request to the endpoint that set the cookie.
10731
+ */
10732
+ topLevelSite: string;
10733
+ /**
10734
+ * Indicates if the cookie has any ancestors that are cross-site to the topLevelSite.
10735
+ */
10736
+ hasCrossSiteAncestor: boolean;
10737
+ }
10738
+
10723
10739
  /**
10724
10740
  * Cookie object
10725
10741
  */
@@ -10783,10 +10799,9 @@ export namespace Protocol {
10783
10799
  */
10784
10800
  sourcePort: integer;
10785
10801
  /**
10786
- * Cookie partition key. The site of the top-level URL the browser was visiting at the start
10787
- * of the request to the endpoint that set the cookie.
10802
+ * Cookie partition key.
10788
10803
  */
10789
- partitionKey?: string;
10804
+ partitionKey?: CookiePartitionKey;
10790
10805
  /**
10791
10806
  * True if cookie partition key is opaque.
10792
10807
  */
@@ -10928,11 +10943,9 @@ export namespace Protocol {
10928
10943
  */
10929
10944
  sourcePort?: integer;
10930
10945
  /**
10931
- * Cookie partition key. The site of the top-level URL the browser was visiting at the start
10932
- * of the request to the endpoint that set the cookie.
10933
- * If not set, the cookie will be set as not partitioned.
10946
+ * Cookie partition key. If not set, the cookie will be set as not partitioned.
10934
10947
  */
10935
- partitionKey?: string;
10948
+ partitionKey?: CookiePartitionKey;
10936
10949
  }
10937
10950
 
10938
10951
  export const enum AuthChallengeSource {
@@ -11352,10 +11365,10 @@ export namespace Protocol {
11352
11365
  */
11353
11366
  path?: string;
11354
11367
  /**
11355
- * If specified, deletes only cookies with the the given name and partitionKey where domain
11356
- * matches provided URL.
11368
+ * If specified, deletes only cookies with the the given name and partitionKey where
11369
+ * where all partition key attributes match the cookie partition key attribute.
11357
11370
  */
11358
- partitionKey?: string;
11371
+ partitionKey?: CookiePartitionKey;
11359
11372
  }
11360
11373
 
11361
11374
  export interface EmulateNetworkConditionsRequest {
@@ -11611,11 +11624,9 @@ export namespace Protocol {
11611
11624
  */
11612
11625
  sourcePort?: integer;
11613
11626
  /**
11614
- * Cookie partition key. The site of the top-level URL the browser was visiting at the start
11615
- * of the request to the endpoint that set the cookie.
11616
- * If not set, the cookie will be set as not partitioned.
11627
+ * Cookie partition key. If not set, the cookie will be set as not partitioned.
11617
11628
  */
11618
- partitionKey?: string;
11629
+ partitionKey?: CookiePartitionKey;
11619
11630
  }
11620
11631
 
11621
11632
  export interface SetCookieResponse {
@@ -12273,7 +12284,7 @@ export namespace Protocol {
12273
12284
  * The cookie partition key that will be used to store partitioned cookies set in this response.
12274
12285
  * Only sent when partitioned cookies are enabled.
12275
12286
  */
12276
- cookiePartitionKey?: string;
12287
+ cookiePartitionKey?: CookiePartitionKey;
12277
12288
  /**
12278
12289
  * True if partitioned cookies are enabled, but the partition key is not serializable to string.
12279
12290
  */
@@ -13233,7 +13244,7 @@ export namespace Protocol {
13233
13244
  * All Permissions Policy features. This enum should match the one defined
13234
13245
  * in third_party/blink/renderer/core/permissions_policy/permissions_policy_features.json5.
13235
13246
  */
13236
- 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' | 'xr-spatial-tracking');
13247
+ 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' | 'deferred-fetch' | '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' | 'xr-spatial-tracking');
13237
13248
 
13238
13249
  /**
13239
13250
  * Reason for a permissions policy feature to be disabled.