devtools-protocol 0.0.944179 → 0.0.945905
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.
|
@@ -10739,6 +10739,8 @@
|
|
|
10739
10739
|
"PreflightInvalidAllowCredentials",
|
|
10740
10740
|
"PreflightMissingAllowExternal",
|
|
10741
10741
|
"PreflightInvalidAllowExternal",
|
|
10742
|
+
"PreflightMissingAllowPrivateNetwork",
|
|
10743
|
+
"PreflightInvalidAllowPrivateNetwork",
|
|
10742
10744
|
"InvalidAllowMethodsPreflightResponse",
|
|
10743
10745
|
"InvalidAllowHeadersPreflightResponse",
|
|
10744
10746
|
"MethodDisallowedByPreflightResponse",
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
|
@@ -4908,8 +4908,14 @@ domain Network
|
|
|
4908
4908
|
PreflightInvalidAllowOriginValue
|
|
4909
4909
|
PreflightAllowOriginMismatch
|
|
4910
4910
|
PreflightInvalidAllowCredentials
|
|
4911
|
+
# TODO(https://crbug.com/1263483): Remove this once frontend code does
|
|
4912
|
+
# not reference it anymore.
|
|
4911
4913
|
PreflightMissingAllowExternal
|
|
4914
|
+
# TODO(https://crbug.com/1263483): Remove this once frontend code does
|
|
4915
|
+
# not reference it anymore.
|
|
4912
4916
|
PreflightInvalidAllowExternal
|
|
4917
|
+
PreflightMissingAllowPrivateNetwork
|
|
4918
|
+
PreflightInvalidAllowPrivateNetwork
|
|
4913
4919
|
InvalidAllowMethodsPreflightResponse
|
|
4914
4920
|
InvalidAllowHeadersPreflightResponse
|
|
4915
4921
|
MethodDisallowedByPreflightResponse
|
package/types/protocol.d.ts
CHANGED
|
@@ -9242,7 +9242,7 @@ export namespace Protocol {
|
|
|
9242
9242
|
/**
|
|
9243
9243
|
* The reason why request was blocked.
|
|
9244
9244
|
*/
|
|
9245
|
-
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' | 'UnexpectedPrivateNetworkAccess' | 'NoCorsRedirectModeNotFollow');
|
|
9245
|
+
export type CorsError = ('DisallowedByMode' | 'InvalidResponse' | 'WildcardOriginNotAllowed' | 'MissingAllowOriginHeader' | 'MultipleAllowOriginValues' | 'InvalidAllowOriginValue' | 'AllowOriginMismatch' | 'InvalidAllowCredentials' | 'CorsDisabledScheme' | 'PreflightInvalidStatus' | 'PreflightDisallowedRedirect' | 'PreflightWildcardOriginNotAllowed' | 'PreflightMissingAllowOriginHeader' | 'PreflightMultipleAllowOriginValues' | 'PreflightInvalidAllowOriginValue' | 'PreflightAllowOriginMismatch' | 'PreflightInvalidAllowCredentials' | 'PreflightMissingAllowExternal' | 'PreflightInvalidAllowExternal' | 'PreflightMissingAllowPrivateNetwork' | 'PreflightInvalidAllowPrivateNetwork' | 'InvalidAllowMethodsPreflightResponse' | 'InvalidAllowHeadersPreflightResponse' | 'MethodDisallowedByPreflightResponse' | 'HeaderDisallowedByPreflightResponse' | 'RedirectContainsCredentials' | 'InsecurePrivateNetwork' | 'InvalidPrivateNetworkAccess' | 'UnexpectedPrivateNetworkAccess' | 'NoCorsRedirectModeNotFollow');
|
|
9246
9246
|
|
|
9247
9247
|
export interface CorsErrorStatus {
|
|
9248
9248
|
corsError: CorsError;
|