devtools-protocol 0.0.1568225 → 0.0.1572739
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 +0 -33
- package/package.json +1 -1
- package/pdl/domains/Audits.pdl +0 -2
- package/pdl/domains/Network.pdl +0 -34
- package/types/protocol.d.ts +4 -20
|
@@ -1063,8 +1063,6 @@
|
|
|
1063
1063
|
"ExcludeSameSiteNoneInsecure",
|
|
1064
1064
|
"ExcludeSameSiteLax",
|
|
1065
1065
|
"ExcludeSameSiteStrict",
|
|
1066
|
-
"ExcludeInvalidSameParty",
|
|
1067
|
-
"ExcludeSamePartyCrossPartyContext",
|
|
1068
1066
|
"ExcludeDomainNonASCII",
|
|
1069
1067
|
"ExcludeThirdPartyCookieBlockedInFirstPartySet",
|
|
1070
1068
|
"ExcludeThirdPartyPhaseout",
|
|
@@ -15597,8 +15595,6 @@
|
|
|
15597
15595
|
"PreflightInvalidAllowCredentials",
|
|
15598
15596
|
"PreflightMissingAllowExternal",
|
|
15599
15597
|
"PreflightInvalidAllowExternal",
|
|
15600
|
-
"PreflightMissingAllowPrivateNetwork",
|
|
15601
|
-
"PreflightInvalidAllowPrivateNetwork",
|
|
15602
15598
|
"InvalidAllowMethodsPreflightResponse",
|
|
15603
15599
|
"InvalidAllowHeadersPreflightResponse",
|
|
15604
15600
|
"MethodDisallowedByPreflightResponse",
|
|
@@ -15606,12 +15602,7 @@
|
|
|
15606
15602
|
"RedirectContainsCredentials",
|
|
15607
15603
|
"InsecurePrivateNetwork",
|
|
15608
15604
|
"InvalidPrivateNetworkAccess",
|
|
15609
|
-
"UnexpectedPrivateNetworkAccess",
|
|
15610
15605
|
"NoCorsRedirectModeNotFollow",
|
|
15611
|
-
"PreflightMissingPrivateNetworkAccessId",
|
|
15612
|
-
"PreflightMissingPrivateNetworkAccessName",
|
|
15613
|
-
"PrivateNetworkAccessPermissionUnavailable",
|
|
15614
|
-
"PrivateNetworkAccessPermissionDenied",
|
|
15615
15606
|
"LocalNetworkAccessPermissionDenied"
|
|
15616
15607
|
]
|
|
15617
15608
|
},
|
|
@@ -16129,13 +16120,6 @@
|
|
|
16129
16120
|
"experimental": true,
|
|
16130
16121
|
"$ref": "CookiePriority"
|
|
16131
16122
|
},
|
|
16132
|
-
{
|
|
16133
|
-
"name": "sameParty",
|
|
16134
|
-
"description": "True if cookie is SameParty.",
|
|
16135
|
-
"experimental": true,
|
|
16136
|
-
"deprecated": true,
|
|
16137
|
-
"type": "boolean"
|
|
16138
|
-
},
|
|
16139
16123
|
{
|
|
16140
16124
|
"name": "sourceScheme",
|
|
16141
16125
|
"description": "Cookie source scheme type.",
|
|
@@ -16187,8 +16171,6 @@
|
|
|
16187
16171
|
"SchemefulSameSiteStrict",
|
|
16188
16172
|
"SchemefulSameSiteLax",
|
|
16189
16173
|
"SchemefulSameSiteUnspecifiedTreatedAsLax",
|
|
16190
|
-
"SamePartyFromCrossPartyContext",
|
|
16191
|
-
"SamePartyConflictsWithOtherAttributes",
|
|
16192
16174
|
"NameValuePairExceedsMaxSize",
|
|
16193
16175
|
"DisallowedCharacter",
|
|
16194
16176
|
"NoCookieContent"
|
|
@@ -16214,7 +16196,6 @@
|
|
|
16214
16196
|
"SchemefulSameSiteStrict",
|
|
16215
16197
|
"SchemefulSameSiteLax",
|
|
16216
16198
|
"SchemefulSameSiteUnspecifiedTreatedAsLax",
|
|
16217
|
-
"SamePartyFromCrossPartyContext",
|
|
16218
16199
|
"NameValuePairExceedsMaxSize",
|
|
16219
16200
|
"PortMismatch",
|
|
16220
16201
|
"SchemeMismatch",
|
|
@@ -16381,13 +16362,6 @@
|
|
|
16381
16362
|
"optional": true,
|
|
16382
16363
|
"$ref": "CookiePriority"
|
|
16383
16364
|
},
|
|
16384
|
-
{
|
|
16385
|
-
"name": "sameParty",
|
|
16386
|
-
"description": "True if cookie is SameParty.",
|
|
16387
|
-
"experimental": true,
|
|
16388
|
-
"optional": true,
|
|
16389
|
-
"type": "boolean"
|
|
16390
|
-
},
|
|
16391
16365
|
{
|
|
16392
16366
|
"name": "sourceScheme",
|
|
16393
16367
|
"description": "Cookie source scheme type.",
|
|
@@ -18206,13 +18180,6 @@
|
|
|
18206
18180
|
"optional": true,
|
|
18207
18181
|
"$ref": "CookiePriority"
|
|
18208
18182
|
},
|
|
18209
|
-
{
|
|
18210
|
-
"name": "sameParty",
|
|
18211
|
-
"description": "True if cookie is SameParty.",
|
|
18212
|
-
"experimental": true,
|
|
18213
|
-
"optional": true,
|
|
18214
|
-
"type": "boolean"
|
|
18215
|
-
},
|
|
18216
18183
|
{
|
|
18217
18184
|
"name": "sourceScheme",
|
|
18218
18185
|
"description": "Cookie source scheme type.",
|
package/package.json
CHANGED
package/pdl/domains/Audits.pdl
CHANGED
|
@@ -34,8 +34,6 @@ experimental domain Audits
|
|
|
34
34
|
ExcludeSameSiteNoneInsecure
|
|
35
35
|
ExcludeSameSiteLax
|
|
36
36
|
ExcludeSameSiteStrict
|
|
37
|
-
ExcludeInvalidSameParty
|
|
38
|
-
ExcludeSamePartyCrossPartyContext
|
|
39
37
|
ExcludeDomainNonASCII
|
|
40
38
|
ExcludeThirdPartyCookieBlockedInFirstPartySet
|
|
41
39
|
ExcludeThirdPartyPhaseout
|
package/pdl/domains/Network.pdl
CHANGED
|
@@ -333,8 +333,6 @@ domain Network
|
|
|
333
333
|
# TODO(https://crbug.com/1263483): Remove this once frontend code does
|
|
334
334
|
# not reference it anymore.
|
|
335
335
|
PreflightInvalidAllowExternal
|
|
336
|
-
PreflightMissingAllowPrivateNetwork
|
|
337
|
-
PreflightInvalidAllowPrivateNetwork
|
|
338
336
|
InvalidAllowMethodsPreflightResponse
|
|
339
337
|
InvalidAllowHeadersPreflightResponse
|
|
340
338
|
MethodDisallowedByPreflightResponse
|
|
@@ -345,25 +343,7 @@ domain Network
|
|
|
345
343
|
# Request carried a target IP address space property that did not match
|
|
346
344
|
# the target resource's address space.
|
|
347
345
|
InvalidPrivateNetworkAccess
|
|
348
|
-
# Request was a private network request yet did not carry a target IP
|
|
349
|
-
# address space.
|
|
350
|
-
UnexpectedPrivateNetworkAccess
|
|
351
346
|
NoCorsRedirectModeNotFollow
|
|
352
|
-
# Request was a private network request and needed user permission yet did
|
|
353
|
-
# not carry `Private-Network-Access-Id` in the preflight response.
|
|
354
|
-
# https://github.com/WICG/private-network-access/blob/main/permission_prompt/explainer.md
|
|
355
|
-
PreflightMissingPrivateNetworkAccessId
|
|
356
|
-
# Request was a private network request and needed user permission yet did
|
|
357
|
-
# not carry `Private-Network-Access-Name` in the preflight response.
|
|
358
|
-
# https://github.com/WICG/private-network-access/blob/main/permission_prompt/explainer.md
|
|
359
|
-
PreflightMissingPrivateNetworkAccessName
|
|
360
|
-
# Request was a private network request and needed user permission yet not
|
|
361
|
-
# able to request for permission.
|
|
362
|
-
# https://github.com/WICG/private-network-access/blob/main/permission_prompt/explainer.md
|
|
363
|
-
PrivateNetworkAccessPermissionUnavailable
|
|
364
|
-
# Request was a private network request and is denied by user permission.
|
|
365
|
-
# https://github.com/WICG/private-network-access/blob/main/permission_prompt/explainer.md
|
|
366
|
-
PrivateNetworkAccessPermissionDenied
|
|
367
347
|
# Request was a local network request and is denied by user permission.
|
|
368
348
|
# https://wicg.github.io/local-network-access/
|
|
369
349
|
LocalNetworkAccessPermissionDenied
|
|
@@ -622,8 +602,6 @@ domain Network
|
|
|
622
602
|
optional CookieSameSite sameSite
|
|
623
603
|
# Cookie Priority
|
|
624
604
|
experimental CookiePriority priority
|
|
625
|
-
# True if cookie is SameParty.
|
|
626
|
-
experimental deprecated boolean sameParty
|
|
627
605
|
# Cookie source scheme type.
|
|
628
606
|
experimental CookieSourceScheme sourceScheme
|
|
629
607
|
# Cookie source port. Valid values are {-1, [1, 65535]}, -1 indicates an unspecified port.
|
|
@@ -687,12 +665,6 @@ domain Network
|
|
|
687
665
|
# value.
|
|
688
666
|
# This is the "Schemeful Same-Site" version of the blocked reason.
|
|
689
667
|
SchemefulSameSiteUnspecifiedTreatedAsLax
|
|
690
|
-
# The cookie had the "SameParty" attribute but came from a cross-party response.
|
|
691
|
-
SamePartyFromCrossPartyContext
|
|
692
|
-
# The cookie had the "SameParty" attribute but did not specify the "Secure" attribute
|
|
693
|
-
# (which is required in order to use "SameParty"); or specified the "SameSite=Strict"
|
|
694
|
-
# attribute (which is forbidden when using "SameParty").
|
|
695
|
-
SamePartyConflictsWithOtherAttributes
|
|
696
668
|
# The cookie's name/value pair size exceeded the size limit defined in
|
|
697
669
|
# RFC6265bis.
|
|
698
670
|
NameValuePairExceedsMaxSize
|
|
@@ -749,8 +721,6 @@ domain Network
|
|
|
749
721
|
# value.
|
|
750
722
|
# This is the "Schemeful Same-Site" version of the blocked reason.
|
|
751
723
|
SchemefulSameSiteUnspecifiedTreatedAsLax
|
|
752
|
-
# The cookie had the "SameParty" attribute and the request was made from a cross-party context.
|
|
753
|
-
SamePartyFromCrossPartyContext
|
|
754
724
|
# The cookie's name/value pair size exceeded the size limit defined in
|
|
755
725
|
# RFC6265bis.
|
|
756
726
|
NameValuePairExceedsMaxSize
|
|
@@ -847,8 +817,6 @@ domain Network
|
|
|
847
817
|
optional TimeSinceEpoch expires
|
|
848
818
|
# Cookie Priority.
|
|
849
819
|
experimental optional CookiePriority priority
|
|
850
|
-
# True if cookie is SameParty.
|
|
851
|
-
experimental optional boolean sameParty
|
|
852
820
|
# Cookie source scheme type.
|
|
853
821
|
experimental optional CookieSourceScheme sourceScheme
|
|
854
822
|
# Cookie source port. Valid values are {-1, [1, 65535]}, -1 indicates an unspecified port.
|
|
@@ -1317,8 +1285,6 @@ domain Network
|
|
|
1317
1285
|
optional TimeSinceEpoch expires
|
|
1318
1286
|
# Cookie Priority type.
|
|
1319
1287
|
experimental optional CookiePriority priority
|
|
1320
|
-
# True if cookie is SameParty.
|
|
1321
|
-
experimental optional boolean sameParty
|
|
1322
1288
|
# Cookie source scheme type.
|
|
1323
1289
|
experimental optional CookieSourceScheme sourceScheme
|
|
1324
1290
|
# Cookie source port. Valid values are {-1, [1, 65535]}, -1 indicates an unspecified port.
|
package/types/protocol.d.ts
CHANGED
|
@@ -3453,7 +3453,7 @@ export namespace Protocol {
|
|
|
3453
3453
|
frameId: Page.FrameId;
|
|
3454
3454
|
}
|
|
3455
3455
|
|
|
3456
|
-
export type CookieExclusionReason = ('ExcludeSameSiteUnspecifiedTreatedAsLax' | 'ExcludeSameSiteNoneInsecure' | 'ExcludeSameSiteLax' | 'ExcludeSameSiteStrict' | '
|
|
3456
|
+
export type CookieExclusionReason = ('ExcludeSameSiteUnspecifiedTreatedAsLax' | 'ExcludeSameSiteNoneInsecure' | 'ExcludeSameSiteLax' | 'ExcludeSameSiteStrict' | 'ExcludeDomainNonASCII' | 'ExcludeThirdPartyCookieBlockedInFirstPartySet' | 'ExcludeThirdPartyPhaseout' | 'ExcludePortMismatch' | 'ExcludeSchemeMismatch');
|
|
3457
3457
|
|
|
3458
3458
|
export type CookieWarningReason = ('WarnSameSiteUnspecifiedCrossSiteContext' | 'WarnSameSiteNoneInsecure' | 'WarnSameSiteUnspecifiedLaxAllowUnsafe' | 'WarnSameSiteStrictLaxDowngradeStrict' | 'WarnSameSiteStrictCrossDowngradeStrict' | 'WarnSameSiteStrictCrossDowngradeLax' | 'WarnSameSiteLaxCrossDowngradeStrict' | 'WarnSameSiteLaxCrossDowngradeLax' | 'WarnAttributeValueExceedsMaxSize' | 'WarnDomainNonASCII' | 'WarnThirdPartyPhaseout' | 'WarnCrossSiteRedirectDowngradeChangesInclusion' | 'WarnDeprecationTrialMetadata' | 'WarnThirdPartyCookieHeuristic');
|
|
3459
3459
|
|
|
@@ -12482,7 +12482,7 @@ export namespace Protocol {
|
|
|
12482
12482
|
/**
|
|
12483
12483
|
* The reason why request was blocked.
|
|
12484
12484
|
*/
|
|
12485
|
-
export type CorsError = ('DisallowedByMode' | 'InvalidResponse' | 'WildcardOriginNotAllowed' | 'MissingAllowOriginHeader' | 'MultipleAllowOriginValues' | 'InvalidAllowOriginValue' | 'AllowOriginMismatch' | 'InvalidAllowCredentials' | 'CorsDisabledScheme' | 'PreflightInvalidStatus' | 'PreflightDisallowedRedirect' | 'PreflightWildcardOriginNotAllowed' | 'PreflightMissingAllowOriginHeader' | 'PreflightMultipleAllowOriginValues' | 'PreflightInvalidAllowOriginValue' | 'PreflightAllowOriginMismatch' | 'PreflightInvalidAllowCredentials' | 'PreflightMissingAllowExternal' | 'PreflightInvalidAllowExternal' | '
|
|
12485
|
+
export type CorsError = ('DisallowedByMode' | 'InvalidResponse' | 'WildcardOriginNotAllowed' | 'MissingAllowOriginHeader' | 'MultipleAllowOriginValues' | 'InvalidAllowOriginValue' | 'AllowOriginMismatch' | 'InvalidAllowCredentials' | 'CorsDisabledScheme' | 'PreflightInvalidStatus' | 'PreflightDisallowedRedirect' | 'PreflightWildcardOriginNotAllowed' | 'PreflightMissingAllowOriginHeader' | 'PreflightMultipleAllowOriginValues' | 'PreflightInvalidAllowOriginValue' | 'PreflightAllowOriginMismatch' | 'PreflightInvalidAllowCredentials' | 'PreflightMissingAllowExternal' | 'PreflightInvalidAllowExternal' | 'InvalidAllowMethodsPreflightResponse' | 'InvalidAllowHeadersPreflightResponse' | 'MethodDisallowedByPreflightResponse' | 'HeaderDisallowedByPreflightResponse' | 'RedirectContainsCredentials' | 'InsecurePrivateNetwork' | 'InvalidPrivateNetworkAccess' | 'NoCorsRedirectModeNotFollow' | 'LocalNetworkAccessPermissionDenied');
|
|
12486
12486
|
|
|
12487
12487
|
export interface CorsErrorStatus {
|
|
12488
12488
|
corsError: CorsError;
|
|
@@ -12870,12 +12870,6 @@ export namespace Protocol {
|
|
|
12870
12870
|
* @experimental
|
|
12871
12871
|
*/
|
|
12872
12872
|
priority: CookiePriority;
|
|
12873
|
-
/**
|
|
12874
|
-
* True if cookie is SameParty.
|
|
12875
|
-
* @deprecated
|
|
12876
|
-
* @experimental
|
|
12877
|
-
*/
|
|
12878
|
-
sameParty: boolean;
|
|
12879
12873
|
/**
|
|
12880
12874
|
* Cookie source scheme type.
|
|
12881
12875
|
* @experimental
|
|
@@ -12904,13 +12898,13 @@ export namespace Protocol {
|
|
|
12904
12898
|
* Types of reasons why a cookie may not be stored from a response.
|
|
12905
12899
|
* @experimental
|
|
12906
12900
|
*/
|
|
12907
|
-
export type SetCookieBlockedReason = ('SecureOnly' | 'SameSiteStrict' | 'SameSiteLax' | 'SameSiteUnspecifiedTreatedAsLax' | 'SameSiteNoneInsecure' | 'UserPreferences' | 'ThirdPartyPhaseout' | 'ThirdPartyBlockedInFirstPartySet' | 'SyntaxError' | 'SchemeNotSupported' | 'OverwriteSecure' | 'InvalidDomain' | 'InvalidPrefix' | 'UnknownError' | 'SchemefulSameSiteStrict' | 'SchemefulSameSiteLax' | 'SchemefulSameSiteUnspecifiedTreatedAsLax' | '
|
|
12901
|
+
export type SetCookieBlockedReason = ('SecureOnly' | 'SameSiteStrict' | 'SameSiteLax' | 'SameSiteUnspecifiedTreatedAsLax' | 'SameSiteNoneInsecure' | 'UserPreferences' | 'ThirdPartyPhaseout' | 'ThirdPartyBlockedInFirstPartySet' | 'SyntaxError' | 'SchemeNotSupported' | 'OverwriteSecure' | 'InvalidDomain' | 'InvalidPrefix' | 'UnknownError' | 'SchemefulSameSiteStrict' | 'SchemefulSameSiteLax' | 'SchemefulSameSiteUnspecifiedTreatedAsLax' | 'NameValuePairExceedsMaxSize' | 'DisallowedCharacter' | 'NoCookieContent');
|
|
12908
12902
|
|
|
12909
12903
|
/**
|
|
12910
12904
|
* Types of reasons why a cookie may not be sent with a request.
|
|
12911
12905
|
* @experimental
|
|
12912
12906
|
*/
|
|
12913
|
-
export type CookieBlockedReason = ('SecureOnly' | 'NotOnPath' | 'DomainMismatch' | 'SameSiteStrict' | 'SameSiteLax' | 'SameSiteUnspecifiedTreatedAsLax' | 'SameSiteNoneInsecure' | 'UserPreferences' | 'ThirdPartyPhaseout' | 'ThirdPartyBlockedInFirstPartySet' | 'UnknownError' | 'SchemefulSameSiteStrict' | 'SchemefulSameSiteLax' | 'SchemefulSameSiteUnspecifiedTreatedAsLax' | '
|
|
12907
|
+
export type CookieBlockedReason = ('SecureOnly' | 'NotOnPath' | 'DomainMismatch' | 'SameSiteStrict' | 'SameSiteLax' | 'SameSiteUnspecifiedTreatedAsLax' | 'SameSiteNoneInsecure' | 'UserPreferences' | 'ThirdPartyPhaseout' | 'ThirdPartyBlockedInFirstPartySet' | 'UnknownError' | 'SchemefulSameSiteStrict' | 'SchemefulSameSiteLax' | 'SchemefulSameSiteUnspecifiedTreatedAsLax' | 'NameValuePairExceedsMaxSize' | 'PortMismatch' | 'SchemeMismatch' | 'AnonymousContext');
|
|
12914
12908
|
|
|
12915
12909
|
/**
|
|
12916
12910
|
* Types of reasons why a cookie should have been blocked by 3PCD but is exempted for the request.
|
|
@@ -13027,11 +13021,6 @@ export namespace Protocol {
|
|
|
13027
13021
|
* @experimental
|
|
13028
13022
|
*/
|
|
13029
13023
|
priority?: CookiePriority;
|
|
13030
|
-
/**
|
|
13031
|
-
* True if cookie is SameParty.
|
|
13032
|
-
* @experimental
|
|
13033
|
-
*/
|
|
13034
|
-
sameParty?: boolean;
|
|
13035
13024
|
/**
|
|
13036
13025
|
* Cookie source scheme type.
|
|
13037
13026
|
* @experimental
|
|
@@ -14219,11 +14208,6 @@ export namespace Protocol {
|
|
|
14219
14208
|
* @experimental
|
|
14220
14209
|
*/
|
|
14221
14210
|
priority?: CookiePriority;
|
|
14222
|
-
/**
|
|
14223
|
-
* True if cookie is SameParty.
|
|
14224
|
-
* @experimental
|
|
14225
|
-
*/
|
|
14226
|
-
sameParty?: boolean;
|
|
14227
14211
|
/**
|
|
14228
14212
|
* Cookie source scheme type.
|
|
14229
14213
|
* @experimental
|