devtools-protocol 0.0.1309774 → 0.0.1311068
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/json/browser_protocol.json +33 -9
- package/package.json +1 -1
- package/pdl/browser_protocol.pdl +25 -15
- package/types/protocol.d.ts +29 -18
@@ -1220,6 +1220,8 @@
|
|
1220
1220
|
"CoopSandboxedIFrameCannotNavigateToCoopPage",
|
1221
1221
|
"CorpNotSameOrigin",
|
1222
1222
|
"CorpNotSameOriginAfterDefaultedToSameOriginByCoep",
|
1223
|
+
"CorpNotSameOriginAfterDefaultedToSameOriginByDip",
|
1224
|
+
"CorpNotSameOriginAfterDefaultedToSameOriginByCoepAndDip",
|
1223
1225
|
"CorpNotSameSite"
|
1224
1226
|
]
|
1225
1227
|
},
|
@@ -12487,6 +12489,8 @@
|
|
12487
12489
|
"coop-sandboxed-iframe-cannot-navigate-to-coop-page",
|
12488
12490
|
"corp-not-same-origin",
|
12489
12491
|
"corp-not-same-origin-after-defaulted-to-same-origin-by-coep",
|
12492
|
+
"corp-not-same-origin-after-defaulted-to-same-origin-by-dip",
|
12493
|
+
"corp-not-same-origin-after-defaulted-to-same-origin-by-coep-and-dip",
|
12490
12494
|
"corp-not-same-site"
|
12491
12495
|
]
|
12492
12496
|
},
|
@@ -12963,6 +12967,24 @@
|
|
12963
12967
|
}
|
12964
12968
|
]
|
12965
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
|
+
},
|
12966
12988
|
{
|
12967
12989
|
"id": "Cookie",
|
12968
12990
|
"description": "Cookie object",
|
@@ -13046,10 +13068,10 @@
|
|
13046
13068
|
},
|
13047
13069
|
{
|
13048
13070
|
"name": "partitionKey",
|
13049
|
-
"description": "Cookie partition key.
|
13071
|
+
"description": "Cookie partition key.",
|
13050
13072
|
"experimental": true,
|
13051
13073
|
"optional": true,
|
13052
|
-
"
|
13074
|
+
"$ref": "CookiePartitionKey"
|
13053
13075
|
},
|
13054
13076
|
{
|
13055
13077
|
"name": "partitionKeyOpaque",
|
@@ -13296,10 +13318,10 @@
|
|
13296
13318
|
},
|
13297
13319
|
{
|
13298
13320
|
"name": "partitionKey",
|
13299
|
-
"description": "Cookie partition key.
|
13321
|
+
"description": "Cookie partition key. If not set, the cookie will be set as not partitioned.",
|
13300
13322
|
"experimental": true,
|
13301
13323
|
"optional": true,
|
13302
|
-
"
|
13324
|
+
"$ref": "CookiePartitionKey"
|
13303
13325
|
}
|
13304
13326
|
]
|
13305
13327
|
},
|
@@ -14051,10 +14073,10 @@
|
|
14051
14073
|
},
|
14052
14074
|
{
|
14053
14075
|
"name": "partitionKey",
|
14054
|
-
"description": "If specified, deletes only cookies with the the given name and partitionKey where
|
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.",
|
14055
14077
|
"experimental": true,
|
14056
14078
|
"optional": true,
|
14057
|
-
"
|
14079
|
+
"$ref": "CookiePartitionKey"
|
14058
14080
|
}
|
14059
14081
|
]
|
14060
14082
|
},
|
@@ -14458,10 +14480,10 @@
|
|
14458
14480
|
},
|
14459
14481
|
{
|
14460
14482
|
"name": "partitionKey",
|
14461
|
-
"description": "Cookie partition key.
|
14483
|
+
"description": "Cookie partition key. If not set, the cookie will be set as not partitioned.",
|
14462
14484
|
"experimental": true,
|
14463
14485
|
"optional": true,
|
14464
|
-
"
|
14486
|
+
"$ref": "CookiePartitionKey"
|
14465
14487
|
}
|
14466
14488
|
],
|
14467
14489
|
"returns": [
|
@@ -15297,8 +15319,9 @@
|
|
15297
15319
|
{
|
15298
15320
|
"name": "cookiePartitionKey",
|
15299
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,
|
15300
15323
|
"optional": true,
|
15301
|
-
"
|
15324
|
+
"$ref": "CookiePartitionKey"
|
15302
15325
|
},
|
15303
15326
|
{
|
15304
15327
|
"name": "cookiePartitionKeyOpaque",
|
@@ -16795,6 +16818,7 @@
|
|
16795
16818
|
"clipboard-write",
|
16796
16819
|
"compute-pressure",
|
16797
16820
|
"cross-origin-isolated",
|
16821
|
+
"deferred-fetch",
|
16798
16822
|
"direct-sockets",
|
16799
16823
|
"display-capture",
|
16800
16824
|
"document-domain",
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
@@ -622,6 +622,8 @@ experimental domain Audits
|
|
622
622
|
CoopSandboxedIFrameCannotNavigateToCoopPage
|
623
623
|
CorpNotSameOrigin
|
624
624
|
CorpNotSameOriginAfterDefaultedToSameOriginByCoep
|
625
|
+
CorpNotSameOriginAfterDefaultedToSameOriginByDip
|
626
|
+
CorpNotSameOriginAfterDefaultedToSameOriginByCoepAndDip
|
625
627
|
CorpNotSameSite
|
626
628
|
|
627
629
|
# Details for a request that has been blocked with the BLOCKED_BY_RESPONSE
|
@@ -5755,6 +5757,8 @@ domain Network
|
|
5755
5757
|
coop-sandboxed-iframe-cannot-navigate-to-coop-page
|
5756
5758
|
corp-not-same-origin
|
5757
5759
|
corp-not-same-origin-after-defaulted-to-same-origin-by-coep
|
5760
|
+
corp-not-same-origin-after-defaulted-to-same-origin-by-dip
|
5761
|
+
corp-not-same-origin-after-defaulted-to-same-origin-by-coep-and-dip
|
5758
5762
|
corp-not-same-site
|
5759
5763
|
|
5760
5764
|
# The reason why request was blocked.
|
@@ -6028,6 +6032,16 @@ domain Network
|
|
6028
6032
|
# Set if another request triggered this request (e.g. preflight).
|
6029
6033
|
optional RequestId requestId
|
6030
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
|
+
|
6031
6045
|
# Cookie object
|
6032
6046
|
type Cookie extends object
|
6033
6047
|
properties
|
@@ -6061,9 +6075,8 @@ domain Network
|
|
6061
6075
|
# An unspecified port value allows protocol clients to emulate legacy cookie scope for the port.
|
6062
6076
|
# This is a temporary ability and it will be removed in the future.
|
6063
6077
|
experimental integer sourcePort
|
6064
|
-
# Cookie partition key.
|
6065
|
-
|
6066
|
-
experimental optional string partitionKey
|
6078
|
+
# Cookie partition key.
|
6079
|
+
experimental optional CookiePartitionKey partitionKey
|
6067
6080
|
# True if cookie partition key is opaque.
|
6068
6081
|
experimental optional boolean partitionKeyOpaque
|
6069
6082
|
|
@@ -6279,10 +6292,8 @@ domain Network
|
|
6279
6292
|
# An unspecified port value allows protocol clients to emulate legacy cookie scope for the port.
|
6280
6293
|
# This is a temporary ability and it will be removed in the future.
|
6281
6294
|
experimental optional integer sourcePort
|
6282
|
-
# Cookie partition key.
|
6283
|
-
|
6284
|
-
# If not set, the cookie will be set as not partitioned.
|
6285
|
-
experimental optional string partitionKey
|
6295
|
+
# Cookie partition key. If not set, the cookie will be set as not partitioned.
|
6296
|
+
experimental optional CookiePartitionKey partitionKey
|
6286
6297
|
|
6287
6298
|
# Authorization challenge for HTTP status code 401 or 407.
|
6288
6299
|
experimental type AuthChallenge extends object
|
@@ -6485,9 +6496,9 @@ domain Network
|
|
6485
6496
|
optional string domain
|
6486
6497
|
# If specified, deletes only cookies with the exact path.
|
6487
6498
|
optional string path
|
6488
|
-
# If specified, deletes only cookies with the the given name and partitionKey where
|
6489
|
-
#
|
6490
|
-
experimental optional
|
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
|
6491
6502
|
|
6492
6503
|
# Disables network tracking, prevents network events from being sent to the client.
|
6493
6504
|
command disable
|
@@ -6664,10 +6675,8 @@ domain Network
|
|
6664
6675
|
# An unspecified port value allows protocol clients to emulate legacy cookie scope for the port.
|
6665
6676
|
# This is a temporary ability and it will be removed in the future.
|
6666
6677
|
experimental optional integer sourcePort
|
6667
|
-
# Cookie partition key.
|
6668
|
-
|
6669
|
-
# If not set, the cookie will be set as not partitioned.
|
6670
|
-
experimental optional string partitionKey
|
6678
|
+
# Cookie partition key. If not set, the cookie will be set as not partitioned.
|
6679
|
+
experimental optional CookiePartitionKey partitionKey
|
6671
6680
|
returns
|
6672
6681
|
# Always set to true. If an error occurs, the response indicates protocol error.
|
6673
6682
|
deprecated boolean success
|
@@ -7059,7 +7068,7 @@ domain Network
|
|
7059
7068
|
optional string headersText
|
7060
7069
|
# The cookie partition key that will be used to store partitioned cookies set in this response.
|
7061
7070
|
# Only sent when partitioned cookies are enabled.
|
7062
|
-
optional
|
7071
|
+
experimental optional CookiePartitionKey cookiePartitionKey
|
7063
7072
|
# True if partitioned cookies are enabled, but the partition key is not serializable to string.
|
7064
7073
|
optional boolean cookiePartitionKeyOpaque
|
7065
7074
|
# A list of cookies which should have been blocked by 3PCD but are exempted and stored from
|
@@ -7906,6 +7915,7 @@ domain Page
|
|
7906
7915
|
clipboard-write
|
7907
7916
|
compute-pressure
|
7908
7917
|
cross-origin-isolated
|
7918
|
+
deferred-fetch
|
7909
7919
|
direct-sockets
|
7910
7920
|
display-capture
|
7911
7921
|
document-domain
|
package/types/protocol.d.ts
CHANGED
@@ -3378,7 +3378,7 @@ export namespace Protocol {
|
|
3378
3378
|
* Enum indicating the reason a response has been blocked. These reasons are
|
3379
3379
|
* refinements of the net error BLOCKED_BY_RESPONSE.
|
3380
3380
|
*/
|
3381
|
-
export type BlockedByResponseReason = ('CoepFrameResourceNeedsCoepHeader' | 'CoopSandboxedIFrameCannotNavigateToCoopPage' | 'CorpNotSameOrigin' | 'CorpNotSameOriginAfterDefaultedToSameOriginByCoep' | 'CorpNotSameSite');
|
3381
|
+
export type BlockedByResponseReason = ('CoepFrameResourceNeedsCoepHeader' | 'CoopSandboxedIFrameCannotNavigateToCoopPage' | 'CorpNotSameOrigin' | 'CorpNotSameOriginAfterDefaultedToSameOriginByCoep' | 'CorpNotSameOriginAfterDefaultedToSameOriginByDip' | 'CorpNotSameOriginAfterDefaultedToSameOriginByCoepAndDip' | 'CorpNotSameSite');
|
3382
3382
|
|
3383
3383
|
/**
|
3384
3384
|
* Details for a request that has been blocked with the BLOCKED_BY_RESPONSE
|
@@ -10410,7 +10410,7 @@ export namespace Protocol {
|
|
10410
10410
|
/**
|
10411
10411
|
* The reason why request was blocked.
|
10412
10412
|
*/
|
10413
|
-
export type BlockedReason = ('other' | 'csp' | 'mixed-content' | 'origin' | 'inspector' | 'subresource-filter' | 'content-type' | 'coep-frame-resource-needs-coep-header' | 'coop-sandboxed-iframe-cannot-navigate-to-coop-page' | 'corp-not-same-origin' | 'corp-not-same-origin-after-defaulted-to-same-origin-by-coep' | 'corp-not-same-site');
|
10413
|
+
export type BlockedReason = ('other' | 'csp' | 'mixed-content' | 'origin' | 'inspector' | 'subresource-filter' | 'content-type' | 'coep-frame-resource-needs-coep-header' | 'coop-sandboxed-iframe-cannot-navigate-to-coop-page' | 'corp-not-same-origin' | 'corp-not-same-origin-after-defaulted-to-same-origin-by-coep' | 'corp-not-same-origin-after-defaulted-to-same-origin-by-dip' | 'corp-not-same-origin-after-defaulted-to-same-origin-by-coep-and-dip' | 'corp-not-same-site');
|
10414
10414
|
|
10415
10415
|
/**
|
10416
10416
|
* The reason why request was blocked.
|
@@ -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.
|
10787
|
-
* of the request to the endpoint that set the cookie.
|
10802
|
+
* Cookie partition key.
|
10788
10803
|
*/
|
10789
|
-
partitionKey?:
|
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.
|
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?:
|
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
|
11356
|
-
*
|
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?:
|
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.
|
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?:
|
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?:
|
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.
|