diff --git a/CefSharp/DevTools/DevToolsClient.Generated.cs b/CefSharp/DevTools/DevToolsClient.Generated.cs index d7219f4966..e6d631c912 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 98.0.4758.80 +// CHROMIUM VERSION 99.0.4844.51 namespace CefSharp.DevTools.Accessibility { /// @@ -2880,6 +2880,77 @@ public string Message get; set; } + + /// + /// DeprecationType + /// + [System.Runtime.Serialization.DataMemberAttribute(Name = ("deprecationType"), IsRequired = (true))] + public string DeprecationType + { + get; + set; + } + } + + /// + /// ClientHintIssueReason + /// + public enum ClientHintIssueReason + { + /// + /// MetaTagAllowListInvalidOrigin + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("MetaTagAllowListInvalidOrigin"))] + MetaTagAllowListInvalidOrigin, + /// + /// MetaTagModifiedHTML + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("MetaTagModifiedHTML"))] + MetaTagModifiedHTML + } + + /// + /// This issue tracks client hints related issues. It's used to deprecate old + /// features, encourage the use of new ones, and provide general guidance. + /// + [System.Runtime.Serialization.DataContractAttribute] + public class ClientHintIssueDetails : CefSharp.DevTools.DevToolsDomainEntityBase + { + /// + /// SourceCodeLocation + /// + [System.Runtime.Serialization.DataMemberAttribute(Name = ("sourceCodeLocation"), IsRequired = (true))] + public CefSharp.DevTools.Audits.SourceCodeLocation SourceCodeLocation + { + get; + set; + } + + /// + /// ClientHintIssueReason + /// + public CefSharp.DevTools.Audits.ClientHintIssueReason ClientHintIssueReason + { + get + { + return (CefSharp.DevTools.Audits.ClientHintIssueReason)(StringToEnum(typeof(CefSharp.DevTools.Audits.ClientHintIssueReason), clientHintIssueReason)); + } + + set + { + this.clientHintIssueReason = (EnumToString(value)); + } + } + + /// + /// ClientHintIssueReason + /// + [System.Runtime.Serialization.DataMemberAttribute(Name = ("clientHintIssueReason"), IsRequired = (true))] + internal string clientHintIssueReason + { + get; + set; + } } /// @@ -2963,7 +3034,12 @@ public enum InspectorIssueCode /// DeprecationIssue /// [System.Runtime.Serialization.EnumMemberAttribute(Value = ("DeprecationIssue"))] - DeprecationIssue + DeprecationIssue, + /// + /// ClientHintIssue + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ClientHintIssue"))] + ClientHintIssue } /// @@ -3123,6 +3199,16 @@ public CefSharp.DevTools.Audits.DeprecationIssueDetails DeprecationIssueDetails get; set; } + + /// + /// ClientHintIssueDetails + /// + [System.Runtime.Serialization.DataMemberAttribute(Name = ("clientHintIssueDetails"), IsRequired = (false))] + public CefSharp.DevTools.Audits.ClientHintIssueDetails ClientHintIssueDetails + { + get; + set; + } } /// @@ -5818,7 +5904,27 @@ public enum PseudoType /// input-list-button /// [System.Runtime.Serialization.EnumMemberAttribute(Value = ("input-list-button"))] - InputListButton + InputListButton, + /// + /// transition + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("transition"))] + Transition, + /// + /// transition-container + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("transition-container"))] + TransitionContainer, + /// + /// transition-old-content + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("transition-old-content"))] + TransitionOldContent, + /// + /// transition-new-content + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("transition-new-content"))] + TransitionNewContent } /// @@ -17436,7 +17542,12 @@ public enum PermissionsPolicyBlockReason /// IframeAttribute /// [System.Runtime.Serialization.EnumMemberAttribute(Value = ("IframeAttribute"))] - IframeAttribute + IframeAttribute, + /// + /// InFencedFrameTree + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("InFencedFrameTree"))] + InFencedFrameTree } /// @@ -18773,6 +18884,33 @@ public string Pictograph } } + /// + /// Font families collection for a script. + /// + [System.Runtime.Serialization.DataContractAttribute] + public class ScriptFontFamilies : CefSharp.DevTools.DevToolsDomainEntityBase + { + /// + /// Name of the script which these font families are defined for. + /// + [System.Runtime.Serialization.DataMemberAttribute(Name = ("script"), IsRequired = (true))] + public string Script + { + get; + set; + } + + /// + /// Generic font families collection for the script. + /// + [System.Runtime.Serialization.DataMemberAttribute(Name = ("fontFamilies"), IsRequired = (true))] + public CefSharp.DevTools.Page.FontFamilies FontFamilies + { + get; + set; + } + } + /// /// Default font sizes. /// @@ -19723,6 +19861,43 @@ internal string reason } } + /// + /// BackForwardCacheNotRestoredExplanationTree + /// + [System.Runtime.Serialization.DataContractAttribute] + public class BackForwardCacheNotRestoredExplanationTree : CefSharp.DevTools.DevToolsDomainEntityBase + { + /// + /// URL of each frame + /// + [System.Runtime.Serialization.DataMemberAttribute(Name = ("url"), IsRequired = (true))] + public string Url + { + get; + set; + } + + /// + /// Not restored reasons of each frame + /// + [System.Runtime.Serialization.DataMemberAttribute(Name = ("explanations"), IsRequired = (true))] + public System.Collections.Generic.IList Explanations + { + get; + set; + } + + /// + /// Array of children frame + /// + [System.Runtime.Serialization.DataMemberAttribute(Name = ("children"), IsRequired = (true))] + public System.Collections.Generic.IList Children + { + get; + set; + } + } + /// /// domContentEventFired /// @@ -20485,6 +20660,16 @@ public System.Collections.Generic.IList + /// Tree structure of reasons why the page could not be cached for each frame. + /// + [System.Runtime.Serialization.DataMemberAttribute(Name = ("notRestoredExplanationsTree"), IsRequired = (false))] + public CefSharp.DevTools.Page.BackForwardCacheNotRestoredExplanationTree NotRestoredExplanationsTree + { + get; + private set; + } } /// @@ -22113,6 +22298,11 @@ public enum StorageType [System.Runtime.Serialization.EnumMemberAttribute(Value = ("cache_storage"))] CacheStorage, /// + /// interest_groups + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("interest_groups"))] + InterestGroups, + /// /// all /// [System.Runtime.Serialization.EnumMemberAttribute(Value = ("all"))] @@ -22195,6 +22385,192 @@ public double Count } } + /// + /// Enum of interest group access types. + /// + public enum InterestGroupAccessType + { + /// + /// join + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("join"))] + Join, + /// + /// leave + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("leave"))] + Leave, + /// + /// update + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("update"))] + Update, + /// + /// bid + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("bid"))] + Bid, + /// + /// win + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("win"))] + Win + } + + /// + /// Ad advertising element inside an interest group. + /// + [System.Runtime.Serialization.DataContractAttribute] + public class InterestGroupAd : CefSharp.DevTools.DevToolsDomainEntityBase + { + /// + /// RenderUrl + /// + [System.Runtime.Serialization.DataMemberAttribute(Name = ("renderUrl"), IsRequired = (true))] + public string RenderUrl + { + get; + set; + } + + /// + /// Metadata + /// + [System.Runtime.Serialization.DataMemberAttribute(Name = ("metadata"), IsRequired = (false))] + public string Metadata + { + get; + set; + } + } + + /// + /// The full details of an interest group. + /// + [System.Runtime.Serialization.DataContractAttribute] + public class InterestGroupDetails : CefSharp.DevTools.DevToolsDomainEntityBase + { + /// + /// OwnerOrigin + /// + [System.Runtime.Serialization.DataMemberAttribute(Name = ("ownerOrigin"), IsRequired = (true))] + public string OwnerOrigin + { + get; + set; + } + + /// + /// Name + /// + [System.Runtime.Serialization.DataMemberAttribute(Name = ("name"), IsRequired = (true))] + public string Name + { + get; + set; + } + + /// + /// ExpirationTime + /// + [System.Runtime.Serialization.DataMemberAttribute(Name = ("expirationTime"), IsRequired = (true))] + public double ExpirationTime + { + get; + set; + } + + /// + /// JoiningOrigin + /// + [System.Runtime.Serialization.DataMemberAttribute(Name = ("joiningOrigin"), IsRequired = (true))] + public string JoiningOrigin + { + get; + set; + } + + /// + /// BiddingUrl + /// + [System.Runtime.Serialization.DataMemberAttribute(Name = ("biddingUrl"), IsRequired = (false))] + public string BiddingUrl + { + get; + set; + } + + /// + /// BiddingWasmHelperUrl + /// + [System.Runtime.Serialization.DataMemberAttribute(Name = ("biddingWasmHelperUrl"), IsRequired = (false))] + public string BiddingWasmHelperUrl + { + get; + set; + } + + /// + /// UpdateUrl + /// + [System.Runtime.Serialization.DataMemberAttribute(Name = ("updateUrl"), IsRequired = (false))] + public string UpdateUrl + { + get; + set; + } + + /// + /// TrustedBiddingSignalsUrl + /// + [System.Runtime.Serialization.DataMemberAttribute(Name = ("trustedBiddingSignalsUrl"), IsRequired = (false))] + public string TrustedBiddingSignalsUrl + { + get; + set; + } + + /// + /// TrustedBiddingSignalsKeys + /// + [System.Runtime.Serialization.DataMemberAttribute(Name = ("trustedBiddingSignalsKeys"), IsRequired = (true))] + public string[] TrustedBiddingSignalsKeys + { + get; + set; + } + + /// + /// UserBiddingSignals + /// + [System.Runtime.Serialization.DataMemberAttribute(Name = ("userBiddingSignals"), IsRequired = (false))] + public string UserBiddingSignals + { + get; + set; + } + + /// + /// Ads + /// + [System.Runtime.Serialization.DataMemberAttribute(Name = ("ads"), IsRequired = (true))] + public System.Collections.Generic.IList Ads + { + get; + set; + } + + /// + /// AdComponents + /// + [System.Runtime.Serialization.DataMemberAttribute(Name = ("adComponents"), IsRequired = (true))] + public System.Collections.Generic.IList AdComponents + { + get; + set; + } + } + /// /// A cache's contents have been modified. /// @@ -22292,6 +22668,59 @@ public string Origin private set; } } + + /// + /// One of the interest groups was accessed by the associated page. + /// + [System.Runtime.Serialization.DataContractAttribute] + public class InterestGroupAccessedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase + { + /// + /// Type + /// + public CefSharp.DevTools.Storage.InterestGroupAccessType Type + { + get + { + return (CefSharp.DevTools.Storage.InterestGroupAccessType)(StringToEnum(typeof(CefSharp.DevTools.Storage.InterestGroupAccessType), type)); + } + + set + { + this.type = (EnumToString(value)); + } + } + + /// + /// Type + /// + [System.Runtime.Serialization.DataMemberAttribute(Name = ("type"), IsRequired = (true))] + internal string type + { + get; + private set; + } + + /// + /// OwnerOrigin + /// + [System.Runtime.Serialization.DataMemberAttribute(Name = ("ownerOrigin"), IsRequired = (true))] + public string OwnerOrigin + { + get; + private set; + } + + /// + /// Name + /// + [System.Runtime.Serialization.DataMemberAttribute(Name = ("name"), IsRequired = (true))] + public string Name + { + get; + private set; + } + } } namespace CefSharp.DevTools.SystemInfo @@ -25038,6 +25467,18 @@ public bool? HasCredBlob set; } + /// + /// If set to true, the authenticator will support the minPinLength extension. + /// https://fidoalliance.org/specs/fido-v2.1-ps-20210615/fido-client-to-authenticator-protocol-v2.1-ps-20210615.html#sctn-minpinlength-extension + /// Defaults to false. + /// + [System.Runtime.Serialization.DataMemberAttribute(Name = ("hasMinPinLength"), IsRequired = (false))] + public bool? HasMinPinLength + { + get; + set; + } + /// /// If set to true, tests of user presence will succeed immediately. /// Otherwise, they will not be resolved. Defaults to true. @@ -25640,6 +26081,8 @@ public CefSharp.DevTools.Debugger.Location Location /// /// JavaScript script name or url. + /// Deprecated in favor of using the `location.scriptId` to resolve the URL via a previously + /// sent `Debugger.scriptParsed` event. /// [System.Runtime.Serialization.DataMemberAttribute(Name = ("url"), IsRequired = (true))] public string Url @@ -39767,20 +40210,6 @@ public System.Threading.Tasks.Task SetShowScrollBottlene return _client.ExecuteDevToolsMethodAsync("Overlay.setShowScrollBottleneckRects", dict); } - partial void ValidateSetShowHitTestBorders(bool show); - /// - /// Requests that backend shows hit-test borders on layers - /// - /// True for showing hit-test borders - /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> - public System.Threading.Tasks.Task SetShowHitTestBordersAsync(bool show) - { - ValidateSetShowHitTestBorders(show); - var dict = new System.Collections.Generic.Dictionary(); - dict.Add("show", show); - return _client.ExecuteDevToolsMethodAsync("Overlay.setShowHitTestBorders", dict); - } - partial void ValidateSetShowWebVitals(bool show); /// /// Request that backend shows an overlay with web vital metrics. @@ -41653,17 +42082,23 @@ public System.Threading.Tasks.Task GetOriginTrialsAsync return _client.ExecuteDevToolsMethodAsync("Page.getOriginTrials", dict); } - partial void ValidateSetFontFamilies(CefSharp.DevTools.Page.FontFamilies fontFamilies); + partial void ValidateSetFontFamilies(CefSharp.DevTools.Page.FontFamilies fontFamilies, System.Collections.Generic.IList forScripts = null); /// /// Set generic font families. /// /// Specifies font families to set. If a font family is not specified, it won't be changed. + /// Specifies font families to set for individual scripts. /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> - public System.Threading.Tasks.Task SetFontFamiliesAsync(CefSharp.DevTools.Page.FontFamilies fontFamilies) + public System.Threading.Tasks.Task SetFontFamiliesAsync(CefSharp.DevTools.Page.FontFamilies fontFamilies, System.Collections.Generic.IList forScripts = null) { - ValidateSetFontFamilies(fontFamilies); + ValidateSetFontFamilies(fontFamilies, forScripts); var dict = new System.Collections.Generic.Dictionary(); dict.Add("fontFamilies", fontFamilies.ToDictionary()); + if ((forScripts) != (null)) + { + dict.Add("forScripts", forScripts.Select(x => x.ToDictionary())); + } + return _client.ExecuteDevToolsMethodAsync("Page.setFontFamilies", dict); } @@ -42581,6 +43016,34 @@ public bool DidDeleteTokens } } +namespace CefSharp.DevTools.Storage +{ + /// + /// GetInterestGroupDetailsResponse + /// + [System.Runtime.Serialization.DataContractAttribute] + public class GetInterestGroupDetailsResponse : CefSharp.DevTools.DevToolsDomainResponseBase + { + [System.Runtime.Serialization.DataMemberAttribute] + internal CefSharp.DevTools.Storage.InterestGroupDetails details + { + get; + set; + } + + /// + /// details + /// + public CefSharp.DevTools.Storage.InterestGroupDetails Details + { + get + { + return details; + } + } + } +} + namespace CefSharp.DevTools.Storage { using System.Linq; @@ -42664,6 +43127,22 @@ public event System.EventHandler IndexedDBListUpd } } + /// + /// One of the interest groups was accessed by the associated page. + /// + public event System.EventHandler InterestGroupAccessed + { + add + { + _client.AddEventHandler("Storage.interestGroupAccessed", value); + } + + remove + { + _client.RemoveEventHandler("Storage.interestGroupAccessed", value); + } + } + partial void ValidateClearDataForOrigin(string origin, string storageTypes); /// /// Clears storage for origin. @@ -42851,6 +43330,36 @@ public System.Threading.Tasks.Task ClearTrustTokensAsy dict.Add("issuerOrigin", issuerOrigin); return _client.ExecuteDevToolsMethodAsync("Storage.clearTrustTokens", dict); } + + partial void ValidateGetInterestGroupDetails(string ownerOrigin, string name); + /// + /// Gets details for a named interest group. + /// + /// ownerOrigin + /// name + /// returns System.Threading.Tasks.Task<GetInterestGroupDetailsResponse> + public System.Threading.Tasks.Task GetInterestGroupDetailsAsync(string ownerOrigin, string name) + { + ValidateGetInterestGroupDetails(ownerOrigin, name); + var dict = new System.Collections.Generic.Dictionary(); + dict.Add("ownerOrigin", ownerOrigin); + dict.Add("name", name); + return _client.ExecuteDevToolsMethodAsync("Storage.getInterestGroupDetails", dict); + } + + partial void ValidateSetInterestGroupTracking(bool enable); + /// + /// Enables/Disables issuing of interestGroupAccessed events. + /// + /// enable + /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> + public System.Threading.Tasks.Task SetInterestGroupTrackingAsync(bool enable) + { + ValidateSetInterestGroupTracking(enable); + var dict = new System.Collections.Generic.Dictionary(); + dict.Add("enable", enable); + return _client.ExecuteDevToolsMethodAsync("Storage.setInterestGroupTracking", dict); + } } } @@ -47469,6 +47978,34 @@ public CefSharp.DevTools.Runtime.ExceptionDetails ExceptionDetails } } +namespace CefSharp.DevTools.Runtime +{ + /// + /// GetExceptionDetailsResponse + /// + [System.Runtime.Serialization.DataContractAttribute] + public class GetExceptionDetailsResponse : CefSharp.DevTools.DevToolsDomainResponseBase + { + [System.Runtime.Serialization.DataMemberAttribute] + internal CefSharp.DevTools.Runtime.ExceptionDetails exceptionDetails + { + get; + set; + } + + /// + /// exceptionDetails + /// + public CefSharp.DevTools.Runtime.ExceptionDetails ExceptionDetails + { + get + { + return exceptionDetails; + } + } + } +} + namespace CefSharp.DevTools.Runtime { using System.Linq; @@ -48166,6 +48703,24 @@ public System.Threading.Tasks.Task RemoveBindingAsync(st dict.Add("name", name); return _client.ExecuteDevToolsMethodAsync("Runtime.removeBinding", dict); } + + partial void ValidateGetExceptionDetails(string errorObjectId); + /// + /// This method tries to lookup and populate exception details for a + /// JavaScript Error object. + /// Note that the stackTrace portion of the resulting exceptionDetails will + /// only be populated if the Runtime domain was enabled at the time when the + /// Error was thrown. + /// + /// The error object for which to resolve the exception details. + /// returns System.Threading.Tasks.Task<GetExceptionDetailsResponse> + public System.Threading.Tasks.Task GetExceptionDetailsAsync(string errorObjectId) + { + ValidateGetExceptionDetails(errorObjectId); + var dict = new System.Collections.Generic.Dictionary(); + dict.Add("errorObjectId", errorObjectId); + return _client.ExecuteDevToolsMethodAsync("Runtime.getExceptionDetails", dict); + } } } diff --git a/CefSharp/DevTools/DevToolsClient.Generated.netcore.cs b/CefSharp/DevTools/DevToolsClient.Generated.netcore.cs index 70e9fcf44e..586a032bcd 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 98.0.4758.80 +// CHROMIUM VERSION 99.0.4844.51 namespace CefSharp.DevTools.Accessibility { /// @@ -2586,6 +2586,62 @@ public string Message get; set; } + + /// + /// DeprecationType + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("deprecationType")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public string DeprecationType + { + get; + set; + } + } + + /// + /// ClientHintIssueReason + /// + public enum ClientHintIssueReason + { + /// + /// MetaTagAllowListInvalidOrigin + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("MetaTagAllowListInvalidOrigin")] + MetaTagAllowListInvalidOrigin, + /// + /// MetaTagModifiedHTML + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("MetaTagModifiedHTML")] + MetaTagModifiedHTML + } + + /// + /// This issue tracks client hints related issues. It's used to deprecate old + /// features, encourage the use of new ones, and provide general guidance. + /// + public class ClientHintIssueDetails : CefSharp.DevTools.DevToolsDomainEntityBase + { + /// + /// SourceCodeLocation + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("sourceCodeLocation")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public CefSharp.DevTools.Audits.SourceCodeLocation SourceCodeLocation + { + get; + set; + } + + /// + /// ClientHintIssueReason + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("clientHintIssueReason")] + public CefSharp.DevTools.Audits.ClientHintIssueReason ClientHintIssueReason + { + get; + set; + } } /// @@ -2669,7 +2725,12 @@ public enum InspectorIssueCode /// DeprecationIssue /// [System.Text.Json.Serialization.JsonPropertyNameAttribute("DeprecationIssue")] - DeprecationIssue + DeprecationIssue, + /// + /// ClientHintIssue + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("ClientHintIssue")] + ClientHintIssue } /// @@ -2828,6 +2889,16 @@ public CefSharp.DevTools.Audits.DeprecationIssueDetails DeprecationIssueDetails get; set; } + + /// + /// ClientHintIssueDetails + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("clientHintIssueDetails")] + public CefSharp.DevTools.Audits.ClientHintIssueDetails ClientHintIssueDetails + { + get; + set; + } } /// @@ -5396,7 +5467,27 @@ public enum PseudoType /// input-list-button /// [System.Text.Json.Serialization.JsonPropertyNameAttribute("input-list-button")] - InputListButton + InputListButton, + /// + /// transition + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("transition")] + Transition, + /// + /// transition-container + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("transition-container")] + TransitionContainer, + /// + /// transition-old-content + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("transition-old-content")] + TransitionOldContent, + /// + /// transition-new-content + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("transition-new-content")] + TransitionNewContent } /// @@ -16251,7 +16342,12 @@ public enum PermissionsPolicyBlockReason /// IframeAttribute /// [System.Text.Json.Serialization.JsonPropertyNameAttribute("IframeAttribute")] - IframeAttribute + IframeAttribute, + /// + /// InFencedFrameTree + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("InFencedFrameTree")] + InFencedFrameTree } /// @@ -17433,6 +17529,34 @@ public string Pictograph } } + /// + /// Font families collection for a script. + /// + public class ScriptFontFamilies : CefSharp.DevTools.DevToolsDomainEntityBase + { + /// + /// Name of the script which these font families are defined for. + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("script")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public string Script + { + get; + set; + } + + /// + /// Generic font families collection for the script. + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("fontFamilies")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public CefSharp.DevTools.Page.FontFamilies FontFamilies + { + get; + set; + } + } + /// /// Default font sizes. /// @@ -18351,6 +18475,45 @@ public CefSharp.DevTools.Page.BackForwardCacheNotRestoredReason Reason } } + /// + /// BackForwardCacheNotRestoredExplanationTree + /// + public class BackForwardCacheNotRestoredExplanationTree : CefSharp.DevTools.DevToolsDomainEntityBase + { + /// + /// URL of each frame + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("url")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public string Url + { + get; + set; + } + + /// + /// Not restored reasons of each frame + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("explanations")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public System.Collections.Generic.IList Explanations + { + get; + set; + } + + /// + /// Array of children frame + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("children")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public System.Collections.Generic.IList Children + { + get; + set; + } + } + /// /// domContentEventFired /// @@ -19040,6 +19203,17 @@ public System.Collections.Generic.IList + /// Tree structure of reasons why the page could not be cached for each frame. + /// + [System.Text.Json.Serialization.JsonIncludeAttribute] + [System.Text.Json.Serialization.JsonPropertyNameAttribute("notRestoredExplanationsTree")] + public CefSharp.DevTools.Page.BackForwardCacheNotRestoredExplanationTree NotRestoredExplanationsTree + { + get; + private set; + } } /// @@ -20572,6 +20746,11 @@ public enum StorageType [System.Text.Json.Serialization.JsonPropertyNameAttribute("cache_storage")] CacheStorage, /// + /// interest_groups + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("interest_groups")] + InterestGroups, + /// /// all /// [System.Text.Json.Serialization.JsonPropertyNameAttribute("all")] @@ -20637,6 +20816,197 @@ public double Count } } + /// + /// Enum of interest group access types. + /// + public enum InterestGroupAccessType + { + /// + /// join + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("join")] + Join, + /// + /// leave + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("leave")] + Leave, + /// + /// update + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("update")] + Update, + /// + /// bid + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("bid")] + Bid, + /// + /// win + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("win")] + Win + } + + /// + /// Ad advertising element inside an interest group. + /// + public class InterestGroupAd : CefSharp.DevTools.DevToolsDomainEntityBase + { + /// + /// RenderUrl + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("renderUrl")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public string RenderUrl + { + get; + set; + } + + /// + /// Metadata + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("metadata")] + public string Metadata + { + get; + set; + } + } + + /// + /// The full details of an interest group. + /// + public class InterestGroupDetails : CefSharp.DevTools.DevToolsDomainEntityBase + { + /// + /// OwnerOrigin + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("ownerOrigin")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public string OwnerOrigin + { + get; + set; + } + + /// + /// Name + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("name")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public string Name + { + get; + set; + } + + /// + /// ExpirationTime + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("expirationTime")] + public double ExpirationTime + { + get; + set; + } + + /// + /// JoiningOrigin + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("joiningOrigin")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public string JoiningOrigin + { + get; + set; + } + + /// + /// BiddingUrl + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("biddingUrl")] + public string BiddingUrl + { + get; + set; + } + + /// + /// BiddingWasmHelperUrl + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("biddingWasmHelperUrl")] + public string BiddingWasmHelperUrl + { + get; + set; + } + + /// + /// UpdateUrl + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("updateUrl")] + public string UpdateUrl + { + get; + set; + } + + /// + /// TrustedBiddingSignalsUrl + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("trustedBiddingSignalsUrl")] + public string TrustedBiddingSignalsUrl + { + get; + set; + } + + /// + /// TrustedBiddingSignalsKeys + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("trustedBiddingSignalsKeys")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public string[] TrustedBiddingSignalsKeys + { + get; + set; + } + + /// + /// UserBiddingSignals + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("userBiddingSignals")] + public string UserBiddingSignals + { + get; + set; + } + + /// + /// Ads + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("ads")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public System.Collections.Generic.IList Ads + { + get; + set; + } + + /// + /// AdComponents + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("adComponents")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public System.Collections.Generic.IList AdComponents + { + get; + set; + } + } + /// /// A cache's contents have been modified. /// @@ -20744,6 +21114,47 @@ public string Origin private set; } } + + /// + /// One of the interest groups was accessed by the associated page. + /// + public class InterestGroupAccessedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase + { + /// + /// Type + /// + [System.Text.Json.Serialization.JsonIncludeAttribute] + [System.Text.Json.Serialization.JsonPropertyNameAttribute("type")] + public CefSharp.DevTools.Storage.InterestGroupAccessType Type + { + get; + private set; + } + + /// + /// OwnerOrigin + /// + [System.Text.Json.Serialization.JsonIncludeAttribute] + [System.Text.Json.Serialization.JsonPropertyNameAttribute("ownerOrigin")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public string OwnerOrigin + { + get; + private set; + } + + /// + /// Name + /// + [System.Text.Json.Serialization.JsonIncludeAttribute] + [System.Text.Json.Serialization.JsonPropertyNameAttribute("name")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public string Name + { + get; + private set; + } + } } namespace CefSharp.DevTools.SystemInfo @@ -23272,6 +23683,18 @@ public bool? HasCredBlob set; } + /// + /// If set to true, the authenticator will support the minPinLength extension. + /// https://fidoalliance.org/specs/fido-v2.1-ps-20210615/fido-client-to-authenticator-protocol-v2.1-ps-20210615.html#sctn-minpinlength-extension + /// Defaults to false. + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("hasMinPinLength")] + public bool? HasMinPinLength + { + get; + set; + } + /// /// If set to true, tests of user presence will succeed immediately. /// Otherwise, they will not be resolved. Defaults to true. @@ -23852,6 +24275,8 @@ public CefSharp.DevTools.Debugger.Location Location /// /// JavaScript script name or url. + /// Deprecated in favor of using the `location.scriptId` to resolve the URL via a previously + /// sent `Debugger.scriptParsed` event. /// [System.Text.Json.Serialization.JsonPropertyNameAttribute("url")] [System.Diagnostics.CodeAnalysis.DisallowNull] @@ -36810,20 +37235,6 @@ public System.Threading.Tasks.Task SetShowScrollBottlene return _client.ExecuteDevToolsMethodAsync("Overlay.setShowScrollBottleneckRects", dict); } - partial void ValidateSetShowHitTestBorders(bool show); - /// - /// Requests that backend shows hit-test borders on layers - /// - /// True for showing hit-test borders - /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> - public System.Threading.Tasks.Task SetShowHitTestBordersAsync(bool show) - { - ValidateSetShowHitTestBorders(show); - var dict = new System.Collections.Generic.Dictionary(); - dict.Add("show", show); - return _client.ExecuteDevToolsMethodAsync("Overlay.setShowHitTestBorders", dict); - } - partial void ValidateSetShowWebVitals(bool show); /// /// Request that backend shows an overlay with web vital metrics. @@ -38454,17 +38865,23 @@ public System.Threading.Tasks.Task GetOriginTrialsAsync return _client.ExecuteDevToolsMethodAsync("Page.getOriginTrials", dict); } - partial void ValidateSetFontFamilies(CefSharp.DevTools.Page.FontFamilies fontFamilies); + partial void ValidateSetFontFamilies(CefSharp.DevTools.Page.FontFamilies fontFamilies, System.Collections.Generic.IList forScripts = null); /// /// Set generic font families. /// /// Specifies font families to set. If a font family is not specified, it won't be changed. + /// Specifies font families to set for individual scripts. /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> - public System.Threading.Tasks.Task SetFontFamiliesAsync(CefSharp.DevTools.Page.FontFamilies fontFamilies) + public System.Threading.Tasks.Task SetFontFamiliesAsync(CefSharp.DevTools.Page.FontFamilies fontFamilies, System.Collections.Generic.IList forScripts = null) { - ValidateSetFontFamilies(fontFamilies); + ValidateSetFontFamilies(fontFamilies, forScripts); var dict = new System.Collections.Generic.Dictionary(); dict.Add("fontFamilies", fontFamilies.ToDictionary()); + if ((forScripts) != (null)) + { + dict.Add("forScripts", forScripts.Select(x => x.ToDictionary())); + } + return _client.ExecuteDevToolsMethodAsync("Page.setFontFamilies", dict); } @@ -39321,6 +39738,26 @@ public bool DidDeleteTokens } } +namespace CefSharp.DevTools.Storage +{ + /// + /// GetInterestGroupDetailsResponse + /// + public class GetInterestGroupDetailsResponse : CefSharp.DevTools.DevToolsDomainResponseBase + { + /// + /// details + /// + [System.Text.Json.Serialization.JsonIncludeAttribute] + [System.Text.Json.Serialization.JsonPropertyNameAttribute("details")] + public CefSharp.DevTools.Storage.InterestGroupDetails Details + { + get; + private set; + } + } +} + namespace CefSharp.DevTools.Storage { using System.Linq; @@ -39404,6 +39841,22 @@ public event System.EventHandler IndexedDBListUpd } } + /// + /// One of the interest groups was accessed by the associated page. + /// + public event System.EventHandler InterestGroupAccessed + { + add + { + _client.AddEventHandler("Storage.interestGroupAccessed", value); + } + + remove + { + _client.RemoveEventHandler("Storage.interestGroupAccessed", value); + } + } + partial void ValidateClearDataForOrigin(string origin, string storageTypes); /// /// Clears storage for origin. @@ -39591,6 +40044,36 @@ public System.Threading.Tasks.Task ClearTrustTokensAsy dict.Add("issuerOrigin", issuerOrigin); return _client.ExecuteDevToolsMethodAsync("Storage.clearTrustTokens", dict); } + + partial void ValidateGetInterestGroupDetails(string ownerOrigin, string name); + /// + /// Gets details for a named interest group. + /// + /// ownerOrigin + /// name + /// returns System.Threading.Tasks.Task<GetInterestGroupDetailsResponse> + public System.Threading.Tasks.Task GetInterestGroupDetailsAsync(string ownerOrigin, string name) + { + ValidateGetInterestGroupDetails(ownerOrigin, name); + var dict = new System.Collections.Generic.Dictionary(); + dict.Add("ownerOrigin", ownerOrigin); + dict.Add("name", name); + return _client.ExecuteDevToolsMethodAsync("Storage.getInterestGroupDetails", dict); + } + + partial void ValidateSetInterestGroupTracking(bool enable); + /// + /// Enables/Disables issuing of interestGroupAccessed events. + /// + /// enable + /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> + public System.Threading.Tasks.Task SetInterestGroupTrackingAsync(bool enable) + { + ValidateSetInterestGroupTracking(enable); + var dict = new System.Collections.Generic.Dictionary(); + dict.Add("enable", enable); + return _client.ExecuteDevToolsMethodAsync("Storage.setInterestGroupTracking", dict); + } } } @@ -43664,6 +44147,26 @@ public CefSharp.DevTools.Runtime.ExceptionDetails ExceptionDetails } } +namespace CefSharp.DevTools.Runtime +{ + /// + /// GetExceptionDetailsResponse + /// + public class GetExceptionDetailsResponse : CefSharp.DevTools.DevToolsDomainResponseBase + { + /// + /// exceptionDetails + /// + [System.Text.Json.Serialization.JsonIncludeAttribute] + [System.Text.Json.Serialization.JsonPropertyNameAttribute("exceptionDetails")] + public CefSharp.DevTools.Runtime.ExceptionDetails ExceptionDetails + { + get; + private set; + } + } +} + namespace CefSharp.DevTools.Runtime { using System.Linq; @@ -44361,6 +44864,24 @@ public System.Threading.Tasks.Task RemoveBindingAsync(st dict.Add("name", name); return _client.ExecuteDevToolsMethodAsync("Runtime.removeBinding", dict); } + + partial void ValidateGetExceptionDetails(string errorObjectId); + /// + /// This method tries to lookup and populate exception details for a + /// JavaScript Error object. + /// Note that the stackTrace portion of the resulting exceptionDetails will + /// only be populated if the Runtime domain was enabled at the time when the + /// Error was thrown. + /// + /// The error object for which to resolve the exception details. + /// returns System.Threading.Tasks.Task<GetExceptionDetailsResponse> + public System.Threading.Tasks.Task GetExceptionDetailsAsync(string errorObjectId) + { + ValidateGetExceptionDetails(errorObjectId); + var dict = new System.Collections.Generic.Dictionary(); + dict.Add("errorObjectId", errorObjectId); + return _client.ExecuteDevToolsMethodAsync("Runtime.getExceptionDetails", dict); + } } }