diff --git a/CefSharp/DevTools/DevToolsClient.Generated.cs b/CefSharp/DevTools/DevToolsClient.Generated.cs index ba77344b81..92945ffe76 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 95.0.4638.54 +// CHROMIUM VERSION 96.0.4664.55 namespace CefSharp.DevTools.Accessibility { /// @@ -1135,194 +1135,6 @@ public CefSharp.DevTools.Animation.Animation Animation } } -namespace CefSharp.DevTools.ApplicationCache -{ - /// - /// Detailed application cache resource information. - /// - [System.Runtime.Serialization.DataContractAttribute] - public class ApplicationCacheResource : CefSharp.DevTools.DevToolsDomainEntityBase - { - /// - /// Resource url. - /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("url"), IsRequired = (true))] - public string Url - { - get; - set; - } - - /// - /// Resource size. - /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("size"), IsRequired = (true))] - public int Size - { - get; - set; - } - - /// - /// Resource type. - /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("type"), IsRequired = (true))] - public string Type - { - get; - set; - } - } - - /// - /// Detailed application cache information. - /// - [System.Runtime.Serialization.DataContractAttribute] - public class ApplicationCache : CefSharp.DevTools.DevToolsDomainEntityBase - { - /// - /// Manifest URL. - /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("manifestURL"), IsRequired = (true))] - public string ManifestURL - { - get; - set; - } - - /// - /// Application cache size. - /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("size"), IsRequired = (true))] - public double Size - { - get; - set; - } - - /// - /// Application cache creation time. - /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("creationTime"), IsRequired = (true))] - public double CreationTime - { - get; - set; - } - - /// - /// Application cache update time. - /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("updateTime"), IsRequired = (true))] - public double UpdateTime - { - get; - set; - } - - /// - /// Application cache resources. - /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("resources"), IsRequired = (true))] - public System.Collections.Generic.IList Resources - { - get; - set; - } - } - - /// - /// Frame identifier - manifest URL pair. - /// - [System.Runtime.Serialization.DataContractAttribute] - public class FrameWithManifest : CefSharp.DevTools.DevToolsDomainEntityBase - { - /// - /// Frame identifier. - /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("frameId"), IsRequired = (true))] - public string FrameId - { - get; - set; - } - - /// - /// Manifest URL. - /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("manifestURL"), IsRequired = (true))] - public string ManifestURL - { - get; - set; - } - - /// - /// Application cache status. - /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("status"), IsRequired = (true))] - public int Status - { - get; - set; - } - } - - /// - /// applicationCacheStatusUpdated - /// - [System.Runtime.Serialization.DataContractAttribute] - public class ApplicationCacheStatusUpdatedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase - { - /// - /// Identifier of the frame containing document whose application cache updated status. - /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("frameId"), IsRequired = (true))] - public string FrameId - { - get; - private set; - } - - /// - /// Manifest URL. - /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("manifestURL"), IsRequired = (true))] - public string ManifestURL - { - get; - private set; - } - - /// - /// Updated application cache status. - /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("status"), IsRequired = (true))] - public int Status - { - get; - private set; - } - } - - /// - /// networkStateUpdated - /// - [System.Runtime.Serialization.DataContractAttribute] - public class NetworkStateUpdatedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase - { - /// - /// IsNowOnline - /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("isNowOnline"), IsRequired = (true))] - public bool IsNowOnline - { - get; - private set; - } - } -} - namespace CefSharp.DevTools.Audits { /// @@ -2880,6 +2692,61 @@ public bool IsWarning } } + /// + /// GenericIssueErrorType + /// + public enum GenericIssueErrorType + { + /// + /// CrossOriginPortalPostMessageError + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("CrossOriginPortalPostMessageError"))] + CrossOriginPortalPostMessageError + } + + /// + /// Depending on the concrete errorType, different properties are set. + /// + [System.Runtime.Serialization.DataContractAttribute] + public class GenericIssueDetails : CefSharp.DevTools.DevToolsDomainEntityBase + { + /// + /// Issues with the same errorType are aggregated in the frontend. + /// + public CefSharp.DevTools.Audits.GenericIssueErrorType ErrorType + { + get + { + return (CefSharp.DevTools.Audits.GenericIssueErrorType)(StringToEnum(typeof(CefSharp.DevTools.Audits.GenericIssueErrorType), errorType)); + } + + set + { + this.errorType = (EnumToString(value)); + } + } + + /// + /// Issues with the same errorType are aggregated in the frontend. + /// + [System.Runtime.Serialization.DataMemberAttribute(Name = ("errorType"), IsRequired = (true))] + internal string errorType + { + get; + set; + } + + /// + /// FrameId + /// + [System.Runtime.Serialization.DataMemberAttribute(Name = ("frameId"), IsRequired = (false))] + public string FrameId + { + get; + set; + } + } + /// /// A unique identifier for the type of issue. Each type may use one of the /// optional fields in InspectorIssueDetails to convey more specific @@ -2951,7 +2818,12 @@ public enum InspectorIssueCode /// WasmCrossOriginModuleSharingIssue /// [System.Runtime.Serialization.EnumMemberAttribute(Value = ("WasmCrossOriginModuleSharingIssue"))] - WasmCrossOriginModuleSharingIssue + WasmCrossOriginModuleSharingIssue, + /// + /// GenericIssue + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("GenericIssue"))] + GenericIssue } /// @@ -3091,6 +2963,16 @@ public CefSharp.DevTools.Audits.WasmCrossOriginModuleSharingIssueDetails WasmCro get; set; } + + /// + /// GenericIssueDetails + /// + [System.Runtime.Serialization.DataMemberAttribute(Name = ("genericIssueDetails"), IsRequired = (false))] + public CefSharp.DevTools.Audits.GenericIssueDetails GenericIssueDetails + { + get; + set; + } } /// @@ -11445,6 +11327,16 @@ public enum CorsError [System.Runtime.Serialization.EnumMemberAttribute(Value = ("InsecurePrivateNetwork"))] InsecurePrivateNetwork, /// + /// InvalidPrivateNetworkAccess + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("InvalidPrivateNetworkAccess"))] + InvalidPrivateNetworkAccess, + /// + /// UnexpectedPrivateNetworkAccess + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("UnexpectedPrivateNetworkAccess"))] + UnexpectedPrivateNetworkAccess, + /// /// NoCorsRedirectModeNotFollow /// [System.Runtime.Serialization.EnumMemberAttribute(Value = ("NoCorsRedirectModeNotFollow"))] @@ -12498,7 +12390,12 @@ public enum SetCookieBlockedReason /// SamePartyConflictsWithOtherAttributes /// [System.Runtime.Serialization.EnumMemberAttribute(Value = ("SamePartyConflictsWithOtherAttributes"))] - SamePartyConflictsWithOtherAttributes + SamePartyConflictsWithOtherAttributes, + /// + /// NameValuePairExceedsMaxSize + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("NameValuePairExceedsMaxSize"))] + NameValuePairExceedsMaxSize } /// @@ -12570,7 +12467,12 @@ public enum CookieBlockedReason /// SamePartyFromCrossPartyContext /// [System.Runtime.Serialization.EnumMemberAttribute(Value = ("SamePartyFromCrossPartyContext"))] - SamePartyFromCrossPartyContext + SamePartyFromCrossPartyContext, + /// + /// NameValuePairExceedsMaxSize + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("NameValuePairExceedsMaxSize"))] + NameValuePairExceedsMaxSize } /// @@ -13445,7 +13347,17 @@ public enum PrivateNetworkRequestPolicy /// WarnFromInsecureToMorePrivate /// [System.Runtime.Serialization.EnumMemberAttribute(Value = ("WarnFromInsecureToMorePrivate"))] - WarnFromInsecureToMorePrivate + WarnFromInsecureToMorePrivate, + /// + /// PreflightBlock + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("PreflightBlock"))] + PreflightBlock, + /// + /// PreflightWarn + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("PreflightWarn"))] + PreflightWarn } /// @@ -16576,6 +16488,70 @@ public CefSharp.DevTools.Overlay.LineStyle DescendantBorder } } + /// + /// IsolatedElementHighlightConfig + /// + [System.Runtime.Serialization.DataContractAttribute] + public class IsolatedElementHighlightConfig : CefSharp.DevTools.DevToolsDomainEntityBase + { + /// + /// A descriptor for the highlight appearance of an element in isolation mode. + /// + [System.Runtime.Serialization.DataMemberAttribute(Name = ("isolationModeHighlightConfig"), IsRequired = (true))] + public CefSharp.DevTools.Overlay.IsolationModeHighlightConfig IsolationModeHighlightConfig + { + get; + set; + } + + /// + /// Identifier of the isolated element to highlight. + /// + [System.Runtime.Serialization.DataMemberAttribute(Name = ("nodeId"), IsRequired = (true))] + public int NodeId + { + get; + set; + } + } + + /// + /// IsolationModeHighlightConfig + /// + [System.Runtime.Serialization.DataContractAttribute] + public class IsolationModeHighlightConfig : CefSharp.DevTools.DevToolsDomainEntityBase + { + /// + /// The fill color of the resizers (default: transparent). + /// + [System.Runtime.Serialization.DataMemberAttribute(Name = ("resizerColor"), IsRequired = (false))] + public CefSharp.DevTools.DOM.RGBA ResizerColor + { + get; + set; + } + + /// + /// The fill color for resizer handles (default: transparent). + /// + [System.Runtime.Serialization.DataMemberAttribute(Name = ("resizerHandleColor"), IsRequired = (false))] + public CefSharp.DevTools.DOM.RGBA ResizerHandleColor + { + get; + set; + } + + /// + /// The fill color for the mask covering non-isolated elements (default: transparent). + /// + [System.Runtime.Serialization.DataMemberAttribute(Name = ("maskColor"), IsRequired = (false))] + public CefSharp.DevTools.DOM.RGBA MaskColor + { + get; + set; + } + } + /// /// InspectMode /// @@ -16894,11 +16870,6 @@ public enum PermissionsPolicyFeature [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ch-ect"))] ChEct, /// - /// ch-lang - /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ch-lang"))] - ChLang, - /// /// ch-prefers-color-scheme /// [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ch-prefers-color-scheme"))] @@ -17323,7 +17294,12 @@ public enum OriginTrialTokenStatus /// FeatureDisabledForUser /// [System.Runtime.Serialization.EnumMemberAttribute(Value = ("FeatureDisabledForUser"))] - FeatureDisabledForUser + FeatureDisabledForUser, + /// + /// UnknownTrial + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("UnknownTrial"))] + UnknownTrial } /// @@ -19284,6 +19260,11 @@ public enum BackForwardCacheNotRestoredReason [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ContentMediaSessionService"))] ContentMediaSessionService, /// + /// ContentMediaPlay + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ContentMediaPlay"))] + ContentMediaPlay, + /// /// EmbedderPopupBlockerTabHelper /// [System.Runtime.Serialization.EnumMemberAttribute(Value = ("EmbedderPopupBlockerTabHelper"))] @@ -29299,192 +29280,6 @@ public System.Threading.Tasks.Task SetTimingAsync(string } } -namespace CefSharp.DevTools.ApplicationCache -{ - /// - /// GetApplicationCacheForFrameResponse - /// - [System.Runtime.Serialization.DataContractAttribute] - public class GetApplicationCacheForFrameResponse : CefSharp.DevTools.DevToolsDomainResponseBase - { - [System.Runtime.Serialization.DataMemberAttribute] - internal CefSharp.DevTools.ApplicationCache.ApplicationCache applicationCache - { - get; - set; - } - - /// - /// applicationCache - /// - public CefSharp.DevTools.ApplicationCache.ApplicationCache ApplicationCache - { - get - { - return applicationCache; - } - } - } -} - -namespace CefSharp.DevTools.ApplicationCache -{ - /// - /// GetFramesWithManifestsResponse - /// - [System.Runtime.Serialization.DataContractAttribute] - public class GetFramesWithManifestsResponse : CefSharp.DevTools.DevToolsDomainResponseBase - { - [System.Runtime.Serialization.DataMemberAttribute] - internal System.Collections.Generic.IList frameIds - { - get; - set; - } - - /// - /// frameIds - /// - public System.Collections.Generic.IList FrameIds - { - get - { - return frameIds; - } - } - } -} - -namespace CefSharp.DevTools.ApplicationCache -{ - /// - /// GetManifestForFrameResponse - /// - [System.Runtime.Serialization.DataContractAttribute] - public class GetManifestForFrameResponse : CefSharp.DevTools.DevToolsDomainResponseBase - { - [System.Runtime.Serialization.DataMemberAttribute] - internal string manifestURL - { - get; - set; - } - - /// - /// manifestURL - /// - public string ManifestURL - { - get - { - return manifestURL; - } - } - } -} - -namespace CefSharp.DevTools.ApplicationCache -{ - using System.Linq; - - /// - /// ApplicationCache - /// - public partial class ApplicationCacheClient : DevToolsDomainBase - { - private CefSharp.DevTools.IDevToolsClient _client; - /// - /// ApplicationCache - /// - /// DevToolsClient - public ApplicationCacheClient(CefSharp.DevTools.IDevToolsClient client) - { - _client = (client); - } - - /// - /// ApplicationCacheStatusUpdated - /// - public event System.EventHandler ApplicationCacheStatusUpdated - { - add - { - _client.AddEventHandler("ApplicationCache.applicationCacheStatusUpdated", value); - } - - remove - { - _client.RemoveEventHandler("ApplicationCache.applicationCacheStatusUpdated", value); - } - } - - /// - /// NetworkStateUpdated - /// - public event System.EventHandler NetworkStateUpdated - { - add - { - _client.AddEventHandler("ApplicationCache.networkStateUpdated", value); - } - - remove - { - _client.RemoveEventHandler("ApplicationCache.networkStateUpdated", value); - } - } - - /// - /// Enables application cache domain notifications. - /// - /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> - public System.Threading.Tasks.Task EnableAsync() - { - System.Collections.Generic.Dictionary dict = null; - return _client.ExecuteDevToolsMethodAsync("ApplicationCache.enable", dict); - } - - partial void ValidateGetApplicationCacheForFrame(string frameId); - /// - /// Returns relevant application cache data for the document in given frame. - /// - /// Identifier of the frame containing document whose application cache is retrieved. - /// returns System.Threading.Tasks.Task<GetApplicationCacheForFrameResponse> - public System.Threading.Tasks.Task GetApplicationCacheForFrameAsync(string frameId) - { - ValidateGetApplicationCacheForFrame(frameId); - var dict = new System.Collections.Generic.Dictionary(); - dict.Add("frameId", frameId); - return _client.ExecuteDevToolsMethodAsync("ApplicationCache.getApplicationCacheForFrame", dict); - } - - /// - /// Returns array of frame identifiers with manifest urls for each frame containing a document - /// associated with some application cache. - /// - /// returns System.Threading.Tasks.Task<GetFramesWithManifestsResponse> - public System.Threading.Tasks.Task GetFramesWithManifestsAsync() - { - System.Collections.Generic.Dictionary dict = null; - return _client.ExecuteDevToolsMethodAsync("ApplicationCache.getFramesWithManifests", dict); - } - - partial void ValidateGetManifestForFrame(string frameId); - /// - /// Returns manifest URL for document in the given frame. - /// - /// Identifier of the frame containing document whose manifest is retrieved. - /// returns System.Threading.Tasks.Task<GetManifestForFrameResponse> - public System.Threading.Tasks.Task GetManifestForFrameAsync(string frameId) - { - ValidateGetManifestForFrame(frameId); - var dict = new System.Collections.Generic.Dictionary(); - dict.Add("frameId", frameId); - return _client.ExecuteDevToolsMethodAsync("ApplicationCache.getManifestForFrame", dict); - } - } -} - namespace CefSharp.DevTools.Audits { /// @@ -39503,6 +39298,20 @@ public System.Threading.Tasks.Task SetShowHingeAsync(Cef return _client.ExecuteDevToolsMethodAsync("Overlay.setShowHinge", dict); } + + partial void ValidateSetShowIsolatedElements(System.Collections.Generic.IList isolatedElementHighlightConfigs); + /// + /// Show elements in isolation mode with overlays. + /// + /// An array of node identifiers and descriptors for the highlight appearance. + /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> + public System.Threading.Tasks.Task SetShowIsolatedElementsAsync(System.Collections.Generic.IList isolatedElementHighlightConfigs) + { + ValidateSetShowIsolatedElements(isolatedElementHighlightConfigs); + var dict = new System.Collections.Generic.Dictionary(); + dict.Add("isolatedElementHighlightConfigs", isolatedElementHighlightConfigs.Select(x => x.ToDictionary())); + return _client.ExecuteDevToolsMethodAsync("Overlay.setShowIsolatedElements", dict); + } } } @@ -39781,6 +39590,24 @@ public string AppId return appId; } } + + [System.Runtime.Serialization.DataMemberAttribute] + internal string recommendedId + { + get; + set; + } + + /// + /// recommendedId + /// + public string RecommendedId + { + get + { + return recommendedId; + } + } } } @@ -40883,6 +40710,7 @@ public System.Threading.Tasks.Task GetManifestIconsAsy /// /// Returns the unique (PWA) app id. + /// Only returns values if the feature flag 'WebAppEnableManifestId' is enabled /// /// returns System.Threading.Tasks.Task<GetAppIdResponse> public System.Threading.Tasks.Task GetAppIdAsync() @@ -47845,23 +47673,6 @@ public CefSharp.DevTools.Animation.AnimationClient Animation } } - private CefSharp.DevTools.ApplicationCache.ApplicationCacheClient _ApplicationCache; - /// - /// ApplicationCache - /// - public CefSharp.DevTools.ApplicationCache.ApplicationCacheClient ApplicationCache - { - get - { - if ((_ApplicationCache) == (null)) - { - _ApplicationCache = (new CefSharp.DevTools.ApplicationCache.ApplicationCacheClient(this)); - } - - return _ApplicationCache; - } - } - private CefSharp.DevTools.Audits.AuditsClient _Audits; /// /// Audits domain allows investigation of page violations and possible improvements. diff --git a/CefSharp/DevTools/DevToolsClient.Generated.netcore.cs b/CefSharp/DevTools/DevToolsClient.Generated.netcore.cs index 87732ead85..1acda0a910 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 95.0.4638.54 +// CHROMIUM VERSION 96.0.4664.55 namespace CefSharp.DevTools.Accessibility { /// @@ -1060,201 +1060,6 @@ public CefSharp.DevTools.Animation.Animation Animation } } -namespace CefSharp.DevTools.ApplicationCache -{ - /// - /// Detailed application cache resource information. - /// - public class ApplicationCacheResource : CefSharp.DevTools.DevToolsDomainEntityBase - { - /// - /// Resource url. - /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("url")] - [System.Diagnostics.CodeAnalysis.DisallowNull] - public string Url - { - get; - set; - } - - /// - /// Resource size. - /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("size")] - public int Size - { - get; - set; - } - - /// - /// Resource type. - /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("type")] - [System.Diagnostics.CodeAnalysis.DisallowNull] - public string Type - { - get; - set; - } - } - - /// - /// Detailed application cache information. - /// - public class ApplicationCache : CefSharp.DevTools.DevToolsDomainEntityBase - { - /// - /// Manifest URL. - /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("manifestURL")] - [System.Diagnostics.CodeAnalysis.DisallowNull] - public string ManifestURL - { - get; - set; - } - - /// - /// Application cache size. - /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("size")] - public double Size - { - get; - set; - } - - /// - /// Application cache creation time. - /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("creationTime")] - public double CreationTime - { - get; - set; - } - - /// - /// Application cache update time. - /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("updateTime")] - public double UpdateTime - { - get; - set; - } - - /// - /// Application cache resources. - /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("resources")] - [System.Diagnostics.CodeAnalysis.DisallowNull] - public System.Collections.Generic.IList Resources - { - get; - set; - } - } - - /// - /// Frame identifier - manifest URL pair. - /// - public class FrameWithManifest : CefSharp.DevTools.DevToolsDomainEntityBase - { - /// - /// Frame identifier. - /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("frameId")] - [System.Diagnostics.CodeAnalysis.DisallowNull] - public string FrameId - { - get; - set; - } - - /// - /// Manifest URL. - /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("manifestURL")] - [System.Diagnostics.CodeAnalysis.DisallowNull] - public string ManifestURL - { - get; - set; - } - - /// - /// Application cache status. - /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("status")] - public int Status - { - get; - set; - } - } - - /// - /// applicationCacheStatusUpdated - /// - public class ApplicationCacheStatusUpdatedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase - { - /// - /// Identifier of the frame containing document whose application cache updated status. - /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("frameId")] - [System.Diagnostics.CodeAnalysis.DisallowNull] - public string FrameId - { - get; - private set; - } - - /// - /// Manifest URL. - /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("manifestURL")] - [System.Diagnostics.CodeAnalysis.DisallowNull] - public string ManifestURL - { - get; - private set; - } - - /// - /// Updated application cache status. - /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("status")] - public int Status - { - get; - private set; - } - } - - /// - /// networkStateUpdated - /// - public class NetworkStateUpdatedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase - { - /// - /// IsNowOnline - /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("isNowOnline")] - public bool IsNowOnline - { - get; - private set; - } - } -} - namespace CefSharp.DevTools.Audits { /// @@ -2608,6 +2413,44 @@ public bool IsWarning } } + /// + /// GenericIssueErrorType + /// + public enum GenericIssueErrorType + { + /// + /// CrossOriginPortalPostMessageError + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("CrossOriginPortalPostMessageError")] + CrossOriginPortalPostMessageError + } + + /// + /// Depending on the concrete errorType, different properties are set. + /// + public class GenericIssueDetails : CefSharp.DevTools.DevToolsDomainEntityBase + { + /// + /// Issues with the same errorType are aggregated in the frontend. + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("errorType")] + public CefSharp.DevTools.Audits.GenericIssueErrorType ErrorType + { + get; + set; + } + + /// + /// FrameId + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("frameId")] + public string FrameId + { + get; + set; + } + } + /// /// A unique identifier for the type of issue. Each type may use one of the /// optional fields in InspectorIssueDetails to convey more specific @@ -2679,7 +2522,12 @@ public enum InspectorIssueCode /// WasmCrossOriginModuleSharingIssue /// [System.Text.Json.Serialization.JsonPropertyNameAttribute("WasmCrossOriginModuleSharingIssue")] - WasmCrossOriginModuleSharingIssue + WasmCrossOriginModuleSharingIssue, + /// + /// GenericIssue + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("GenericIssue")] + GenericIssue } /// @@ -2818,6 +2666,16 @@ public CefSharp.DevTools.Audits.WasmCrossOriginModuleSharingIssueDetails WasmCro get; set; } + + /// + /// GenericIssueDetails + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("genericIssueDetails")] + public CefSharp.DevTools.Audits.GenericIssueDetails GenericIssueDetails + { + get; + set; + } } /// @@ -10811,6 +10669,16 @@ public enum CorsError [System.Text.Json.Serialization.JsonPropertyNameAttribute("InsecurePrivateNetwork")] InsecurePrivateNetwork, /// + /// InvalidPrivateNetworkAccess + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("InvalidPrivateNetworkAccess")] + InvalidPrivateNetworkAccess, + /// + /// UnexpectedPrivateNetworkAccess + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("UnexpectedPrivateNetworkAccess")] + UnexpectedPrivateNetworkAccess, + /// /// NoCorsRedirectModeNotFollow /// [System.Text.Json.Serialization.JsonPropertyNameAttribute("NoCorsRedirectModeNotFollow")] @@ -11708,7 +11576,12 @@ public enum SetCookieBlockedReason /// SamePartyConflictsWithOtherAttributes /// [System.Text.Json.Serialization.JsonPropertyNameAttribute("SamePartyConflictsWithOtherAttributes")] - SamePartyConflictsWithOtherAttributes + SamePartyConflictsWithOtherAttributes, + /// + /// NameValuePairExceedsMaxSize + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("NameValuePairExceedsMaxSize")] + NameValuePairExceedsMaxSize } /// @@ -11780,7 +11653,12 @@ public enum CookieBlockedReason /// SamePartyFromCrossPartyContext /// [System.Text.Json.Serialization.JsonPropertyNameAttribute("SamePartyFromCrossPartyContext")] - SamePartyFromCrossPartyContext + SamePartyFromCrossPartyContext, + /// + /// NameValuePairExceedsMaxSize + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("NameValuePairExceedsMaxSize")] + NameValuePairExceedsMaxSize } /// @@ -12500,7 +12378,17 @@ public enum PrivateNetworkRequestPolicy /// WarnFromInsecureToMorePrivate /// [System.Text.Json.Serialization.JsonPropertyNameAttribute("WarnFromInsecureToMorePrivate")] - WarnFromInsecureToMorePrivate + WarnFromInsecureToMorePrivate, + /// + /// PreflightBlock + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("PreflightBlock")] + PreflightBlock, + /// + /// PreflightWarn + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("PreflightWarn")] + PreflightWarn } /// @@ -15440,6 +15328,69 @@ public CefSharp.DevTools.Overlay.LineStyle DescendantBorder } } + /// + /// IsolatedElementHighlightConfig + /// + public class IsolatedElementHighlightConfig : CefSharp.DevTools.DevToolsDomainEntityBase + { + /// + /// A descriptor for the highlight appearance of an element in isolation mode. + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("isolationModeHighlightConfig")] + [System.Diagnostics.CodeAnalysis.DisallowNull] + public CefSharp.DevTools.Overlay.IsolationModeHighlightConfig IsolationModeHighlightConfig + { + get; + set; + } + + /// + /// Identifier of the isolated element to highlight. + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("nodeId")] + public int NodeId + { + get; + set; + } + } + + /// + /// IsolationModeHighlightConfig + /// + public class IsolationModeHighlightConfig : CefSharp.DevTools.DevToolsDomainEntityBase + { + /// + /// The fill color of the resizers (default: transparent). + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("resizerColor")] + public CefSharp.DevTools.DOM.RGBA ResizerColor + { + get; + set; + } + + /// + /// The fill color for resizer handles (default: transparent). + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("resizerHandleColor")] + public CefSharp.DevTools.DOM.RGBA ResizerHandleColor + { + get; + set; + } + + /// + /// The fill color for the mask covering non-isolated elements (default: transparent). + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("maskColor")] + public CefSharp.DevTools.DOM.RGBA MaskColor + { + get; + set; + } + } + /// /// InspectMode /// @@ -15726,11 +15677,6 @@ public enum PermissionsPolicyFeature [System.Text.Json.Serialization.JsonPropertyNameAttribute("ch-ect")] ChEct, /// - /// ch-lang - /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ch-lang")] - ChLang, - /// /// ch-prefers-color-scheme /// [System.Text.Json.Serialization.JsonPropertyNameAttribute("ch-prefers-color-scheme")] @@ -16122,7 +16068,12 @@ public enum OriginTrialTokenStatus /// FeatureDisabledForUser /// [System.Text.Json.Serialization.JsonPropertyNameAttribute("FeatureDisabledForUser")] - FeatureDisabledForUser + FeatureDisabledForUser, + /// + /// UnknownTrial + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("UnknownTrial")] + UnknownTrial } /// @@ -17962,6 +17913,11 @@ public enum BackForwardCacheNotRestoredReason [System.Text.Json.Serialization.JsonPropertyNameAttribute("ContentMediaSessionService")] ContentMediaSessionService, /// + /// ContentMediaPlay + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("ContentMediaPlay")] + ContentMediaPlay, + /// /// EmbedderPopupBlockerTabHelper /// [System.Text.Json.Serialization.JsonPropertyNameAttribute("EmbedderPopupBlockerTabHelper")] @@ -27357,168 +27313,6 @@ public System.Threading.Tasks.Task SetTimingAsync(string } } -namespace CefSharp.DevTools.ApplicationCache -{ - /// - /// GetApplicationCacheForFrameResponse - /// - public class GetApplicationCacheForFrameResponse : CefSharp.DevTools.DevToolsDomainResponseBase - { - /// - /// applicationCache - /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("applicationCache")] - public CefSharp.DevTools.ApplicationCache.ApplicationCache ApplicationCache - { - get; - private set; - } - } -} - -namespace CefSharp.DevTools.ApplicationCache -{ - /// - /// GetFramesWithManifestsResponse - /// - public class GetFramesWithManifestsResponse : CefSharp.DevTools.DevToolsDomainResponseBase - { - /// - /// frameIds - /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("frameIds")] - public System.Collections.Generic.IList FrameIds - { - get; - private set; - } - } -} - -namespace CefSharp.DevTools.ApplicationCache -{ - /// - /// GetManifestForFrameResponse - /// - public class GetManifestForFrameResponse : CefSharp.DevTools.DevToolsDomainResponseBase - { - /// - /// manifestURL - /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("manifestURL")] - public string ManifestURL - { - get; - private set; - } - } -} - -namespace CefSharp.DevTools.ApplicationCache -{ - using System.Linq; - - /// - /// ApplicationCache - /// - public partial class ApplicationCacheClient : DevToolsDomainBase - { - private CefSharp.DevTools.IDevToolsClient _client; - /// - /// ApplicationCache - /// - /// DevToolsClient - public ApplicationCacheClient(CefSharp.DevTools.IDevToolsClient client) - { - _client = (client); - } - - /// - /// ApplicationCacheStatusUpdated - /// - public event System.EventHandler ApplicationCacheStatusUpdated - { - add - { - _client.AddEventHandler("ApplicationCache.applicationCacheStatusUpdated", value); - } - - remove - { - _client.RemoveEventHandler("ApplicationCache.applicationCacheStatusUpdated", value); - } - } - - /// - /// NetworkStateUpdated - /// - public event System.EventHandler NetworkStateUpdated - { - add - { - _client.AddEventHandler("ApplicationCache.networkStateUpdated", value); - } - - remove - { - _client.RemoveEventHandler("ApplicationCache.networkStateUpdated", value); - } - } - - /// - /// Enables application cache domain notifications. - /// - /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> - public System.Threading.Tasks.Task EnableAsync() - { - System.Collections.Generic.Dictionary dict = null; - return _client.ExecuteDevToolsMethodAsync("ApplicationCache.enable", dict); - } - - partial void ValidateGetApplicationCacheForFrame(string frameId); - /// - /// Returns relevant application cache data for the document in given frame. - /// - /// Identifier of the frame containing document whose application cache is retrieved. - /// returns System.Threading.Tasks.Task<GetApplicationCacheForFrameResponse> - public System.Threading.Tasks.Task GetApplicationCacheForFrameAsync(string frameId) - { - ValidateGetApplicationCacheForFrame(frameId); - var dict = new System.Collections.Generic.Dictionary(); - dict.Add("frameId", frameId); - return _client.ExecuteDevToolsMethodAsync("ApplicationCache.getApplicationCacheForFrame", dict); - } - - /// - /// Returns array of frame identifiers with manifest urls for each frame containing a document - /// associated with some application cache. - /// - /// returns System.Threading.Tasks.Task<GetFramesWithManifestsResponse> - public System.Threading.Tasks.Task GetFramesWithManifestsAsync() - { - System.Collections.Generic.Dictionary dict = null; - return _client.ExecuteDevToolsMethodAsync("ApplicationCache.getFramesWithManifests", dict); - } - - partial void ValidateGetManifestForFrame(string frameId); - /// - /// Returns manifest URL for document in the given frame. - /// - /// Identifier of the frame containing document whose manifest is retrieved. - /// returns System.Threading.Tasks.Task<GetManifestForFrameResponse> - public System.Threading.Tasks.Task GetManifestForFrameAsync(string frameId) - { - ValidateGetManifestForFrame(frameId); - var dict = new System.Collections.Generic.Dictionary(); - dict.Add("frameId", frameId); - return _client.ExecuteDevToolsMethodAsync("ApplicationCache.getManifestForFrame", dict); - } - } -} - namespace CefSharp.DevTools.Audits { /// @@ -36555,6 +36349,20 @@ public System.Threading.Tasks.Task SetShowHingeAsync(Cef return _client.ExecuteDevToolsMethodAsync("Overlay.setShowHinge", dict); } + + partial void ValidateSetShowIsolatedElements(System.Collections.Generic.IList isolatedElementHighlightConfigs); + /// + /// Show elements in isolation mode with overlays. + /// + /// An array of node identifiers and descriptors for the highlight appearance. + /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> + public System.Threading.Tasks.Task SetShowIsolatedElementsAsync(System.Collections.Generic.IList isolatedElementHighlightConfigs) + { + ValidateSetShowIsolatedElements(isolatedElementHighlightConfigs); + var dict = new System.Collections.Generic.Dictionary(); + dict.Add("isolatedElementHighlightConfigs", isolatedElementHighlightConfigs.Select(x => x.ToDictionary())); + return _client.ExecuteDevToolsMethodAsync("Overlay.setShowIsolatedElements", dict); + } } } @@ -36748,6 +36556,17 @@ public string AppId get; private set; } + + /// + /// recommendedId + /// + [System.Text.Json.Serialization.JsonIncludeAttribute] + [System.Text.Json.Serialization.JsonPropertyNameAttribute("recommendedId")] + public string RecommendedId + { + get; + private set; + } } } @@ -37700,6 +37519,7 @@ public System.Threading.Tasks.Task GetManifestIconsAsy /// /// Returns the unique (PWA) app id. + /// Only returns values if the feature flag 'WebAppEnableManifestId' is enabled /// /// returns System.Threading.Tasks.Task<GetAppIdResponse> public System.Threading.Tasks.Task GetAppIdAsync() @@ -44056,23 +43876,6 @@ public CefSharp.DevTools.Animation.AnimationClient Animation } } - private CefSharp.DevTools.ApplicationCache.ApplicationCacheClient _ApplicationCache; - /// - /// ApplicationCache - /// - public CefSharp.DevTools.ApplicationCache.ApplicationCacheClient ApplicationCache - { - get - { - if ((_ApplicationCache) == (null)) - { - _ApplicationCache = (new CefSharp.DevTools.ApplicationCache.ApplicationCacheClient(this)); - } - - return _ApplicationCache; - } - } - private CefSharp.DevTools.Audits.AuditsClient _Audits; /// /// Audits domain allows investigation of page violations and possible improvements.