Updated error constants

This commit is contained in:
salvadordf 2022-02-06 16:32:28 +01:00
parent cf8ec9aae5
commit ef8d9e02c1
2 changed files with 282 additions and 230 deletions

View File

@ -61,8 +61,22 @@ const
// Error list defined in /include/internal/cef_types.h (cef_errorcode_t) // Error list defined in /include/internal/cef_types.h (cef_errorcode_t)
// which includes this file /include/base/internal/cef_net_error_list.h // which includes this file /include/base/internal/cef_net_error_list.h
// which includes this Chromium source file /net/base/net_error_list.h // which includes this Chromium source file /net/base/net_error_list.h
// available here in the master branch -> https://chromium.googlesource.com/chromium/src/+/master/net/base/net_error_list.h // available here in the master branch :
// compare the values in the right Chromium branch. // https://chromium.googlesource.com/chromium/src/+/master/net/base/net_error_list.h
// Compare the values in the right Chromium branch :
// https://chromium.googlesource.com/chromium/src/+/refs/tags/98.0.4758.55/net/base/net_error_list.h
//
// Ranges:
// 0- 99 System related errors
// 100-199 Connection related errors
// 200-299 Certificate errors
// 300-399 HTTP errors
// 400-499 Cache errors
// 500-599 ?
// 600-699 FTP errors
// 700-799 Certificate manager errors
// 800-899 DNS resolver errors
//
ERR_NONE = 0; ERR_NONE = 0;
ERR_IO_PENDING = -1; ERR_IO_PENDING = -1;
ERR_FAILED = -2; ERR_FAILED = -2;
@ -93,6 +107,9 @@ const
ERR_BLOCKED_BY_RESPONSE = -27; ERR_BLOCKED_BY_RESPONSE = -27;
ERR_BLOCKED_BY_XSS_AUDITOR = -28; ERR_BLOCKED_BY_XSS_AUDITOR = -28;
ERR_CLEARTEXT_NOT_PERMITTED = -29; ERR_CLEARTEXT_NOT_PERMITTED = -29;
ERR_BLOCKED_BY_CSP = -30;
ERR_H2_OR_QUIC_REQUIRED = -31;
//
ERR_CONNECTION_CLOSED = -100; ERR_CONNECTION_CLOSED = -100;
ERR_CONNECTION_RESET = -101; ERR_CONNECTION_RESET = -101;
ERR_CONNECTION_REFUSED = -102; ERR_CONNECTION_REFUSED = -102;
@ -121,9 +138,10 @@ const
ERR_SSL_DECOMPRESSION_FAILURE_ALERT = -125; ERR_SSL_DECOMPRESSION_FAILURE_ALERT = -125;
ERR_SSL_BAD_RECORD_MAC_ALERT = -126; ERR_SSL_BAD_RECORD_MAC_ALERT = -126;
ERR_PROXY_AUTH_REQUESTED = -127; ERR_PROXY_AUTH_REQUESTED = -127;
ERR_SSL_WEAK_SERVER_EPHEMERAL_DH_KEY = -129; //
ERR_PROXY_CONNECTION_FAILED = -130; ERR_PROXY_CONNECTION_FAILED = -130;
ERR_MANDATORY_PROXY_CONFIGURATION_FAILED = -131; ERR_MANDATORY_PROXY_CONFIGURATION_FAILED = -131;
//
ERR_PRECONNECT_MAX_SOCKET_LIMIT = -133; ERR_PRECONNECT_MAX_SOCKET_LIMIT = -133;
ERR_SSL_CLIENT_AUTH_PRIVATE_KEY_ACCESS_DENIED = -134; ERR_SSL_CLIENT_AUTH_PRIVATE_KEY_ACCESS_DENIED = -134;
ERR_SSL_CLIENT_AUTH_CERT_NO_PRIVATE_KEY = -135; ERR_SSL_CLIENT_AUTH_CERT_NO_PRIVATE_KEY = -135;
@ -134,23 +152,27 @@ const
ERR_HTTPS_PROXY_TUNNEL_RESPONSE_REDIRECT = -140; ERR_HTTPS_PROXY_TUNNEL_RESPONSE_REDIRECT = -140;
ERR_SSL_CLIENT_AUTH_SIGNATURE_FAILED = -141; ERR_SSL_CLIENT_AUTH_SIGNATURE_FAILED = -141;
ERR_MSG_TOO_BIG = -142; ERR_MSG_TOO_BIG = -142;
ERR_SPDY_SESSION_ALREADY_EXISTS = -143; //
ERR_WS_PROTOCOL_ERROR = -145; ERR_WS_PROTOCOL_ERROR = -145;
//
ERR_ADDRESS_IN_USE = -147; ERR_ADDRESS_IN_USE = -147;
ERR_SSL_HANDSHAKE_NOT_COMPLETED = -148; ERR_SSL_HANDSHAKE_NOT_COMPLETED = -148;
ERR_SSL_BAD_PEER_PUBLIC_KEY = -149; ERR_SSL_BAD_PEER_PUBLIC_KEY = -149;
ERR_SSL_PINNED_KEY_NOT_IN_CERT_CHAIN = -150; ERR_SSL_PINNED_KEY_NOT_IN_CERT_CHAIN = -150;
ERR_CLIENT_AUTH_CERT_TYPE_UNSUPPORTED = -151; ERR_CLIENT_AUTH_CERT_TYPE_UNSUPPORTED = -151;
ERR_ORIGIN_BOUND_CERT_GENERATION_TYPE_MISMATCH = -152; //
ERR_SSL_DECRYPT_ERROR_ALERT = -153; ERR_SSL_DECRYPT_ERROR_ALERT = -153;
ERR_WS_THROTTLE_QUEUE_TOO_LARGE = -154; ERR_WS_THROTTLE_QUEUE_TOO_LARGE = -154;
//
ERR_SSL_SERVER_CERT_CHANGED = -156; ERR_SSL_SERVER_CERT_CHANGED = -156;
//
ERR_SSL_UNRECOGNIZED_NAME_ALERT = -159; ERR_SSL_UNRECOGNIZED_NAME_ALERT = -159;
ERR_SOCKET_SET_RECEIVE_BUFFER_SIZE_ERROR = -160; ERR_SOCKET_SET_RECEIVE_BUFFER_SIZE_ERROR = -160;
ERR_SOCKET_SET_SEND_BUFFER_SIZE_ERROR = -161; ERR_SOCKET_SET_SEND_BUFFER_SIZE_ERROR = -161;
ERR_SOCKET_RECEIVE_BUFFER_SIZE_UNCHANGEABLE = -162; ERR_SOCKET_RECEIVE_BUFFER_SIZE_UNCHANGEABLE = -162;
ERR_SOCKET_SEND_BUFFER_SIZE_UNCHANGEABLE = -163; ERR_SOCKET_SEND_BUFFER_SIZE_UNCHANGEABLE = -163;
ERR_SSL_CLIENT_AUTH_CERT_BAD_FORMAT = -164; ERR_SSL_CLIENT_AUTH_CERT_BAD_FORMAT = -164;
//
ERR_ICANN_NAME_COLLISION = -166; ERR_ICANN_NAME_COLLISION = -166;
ERR_SSL_SERVER_CERT_BAD_FORMAT = -167; ERR_SSL_SERVER_CERT_BAD_FORMAT = -167;
ERR_CT_STH_PARSING_FAILED = -168; ERR_CT_STH_PARSING_FAILED = -168;
@ -160,13 +182,17 @@ const
ERR_SSL_OBSOLETE_CIPHER = -172; ERR_SSL_OBSOLETE_CIPHER = -172;
ERR_WS_UPGRADE = -173; ERR_WS_UPGRADE = -173;
ERR_READ_IF_READY_NOT_IMPLEMENTED = -174; ERR_READ_IF_READY_NOT_IMPLEMENTED = -174;
ERR_SSL_VERSION_INTERFERENCE = -175; //
ERR_NO_BUFFER_SPACE = -176; ERR_NO_BUFFER_SPACE = -176;
ERR_SSL_CLIENT_AUTH_NO_COMMON_ALGORITHMS = -177; ERR_SSL_CLIENT_AUTH_NO_COMMON_ALGORITHMS = -177;
ERR_EARLY_DATA_REJECTED = -178; ERR_EARLY_DATA_REJECTED = -178;
ERR_WRONG_VERSION_ON_EARLY_DATA = -179; ERR_WRONG_VERSION_ON_EARLY_DATA = -179;
ERR_TLS13_DOWNGRADE_DETECTED = -180; ERR_TLS13_DOWNGRADE_DETECTED = -180;
ERR_SSL_KEY_USAGE_INCOMPATIBLE = -181; ERR_SSL_KEY_USAGE_INCOMPATIBLE = -181;
ERR_INVALID_ECH_CONFIG_LIST = -182;
ERR_ECH_NOT_NEGOTIATED = -183;
ERR_ECH_FALLBACK_CERTIFICATE_INVALID = -184;
//
ERR_CERT_COMMON_NAME_INVALID = -200; ERR_CERT_COMMON_NAME_INVALID = -200;
ERR_CERT_DATE_INVALID = -201; ERR_CERT_DATE_INVALID = -201;
ERR_CERT_AUTHORITY_INVALID = -202; ERR_CERT_AUTHORITY_INVALID = -202;
@ -176,27 +202,34 @@ const
ERR_CERT_REVOKED = -206; ERR_CERT_REVOKED = -206;
ERR_CERT_INVALID = -207; ERR_CERT_INVALID = -207;
ERR_CERT_WEAK_SIGNATURE_ALGORITHM = -208; ERR_CERT_WEAK_SIGNATURE_ALGORITHM = -208;
//
ERR_CERT_NON_UNIQUE_NAME = -210; ERR_CERT_NON_UNIQUE_NAME = -210;
ERR_CERT_WEAK_KEY = -211; ERR_CERT_WEAK_KEY = -211;
ERR_CERT_NAME_CONSTRAINT_VIOLATION = -212; ERR_CERT_NAME_CONSTRAINT_VIOLATION = -212;
ERR_CERT_VALIDITY_TOO_LONG = -213; ERR_CERT_VALIDITY_TOO_LONG = -213;
ERR_CERTIFICATE_TRANSPARENCY_REQUIRED = -214; ERR_CERTIFICATE_TRANSPARENCY_REQUIRED = -214;
ERR_CERT_SYMANTEC_LEGACY = -215; ERR_CERT_SYMANTEC_LEGACY = -215;
ERR_CERT_END = -216; //
ERR_CERT_KNOWN_INTERCEPTION_BLOCKED = -217;
//
ERR_CERT_END = -219;
//
ERR_INVALID_URL = -300; ERR_INVALID_URL = -300;
ERR_DISALLOWED_URL_SCHEME = -301; ERR_DISALLOWED_URL_SCHEME = -301;
ERR_UNKNOWN_URL_SCHEME = -302; ERR_UNKNOWN_URL_SCHEME = -302;
ERR_INVALID_REDIRECT = -303; ERR_INVALID_REDIRECT = -303;
//
ERR_TOO_MANY_REDIRECTS = -310; ERR_TOO_MANY_REDIRECTS = -310;
ERR_UNSAFE_REDIRECT = -311; ERR_UNSAFE_REDIRECT = -311;
ERR_UNSAFE_PORT = -312; ERR_UNSAFE_PORT = -312;
//
ERR_INVALID_RESPONSE = -320; ERR_INVALID_RESPONSE = -320;
ERR_INVALID_CHUNKED_ENCODING = -321; ERR_INVALID_CHUNKED_ENCODING = -321;
ERR_METHOD_NOT_SUPPORTED = -322; ERR_METHOD_NOT_SUPPORTED = -322;
ERR_UNEXPECTED_PROXY_AUTH = -323; ERR_UNEXPECTED_PROXY_AUTH = -323;
ERR_EMPTY_RESPONSE = -324; ERR_EMPTY_RESPONSE = -324;
ERR_RESPONSE_HEADERS_TOO_BIG = -325; ERR_RESPONSE_HEADERS_TOO_BIG = -325;
ERR_PAC_STATUS_NOT_OK = -326; //
ERR_PAC_SCRIPT_FAILED = -327; ERR_PAC_SCRIPT_FAILED = -327;
ERR_REQUEST_RANGE_NOT_SATISFIABLE = -328; ERR_REQUEST_RANGE_NOT_SATISFIABLE = -328;
ERR_MALFORMED_IDENTITY = -329; ERR_MALFORMED_IDENTITY = -329;
@ -205,6 +238,7 @@ const
ERR_SYN_REPLY_NOT_RECEIVED = -332; ERR_SYN_REPLY_NOT_RECEIVED = -332;
ERR_ENCODING_CONVERSION_FAILED = -333; ERR_ENCODING_CONVERSION_FAILED = -333;
ERR_UNRECOGNIZED_FTP_DIRECTORY_LISTING_FORMAT = -334; ERR_UNRECOGNIZED_FTP_DIRECTORY_LISTING_FORMAT = -334;
//
ERR_NO_SUPPORTED_PROXIES = -336; ERR_NO_SUPPORTED_PROXIES = -336;
ERR_SPDY_PROTOCOL_ERROR = -337; ERR_SPDY_PROTOCOL_ERROR = -337;
ERR_INVALID_AUTH_CREDENTIALS = -338; ERR_INVALID_AUTH_CREDENTIALS = -338;
@ -222,11 +256,13 @@ const
ERR_RESPONSE_HEADERS_MULTIPLE_LOCATION = -350; ERR_RESPONSE_HEADERS_MULTIPLE_LOCATION = -350;
ERR_SPDY_SERVER_REFUSED_STREAM = -351; ERR_SPDY_SERVER_REFUSED_STREAM = -351;
ERR_SPDY_PING_FAILED = -352; ERR_SPDY_PING_FAILED = -352;
//
ERR_CONTENT_LENGTH_MISMATCH = -354; ERR_CONTENT_LENGTH_MISMATCH = -354;
ERR_INCOMPLETE_CHUNKED_ENCODING = -355; ERR_INCOMPLETE_CHUNKED_ENCODING = -355;
ERR_QUIC_PROTOCOL_ERROR = -356; ERR_QUIC_PROTOCOL_ERROR = -356;
ERR_RESPONSE_HEADERS_TRUNCATED = -357; ERR_RESPONSE_HEADERS_TRUNCATED = -357;
ERR_QUIC_HANDSHAKE_FAILED = -358; ERR_QUIC_HANDSHAKE_FAILED = -358;
//
ERR_SPDY_INADEQUATE_TRANSPORT_SECURITY = -360; ERR_SPDY_INADEQUATE_TRANSPORT_SECURITY = -360;
ERR_SPDY_FLOW_CONTROL_ERROR = -361; ERR_SPDY_FLOW_CONTROL_ERROR = -361;
ERR_SPDY_FRAME_SIZE_ERROR = -362; ERR_SPDY_FRAME_SIZE_ERROR = -362;
@ -235,6 +271,7 @@ const
ERR_HTTP_1_1_REQUIRED = -365; ERR_HTTP_1_1_REQUIRED = -365;
ERR_PROXY_HTTP_1_1_REQUIRED = -366; ERR_PROXY_HTTP_1_1_REQUIRED = -366;
ERR_PAC_SCRIPT_TERMINATED = -367; ERR_PAC_SCRIPT_TERMINATED = -367;
//
ERR_INVALID_HTTP_RESPONSE = -370; ERR_INVALID_HTTP_RESPONSE = -370;
ERR_CONTENT_DECODING_INIT_FAILED = -371; ERR_CONTENT_DECODING_INIT_FAILED = -371;
ERR_SPDY_RST_STREAM_NO_ERROR_RECEIVED = -372; ERR_SPDY_RST_STREAM_NO_ERROR_RECEIVED = -372;
@ -244,6 +281,10 @@ const
ERR_SPDY_STREAM_CLOSED = -376; ERR_SPDY_STREAM_CLOSED = -376;
ERR_SPDY_CLIENT_REFUSED_STREAM = -377; ERR_SPDY_CLIENT_REFUSED_STREAM = -377;
ERR_SPDY_PUSHED_RESPONSE_DOES_NOT_MATCH = -378; ERR_SPDY_PUSHED_RESPONSE_DOES_NOT_MATCH = -378;
ERR_HTTP_RESPONSE_CODE_FAILURE = -379;
ERR_QUIC_CERT_ROOT_NOT_KNOWN = -380;
ERR_QUIC_GOAWAY_REQUEST_CAN_BE_RETRIED = -381;
//
ERR_CACHE_MISS = -400; ERR_CACHE_MISS = -400;
ERR_CACHE_READ_FAILURE = -401; ERR_CACHE_READ_FAILURE = -401;
ERR_CACHE_WRITE_FAILURE = -402; ERR_CACHE_WRITE_FAILURE = -402;
@ -258,10 +299,15 @@ const
ERR_CACHE_ENTRY_NOT_SUITABLE = -411; ERR_CACHE_ENTRY_NOT_SUITABLE = -411;
ERR_CACHE_DOOM_FAILURE = -412; ERR_CACHE_DOOM_FAILURE = -412;
ERR_CACHE_OPEN_OR_CREATE_FAILURE = -413; ERR_CACHE_OPEN_OR_CREATE_FAILURE = -413;
//
ERR_INSECURE_RESPONSE = -501; ERR_INSECURE_RESPONSE = -501;
ERR_NO_PRIVATE_KEY_FOR_CERT = -502; ERR_NO_PRIVATE_KEY_FOR_CERT = -502;
ERR_ADD_USER_CERT_FAILED = -503; ERR_ADD_USER_CERT_FAILED = -503;
ERR_INVALID_SIGNED_EXCHANGE = -504; ERR_INVALID_SIGNED_EXCHANGE = -504;
ERR_INVALID_WEB_BUNDLE = -505;
ERR_TRUST_TOKEN_OPERATION_FAILED = -506;
ERR_TRUST_TOKEN_OPERATION_SUCCESS_WITHOUT_SENDING_REQUEST = -507;
//
ERR_FTP_FAILED = -601; ERR_FTP_FAILED = -601;
ERR_FTP_SERVICE_UNAVAILABLE = -602; ERR_FTP_SERVICE_UNAVAILABLE = -602;
ERR_FTP_TRANSFER_ABORTED = -603; ERR_FTP_TRANSFER_ABORTED = -603;
@ -269,6 +315,7 @@ const
ERR_FTP_SYNTAX_ERROR = -605; ERR_FTP_SYNTAX_ERROR = -605;
ERR_FTP_COMMAND_NOT_SUPPORTED = -606; ERR_FTP_COMMAND_NOT_SUPPORTED = -606;
ERR_FTP_BAD_COMMAND_SEQUENCE = -607; ERR_FTP_BAD_COMMAND_SEQUENCE = -607;
//
ERR_PKCS12_IMPORT_BAD_PASSWORD = -701; ERR_PKCS12_IMPORT_BAD_PASSWORD = -701;
ERR_PKCS12_IMPORT_FAILED = -702; ERR_PKCS12_IMPORT_FAILED = -702;
ERR_IMPORT_CA_CERT_NOT_CA = -703; ERR_IMPORT_CA_CERT_NOT_CA = -703;
@ -279,9 +326,11 @@ const
ERR_PKCS12_IMPORT_INVALID_FILE = -708; ERR_PKCS12_IMPORT_INVALID_FILE = -708;
ERR_PKCS12_IMPORT_UNSUPPORTED = -709; ERR_PKCS12_IMPORT_UNSUPPORTED = -709;
ERR_KEY_GENERATION_FAILED = -710; ERR_KEY_GENERATION_FAILED = -710;
//
ERR_PRIVATE_KEY_EXPORT_FAILED = -712; ERR_PRIVATE_KEY_EXPORT_FAILED = -712;
ERR_SELF_SIGNED_CERT_GENERATION_FAILED = -713; ERR_SELF_SIGNED_CERT_GENERATION_FAILED = -713;
ERR_CERT_DATABASE_CHANGED = -714; ERR_CERT_DATABASE_CHANGED = -714;
//
ERR_DNS_MALFORMED_RESPONSE = -800; ERR_DNS_MALFORMED_RESPONSE = -800;
ERR_DNS_SERVER_REQUIRES_TCP = -801; ERR_DNS_SERVER_REQUIRES_TCP = -801;
ERR_DNS_SERVER_FAILED = -802; ERR_DNS_SERVER_FAILED = -802;
@ -289,7 +338,10 @@ const
ERR_NS_CACHE_MISS = -804; ERR_NS_CACHE_MISS = -804;
ERR_DNS_SEARCH_EMPTY = -805; ERR_DNS_SEARCH_EMPTY = -805;
ERR_DNS_SORT_ERROR = -806; ERR_DNS_SORT_ERROR = -806;
ERR_DNS_HTTP_FAILED = -807; //
ERR_DNS_SECURE_RESOLVER_HOSTNAME_RESOLUTION_FAILED = -808;
ERR_DNS_NAME_HTTPS_ONLY = -809;
// /include/internal/cef_types.h (cef_cert_status_t) // /include/internal/cef_types.h (cef_cert_status_t)
CERT_STATUS_NONE = 0; CERT_STATUS_NONE = 0;

View File

@ -2,7 +2,7 @@
"UpdateLazPackages" : [ "UpdateLazPackages" : [
{ {
"ForceNotify" : true, "ForceNotify" : true,
"InternalVersion" : 353, "InternalVersion" : 354,
"Name" : "cef4delphi_lazarus.lpk", "Name" : "cef4delphi_lazarus.lpk",
"Version" : "98.1.16.0" "Version" : "98.1.16.0"
} }