devtools-protocol 0.0.1568893 → 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 -7
- package/package.json +1 -1
- package/pdl/domains/Network.pdl +0 -20
- package/types/protocol.d.ts +1 -1
|
@@ -15595,8 +15595,6 @@
|
|
|
15595
15595
|
"PreflightInvalidAllowCredentials",
|
|
15596
15596
|
"PreflightMissingAllowExternal",
|
|
15597
15597
|
"PreflightInvalidAllowExternal",
|
|
15598
|
-
"PreflightMissingAllowPrivateNetwork",
|
|
15599
|
-
"PreflightInvalidAllowPrivateNetwork",
|
|
15600
15598
|
"InvalidAllowMethodsPreflightResponse",
|
|
15601
15599
|
"InvalidAllowHeadersPreflightResponse",
|
|
15602
15600
|
"MethodDisallowedByPreflightResponse",
|
|
@@ -15604,12 +15602,7 @@
|
|
|
15604
15602
|
"RedirectContainsCredentials",
|
|
15605
15603
|
"InsecurePrivateNetwork",
|
|
15606
15604
|
"InvalidPrivateNetworkAccess",
|
|
15607
|
-
"UnexpectedPrivateNetworkAccess",
|
|
15608
15605
|
"NoCorsRedirectModeNotFollow",
|
|
15609
|
-
"PreflightMissingPrivateNetworkAccessId",
|
|
15610
|
-
"PreflightMissingPrivateNetworkAccessName",
|
|
15611
|
-
"PrivateNetworkAccessPermissionUnavailable",
|
|
15612
|
-
"PrivateNetworkAccessPermissionDenied",
|
|
15613
15606
|
"LocalNetworkAccessPermissionDenied"
|
|
15614
15607
|
]
|
|
15615
15608
|
},
|
package/package.json
CHANGED
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
|
package/types/protocol.d.ts
CHANGED
|
@@ -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;
|