@@ -26,7 +26,7 @@ public enum CefErrorCode
26
26
// 300-399 HTTP errors
27
27
// 400-499 Cache errors
28
28
// 500-599 ?
29
- // 600-699 FTP errors
29
+ // 600-699 <Obsolete: FTP errors>
30
30
// 700-799 Certificate manager errors
31
31
// 800-899 DNS resolver errors
32
32
@@ -195,6 +195,12 @@ public enum CefErrorCode
195
195
/// </summary>
196
196
BlockedByOrb = - 32 ,
197
197
198
+ /// <summary>
199
+ /// The request was blocked because it originated from a frame that has disabled
200
+ /// network access.
201
+ /// </summary>
202
+ NetworkAccessRevoked = - 33 ,
203
+
198
204
/// <summary>
199
205
/// A connection was closed (corresponding to a TCP FIN).
200
206
/// </summary>
@@ -404,7 +410,7 @@ public enum CefErrorCode
404
410
/// received a 302 (temporary redirect) response. The response body might
405
411
/// include a description of why the request failed.
406
412
///
407
- /// TODO(https:// crbug.com/928551 ): This is deprecated and should not be used by
413
+ /// TODO(crbug.com/40093955 ): This is deprecated and should not be used by
408
414
/// new code.
409
415
/// </summary>
410
416
HttpsProxyTunnelResponseRedirect = - 140 ,
@@ -1184,7 +1190,29 @@ public enum CefErrorCode
1184
1190
/// The IP address space of the cached remote endpoint is blocked by private
1185
1191
/// network access check.
1186
1192
/// </summary>
1187
- CachedIpAddressSpaceBlockedByLocalNetworkAccessPolicy = - 384 ,
1193
+ CachedIpAddressSpaceBlockedByPrivateNetworkAccessPolicy = - 384 ,
1194
+
1195
+ /// <summary>
1196
+ /// The connection is blocked by private network access checks.
1197
+ /// </summary>
1198
+ BlockedByPrivateNetworkAccessChecks = - 385 ,
1199
+
1200
+ /// <summary>
1201
+ /// Content decoding failed due to the zstd window size being too big (over 8MB).
1202
+ /// </summary>
1203
+ ZstdWindowSizeTooBig = - 386 ,
1204
+
1205
+ /// <summary>
1206
+ /// The compression dictionary cannot be loaded.
1207
+ /// </summary>
1208
+ DictionaryLoadFailed = - 387 ,
1209
+
1210
+ /// <summary>
1211
+ /// The "content-dictionary" response header is unexpected. This is used both
1212
+ /// when there is no "content-dictionary" response header and when the received
1213
+ /// "content-dictionary" response header does not match the expected value.
1214
+ /// </summary>
1215
+ UnexpectedContentDictionaryHeader = - 388 ,
1188
1216
1189
1217
/// <summary>
1190
1218
/// The cache does not have the requested entry.
@@ -1309,51 +1337,13 @@ public enum CefErrorCode
1309
1337
TrustTokenOperationSuccessWithoutSendingRequest = - 507 ,
1310
1338
1311
1339
// *** Code -600 is reserved (was FTP_PASV_COMMAND_FAILED). ***
1312
-
1313
- /// <summary>
1314
- /// A generic error for failed FTP control connection command.
1315
- /// If possible, please use or add a more specific error code.
1316
- /// </summary>
1317
- FtpFailed = - 601 ,
1318
-
1319
- /// <summary>
1320
- /// The server cannot fulfill the request at this point. This is a temporary
1321
- /// error.
1322
- /// FTP response code 421.
1323
- /// </summary>
1324
- FtpServiceUnavailable = - 602 ,
1325
-
1326
- /// <summary>
1327
- /// The server has aborted the transfer.
1328
- /// FTP response code 426.
1329
- /// </summary>
1330
- FtpTransferAborted = - 603 ,
1331
-
1332
- /// <summary>
1333
- /// The file is busy, or some other temporary error condition on opening
1334
- /// the file.
1335
- /// FTP response code 450.
1336
- /// </summary>
1337
- FtpFileBusy = - 604 ,
1338
-
1339
- /// <summary>
1340
- /// Server rejected our command because of syntax errors.
1341
- /// FTP response codes 500, 501.
1342
- /// </summary>
1343
- FtpSyntaxError = - 605 ,
1344
-
1345
- /// <summary>
1346
- /// Server does not support the command we issued.
1347
- /// FTP response codes 502, 504.
1348
- /// </summary>
1349
- FtpCommandNotSupported = - 606 ,
1350
-
1351
- /// <summary>
1352
- /// Server rejected our command because we didn't issue the commands in right
1353
- /// order.
1354
- /// FTP response code 503.
1355
- /// </summary>
1356
- FtpBadCommandSequence = - 607 ,
1340
+ // *** Code -601 is reserved (was FTP_FAILED). ***
1341
+ // *** Code -602 is reserved (was FTP_SERVICE_UNAVAILABLE). ***
1342
+ // *** Code -603 is reserved (was FTP_TRANSFER_ABORTED). ***
1343
+ // *** Code -604 is reserved (was FTP_FILE_BUSY). ***
1344
+ // *** Code -605 is reserved (was FTP_SYNTAX_ERROR). ***
1345
+ // *** Code -606 is reserved (was FTP_COMMAND_NOT_SUPPORTED). ***
1346
+ // *** Code -607 is reserved (was FTP_BAD_COMMAND_SEQUENCE). ***
1357
1347
1358
1348
/// <summary>
1359
1349
/// PKCS #12 import failed due to incorrect password.
@@ -1504,9 +1494,13 @@ public enum CefErrorCode
1504
1494
/// </summary>
1505
1495
DnsNoMatchingSupportedAlpn = - 811 ,
1506
1496
1497
+ // Error -812 was removed
1498
+ // Error -813 was removed
1499
+
1507
1500
/// <summary>
1508
- /// The compression dictionary cannot be loaded.
1501
+ /// When checking whether secure DNS can be used, the response returned for the
1502
+ /// requested probe record either had no answer or was invalid.
1509
1503
/// </summary>
1510
- DictionaryLoadFailed = - 812 ,
1504
+ DnsSecureProbeRecordInvalid = - 814 ,
1511
1505
} ;
1512
1506
}
0 commit comments