diff --git a/CefSharp/DevTools/DevToolsClient.Generated.cs b/CefSharp/DevTools/DevToolsClient.Generated.cs index 06a89cfaa..c431a7dc4 100644 --- a/CefSharp/DevTools/DevToolsClient.Generated.cs +++ b/CefSharp/DevTools/DevToolsClient.Generated.cs @@ -3,7 +3,7 @@ // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. // // **This code was generated by a tool, do not change directly** -// CHROMIUM VERSION 109.0.5414.87 +// CHROMIUM VERSION 110.0.5481.77 namespace CefSharp.DevTools.Accessibility { /// @@ -1327,7 +1327,12 @@ namespace CefSharp.DevTools.Audits /// ExcludeDomainNonASCII /// [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ExcludeDomainNonASCII"))] - ExcludeDomainNonASCII + ExcludeDomainNonASCII, + /// + /// ExcludeThirdPartyCookieBlockedInFirstPartySet + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ExcludeThirdPartyCookieBlockedInFirstPartySet"))] + ExcludeThirdPartyCookieBlockedInFirstPartySet } /// @@ -2759,7 +2764,12 @@ namespace CefSharp.DevTools.Audits /// CrossOriginPortalPostMessageError /// [System.Runtime.Serialization.EnumMemberAttribute(Value = ("CrossOriginPortalPostMessageError"))] - CrossOriginPortalPostMessageError + CrossOriginPortalPostMessageError, + /// + /// FormLabelForNameError + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("FormLabelForNameError"))] + FormLabelForNameError } /// @@ -2803,6 +2813,16 @@ namespace CefSharp.DevTools.Audits get; set; } + + /// + /// ViolatingNodeId + /// + [System.Runtime.Serialization.DataMemberAttribute(Name = ("violatingNodeId"), IsRequired = (false))] + public int? ViolatingNodeId + { + get; + set; + } } /// @@ -3210,45 +3230,45 @@ namespace CefSharp.DevTools.Audits [System.Runtime.Serialization.EnumMemberAttribute(Value = ("TooManyRequests"))] TooManyRequests, /// - /// ManifestListHttpNotFound + /// WellKnownHttpNotFound /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ManifestListHttpNotFound"))] - ManifestListHttpNotFound, + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("WellKnownHttpNotFound"))] + WellKnownHttpNotFound, /// - /// ManifestListNoResponse + /// WellKnownNoResponse /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ManifestListNoResponse"))] - ManifestListNoResponse, + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("WellKnownNoResponse"))] + WellKnownNoResponse, /// - /// ManifestListInvalidResponse + /// WellKnownInvalidResponse /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ManifestListInvalidResponse"))] - ManifestListInvalidResponse, + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("WellKnownInvalidResponse"))] + WellKnownInvalidResponse, /// - /// ManifestNotInManifestList + /// ConfigNotInWellKnown /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ManifestNotInManifestList"))] - ManifestNotInManifestList, + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ConfigNotInWellKnown"))] + ConfigNotInWellKnown, /// - /// ManifestListTooBig + /// WellKnownTooBig /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ManifestListTooBig"))] - ManifestListTooBig, + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("WellKnownTooBig"))] + WellKnownTooBig, /// - /// ManifestHttpNotFound + /// ConfigHttpNotFound /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ManifestHttpNotFound"))] - ManifestHttpNotFound, + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ConfigHttpNotFound"))] + ConfigHttpNotFound, /// - /// ManifestNoResponse + /// ConfigNoResponse /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ManifestNoResponse"))] - ManifestNoResponse, + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ConfigNoResponse"))] + ConfigNoResponse, /// - /// ManifestInvalidResponse + /// ConfigInvalidResponse /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ManifestInvalidResponse"))] - ManifestInvalidResponse, + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ConfigInvalidResponse"))] + ConfigInvalidResponse, /// /// ClientMetadataHttpNotFound /// @@ -3864,6 +3884,16 @@ namespace CefSharp.DevTools.BackgroundService get; set; } + + /// + /// Storage key this event belongs to. + /// + [System.Runtime.Serialization.DataMemberAttribute(Name = ("storageKey"), IsRequired = (true))] + public string StorageKey + { + get; + set; + } } /// @@ -4181,7 +4211,12 @@ namespace CefSharp.DevTools.Browser /// denied /// [System.Runtime.Serialization.EnumMemberAttribute(Value = ("denied"))] - Denied + Denied, + /// + /// prompt + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("prompt"))] + Prompt } /// @@ -6355,6 +6390,16 @@ namespace CefSharp.DevTools.CacheStorage set; } + /// + /// Storage key of the cache. + /// + [System.Runtime.Serialization.DataMemberAttribute(Name = ("storageKey"), IsRequired = (true))] + public string StorageKey + { + get; + set; + } + /// /// The name of the cache. /// @@ -9538,11 +9583,6 @@ namespace CefSharp.DevTools.Emulation [System.Runtime.Serialization.EnumMemberAttribute(Value = ("avif"))] Avif, /// - /// jxl - /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("jxl"))] - Jxl, - /// /// webp /// [System.Runtime.Serialization.EnumMemberAttribute(Value = ("webp"))] @@ -13569,6 +13609,11 @@ namespace CefSharp.DevTools.Network [System.Runtime.Serialization.EnumMemberAttribute(Value = ("UserPreferences"))] UserPreferences, /// + /// ThirdPartyBlockedInFirstPartySet + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ThirdPartyBlockedInFirstPartySet"))] + ThirdPartyBlockedInFirstPartySet, + /// /// SyntaxError /// [System.Runtime.Serialization.EnumMemberAttribute(Value = ("SyntaxError"))] @@ -13676,6 +13721,11 @@ namespace CefSharp.DevTools.Network [System.Runtime.Serialization.EnumMemberAttribute(Value = ("UserPreferences"))] UserPreferences, /// + /// ThirdPartyBlockedInFirstPartySet + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ThirdPartyBlockedInFirstPartySet"))] + ThirdPartyBlockedInFirstPartySet, + /// /// UnknownError /// [System.Runtime.Serialization.EnumMemberAttribute(Value = ("UnknownError"))] @@ -16554,6 +16604,11 @@ namespace CefSharp.DevTools.Network [System.Runtime.Serialization.EnumMemberAttribute(Value = ("Unavailable"))] Unavailable, /// + /// Unauthorized + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("Unauthorized"))] + Unauthorized, + /// /// BadResponse /// [System.Runtime.Serialization.EnumMemberAttribute(Value = ("BadResponse"))] @@ -18525,6 +18580,11 @@ namespace CefSharp.DevTools.Page [System.Runtime.Serialization.EnumMemberAttribute(Value = ("shared-storage"))] SharedStorage, /// + /// smart-card + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("smart-card"))] + SmartCard, + /// /// storage-access /// [System.Runtime.Serialization.EnumMemberAttribute(Value = ("storage-access"))] @@ -20697,6 +20757,11 @@ namespace CefSharp.DevTools.Page [System.Runtime.Serialization.EnumMemberAttribute(Value = ("Dummy"))] Dummy, /// + /// AuthorizationHeader + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("AuthorizationHeader"))] + AuthorizationHeader, + /// /// ContentSecurityHandler /// [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ContentSecurityHandler"))] @@ -21179,6 +21244,11 @@ namespace CefSharp.DevTools.Page [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ActivationNavigationParameterMismatch"))] ActivationNavigationParameterMismatch, /// + /// ActivatedInBackground + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ActivatedInBackground"))] + ActivatedInBackground, + /// /// EmbedderHostDisallowed /// [System.Runtime.Serialization.EnumMemberAttribute(Value = ("EmbedderHostDisallowed"))] @@ -23762,6 +23832,11 @@ namespace CefSharp.DevTools.Storage [System.Runtime.Serialization.EnumMemberAttribute(Value = ("update"))] Update, /// + /// loaded + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("loaded"))] + Loaded, + /// /// bid /// [System.Runtime.Serialization.EnumMemberAttribute(Value = ("bid"))] @@ -24245,6 +24320,16 @@ namespace CefSharp.DevTools.Storage private set; } + /// + /// Storage key to update. + /// + [System.Runtime.Serialization.DataMemberAttribute(Name = ("storageKey"), IsRequired = (true))] + public string StorageKey + { + get; + private set; + } + /// /// Name of cache in origin. /// @@ -24271,6 +24356,16 @@ namespace CefSharp.DevTools.Storage get; private set; } + + /// + /// Storage key to update. + /// + [System.Runtime.Serialization.DataMemberAttribute(Name = ("storageKey"), IsRequired = (true))] + public string StorageKey + { + get; + private set; + } } /// @@ -25585,8 +25680,8 @@ namespace CefSharp.DevTools.Tracing } /// - /// Contains an bucket of collected trace events. When tracing is stopped collected events will be - /// send as a sequence of dataCollected events followed by tracingComplete event. + /// Contains a bucket of collected trace events. When tracing is stopped collected events will be + /// sent as a sequence of dataCollected events followed by tracingComplete event. /// [System.Runtime.Serialization.DataContractAttribute] public class DataCollectedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase @@ -27406,6 +27501,60 @@ namespace CefSharp.DevTools.WebAuthn set; } } + + /// + /// Triggered when a credential is added to an authenticator. + /// + [System.Runtime.Serialization.DataContractAttribute] + public class CredentialAddedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase + { + /// + /// AuthenticatorId + /// + [System.Runtime.Serialization.DataMemberAttribute(Name = ("authenticatorId"), IsRequired = (true))] + public string AuthenticatorId + { + get; + private set; + } + + /// + /// Credential + /// + [System.Runtime.Serialization.DataMemberAttribute(Name = ("credential"), IsRequired = (true))] + public CefSharp.DevTools.WebAuthn.Credential Credential + { + get; + private set; + } + } + + /// + /// Triggered when a credential is used in a webauthn assertion. + /// + [System.Runtime.Serialization.DataContractAttribute] + public class CredentialAssertedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase + { + /// + /// AuthenticatorId + /// + [System.Runtime.Serialization.DataMemberAttribute(Name = ("authenticatorId"), IsRequired = (true))] + public string AuthenticatorId + { + get; + private set; + } + + /// + /// Credential + /// + [System.Runtime.Serialization.DataMemberAttribute(Name = ("credential"), IsRequired = (true))] + public CefSharp.DevTools.WebAuthn.Credential Credential + { + get; + private set; + } + } } namespace CefSharp.DevTools.Media @@ -34600,17 +34749,27 @@ namespace CefSharp.DevTools.CacheStorage return _client.ExecuteDevToolsMethodAsync("CacheStorage.deleteEntry", dict); } - partial void ValidateRequestCacheNames(string securityOrigin); + partial void ValidateRequestCacheNames(string securityOrigin = null, string storageKey = null); /// /// Requests cache names. /// - /// Security origin. + /// At least and at most one of securityOrigin, storageKey must be specified.Security origin. + /// Storage key. /// returns System.Threading.Tasks.Task<RequestCacheNamesResponse> - public System.Threading.Tasks.Task RequestCacheNamesAsync(string securityOrigin) + public System.Threading.Tasks.Task RequestCacheNamesAsync(string securityOrigin = null, string storageKey = null) { - ValidateRequestCacheNames(securityOrigin); + ValidateRequestCacheNames(securityOrigin, storageKey); var dict = new System.Collections.Generic.Dictionary(); - dict.Add("securityOrigin", securityOrigin); + if (!(string.IsNullOrEmpty(securityOrigin))) + { + dict.Add("securityOrigin", securityOrigin); + } + + if (!(string.IsNullOrEmpty(storageKey))) + { + dict.Add("storageKey", storageKey); + } + return _client.ExecuteDevToolsMethodAsync("CacheStorage.requestCacheNames", dict); } @@ -43480,15 +43639,20 @@ namespace CefSharp.DevTools.Page [System.Runtime.Serialization.EnumMemberAttribute(Value = ("none"))] None, /// - /// autoaccept + /// autoAccept /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("autoaccept"))] - Autoaccept, + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("autoAccept"))] + AutoAccept, /// - /// autoreject + /// autoReject /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("autoreject"))] - Autoreject + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("autoReject"))] + AutoReject, + /// + /// autoOptOut + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("autoOptOut"))] + AutoOptOut } /// @@ -45776,6 +45940,20 @@ namespace CefSharp.DevTools.Storage return _client.ExecuteDevToolsMethodAsync("Storage.trackCacheStorageForOrigin", dict); } + partial void ValidateTrackCacheStorageForStorageKey(string storageKey); + /// + /// Registers storage key to be notified when an update occurs to its cache storage list. + /// + /// Storage key. + /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> + public System.Threading.Tasks.Task TrackCacheStorageForStorageKeyAsync(string storageKey) + { + ValidateTrackCacheStorageForStorageKey(storageKey); + var dict = new System.Collections.Generic.Dictionary(); + dict.Add("storageKey", storageKey); + return _client.ExecuteDevToolsMethodAsync("Storage.trackCacheStorageForStorageKey", dict); + } + partial void ValidateTrackIndexedDBForOrigin(string origin); /// /// Registers origin to be notified when an update occurs to its IndexedDB. @@ -45818,6 +45996,20 @@ namespace CefSharp.DevTools.Storage return _client.ExecuteDevToolsMethodAsync("Storage.untrackCacheStorageForOrigin", dict); } + partial void ValidateUntrackCacheStorageForStorageKey(string storageKey); + /// + /// Unregisters storage key from receiving notifications for cache storage. + /// + /// Storage key. + /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> + public System.Threading.Tasks.Task UntrackCacheStorageForStorageKeyAsync(string storageKey) + { + ValidateUntrackCacheStorageForStorageKey(storageKey); + var dict = new System.Collections.Generic.Dictionary(); + dict.Add("storageKey", storageKey); + return _client.ExecuteDevToolsMethodAsync("Storage.untrackCacheStorageForStorageKey", dict); + } + partial void ValidateUntrackIndexedDBForOrigin(string origin); /// /// Unregisters origin from receiving notifications for IndexedDB. @@ -46082,6 +46274,34 @@ namespace CefSharp.DevTools.SystemInfo } } +namespace CefSharp.DevTools.SystemInfo +{ + /// + /// GetFeatureStateResponse + /// + [System.Runtime.Serialization.DataContractAttribute] + public class GetFeatureStateResponse : CefSharp.DevTools.DevToolsDomainResponseBase + { + [System.Runtime.Serialization.DataMemberAttribute] + internal bool featureEnabled + { + get; + set; + } + + /// + /// featureEnabled + /// + public bool FeatureEnabled + { + get + { + return featureEnabled; + } + } + } +} + namespace CefSharp.DevTools.SystemInfo { /// @@ -46139,6 +46359,20 @@ namespace CefSharp.DevTools.SystemInfo return _client.ExecuteDevToolsMethodAsync("SystemInfo.getInfo", dict); } + partial void ValidateGetFeatureState(string featureState); + /// + /// Returns information about the feature state. + /// + /// featureState + /// returns System.Threading.Tasks.Task<GetFeatureStateResponse> + public System.Threading.Tasks.Task GetFeatureStateAsync(string featureState) + { + ValidateGetFeatureState(featureState); + var dict = new System.Collections.Generic.Dictionary(); + dict.Add("featureState", featureState); + return _client.ExecuteDevToolsMethodAsync("SystemInfo.getFeatureState", dict); + } + /// /// Returns information about all running processes. /// @@ -47055,8 +47289,8 @@ namespace CefSharp.DevTools.Tracing } /// - /// Contains an bucket of collected trace events. When tracing is stopped collected events will be - /// send as a sequence of dataCollected events followed by tracingComplete event. + /// Contains a bucket of collected trace events. When tracing is stopped collected events will be + /// sent as a sequence of dataCollected events followed by tracingComplete event. /// public event System.EventHandler DataCollected { @@ -47976,6 +48210,38 @@ namespace CefSharp.DevTools.WebAuthn _client = (client); } + /// + /// Triggered when a credential is added to an authenticator. + /// + public event System.EventHandler CredentialAdded + { + add + { + _client.AddEventHandler("WebAuthn.credentialAdded", value); + } + + remove + { + _client.RemoveEventHandler("WebAuthn.credentialAdded", value); + } + } + + /// + /// Triggered when a credential is used in a webauthn assertion. + /// + public event System.EventHandler CredentialAsserted + { + add + { + _client.AddEventHandler("WebAuthn.credentialAsserted", value); + } + + remove + { + _client.RemoveEventHandler("WebAuthn.credentialAsserted", value); + } + } + partial void ValidateEnable(bool? enableUI = null); /// /// Enable the WebAuthn domain and start intercepting credential storage and diff --git a/CefSharp/DevTools/DevToolsClient.Generated.netcore.cs b/CefSharp/DevTools/DevToolsClient.Generated.netcore.cs index 86e589092..5d71b13c8 100644 --- a/CefSharp/DevTools/DevToolsClient.Generated.netcore.cs +++ b/CefSharp/DevTools/DevToolsClient.Generated.netcore.cs @@ -3,7 +3,7 @@ // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. // // **This code was generated by a tool, do not change directly** -// CHROMIUM VERSION 109.0.5414.87 +// CHROMIUM VERSION 110.0.5481.77 namespace CefSharp.DevTools.Accessibility { /// @@ -1256,7 +1256,12 @@ namespace CefSharp.DevTools.Audits /// ExcludeDomainNonASCII /// [System.Text.Json.Serialization.JsonPropertyNameAttribute("ExcludeDomainNonASCII")] - ExcludeDomainNonASCII + ExcludeDomainNonASCII, + /// + /// ExcludeThirdPartyCookieBlockedInFirstPartySet + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("ExcludeThirdPartyCookieBlockedInFirstPartySet")] + ExcludeThirdPartyCookieBlockedInFirstPartySet } /// @@ -2480,7 +2485,12 @@ namespace CefSharp.DevTools.Audits /// CrossOriginPortalPostMessageError /// [System.Text.Json.Serialization.JsonPropertyNameAttribute("CrossOriginPortalPostMessageError")] - CrossOriginPortalPostMessageError + CrossOriginPortalPostMessageError, + /// + /// FormLabelForNameError + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("FormLabelForNameError")] + FormLabelForNameError } /// @@ -2507,6 +2517,16 @@ namespace CefSharp.DevTools.Audits get; set; } + + /// + /// ViolatingNodeId + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("violatingNodeId")] + public int? ViolatingNodeId + { + get; + set; + } } /// @@ -2881,45 +2901,45 @@ namespace CefSharp.DevTools.Audits [System.Text.Json.Serialization.JsonPropertyNameAttribute("TooManyRequests")] TooManyRequests, /// - /// ManifestListHttpNotFound + /// WellKnownHttpNotFound /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ManifestListHttpNotFound")] - ManifestListHttpNotFound, + [System.Text.Json.Serialization.JsonPropertyNameAttribute("WellKnownHttpNotFound")] + WellKnownHttpNotFound, /// - /// ManifestListNoResponse + /// WellKnownNoResponse /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ManifestListNoResponse")] - ManifestListNoResponse, + [System.Text.Json.Serialization.JsonPropertyNameAttribute("WellKnownNoResponse")] + WellKnownNoResponse, /// - /// ManifestListInvalidResponse + /// WellKnownInvalidResponse /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ManifestListInvalidResponse")] - ManifestListInvalidResponse, + [System.Text.Json.Serialization.JsonPropertyNameAttribute("WellKnownInvalidResponse")] + WellKnownInvalidResponse, /// - /// ManifestNotInManifestList + /// ConfigNotInWellKnown /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ManifestNotInManifestList")] - ManifestNotInManifestList, + [System.Text.Json.Serialization.JsonPropertyNameAttribute("ConfigNotInWellKnown")] + ConfigNotInWellKnown, /// - /// ManifestListTooBig + /// WellKnownTooBig /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ManifestListTooBig")] - ManifestListTooBig, + [System.Text.Json.Serialization.JsonPropertyNameAttribute("WellKnownTooBig")] + WellKnownTooBig, /// - /// ManifestHttpNotFound + /// ConfigHttpNotFound /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ManifestHttpNotFound")] - ManifestHttpNotFound, + [System.Text.Json.Serialization.JsonPropertyNameAttribute("ConfigHttpNotFound")] + ConfigHttpNotFound, /// - /// ManifestNoResponse + /// ConfigNoResponse /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ManifestNoResponse")] - ManifestNoResponse, + [System.Text.Json.Serialization.JsonPropertyNameAttribute("ConfigNoResponse")] + ConfigNoResponse, /// - /// ManifestInvalidResponse + /// ConfigInvalidResponse /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ManifestInvalidResponse")] - ManifestInvalidResponse, + [System.Text.Json.Serialization.JsonPropertyNameAttribute("ConfigInvalidResponse")] + ConfigInvalidResponse, /// /// ClientMetadataHttpNotFound /// @@ -3492,6 +3512,17 @@ namespace CefSharp.DevTools.BackgroundService get; set; } + + /// + /// Storage key this event belongs to. + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("storageKey")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public string StorageKey + { + get; + set; + } } /// @@ -3778,7 +3809,12 @@ namespace CefSharp.DevTools.Browser /// denied /// [System.Text.Json.Serialization.JsonPropertyNameAttribute("denied")] - Denied + Denied, + /// + /// prompt + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("prompt")] + Prompt } /// @@ -5846,6 +5882,17 @@ namespace CefSharp.DevTools.CacheStorage set; } + /// + /// Storage key of the cache. + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("storageKey")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public string StorageKey + { + get; + set; + } + /// /// The name of the cache. /// @@ -8968,11 +9015,6 @@ namespace CefSharp.DevTools.Emulation [System.Text.Json.Serialization.JsonPropertyNameAttribute("avif")] Avif, /// - /// jxl - /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("jxl")] - Jxl, - /// /// webp /// [System.Text.Json.Serialization.JsonPropertyNameAttribute("webp")] @@ -12658,6 +12700,11 @@ namespace CefSharp.DevTools.Network [System.Text.Json.Serialization.JsonPropertyNameAttribute("UserPreferences")] UserPreferences, /// + /// ThirdPartyBlockedInFirstPartySet + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("ThirdPartyBlockedInFirstPartySet")] + ThirdPartyBlockedInFirstPartySet, + /// /// SyntaxError /// [System.Text.Json.Serialization.JsonPropertyNameAttribute("SyntaxError")] @@ -12765,6 +12812,11 @@ namespace CefSharp.DevTools.Network [System.Text.Json.Serialization.JsonPropertyNameAttribute("UserPreferences")] UserPreferences, /// + /// ThirdPartyBlockedInFirstPartySet + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("ThirdPartyBlockedInFirstPartySet")] + ThirdPartyBlockedInFirstPartySet, + /// /// UnknownError /// [System.Text.Json.Serialization.JsonPropertyNameAttribute("UnknownError")] @@ -15367,6 +15419,11 @@ namespace CefSharp.DevTools.Network [System.Text.Json.Serialization.JsonPropertyNameAttribute("Unavailable")] Unavailable, /// + /// Unauthorized + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("Unauthorized")] + Unauthorized, + /// /// BadResponse /// [System.Text.Json.Serialization.JsonPropertyNameAttribute("BadResponse")] @@ -17243,6 +17300,11 @@ namespace CefSharp.DevTools.Page [System.Text.Json.Serialization.JsonPropertyNameAttribute("shared-storage")] SharedStorage, /// + /// smart-card + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("smart-card")] + SmartCard, + /// /// storage-access /// [System.Text.Json.Serialization.JsonPropertyNameAttribute("storage-access")] @@ -19262,6 +19324,11 @@ namespace CefSharp.DevTools.Page [System.Text.Json.Serialization.JsonPropertyNameAttribute("Dummy")] Dummy, /// + /// AuthorizationHeader + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("AuthorizationHeader")] + AuthorizationHeader, + /// /// ContentSecurityHandler /// [System.Text.Json.Serialization.JsonPropertyNameAttribute("ContentSecurityHandler")] @@ -19713,6 +19780,11 @@ namespace CefSharp.DevTools.Page [System.Text.Json.Serialization.JsonPropertyNameAttribute("ActivationNavigationParameterMismatch")] ActivationNavigationParameterMismatch, /// + /// ActivatedInBackground + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("ActivatedInBackground")] + ActivatedInBackground, + /// /// EmbedderHostDisallowed /// [System.Text.Json.Serialization.JsonPropertyNameAttribute("EmbedderHostDisallowed")] @@ -22100,6 +22172,11 @@ namespace CefSharp.DevTools.Storage [System.Text.Json.Serialization.JsonPropertyNameAttribute("update")] Update, /// + /// loaded + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("loaded")] + Loaded, + /// /// bid /// [System.Text.Json.Serialization.JsonPropertyNameAttribute("bid")] @@ -22590,6 +22667,18 @@ namespace CefSharp.DevTools.Storage private set; } + /// + /// Storage key to update. + /// + [System.Text.Json.Serialization.JsonIncludeAttribute] + [System.Text.Json.Serialization.JsonPropertyNameAttribute("storageKey")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public string StorageKey + { + get; + private set; + } + /// /// Name of cache in origin. /// @@ -22619,6 +22708,18 @@ namespace CefSharp.DevTools.Storage get; private set; } + + /// + /// Storage key to update. + /// + [System.Text.Json.Serialization.JsonIncludeAttribute] + [System.Text.Json.Serialization.JsonPropertyNameAttribute("storageKey")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public string StorageKey + { + get; + private set; + } } /// @@ -23907,8 +24008,8 @@ namespace CefSharp.DevTools.Tracing } /// - /// Contains an bucket of collected trace events. When tracing is stopped collected events will be - /// send as a sequence of dataCollected events followed by tracingComplete event. + /// Contains a bucket of collected trace events. When tracing is stopped collected events will be + /// sent as a sequence of dataCollected events followed by tracingComplete event. /// public class DataCollectedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase { @@ -25527,6 +25628,66 @@ namespace CefSharp.DevTools.WebAuthn set; } } + + /// + /// Triggered when a credential is added to an authenticator. + /// + public class CredentialAddedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase + { + /// + /// AuthenticatorId + /// + [System.Text.Json.Serialization.JsonIncludeAttribute] + [System.Text.Json.Serialization.JsonPropertyNameAttribute("authenticatorId")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public string AuthenticatorId + { + get; + private set; + } + + /// + /// Credential + /// + [System.Text.Json.Serialization.JsonIncludeAttribute] + [System.Text.Json.Serialization.JsonPropertyNameAttribute("credential")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public CefSharp.DevTools.WebAuthn.Credential Credential + { + get; + private set; + } + } + + /// + /// Triggered when a credential is used in a webauthn assertion. + /// + public class CredentialAssertedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase + { + /// + /// AuthenticatorId + /// + [System.Text.Json.Serialization.JsonIncludeAttribute] + [System.Text.Json.Serialization.JsonPropertyNameAttribute("authenticatorId")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public string AuthenticatorId + { + get; + private set; + } + + /// + /// Credential + /// + [System.Text.Json.Serialization.JsonIncludeAttribute] + [System.Text.Json.Serialization.JsonPropertyNameAttribute("credential")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public CefSharp.DevTools.WebAuthn.Credential Credential + { + get; + private set; + } + } } namespace CefSharp.DevTools.Media @@ -32122,17 +32283,27 @@ namespace CefSharp.DevTools.CacheStorage return _client.ExecuteDevToolsMethodAsync("CacheStorage.deleteEntry", dict); } - partial void ValidateRequestCacheNames(string securityOrigin); + partial void ValidateRequestCacheNames(string securityOrigin = null, string storageKey = null); /// /// Requests cache names. /// - /// Security origin. + /// At least and at most one of securityOrigin, storageKey must be specified.Security origin. + /// Storage key. /// returns System.Threading.Tasks.Task<RequestCacheNamesResponse> - public System.Threading.Tasks.Task RequestCacheNamesAsync(string securityOrigin) + public System.Threading.Tasks.Task RequestCacheNamesAsync(string securityOrigin = null, string storageKey = null) { - ValidateRequestCacheNames(securityOrigin); + ValidateRequestCacheNames(securityOrigin, storageKey); var dict = new System.Collections.Generic.Dictionary(); - dict.Add("securityOrigin", securityOrigin); + if (!(string.IsNullOrEmpty(securityOrigin))) + { + dict.Add("securityOrigin", securityOrigin); + } + + if (!(string.IsNullOrEmpty(storageKey))) + { + dict.Add("storageKey", storageKey); + } + return _client.ExecuteDevToolsMethodAsync("CacheStorage.requestCacheNames", dict); } @@ -40113,15 +40284,20 @@ namespace CefSharp.DevTools.Page [System.Text.Json.Serialization.JsonPropertyNameAttribute("none")] None, /// - /// autoaccept + /// autoAccept /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("autoaccept")] - Autoaccept, + [System.Text.Json.Serialization.JsonPropertyNameAttribute("autoAccept")] + AutoAccept, /// - /// autoreject + /// autoReject /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("autoreject")] - Autoreject + [System.Text.Json.Serialization.JsonPropertyNameAttribute("autoReject")] + AutoReject, + /// + /// autoOptOut + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("autoOptOut")] + AutoOptOut } /// @@ -42316,6 +42492,20 @@ namespace CefSharp.DevTools.Storage return _client.ExecuteDevToolsMethodAsync("Storage.trackCacheStorageForOrigin", dict); } + partial void ValidateTrackCacheStorageForStorageKey(string storageKey); + /// + /// Registers storage key to be notified when an update occurs to its cache storage list. + /// + /// Storage key. + /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> + public System.Threading.Tasks.Task TrackCacheStorageForStorageKeyAsync(string storageKey) + { + ValidateTrackCacheStorageForStorageKey(storageKey); + var dict = new System.Collections.Generic.Dictionary(); + dict.Add("storageKey", storageKey); + return _client.ExecuteDevToolsMethodAsync("Storage.trackCacheStorageForStorageKey", dict); + } + partial void ValidateTrackIndexedDBForOrigin(string origin); /// /// Registers origin to be notified when an update occurs to its IndexedDB. @@ -42358,6 +42548,20 @@ namespace CefSharp.DevTools.Storage return _client.ExecuteDevToolsMethodAsync("Storage.untrackCacheStorageForOrigin", dict); } + partial void ValidateUntrackCacheStorageForStorageKey(string storageKey); + /// + /// Unregisters storage key from receiving notifications for cache storage. + /// + /// Storage key. + /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> + public System.Threading.Tasks.Task UntrackCacheStorageForStorageKeyAsync(string storageKey) + { + ValidateUntrackCacheStorageForStorageKey(storageKey); + var dict = new System.Collections.Generic.Dictionary(); + dict.Add("storageKey", storageKey); + return _client.ExecuteDevToolsMethodAsync("Storage.untrackCacheStorageForStorageKey", dict); + } + partial void ValidateUntrackIndexedDBForOrigin(string origin); /// /// Unregisters origin from receiving notifications for IndexedDB. @@ -42593,6 +42797,26 @@ namespace CefSharp.DevTools.SystemInfo } } +namespace CefSharp.DevTools.SystemInfo +{ + /// + /// GetFeatureStateResponse + /// + public class GetFeatureStateResponse : CefSharp.DevTools.DevToolsDomainResponseBase + { + /// + /// featureEnabled + /// + [System.Text.Json.Serialization.JsonIncludeAttribute] + [System.Text.Json.Serialization.JsonPropertyNameAttribute("featureEnabled")] + public bool FeatureEnabled + { + get; + private set; + } + } +} + namespace CefSharp.DevTools.SystemInfo { /// @@ -42642,6 +42866,20 @@ namespace CefSharp.DevTools.SystemInfo return _client.ExecuteDevToolsMethodAsync("SystemInfo.getInfo", dict); } + partial void ValidateGetFeatureState(string featureState); + /// + /// Returns information about the feature state. + /// + /// featureState + /// returns System.Threading.Tasks.Task<GetFeatureStateResponse> + public System.Threading.Tasks.Task GetFeatureStateAsync(string featureState) + { + ValidateGetFeatureState(featureState); + var dict = new System.Collections.Generic.Dictionary(); + dict.Add("featureState", featureState); + return _client.ExecuteDevToolsMethodAsync("SystemInfo.getFeatureState", dict); + } + /// /// Returns information about all running processes. /// @@ -43471,8 +43709,8 @@ namespace CefSharp.DevTools.Tracing } /// - /// Contains an bucket of collected trace events. When tracing is stopped collected events will be - /// send as a sequence of dataCollected events followed by tracingComplete event. + /// Contains a bucket of collected trace events. When tracing is stopped collected events will be + /// sent as a sequence of dataCollected events followed by tracingComplete event. /// public event System.EventHandler DataCollected { @@ -44337,6 +44575,38 @@ namespace CefSharp.DevTools.WebAuthn _client = (client); } + /// + /// Triggered when a credential is added to an authenticator. + /// + public event System.EventHandler CredentialAdded + { + add + { + _client.AddEventHandler("WebAuthn.credentialAdded", value); + } + + remove + { + _client.RemoveEventHandler("WebAuthn.credentialAdded", value); + } + } + + /// + /// Triggered when a credential is used in a webauthn assertion. + /// + public event System.EventHandler CredentialAsserted + { + add + { + _client.AddEventHandler("WebAuthn.credentialAsserted", value); + } + + remove + { + _client.RemoveEventHandler("WebAuthn.credentialAsserted", value); + } + } + partial void ValidateEnable(bool? enableUI = null); /// /// Enable the WebAuthn domain and start intercepting credential storage and