diff --git a/CefSharp/Enums/CefErrorCode.cs b/CefSharp/Enums/CefErrorCode.cs index 113c596b72..57370cba1c 100644 --- a/CefSharp/Enums/CefErrorCode.cs +++ b/CefSharp/Enums/CefErrorCode.cs @@ -26,7 +26,7 @@ public enum CefErrorCode // 300-399 HTTP errors // 400-499 Cache errors // 500-599 ? - // 600-699 FTP errors + // 600-699 // 700-799 Certificate manager errors // 800-899 DNS resolver errors @@ -195,6 +195,12 @@ public enum CefErrorCode /// BlockedByOrb = -32, + /// + /// The request was blocked because it originated from a frame that has disabled + /// network access. + /// + NetworkAccessRevoked = -33, + /// /// A connection was closed (corresponding to a TCP FIN). /// @@ -404,7 +410,7 @@ public enum CefErrorCode /// received a 302 (temporary redirect) response. The response body might /// include a description of why the request failed. /// - /// TODO(https://crbug.com/928551): This is deprecated and should not be used by + /// TODO(crbug.com/40093955): This is deprecated and should not be used by /// new code. /// HttpsProxyTunnelResponseRedirect = -140, @@ -1184,7 +1190,29 @@ public enum CefErrorCode /// The IP address space of the cached remote endpoint is blocked by private /// network access check. /// - CachedIpAddressSpaceBlockedByLocalNetworkAccessPolicy = -384, + CachedIpAddressSpaceBlockedByPrivateNetworkAccessPolicy = -384, + + /// + /// The connection is blocked by private network access checks. + /// + BlockedByPrivateNetworkAccessChecks = -385, + + /// + /// Content decoding failed due to the zstd window size being too big (over 8MB). + /// + ZstdWindowSizeTooBig = -386, + + /// + /// The compression dictionary cannot be loaded. + /// + DictionaryLoadFailed = -387, + + /// + /// The "content-dictionary" response header is unexpected. This is used both + /// when there is no "content-dictionary" response header and when the received + /// "content-dictionary" response header does not match the expected value. + /// + UnexpectedContentDictionaryHeader = -388, /// /// The cache does not have the requested entry. @@ -1309,51 +1337,13 @@ public enum CefErrorCode TrustTokenOperationSuccessWithoutSendingRequest = -507, // *** Code -600 is reserved (was FTP_PASV_COMMAND_FAILED). *** - - /// - /// A generic error for failed FTP control connection command. - /// If possible, please use or add a more specific error code. - /// - FtpFailed = -601, - - /// - /// The server cannot fulfill the request at this point. This is a temporary - /// error. - /// FTP response code 421. - /// - FtpServiceUnavailable = -602, - - /// - /// The server has aborted the transfer. - /// FTP response code 426. - /// - FtpTransferAborted = -603, - - /// - /// The file is busy, or some other temporary error condition on opening - /// the file. - /// FTP response code 450. - /// - FtpFileBusy = -604, - - /// - /// Server rejected our command because of syntax errors. - /// FTP response codes 500, 501. - /// - FtpSyntaxError = -605, - - /// - /// Server does not support the command we issued. - /// FTP response codes 502, 504. - /// - FtpCommandNotSupported = -606, - - /// - /// Server rejected our command because we didn't issue the commands in right - /// order. - /// FTP response code 503. - /// - FtpBadCommandSequence = -607, + // *** Code -601 is reserved (was FTP_FAILED). *** + // *** Code -602 is reserved (was FTP_SERVICE_UNAVAILABLE). *** + // *** Code -603 is reserved (was FTP_TRANSFER_ABORTED). *** + // *** Code -604 is reserved (was FTP_FILE_BUSY). *** + // *** Code -605 is reserved (was FTP_SYNTAX_ERROR). *** + // *** Code -606 is reserved (was FTP_COMMAND_NOT_SUPPORTED). *** + // *** Code -607 is reserved (was FTP_BAD_COMMAND_SEQUENCE). *** /// /// PKCS #12 import failed due to incorrect password. @@ -1504,9 +1494,13 @@ public enum CefErrorCode /// DnsNoMatchingSupportedAlpn = -811, + // Error -812 was removed + // Error -813 was removed + /// - /// The compression dictionary cannot be loaded. + /// When checking whether secure DNS can be used, the response returned for the + /// requested probe record either had no answer or was invalid. /// - DictionaryLoadFailed = -812, + DnsSecureProbeRecordInvalid = -814, }; }