diff --git a/CefSharp/Enums/CefErrorCode.cs b/CefSharp/Enums/CefErrorCode.cs
index 4c56479c4..a0ad62c52 100644
--- a/CefSharp/Enums/CefErrorCode.cs
+++ b/CefSharp/Enums/CefErrorCode.cs
@@ -211,6 +211,21 @@ public enum CefErrorCode
///
BlockedInIncognitoByAdministrator = -35,
+ ///
+ /// The request was blocked because the local network permission is missing.
+ /// Note that this is different from BlockedByLocalNetworkAccessChecks
+ /// which is specifically for a CORS error code.
+ ///
+ LocalNetworkPermissionMissing = -36,
+
+ ///
+ /// The request was blocked because ECH is strictly required, but:
+ /// - The client could not obtain a valid ECH configuration.
+ /// - The server rejected the ECH, and the client failed to establish a new ECH
+ /// connection after retrying with retry_configs.
+ ///
+ StrictEchRequired = -37,
+
///
/// A connection was closed (corresponding to a TCP FIN).
///
@@ -682,6 +697,12 @@ public enum CefErrorCode
ProxyDelegateCanceledConnectResponse = -188,
+ ///
+ /// The control message was too large for the transport. (for example a UDP
+ /// message control data exceeds size threshold).
+ ///
+ ControlMsgTooBig = -189,
+
// Certificate error codes
//
// The values of certificate error codes must be consecutive.
@@ -1126,10 +1147,9 @@ public enum CefErrorCode
///
PacScriptTerminated = -367,
- ///
- /// Signals that the request requires the IPP proxy.
- ///
- ProxyRequired = -368,
+ // Obsolete. Support for CNAME record detection was never fully implemented and
+ // is no longer needed since the IP Protection feature didn't launch.
+ // NET_ERROR(PROXY_REQUIRED, -368)
// Obsolete. Kept here to avoid reuse.
// Request is throttled because of a Backoff header.
@@ -1320,6 +1340,11 @@ public enum CefErrorCode
///
CacheOpenOrCreateFailure = -413,
+ ///
+ /// Zstd compression of a cache entry body failed.
+ ///
+ CacheCompressionFailure = -414,
+
///
/// The server's response was insecure (e.g. there was a cert error).
///
@@ -1570,6 +1595,12 @@ public enum CefErrorCode
///
DnsOtherFailure = -820,
+ ///
+ /// Declined to call DNS for a direct_only request of a hostname whose traffic
+ /// would be routed through a proxy.
+ ///
+ DnsDirectOnly = -821,
+
// The following errors are for mapped from a subset of invalid
// storage::BlobStatus.
diff --git a/CefSharp/Enums/PermissionRequestType.cs b/CefSharp/Enums/PermissionRequestType.cs
index a1cc8f32c..5647fde24 100644
--- a/CefSharp/Enums/PermissionRequestType.cs
+++ b/CefSharp/Enums/PermissionRequestType.cs
@@ -43,5 +43,6 @@ public enum PermissionRequestType : uint
LocalNetworkAccess = 1 << 25,
LocalNetwork = 1 << 26,
LoopbackNetwork = 1 << 27,
+ Sensors = 1 << 28,
}
}