diff --git a/CefSharp/DevTools/DevToolsClient.Generated.cs b/CefSharp/DevTools/DevToolsClient.Generated.cs
index df5c0c549..3ee7eb3c9 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 92.0.4515.159
+// CHROMIUM VERSION 93.0.4577.63
namespace CefSharp.DevTools.Accessibility
{
///
@@ -1430,7 +1430,12 @@ namespace CefSharp.DevTools.Audits
/// ExcludeSameSiteStrict
///
[System.Runtime.Serialization.EnumMemberAttribute(Value = ("ExcludeSameSiteStrict"))]
- ExcludeSameSiteStrict
+ ExcludeSameSiteStrict,
+ ///
+ /// ExcludeInvalidSameParty
+ ///
+ [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ExcludeInvalidSameParty"))]
+ ExcludeInvalidSameParty
}
///
@@ -1506,15 +1511,28 @@ namespace CefSharp.DevTools.Audits
public class SameSiteCookieIssueDetails : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
- /// Cookie
+ /// If AffectedCookie is not set then rawCookieLine contains the raw
+ /// Set-Cookie header string. This hints at a problem where the
+ /// cookie line is syntactically or semantically malformed in a way
+ /// that no valid cookie could be created.
///
- [System.Runtime.Serialization.DataMemberAttribute(Name = ("cookie"), IsRequired = (true))]
+ [System.Runtime.Serialization.DataMemberAttribute(Name = ("cookie"), IsRequired = (false))]
public CefSharp.DevTools.Audits.AffectedCookie Cookie
{
get;
set;
}
+ ///
+ /// RawCookieLine
+ ///
+ [System.Runtime.Serialization.DataMemberAttribute(Name = ("rawCookieLine"), IsRequired = (false))]
+ public string RawCookieLine
+ {
+ get;
+ set;
+ }
+
///
/// CookieWarningReasons
///
@@ -2800,6 +2818,53 @@ namespace CefSharp.DevTools.Audits
}
}
+ ///
+ /// WasmCrossOriginModuleSharingIssueDetails
+ ///
+ [System.Runtime.Serialization.DataContractAttribute]
+ public class WasmCrossOriginModuleSharingIssueDetails : CefSharp.DevTools.DevToolsDomainEntityBase
+ {
+ ///
+ /// WasmModuleUrl
+ ///
+ [System.Runtime.Serialization.DataMemberAttribute(Name = ("wasmModuleUrl"), IsRequired = (true))]
+ public string WasmModuleUrl
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// SourceOrigin
+ ///
+ [System.Runtime.Serialization.DataMemberAttribute(Name = ("sourceOrigin"), IsRequired = (true))]
+ public string SourceOrigin
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// TargetOrigin
+ ///
+ [System.Runtime.Serialization.DataMemberAttribute(Name = ("targetOrigin"), IsRequired = (true))]
+ public string TargetOrigin
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// IsWarning
+ ///
+ [System.Runtime.Serialization.DataMemberAttribute(Name = ("isWarning"), IsRequired = (true))]
+ public bool IsWarning
+ {
+ 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
@@ -2866,7 +2931,12 @@ namespace CefSharp.DevTools.Audits
/// NavigatorUserAgentIssue
///
[System.Runtime.Serialization.EnumMemberAttribute(Value = ("NavigatorUserAgentIssue"))]
- NavigatorUserAgentIssue
+ NavigatorUserAgentIssue,
+ ///
+ /// WasmCrossOriginModuleSharingIssue
+ ///
+ [System.Runtime.Serialization.EnumMemberAttribute(Value = ("WasmCrossOriginModuleSharingIssue"))]
+ WasmCrossOriginModuleSharingIssue
}
///
@@ -2996,6 +3066,16 @@ namespace CefSharp.DevTools.Audits
get;
set;
}
+
+ ///
+ /// WasmCrossOriginModuleSharingIssue
+ ///
+ [System.Runtime.Serialization.DataMemberAttribute(Name = ("wasmCrossOriginModuleSharingIssue"), IsRequired = (false))]
+ public CefSharp.DevTools.Audits.WasmCrossOriginModuleSharingIssueDetails WasmCrossOriginModuleSharingIssue
+ {
+ get;
+ set;
+ }
}
///
@@ -3039,6 +3119,17 @@ namespace CefSharp.DevTools.Audits
get;
set;
}
+
+ ///
+ /// A unique id for this issue. May be omitted if no other entity (e.g.
+ /// exception, CDP message, etc.) is referencing this issue.
+ ///
+ [System.Runtime.Serialization.DataMemberAttribute(Name = ("issueId"), IsRequired = (false))]
+ public string IssueId
+ {
+ get;
+ set;
+ }
}
///
@@ -4031,7 +4122,9 @@ namespace CefSharp.DevTools.CSS
}
///
- /// Stylesheet resource URL.
+ /// Stylesheet resource URL. Empty if this is a constructed stylesheet created using
+ /// new CSSStyleSheet() (but non-empty if this is a constructed sylesheet imported
+ /// as a CSS module script).
///
[System.Runtime.Serialization.DataMemberAttribute(Name = ("sourceURL"), IsRequired = (true))]
public string SourceURL
@@ -4141,7 +4234,8 @@ namespace CefSharp.DevTools.CSS
}
///
- /// Whether this stylesheet is a constructed stylesheet (created using new CSSStyleSheet()).
+ /// True if this stylesheet is created through new CSSStyleSheet() or imported as a
+ /// CSS module script.
///
[System.Runtime.Serialization.DataMemberAttribute(Name = ("isConstructed"), IsRequired = (true))]
public bool IsConstructed
@@ -4274,6 +4368,17 @@ namespace CefSharp.DevTools.CSS
get;
set;
}
+
+ ///
+ /// Container query list array (for rules involving container queries).
+ /// The array enumerates container queries starting with the innermost one, going outwards.
+ ///
+ [System.Runtime.Serialization.DataMemberAttribute(Name = ("containerQueries"), IsRequired = (false))]
+ public System.Collections.Generic.IList ContainerQueries
+ {
+ get;
+ set;
+ }
}
///
@@ -4784,6 +4889,54 @@ namespace CefSharp.DevTools.CSS
}
}
+ ///
+ /// CSS container query rule descriptor.
+ ///
+ [System.Runtime.Serialization.DataContractAttribute]
+ public class CSSContainerQuery : CefSharp.DevTools.DevToolsDomainEntityBase
+ {
+ ///
+ /// Container query text.
+ ///
+ [System.Runtime.Serialization.DataMemberAttribute(Name = ("text"), IsRequired = (true))]
+ public string Text
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// The associated rule header range in the enclosing stylesheet (if
+ /// available).
+ ///
+ [System.Runtime.Serialization.DataMemberAttribute(Name = ("range"), IsRequired = (false))]
+ public CefSharp.DevTools.CSS.SourceRange Range
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// Identifier of the stylesheet containing this object (if exists).
+ ///
+ [System.Runtime.Serialization.DataMemberAttribute(Name = ("styleSheetId"), IsRequired = (false))]
+ public string StyleSheetId
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// Optional name for the container.
+ ///
+ [System.Runtime.Serialization.DataMemberAttribute(Name = ("name"), IsRequired = (false))]
+ public string Name
+ {
+ get;
+ set;
+ }
+ }
+
///
/// Information about amount of glyphs that were rendered with given font.
///
@@ -5570,6 +5723,11 @@ namespace CefSharp.DevTools.DOM
[System.Runtime.Serialization.EnumMemberAttribute(Value = ("grammar-error"))]
GrammarError,
///
+ /// highlight
+ ///
+ [System.Runtime.Serialization.EnumMemberAttribute(Value = ("highlight"))]
+ Highlight,
+ ///
/// first-line-inherited
///
[System.Runtime.Serialization.EnumMemberAttribute(Value = ("first-line-inherited"))]
@@ -7501,6 +7659,16 @@ namespace CefSharp.DevTools.DOMSnapshot
set;
}
+ ///
+ /// Type of the shadow root the `Node` is in. String values are equal to the `ShadowRootType` enum.
+ ///
+ [System.Runtime.Serialization.DataMemberAttribute(Name = ("shadowRootType"), IsRequired = (false))]
+ public CefSharp.DevTools.DOMSnapshot.RareStringData ShadowRootType
+ {
+ get;
+ set;
+ }
+
///
/// `Node`'s nodeName.
///
@@ -10741,6 +10909,17 @@ namespace CefSharp.DevTools.Network
get;
set;
}
+
+ ///
+ /// True if this resource request is considered to be the 'same site' as the
+ /// request correspondinfg to the main frame.
+ ///
+ [System.Runtime.Serialization.DataMemberAttribute(Name = ("isSameSite"), IsRequired = (false))]
+ public bool? IsSameSite
+ {
+ get;
+ set;
+ }
}
///
@@ -13419,10 +13598,10 @@ namespace CefSharp.DevTools.Network
[System.Runtime.Serialization.EnumMemberAttribute(Value = ("None"))]
None,
///
- /// CorsOrCredentialless
+ /// Credentialless
///
- [System.Runtime.Serialization.EnumMemberAttribute(Value = ("CorsOrCredentialless"))]
- CorsOrCredentialless,
+ [System.Runtime.Serialization.EnumMemberAttribute(Value = ("Credentialless"))]
+ Credentialless,
///
/// RequireCorp
///
@@ -15033,6 +15212,150 @@ namespace CefSharp.DevTools.Network
private set;
}
}
+
+ ///
+ /// Fired once when parsing the .wbn file has succeeded.
+ /// The event contains the information about the web bundle contents.
+ ///
+ [System.Runtime.Serialization.DataContractAttribute]
+ public class SubresourceWebBundleMetadataReceivedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase
+ {
+ ///
+ /// Request identifier. Used to match this information to another event.
+ ///
+ [System.Runtime.Serialization.DataMemberAttribute(Name = ("requestId"), IsRequired = (true))]
+ public string RequestId
+ {
+ get;
+ private set;
+ }
+
+ ///
+ /// A list of URLs of resources in the subresource Web Bundle.
+ ///
+ [System.Runtime.Serialization.DataMemberAttribute(Name = ("urls"), IsRequired = (true))]
+ public string[] Urls
+ {
+ get;
+ private set;
+ }
+ }
+
+ ///
+ /// Fired once when parsing the .wbn file has failed.
+ ///
+ [System.Runtime.Serialization.DataContractAttribute]
+ public class SubresourceWebBundleMetadataErrorEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase
+ {
+ ///
+ /// Request identifier. Used to match this information to another event.
+ ///
+ [System.Runtime.Serialization.DataMemberAttribute(Name = ("requestId"), IsRequired = (true))]
+ public string RequestId
+ {
+ get;
+ private set;
+ }
+
+ ///
+ /// Error message
+ ///
+ [System.Runtime.Serialization.DataMemberAttribute(Name = ("errorMessage"), IsRequired = (true))]
+ public string ErrorMessage
+ {
+ get;
+ private set;
+ }
+ }
+
+ ///
+ /// Fired when handling requests for resources within a .wbn file.
+ /// Note: this will only be fired for resources that are requested by the webpage.
+ ///
+ [System.Runtime.Serialization.DataContractAttribute]
+ public class SubresourceWebBundleInnerResponseParsedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase
+ {
+ ///
+ /// Request identifier of the subresource request
+ ///
+ [System.Runtime.Serialization.DataMemberAttribute(Name = ("innerRequestId"), IsRequired = (true))]
+ public string InnerRequestId
+ {
+ get;
+ private set;
+ }
+
+ ///
+ /// URL of the subresource resource.
+ ///
+ [System.Runtime.Serialization.DataMemberAttribute(Name = ("innerRequestURL"), IsRequired = (true))]
+ public string InnerRequestURL
+ {
+ get;
+ private set;
+ }
+
+ ///
+ /// Bundle request identifier. Used to match this information to another event.
+ /// This made be absent in case when the instrumentation was enabled only
+ /// after webbundle was parsed.
+ ///
+ [System.Runtime.Serialization.DataMemberAttribute(Name = ("bundleRequestId"), IsRequired = (false))]
+ public string BundleRequestId
+ {
+ get;
+ private set;
+ }
+ }
+
+ ///
+ /// Fired when request for resources within a .wbn file failed.
+ ///
+ [System.Runtime.Serialization.DataContractAttribute]
+ public class SubresourceWebBundleInnerResponseErrorEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase
+ {
+ ///
+ /// Request identifier of the subresource request
+ ///
+ [System.Runtime.Serialization.DataMemberAttribute(Name = ("innerRequestId"), IsRequired = (true))]
+ public string InnerRequestId
+ {
+ get;
+ private set;
+ }
+
+ ///
+ /// URL of the subresource resource.
+ ///
+ [System.Runtime.Serialization.DataMemberAttribute(Name = ("innerRequestURL"), IsRequired = (true))]
+ public string InnerRequestURL
+ {
+ get;
+ private set;
+ }
+
+ ///
+ /// Error message
+ ///
+ [System.Runtime.Serialization.DataMemberAttribute(Name = ("errorMessage"), IsRequired = (true))]
+ public string ErrorMessage
+ {
+ get;
+ private set;
+ }
+
+ ///
+ /// Bundle request identifier. Used to match this information to another event.
+ /// This made be absent in case when the instrumentation was enabled only
+ /// after webbundle was parsed.
+ ///
+ [System.Runtime.Serialization.DataMemberAttribute(Name = ("bundleRequestId"), IsRequired = (false))]
+ public string BundleRequestId
+ {
+ get;
+ private set;
+ }
+ }
}
namespace CefSharp.DevTools.Overlay
@@ -15721,6 +16044,16 @@ namespace CefSharp.DevTools.Overlay
get;
set;
}
+
+ ///
+ /// The container query container highlight configuration (default: all transparent).
+ ///
+ [System.Runtime.Serialization.DataMemberAttribute(Name = ("containerQueryContainerHighlightConfig"), IsRequired = (false))]
+ public CefSharp.DevTools.Overlay.ContainerQueryContainerHighlightConfig ContainerQueryContainerHighlightConfig
+ {
+ get;
+ set;
+ }
}
///
@@ -15910,6 +16243,50 @@ namespace CefSharp.DevTools.Overlay
}
}
+ ///
+ /// ContainerQueryHighlightConfig
+ ///
+ [System.Runtime.Serialization.DataContractAttribute]
+ public class ContainerQueryHighlightConfig : CefSharp.DevTools.DevToolsDomainEntityBase
+ {
+ ///
+ /// A descriptor for the highlight appearance of container query containers.
+ ///
+ [System.Runtime.Serialization.DataMemberAttribute(Name = ("containerQueryContainerHighlightConfig"), IsRequired = (true))]
+ public CefSharp.DevTools.Overlay.ContainerQueryContainerHighlightConfig ContainerQueryContainerHighlightConfig
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// Identifier of the container node to highlight.
+ ///
+ [System.Runtime.Serialization.DataMemberAttribute(Name = ("nodeId"), IsRequired = (true))]
+ public int NodeId
+ {
+ get;
+ set;
+ }
+ }
+
+ ///
+ /// ContainerQueryContainerHighlightConfig
+ ///
+ [System.Runtime.Serialization.DataContractAttribute]
+ public class ContainerQueryContainerHighlightConfig : CefSharp.DevTools.DevToolsDomainEntityBase
+ {
+ ///
+ /// The style of the container border
+ ///
+ [System.Runtime.Serialization.DataMemberAttribute(Name = ("containerBorder"), IsRequired = (false))]
+ public CefSharp.DevTools.Overlay.LineStyle ContainerBorder
+ {
+ get;
+ set;
+ }
+ }
+
///
/// InspectMode
///
@@ -16019,6 +16396,87 @@ namespace CefSharp.DevTools.Page
Root
}
+ ///
+ /// AdFrameExplanation
+ ///
+ public enum AdFrameExplanation
+ {
+ ///
+ /// ParentIsAd
+ ///
+ [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ParentIsAd"))]
+ ParentIsAd,
+ ///
+ /// CreatedByAdScript
+ ///
+ [System.Runtime.Serialization.EnumMemberAttribute(Value = ("CreatedByAdScript"))]
+ CreatedByAdScript,
+ ///
+ /// MatchedBlockingRule
+ ///
+ [System.Runtime.Serialization.EnumMemberAttribute(Value = ("MatchedBlockingRule"))]
+ MatchedBlockingRule
+ }
+
+ ///
+ /// Indicates whether a frame has been identified as an ad and why.
+ ///
+ [System.Runtime.Serialization.DataContractAttribute]
+ public class AdFrameStatus : CefSharp.DevTools.DevToolsDomainEntityBase
+ {
+ ///
+ /// AdFrameType
+ ///
+ public CefSharp.DevTools.Page.AdFrameType AdFrameType
+ {
+ get
+ {
+ return (CefSharp.DevTools.Page.AdFrameType)(StringToEnum(typeof(CefSharp.DevTools.Page.AdFrameType), adFrameType));
+ }
+
+ set
+ {
+ this.adFrameType = (EnumToString(value));
+ }
+ }
+
+ ///
+ /// AdFrameType
+ ///
+ [System.Runtime.Serialization.DataMemberAttribute(Name = ("adFrameType"), IsRequired = (true))]
+ internal string adFrameType
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// Explanations
+ ///
+ public CefSharp.DevTools.Page.AdFrameExplanation[] Explanations
+ {
+ get
+ {
+ return (CefSharp.DevTools.Page.AdFrameExplanation[])(StringToEnum(typeof(CefSharp.DevTools.Page.AdFrameExplanation[]), explanations));
+ }
+
+ set
+ {
+ this.explanations = (EnumToString(value));
+ }
+ }
+
+ ///
+ /// Explanations
+ ///
+ [System.Runtime.Serialization.DataMemberAttribute(Name = ("explanations"), IsRequired = (false))]
+ internal string explanations
+ {
+ get;
+ set;
+ }
+ }
+
///
/// Indicates whether the frame is a secure context and why it is the case.
///
@@ -16172,6 +16630,11 @@ namespace CefSharp.DevTools.Page
[System.Runtime.Serialization.EnumMemberAttribute(Value = ("ch-ua-arch"))]
ChUaArch,
///
+ /// ch-ua-bitness
+ ///
+ [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ch-ua-bitness"))]
+ ChUaBitness,
+ ///
/// ch-ua-platform
///
[System.Runtime.Serialization.EnumMemberAttribute(Value = ("ch-ua-platform"))]
@@ -16908,26 +17371,10 @@ namespace CefSharp.DevTools.Page
}
///
- /// Indicates whether this frame was tagged as an ad.
+ /// Indicates whether this frame was tagged as an ad and why.
///
- public CefSharp.DevTools.Page.AdFrameType? AdFrameType
- {
- get
- {
- return (CefSharp.DevTools.Page.AdFrameType? )(StringToEnum(typeof(CefSharp.DevTools.Page.AdFrameType? ), adFrameType));
- }
-
- set
- {
- this.adFrameType = (EnumToString(value));
- }
- }
-
- ///
- /// Indicates whether this frame was tagged as an ad.
- ///
- [System.Runtime.Serialization.DataMemberAttribute(Name = ("adFrameType"), IsRequired = (false))]
- internal string adFrameType
+ [System.Runtime.Serialization.DataMemberAttribute(Name = ("adFrameStatus"), IsRequired = (false))]
+ public CefSharp.DevTools.Page.AdFrameStatus AdFrameStatus
{
get;
set;
@@ -18007,6 +18454,564 @@ namespace CefSharp.DevTools.Page
BackForwardCacheRestore
}
+ ///
+ /// List of not restored reasons for back-forward cache.
+ ///
+ public enum BackForwardCacheNotRestoredReason
+ {
+ ///
+ /// NotMainFrame
+ ///
+ [System.Runtime.Serialization.EnumMemberAttribute(Value = ("NotMainFrame"))]
+ NotMainFrame,
+ ///
+ /// BackForwardCacheDisabled
+ ///
+ [System.Runtime.Serialization.EnumMemberAttribute(Value = ("BackForwardCacheDisabled"))]
+ BackForwardCacheDisabled,
+ ///
+ /// RelatedActiveContentsExist
+ ///
+ [System.Runtime.Serialization.EnumMemberAttribute(Value = ("RelatedActiveContentsExist"))]
+ RelatedActiveContentsExist,
+ ///
+ /// HTTPStatusNotOK
+ ///
+ [System.Runtime.Serialization.EnumMemberAttribute(Value = ("HTTPStatusNotOK"))]
+ HTTPStatusNotOK,
+ ///
+ /// SchemeNotHTTPOrHTTPS
+ ///
+ [System.Runtime.Serialization.EnumMemberAttribute(Value = ("SchemeNotHTTPOrHTTPS"))]
+ SchemeNotHTTPOrHTTPS,
+ ///
+ /// Loading
+ ///
+ [System.Runtime.Serialization.EnumMemberAttribute(Value = ("Loading"))]
+ Loading,
+ ///
+ /// WasGrantedMediaAccess
+ ///
+ [System.Runtime.Serialization.EnumMemberAttribute(Value = ("WasGrantedMediaAccess"))]
+ WasGrantedMediaAccess,
+ ///
+ /// DisableForRenderFrameHostCalled
+ ///
+ [System.Runtime.Serialization.EnumMemberAttribute(Value = ("DisableForRenderFrameHostCalled"))]
+ DisableForRenderFrameHostCalled,
+ ///
+ /// DomainNotAllowed
+ ///
+ [System.Runtime.Serialization.EnumMemberAttribute(Value = ("DomainNotAllowed"))]
+ DomainNotAllowed,
+ ///
+ /// HTTPMethodNotGET
+ ///
+ [System.Runtime.Serialization.EnumMemberAttribute(Value = ("HTTPMethodNotGET"))]
+ HTTPMethodNotGET,
+ ///
+ /// SubframeIsNavigating
+ ///
+ [System.Runtime.Serialization.EnumMemberAttribute(Value = ("SubframeIsNavigating"))]
+ SubframeIsNavigating,
+ ///
+ /// Timeout
+ ///
+ [System.Runtime.Serialization.EnumMemberAttribute(Value = ("Timeout"))]
+ Timeout,
+ ///
+ /// CacheLimit
+ ///
+ [System.Runtime.Serialization.EnumMemberAttribute(Value = ("CacheLimit"))]
+ CacheLimit,
+ ///
+ /// JavaScriptExecution
+ ///
+ [System.Runtime.Serialization.EnumMemberAttribute(Value = ("JavaScriptExecution"))]
+ JavaScriptExecution,
+ ///
+ /// RendererProcessKilled
+ ///
+ [System.Runtime.Serialization.EnumMemberAttribute(Value = ("RendererProcessKilled"))]
+ RendererProcessKilled,
+ ///
+ /// RendererProcessCrashed
+ ///
+ [System.Runtime.Serialization.EnumMemberAttribute(Value = ("RendererProcessCrashed"))]
+ RendererProcessCrashed,
+ ///
+ /// GrantedMediaStreamAccess
+ ///
+ [System.Runtime.Serialization.EnumMemberAttribute(Value = ("GrantedMediaStreamAccess"))]
+ GrantedMediaStreamAccess,
+ ///
+ /// SchedulerTrackedFeatureUsed
+ ///
+ [System.Runtime.Serialization.EnumMemberAttribute(Value = ("SchedulerTrackedFeatureUsed"))]
+ SchedulerTrackedFeatureUsed,
+ ///
+ /// ConflictingBrowsingInstance
+ ///
+ [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ConflictingBrowsingInstance"))]
+ ConflictingBrowsingInstance,
+ ///
+ /// CacheFlushed
+ ///
+ [System.Runtime.Serialization.EnumMemberAttribute(Value = ("CacheFlushed"))]
+ CacheFlushed,
+ ///
+ /// ServiceWorkerVersionActivation
+ ///
+ [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ServiceWorkerVersionActivation"))]
+ ServiceWorkerVersionActivation,
+ ///
+ /// SessionRestored
+ ///
+ [System.Runtime.Serialization.EnumMemberAttribute(Value = ("SessionRestored"))]
+ SessionRestored,
+ ///
+ /// ServiceWorkerPostMessage
+ ///
+ [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ServiceWorkerPostMessage"))]
+ ServiceWorkerPostMessage,
+ ///
+ /// EnteredBackForwardCacheBeforeServiceWorkerHostAdded
+ ///
+ [System.Runtime.Serialization.EnumMemberAttribute(Value = ("EnteredBackForwardCacheBeforeServiceWorkerHostAdded"))]
+ EnteredBackForwardCacheBeforeServiceWorkerHostAdded,
+ ///
+ /// RenderFrameHostReused_SameSite
+ ///
+ [System.Runtime.Serialization.EnumMemberAttribute(Value = ("RenderFrameHostReused_SameSite"))]
+ RenderFrameHostReusedSameSite,
+ ///
+ /// RenderFrameHostReused_CrossSite
+ ///
+ [System.Runtime.Serialization.EnumMemberAttribute(Value = ("RenderFrameHostReused_CrossSite"))]
+ RenderFrameHostReusedCrossSite,
+ ///
+ /// ServiceWorkerClaim
+ ///
+ [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ServiceWorkerClaim"))]
+ ServiceWorkerClaim,
+ ///
+ /// IgnoreEventAndEvict
+ ///
+ [System.Runtime.Serialization.EnumMemberAttribute(Value = ("IgnoreEventAndEvict"))]
+ IgnoreEventAndEvict,
+ ///
+ /// HaveInnerContents
+ ///
+ [System.Runtime.Serialization.EnumMemberAttribute(Value = ("HaveInnerContents"))]
+ HaveInnerContents,
+ ///
+ /// TimeoutPuttingInCache
+ ///
+ [System.Runtime.Serialization.EnumMemberAttribute(Value = ("TimeoutPuttingInCache"))]
+ TimeoutPuttingInCache,
+ ///
+ /// BackForwardCacheDisabledByLowMemory
+ ///
+ [System.Runtime.Serialization.EnumMemberAttribute(Value = ("BackForwardCacheDisabledByLowMemory"))]
+ BackForwardCacheDisabledByLowMemory,
+ ///
+ /// BackForwardCacheDisabledByCommandLine
+ ///
+ [System.Runtime.Serialization.EnumMemberAttribute(Value = ("BackForwardCacheDisabledByCommandLine"))]
+ BackForwardCacheDisabledByCommandLine,
+ ///
+ /// NetworkRequestDatapipeDrainedAsBytesConsumer
+ ///
+ [System.Runtime.Serialization.EnumMemberAttribute(Value = ("NetworkRequestDatapipeDrainedAsBytesConsumer"))]
+ NetworkRequestDatapipeDrainedAsBytesConsumer,
+ ///
+ /// NetworkRequestRedirected
+ ///
+ [System.Runtime.Serialization.EnumMemberAttribute(Value = ("NetworkRequestRedirected"))]
+ NetworkRequestRedirected,
+ ///
+ /// NetworkRequestTimeout
+ ///
+ [System.Runtime.Serialization.EnumMemberAttribute(Value = ("NetworkRequestTimeout"))]
+ NetworkRequestTimeout,
+ ///
+ /// NetworkExceedsBufferLimit
+ ///
+ [System.Runtime.Serialization.EnumMemberAttribute(Value = ("NetworkExceedsBufferLimit"))]
+ NetworkExceedsBufferLimit,
+ ///
+ /// NavigationCancelledWhileRestoring
+ ///
+ [System.Runtime.Serialization.EnumMemberAttribute(Value = ("NavigationCancelledWhileRestoring"))]
+ NavigationCancelledWhileRestoring,
+ ///
+ /// NotMostRecentNavigationEntry
+ ///
+ [System.Runtime.Serialization.EnumMemberAttribute(Value = ("NotMostRecentNavigationEntry"))]
+ NotMostRecentNavigationEntry,
+ ///
+ /// BackForwardCacheDisabledForPrerender
+ ///
+ [System.Runtime.Serialization.EnumMemberAttribute(Value = ("BackForwardCacheDisabledForPrerender"))]
+ BackForwardCacheDisabledForPrerender,
+ ///
+ /// UserAgentOverrideDiffers
+ ///
+ [System.Runtime.Serialization.EnumMemberAttribute(Value = ("UserAgentOverrideDiffers"))]
+ UserAgentOverrideDiffers,
+ ///
+ /// ForegroundCacheLimit
+ ///
+ [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ForegroundCacheLimit"))]
+ ForegroundCacheLimit,
+ ///
+ /// BrowsingInstanceNotSwapped
+ ///
+ [System.Runtime.Serialization.EnumMemberAttribute(Value = ("BrowsingInstanceNotSwapped"))]
+ BrowsingInstanceNotSwapped,
+ ///
+ /// BackForwardCacheDisabledForDelegate
+ ///
+ [System.Runtime.Serialization.EnumMemberAttribute(Value = ("BackForwardCacheDisabledForDelegate"))]
+ BackForwardCacheDisabledForDelegate,
+ ///
+ /// OptInUnloadHeaderNotPresent
+ ///
+ [System.Runtime.Serialization.EnumMemberAttribute(Value = ("OptInUnloadHeaderNotPresent"))]
+ OptInUnloadHeaderNotPresent,
+ ///
+ /// UnloadHandlerExistsInSubFrame
+ ///
+ [System.Runtime.Serialization.EnumMemberAttribute(Value = ("UnloadHandlerExistsInSubFrame"))]
+ UnloadHandlerExistsInSubFrame,
+ ///
+ /// ServiceWorkerUnregistration
+ ///
+ [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ServiceWorkerUnregistration"))]
+ ServiceWorkerUnregistration,
+ ///
+ /// CacheControlNoStore
+ ///
+ [System.Runtime.Serialization.EnumMemberAttribute(Value = ("CacheControlNoStore"))]
+ CacheControlNoStore,
+ ///
+ /// CacheControlNoStoreCookieModified
+ ///
+ [System.Runtime.Serialization.EnumMemberAttribute(Value = ("CacheControlNoStoreCookieModified"))]
+ CacheControlNoStoreCookieModified,
+ ///
+ /// CacheControlNoStoreHTTPOnlyCookieModified
+ ///
+ [System.Runtime.Serialization.EnumMemberAttribute(Value = ("CacheControlNoStoreHTTPOnlyCookieModified"))]
+ CacheControlNoStoreHTTPOnlyCookieModified,
+ ///
+ /// WebSocket
+ ///
+ [System.Runtime.Serialization.EnumMemberAttribute(Value = ("WebSocket"))]
+ WebSocket,
+ ///
+ /// WebRTC
+ ///
+ [System.Runtime.Serialization.EnumMemberAttribute(Value = ("WebRTC"))]
+ WebRTC,
+ ///
+ /// MainResourceHasCacheControlNoStore
+ ///
+ [System.Runtime.Serialization.EnumMemberAttribute(Value = ("MainResourceHasCacheControlNoStore"))]
+ MainResourceHasCacheControlNoStore,
+ ///
+ /// MainResourceHasCacheControlNoCache
+ ///
+ [System.Runtime.Serialization.EnumMemberAttribute(Value = ("MainResourceHasCacheControlNoCache"))]
+ MainResourceHasCacheControlNoCache,
+ ///
+ /// SubresourceHasCacheControlNoStore
+ ///
+ [System.Runtime.Serialization.EnumMemberAttribute(Value = ("SubresourceHasCacheControlNoStore"))]
+ SubresourceHasCacheControlNoStore,
+ ///
+ /// SubresourceHasCacheControlNoCache
+ ///
+ [System.Runtime.Serialization.EnumMemberAttribute(Value = ("SubresourceHasCacheControlNoCache"))]
+ SubresourceHasCacheControlNoCache,
+ ///
+ /// ContainsPlugins
+ ///
+ [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ContainsPlugins"))]
+ ContainsPlugins,
+ ///
+ /// DocumentLoaded
+ ///
+ [System.Runtime.Serialization.EnumMemberAttribute(Value = ("DocumentLoaded"))]
+ DocumentLoaded,
+ ///
+ /// DedicatedWorkerOrWorklet
+ ///
+ [System.Runtime.Serialization.EnumMemberAttribute(Value = ("DedicatedWorkerOrWorklet"))]
+ DedicatedWorkerOrWorklet,
+ ///
+ /// OutstandingNetworkRequestOthers
+ ///
+ [System.Runtime.Serialization.EnumMemberAttribute(Value = ("OutstandingNetworkRequestOthers"))]
+ OutstandingNetworkRequestOthers,
+ ///
+ /// OutstandingIndexedDBTransaction
+ ///
+ [System.Runtime.Serialization.EnumMemberAttribute(Value = ("OutstandingIndexedDBTransaction"))]
+ OutstandingIndexedDBTransaction,
+ ///
+ /// RequestedNotificationsPermission
+ ///
+ [System.Runtime.Serialization.EnumMemberAttribute(Value = ("RequestedNotificationsPermission"))]
+ RequestedNotificationsPermission,
+ ///
+ /// RequestedMIDIPermission
+ ///
+ [System.Runtime.Serialization.EnumMemberAttribute(Value = ("RequestedMIDIPermission"))]
+ RequestedMIDIPermission,
+ ///
+ /// RequestedAudioCapturePermission
+ ///
+ [System.Runtime.Serialization.EnumMemberAttribute(Value = ("RequestedAudioCapturePermission"))]
+ RequestedAudioCapturePermission,
+ ///
+ /// RequestedVideoCapturePermission
+ ///
+ [System.Runtime.Serialization.EnumMemberAttribute(Value = ("RequestedVideoCapturePermission"))]
+ RequestedVideoCapturePermission,
+ ///
+ /// RequestedBackForwardCacheBlockedSensors
+ ///
+ [System.Runtime.Serialization.EnumMemberAttribute(Value = ("RequestedBackForwardCacheBlockedSensors"))]
+ RequestedBackForwardCacheBlockedSensors,
+ ///
+ /// RequestedBackgroundWorkPermission
+ ///
+ [System.Runtime.Serialization.EnumMemberAttribute(Value = ("RequestedBackgroundWorkPermission"))]
+ RequestedBackgroundWorkPermission,
+ ///
+ /// BroadcastChannel
+ ///
+ [System.Runtime.Serialization.EnumMemberAttribute(Value = ("BroadcastChannel"))]
+ BroadcastChannel,
+ ///
+ /// IndexedDBConnection
+ ///
+ [System.Runtime.Serialization.EnumMemberAttribute(Value = ("IndexedDBConnection"))]
+ IndexedDBConnection,
+ ///
+ /// WebXR
+ ///
+ [System.Runtime.Serialization.EnumMemberAttribute(Value = ("WebXR"))]
+ WebXR,
+ ///
+ /// SharedWorker
+ ///
+ [System.Runtime.Serialization.EnumMemberAttribute(Value = ("SharedWorker"))]
+ SharedWorker,
+ ///
+ /// WebLocks
+ ///
+ [System.Runtime.Serialization.EnumMemberAttribute(Value = ("WebLocks"))]
+ WebLocks,
+ ///
+ /// WebHID
+ ///
+ [System.Runtime.Serialization.EnumMemberAttribute(Value = ("WebHID"))]
+ WebHID,
+ ///
+ /// WebShare
+ ///
+ [System.Runtime.Serialization.EnumMemberAttribute(Value = ("WebShare"))]
+ WebShare,
+ ///
+ /// RequestedStorageAccessGrant
+ ///
+ [System.Runtime.Serialization.EnumMemberAttribute(Value = ("RequestedStorageAccessGrant"))]
+ RequestedStorageAccessGrant,
+ ///
+ /// WebNfc
+ ///
+ [System.Runtime.Serialization.EnumMemberAttribute(Value = ("WebNfc"))]
+ WebNfc,
+ ///
+ /// WebFileSystem
+ ///
+ [System.Runtime.Serialization.EnumMemberAttribute(Value = ("WebFileSystem"))]
+ WebFileSystem,
+ ///
+ /// OutstandingNetworkRequestFetch
+ ///
+ [System.Runtime.Serialization.EnumMemberAttribute(Value = ("OutstandingNetworkRequestFetch"))]
+ OutstandingNetworkRequestFetch,
+ ///
+ /// OutstandingNetworkRequestXHR
+ ///
+ [System.Runtime.Serialization.EnumMemberAttribute(Value = ("OutstandingNetworkRequestXHR"))]
+ OutstandingNetworkRequestXHR,
+ ///
+ /// AppBanner
+ ///
+ [System.Runtime.Serialization.EnumMemberAttribute(Value = ("AppBanner"))]
+ AppBanner,
+ ///
+ /// Printing
+ ///
+ [System.Runtime.Serialization.EnumMemberAttribute(Value = ("Printing"))]
+ Printing,
+ ///
+ /// WebDatabase
+ ///
+ [System.Runtime.Serialization.EnumMemberAttribute(Value = ("WebDatabase"))]
+ WebDatabase,
+ ///
+ /// PictureInPicture
+ ///
+ [System.Runtime.Serialization.EnumMemberAttribute(Value = ("PictureInPicture"))]
+ PictureInPicture,
+ ///
+ /// Portal
+ ///
+ [System.Runtime.Serialization.EnumMemberAttribute(Value = ("Portal"))]
+ Portal,
+ ///
+ /// SpeechRecognizer
+ ///
+ [System.Runtime.Serialization.EnumMemberAttribute(Value = ("SpeechRecognizer"))]
+ SpeechRecognizer,
+ ///
+ /// IdleManager
+ ///
+ [System.Runtime.Serialization.EnumMemberAttribute(Value = ("IdleManager"))]
+ IdleManager,
+ ///
+ /// PaymentManager
+ ///
+ [System.Runtime.Serialization.EnumMemberAttribute(Value = ("PaymentManager"))]
+ PaymentManager,
+ ///
+ /// SpeechSynthesis
+ ///
+ [System.Runtime.Serialization.EnumMemberAttribute(Value = ("SpeechSynthesis"))]
+ SpeechSynthesis,
+ ///
+ /// KeyboardLock
+ ///
+ [System.Runtime.Serialization.EnumMemberAttribute(Value = ("KeyboardLock"))]
+ KeyboardLock,
+ ///
+ /// WebOTPService
+ ///
+ [System.Runtime.Serialization.EnumMemberAttribute(Value = ("WebOTPService"))]
+ WebOTPService,
+ ///
+ /// OutstandingNetworkRequestDirectSocket
+ ///
+ [System.Runtime.Serialization.EnumMemberAttribute(Value = ("OutstandingNetworkRequestDirectSocket"))]
+ OutstandingNetworkRequestDirectSocket,
+ ///
+ /// IsolatedWorldScript
+ ///
+ [System.Runtime.Serialization.EnumMemberAttribute(Value = ("IsolatedWorldScript"))]
+ IsolatedWorldScript,
+ ///
+ /// InjectedStyleSheet
+ ///
+ [System.Runtime.Serialization.EnumMemberAttribute(Value = ("InjectedStyleSheet"))]
+ InjectedStyleSheet,
+ ///
+ /// MediaSessionImplOnServiceCreated
+ ///
+ [System.Runtime.Serialization.EnumMemberAttribute(Value = ("MediaSessionImplOnServiceCreated"))]
+ MediaSessionImplOnServiceCreated,
+ ///
+ /// Unknown
+ ///
+ [System.Runtime.Serialization.EnumMemberAttribute(Value = ("Unknown"))]
+ Unknown
+ }
+
+ ///
+ /// Types of not restored reasons for back-forward cache.
+ ///
+ public enum BackForwardCacheNotRestoredReasonType
+ {
+ ///
+ /// SupportPending
+ ///
+ [System.Runtime.Serialization.EnumMemberAttribute(Value = ("SupportPending"))]
+ SupportPending,
+ ///
+ /// PageSupportNeeded
+ ///
+ [System.Runtime.Serialization.EnumMemberAttribute(Value = ("PageSupportNeeded"))]
+ PageSupportNeeded,
+ ///
+ /// Circumstantial
+ ///
+ [System.Runtime.Serialization.EnumMemberAttribute(Value = ("Circumstantial"))]
+ Circumstantial
+ }
+
+ ///
+ /// BackForwardCacheNotRestoredExplanation
+ ///
+ [System.Runtime.Serialization.DataContractAttribute]
+ public class BackForwardCacheNotRestoredExplanation : CefSharp.DevTools.DevToolsDomainEntityBase
+ {
+ ///
+ /// Type of the reason
+ ///
+ public CefSharp.DevTools.Page.BackForwardCacheNotRestoredReasonType Type
+ {
+ get
+ {
+ return (CefSharp.DevTools.Page.BackForwardCacheNotRestoredReasonType)(StringToEnum(typeof(CefSharp.DevTools.Page.BackForwardCacheNotRestoredReasonType), type));
+ }
+
+ set
+ {
+ this.type = (EnumToString(value));
+ }
+ }
+
+ ///
+ /// Type of the reason
+ ///
+ [System.Runtime.Serialization.DataMemberAttribute(Name = ("type"), IsRequired = (true))]
+ internal string type
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// Not restored reason
+ ///
+ public CefSharp.DevTools.Page.BackForwardCacheNotRestoredReason Reason
+ {
+ get
+ {
+ return (CefSharp.DevTools.Page.BackForwardCacheNotRestoredReason)(StringToEnum(typeof(CefSharp.DevTools.Page.BackForwardCacheNotRestoredReason), reason));
+ }
+
+ set
+ {
+ this.reason = (EnumToString(value));
+ }
+ }
+
+ ///
+ /// Not restored reason
+ ///
+ [System.Runtime.Serialization.DataMemberAttribute(Name = ("reason"), IsRequired = (true))]
+ internal string reason
+ {
+ get;
+ set;
+ }
+ }
+
///
/// domContentEventFired
///
@@ -18759,6 +19764,16 @@ namespace CefSharp.DevTools.Page
get;
private set;
}
+
+ ///
+ /// Array of reasons why the page could not be cached. This must not be empty.
+ ///
+ [System.Runtime.Serialization.DataMemberAttribute(Name = ("notRestoredExplanations"), IsRequired = (true))]
+ public System.Collections.Generic.IList NotRestoredExplanations
+ {
+ get;
+ private set;
+ }
}
///
@@ -25585,7 +26600,7 @@ namespace CefSharp.DevTools.Profiler
/// Reports coverage delta since the last poll (either from an event like this, or from
/// `takePreciseCoverage` for the current isolate. May only be sent if precise code
/// coverage has been started. This event can be trigged by the embedder to, for example,
- /// trigger collection of coverage data immediatelly at a certain point in time.
+ /// trigger collection of coverage data immediately at a certain point in time.
///
[System.Runtime.Serialization.DataContractAttribute]
public class PreciseCoverageDeltaUpdateEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase
@@ -25603,8 +26618,8 @@ namespace CefSharp.DevTools.Profiler
///
/// Identifier for distinguishing coverage events.
///
- [System.Runtime.Serialization.DataMemberAttribute(Name = ("occassion"), IsRequired = (true))]
- public string Occassion
+ [System.Runtime.Serialization.DataMemberAttribute(Name = ("occasion"), IsRequired = (true))]
+ public string Occasion
{
get;
private set;
@@ -26720,7 +27735,7 @@ namespace CefSharp.DevTools.Runtime
}
///
- /// A system-unique execution context identifier. Unlike the id, this is unique accross
+ /// A system-unique execution context identifier. Unlike the id, this is unique across
/// multiple processes, so can be reliably used to identify specific context while backend
/// performs a cross-process navigation.
///
@@ -26838,6 +27853,18 @@ namespace CefSharp.DevTools.Runtime
get;
set;
}
+
+ ///
+ /// Dictionary with entries of meta data that the client associated
+ /// with this exception, such as information about associated network
+ /// requests, etc.
+ ///
+ [System.Runtime.Serialization.DataMemberAttribute(Name = ("exceptionMetaData"), IsRequired = (false))]
+ public object ExceptionMetaData
+ {
+ get;
+ set;
+ }
}
///
@@ -29512,6 +30539,34 @@ namespace CefSharp.DevTools.CSS
}
}
+namespace CefSharp.DevTools.CSS
+{
+ ///
+ /// SetContainerQueryTextResponse
+ ///
+ [System.Runtime.Serialization.DataContractAttribute]
+ public class SetContainerQueryTextResponse : CefSharp.DevTools.DevToolsDomainResponseBase
+ {
+ [System.Runtime.Serialization.DataMemberAttribute]
+ internal CefSharp.DevTools.CSS.CSSContainerQuery containerQuery
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// containerQuery
+ ///
+ public CefSharp.DevTools.CSS.CSSContainerQuery ContainerQuery
+ {
+ get
+ {
+ return containerQuery;
+ }
+ }
+ }
+}
+
namespace CefSharp.DevTools.CSS
{
///
@@ -30041,6 +31096,24 @@ namespace CefSharp.DevTools.CSS
return _client.ExecuteDevToolsMethodAsync("CSS.setMediaText", dict);
}
+ partial void ValidateSetContainerQueryText(string styleSheetId, CefSharp.DevTools.CSS.SourceRange range, string text);
+ ///
+ /// Modifies the expression of a container query.
+ ///
+ /// styleSheetId
+ /// range
+ /// text
+ /// returns System.Threading.Tasks.Task<SetContainerQueryTextResponse>
+ public System.Threading.Tasks.Task SetContainerQueryTextAsync(string styleSheetId, CefSharp.DevTools.CSS.SourceRange range, string text)
+ {
+ ValidateSetContainerQueryText(styleSheetId, range, text);
+ var dict = new System.Collections.Generic.Dictionary();
+ dict.Add("styleSheetId", styleSheetId);
+ dict.Add("range", range.ToDictionary());
+ dict.Add("text", text);
+ return _client.ExecuteDevToolsMethodAsync("CSS.setContainerQueryText", dict);
+ }
+
partial void ValidateSetRuleSelector(string styleSheetId, CefSharp.DevTools.CSS.SourceRange range, string selector);
///
/// Modifies the rule selector.
@@ -31229,6 +32302,34 @@ namespace CefSharp.DevTools.DOM
}
}
+namespace CefSharp.DevTools.DOM
+{
+ ///
+ /// GetContainerForNodeResponse
+ ///
+ [System.Runtime.Serialization.DataContractAttribute]
+ public class GetContainerForNodeResponse : CefSharp.DevTools.DevToolsDomainResponseBase
+ {
+ [System.Runtime.Serialization.DataMemberAttribute]
+ internal int? nodeId
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// nodeId
+ ///
+ public int? NodeId
+ {
+ get
+ {
+ return nodeId;
+ }
+ }
+ }
+}
+
namespace CefSharp.DevTools.DOM
{
using System.Linq;
@@ -32340,6 +33441,28 @@ namespace CefSharp.DevTools.DOM
dict.Add("frameId", frameId);
return _client.ExecuteDevToolsMethodAsync("DOM.getFrameOwner", dict);
}
+
+ partial void ValidateGetContainerForNode(int nodeId, string containerName = null);
+ ///
+ /// Returns the container of the given node based on container query conditions.
+ /// If containerName is given, it will find the nearest container with a matching name;
+ /// otherwise it will find the nearest container regardless of its container name.
+ ///
+ /// nodeId
+ /// containerName
+ /// returns System.Threading.Tasks.Task<GetContainerForNodeResponse>
+ public System.Threading.Tasks.Task GetContainerForNodeAsync(int nodeId, string containerName = null)
+ {
+ ValidateGetContainerForNode(nodeId, containerName);
+ var dict = new System.Collections.Generic.Dictionary();
+ dict.Add("nodeId", nodeId);
+ if (!(string.IsNullOrEmpty(containerName)))
+ {
+ dict.Add("containerName", containerName);
+ }
+
+ return _client.ExecuteDevToolsMethodAsync("DOM.getContainerForNode", dict);
+ }
}
}
@@ -36609,6 +37732,72 @@ namespace CefSharp.DevTools.Network
}
}
+ ///
+ /// Fired once when parsing the .wbn file has succeeded.
+ /// The event contains the information about the web bundle contents.
+ ///
+ public event System.EventHandler SubresourceWebBundleMetadataReceived
+ {
+ add
+ {
+ _client.AddEventHandler("Network.subresourceWebBundleMetadataReceived", value);
+ }
+
+ remove
+ {
+ _client.RemoveEventHandler("Network.subresourceWebBundleMetadataReceived", value);
+ }
+ }
+
+ ///
+ /// Fired once when parsing the .wbn file has failed.
+ ///
+ public event System.EventHandler SubresourceWebBundleMetadataError
+ {
+ add
+ {
+ _client.AddEventHandler("Network.subresourceWebBundleMetadataError", value);
+ }
+
+ remove
+ {
+ _client.RemoveEventHandler("Network.subresourceWebBundleMetadataError", value);
+ }
+ }
+
+ ///
+ /// Fired when handling requests for resources within a .wbn file.
+ /// Note: this will only be fired for resources that are requested by the webpage.
+ ///
+ public event System.EventHandler SubresourceWebBundleInnerResponseParsed
+ {
+ add
+ {
+ _client.AddEventHandler("Network.subresourceWebBundleInnerResponseParsed", value);
+ }
+
+ remove
+ {
+ _client.RemoveEventHandler("Network.subresourceWebBundleInnerResponseParsed", value);
+ }
+ }
+
+ ///
+ /// Fired when request for resources within a .wbn file failed.
+ ///
+ public event System.EventHandler SubresourceWebBundleInnerResponseError
+ {
+ add
+ {
+ _client.AddEventHandler("Network.subresourceWebBundleInnerResponseError", value);
+ }
+
+ remove
+ {
+ _client.RemoveEventHandler("Network.subresourceWebBundleInnerResponseError", value);
+ }
+ }
+
partial void ValidateSetAcceptedEncodings(CefSharp.DevTools.Network.ContentEncoding[] encodings);
///
/// Sets a list of content encodings that will be accepted. Empty list means no encoding is accepted.
@@ -37036,22 +38225,6 @@ namespace CefSharp.DevTools.Network
return _client.ExecuteDevToolsMethodAsync("Network.setCookies", dict);
}
- partial void ValidateSetDataSizeLimitsForTest(int maxTotalSize, int maxResourceSize);
- ///
- /// For testing.
- ///
- /// Maximum total buffer size.
- /// Maximum per-resource size.
- /// returns System.Threading.Tasks.Task<DevToolsMethodResponse>
- public System.Threading.Tasks.Task SetDataSizeLimitsForTestAsync(int maxTotalSize, int maxResourceSize)
- {
- ValidateSetDataSizeLimitsForTest(maxTotalSize, maxResourceSize);
- var dict = new System.Collections.Generic.Dictionary();
- dict.Add("maxTotalSize", maxTotalSize);
- dict.Add("maxResourceSize", maxResourceSize);
- return _client.ExecuteDevToolsMethodAsync("Network.setDataSizeLimitsForTest", dict);
- }
-
partial void ValidateSetExtraHTTPHeaders(CefSharp.DevTools.Network.Headers headers);
///
/// Specifies whether to always send extra HTTP headers with the requests from this page.
@@ -37414,32 +38587,6 @@ namespace CefSharp.DevTools.Overlay
return _client.ExecuteDevToolsMethodAsync("Overlay.hideHighlight", dict);
}
- partial void ValidateHighlightFrame(string frameId, CefSharp.DevTools.DOM.RGBA contentColor = null, CefSharp.DevTools.DOM.RGBA contentOutlineColor = null);
- ///
- /// Highlights owner element of the frame with given id.
- ///
- /// Identifier of the frame to highlight.
- /// The content box highlight fill color (default: transparent).
- /// The content box highlight outline color (default: transparent).
- /// returns System.Threading.Tasks.Task<DevToolsMethodResponse>
- public System.Threading.Tasks.Task HighlightFrameAsync(string frameId, CefSharp.DevTools.DOM.RGBA contentColor = null, CefSharp.DevTools.DOM.RGBA contentOutlineColor = null)
- {
- ValidateHighlightFrame(frameId, contentColor, contentOutlineColor);
- var dict = new System.Collections.Generic.Dictionary();
- dict.Add("frameId", frameId);
- if ((contentColor) != (null))
- {
- dict.Add("contentColor", contentColor.ToDictionary());
- }
-
- if ((contentOutlineColor) != (null))
- {
- dict.Add("contentOutlineColor", contentOutlineColor.ToDictionary());
- }
-
- return _client.ExecuteDevToolsMethodAsync("Overlay.highlightFrame", dict);
- }
-
partial void ValidateHighlightNode(CefSharp.DevTools.Overlay.HighlightConfig highlightConfig, int? nodeId = null, int? backendNodeId = null, string objectId = null, string selector = null);
///
/// Highlights DOM node with given id or with the given JavaScript object wrapper. Either nodeId or
@@ -37693,6 +38840,20 @@ namespace CefSharp.DevTools.Overlay
return _client.ExecuteDevToolsMethodAsync("Overlay.setShowScrollSnapOverlays", dict);
}
+ partial void ValidateSetShowContainerQueryOverlays(System.Collections.Generic.IList containerQueryHighlightConfigs);
+ ///
+ /// SetShowContainerQueryOverlays
+ ///
+ /// An array of node identifiers and descriptors for the highlight appearance.
+ /// returns System.Threading.Tasks.Task<DevToolsMethodResponse>
+ public System.Threading.Tasks.Task SetShowContainerQueryOverlaysAsync(System.Collections.Generic.IList containerQueryHighlightConfigs)
+ {
+ ValidateSetShowContainerQueryOverlays(containerQueryHighlightConfigs);
+ var dict = new System.Collections.Generic.Dictionary();
+ dict.Add("containerQueryHighlightConfigs", containerQueryHighlightConfigs.Select(x => x.ToDictionary()));
+ return _client.ExecuteDevToolsMethodAsync("Overlay.setShowContainerQueryOverlays", dict);
+ }
+
partial void ValidateSetShowPaintRects(bool result);
///
/// Requests that backend shows paint rectangles
@@ -38497,7 +39658,12 @@ namespace CefSharp.DevTools.Page
/// png
///
[System.Runtime.Serialization.EnumMemberAttribute(Value = ("png"))]
- Png
+ Png,
+ ///
+ /// webp
+ ///
+ [System.Runtime.Serialization.EnumMemberAttribute(Value = ("webp"))]
+ Webp
}
///
@@ -43508,7 +44674,7 @@ namespace CefSharp.DevTools.Debugger
/// Enables debugger for the given page. Clients should not assume that the debugging has been
/// enabled until the result for this command is received.
///
- /// The maximum size in bytes of collected scripts (not referenced by other heap objects)the debugger can hold. Puts no limit if paramter is omitted.
+ /// The maximum size in bytes of collected scripts (not referenced by other heap objects)the debugger can hold. Puts no limit if parameter is omitted.
/// returns System.Threading.Tasks.Task<EnableResponse>
public System.Threading.Tasks.Task EnableAsync(double? maxScriptsCacheSize = null)
{
@@ -44394,7 +45560,7 @@ namespace CefSharp.DevTools.HeapProfiler
/// TakeHeapSnapshot
///
/// If true 'reportHeapSnapshotProgress' events will be generated while snapshot is being taken.
- /// If true, a raw snapshot without artifical roots will be generated
+ /// If true, a raw snapshot without artificial roots will be generated
/// If true, numerical values are included in the snapshot
/// returns System.Threading.Tasks.Task<DevToolsMethodResponse>
public System.Threading.Tasks.Task TakeHeapSnapshotAsync(bool? reportProgress = null, bool? treatGlobalObjectsAsRoots = null, bool? captureNumericValue = null)
@@ -44690,7 +45856,7 @@ namespace CefSharp.DevTools.Profiler
/// Reports coverage delta since the last poll (either from an event like this, or from
/// `takePreciseCoverage` for the current isolate. May only be sent if precise code
/// coverage has been started. This event can be trigged by the embedder to, for example,
- /// trigger collection of coverage data immediatelly at a certain point in time.
+ /// trigger collection of coverage data immediately at a certain point in time.
///
public event System.EventHandler PreciseCoverageDeltaUpdate
{
@@ -45536,7 +46702,7 @@ namespace CefSharp.DevTools.Runtime
return _client.ExecuteDevToolsMethodAsync("Runtime.awaitPromise", dict);
}
- partial void ValidateCallFunctionOn(string functionDeclaration, string objectId = null, System.Collections.Generic.IList arguments = null, bool? silent = null, bool? returnByValue = null, bool? generatePreview = null, bool? userGesture = null, bool? awaitPromise = null, int? executionContextId = null, string objectGroup = null);
+ partial void ValidateCallFunctionOn(string functionDeclaration, string objectId = null, System.Collections.Generic.IList arguments = null, bool? silent = null, bool? returnByValue = null, bool? generatePreview = null, bool? userGesture = null, bool? awaitPromise = null, int? executionContextId = null, string objectGroup = null, bool? throwOnSideEffect = null);
///
/// Calls function with given declaration on the given object. Object group of the result is
/// inherited from the target object.
@@ -45551,10 +46717,11 @@ namespace CefSharp.DevTools.Runtime
/// Whether execution should `await` for resulting value and return once awaited promise isresolved.
/// Specifies execution context which global object will be used to call function on. EitherexecutionContextId or objectId should be specified.
/// Symbolic group name that can be used to release multiple objects. If objectGroup is notspecified and objectId is, objectGroup will be inherited from object.
+ /// Whether to throw an exception if side effect cannot be ruled out during evaluation.
/// returns System.Threading.Tasks.Task<CallFunctionOnResponse>
- public System.Threading.Tasks.Task CallFunctionOnAsync(string functionDeclaration, string objectId = null, System.Collections.Generic.IList arguments = null, bool? silent = null, bool? returnByValue = null, bool? generatePreview = null, bool? userGesture = null, bool? awaitPromise = null, int? executionContextId = null, string objectGroup = null)
+ public System.Threading.Tasks.Task CallFunctionOnAsync(string functionDeclaration, string objectId = null, System.Collections.Generic.IList arguments = null, bool? silent = null, bool? returnByValue = null, bool? generatePreview = null, bool? userGesture = null, bool? awaitPromise = null, int? executionContextId = null, string objectGroup = null, bool? throwOnSideEffect = null)
{
- ValidateCallFunctionOn(functionDeclaration, objectId, arguments, silent, returnByValue, generatePreview, userGesture, awaitPromise, executionContextId, objectGroup);
+ ValidateCallFunctionOn(functionDeclaration, objectId, arguments, silent, returnByValue, generatePreview, userGesture, awaitPromise, executionContextId, objectGroup, throwOnSideEffect);
var dict = new System.Collections.Generic.Dictionary();
dict.Add("functionDeclaration", functionDeclaration);
if (!(string.IsNullOrEmpty(objectId)))
@@ -45602,6 +46769,11 @@ namespace CefSharp.DevTools.Runtime
dict.Add("objectGroup", objectGroup);
}
+ if (throwOnSideEffect.HasValue)
+ {
+ dict.Add("throwOnSideEffect", throwOnSideEffect.Value);
+ }
+
return _client.ExecuteDevToolsMethodAsync("Runtime.callFunctionOn", dict);
}
@@ -45679,7 +46851,7 @@ namespace CefSharp.DevTools.Runtime
/// Disable breakpoints during execution.
/// Setting this flag to true enables `let` re-declaration and top-level `await`.Note that `let` variables can only be re-declared if they originate from`replMode` themselves.
/// The Content Security Policy (CSP) for the target might block 'unsafe-eval'which includes eval(), Function(), setTimeout() and setInterval()when called with non-callable arguments. This flag bypasses CSP for thisevaluation and allows unsafe-eval. Defaults to true.
- /// An alternative way to specify the execution context to evaluate in.Compared to contextId that may be reused accross processes, this is guaranteed to besystem-unique, so it can be used to prevent accidental evaluation of the expressionin context different than intended (e.g. as a result of navigation accross processboundaries).This is mutually exclusive with `contextId`.
+ /// An alternative way to specify the execution context to evaluate in.Compared to contextId that may be reused across processes, this is guaranteed to besystem-unique, so it can be used to prevent accidental evaluation of the expressionin context different than intended (e.g. as a result of navigation across processboundaries).This is mutually exclusive with `contextId`.
/// returns System.Threading.Tasks.Task<EvaluateResponse>
public System.Threading.Tasks.Task EvaluateAsync(string expression, string objectGroup = null, bool? includeCommandLineAPI = null, bool? silent = null, int? contextId = null, bool? returnByValue = null, bool? generatePreview = null, bool? userGesture = null, bool? awaitPromise = null, bool? throwOnSideEffect = null, double? timeout = null, bool? disableBreaks = null, bool? replMode = null, bool? allowUnsafeEvalBlockedByCSP = null, string uniqueContextId = null)
{
diff --git a/CefSharp/DevTools/DevToolsClient.Generated.netcore.cs b/CefSharp/DevTools/DevToolsClient.Generated.netcore.cs
index 20cc36d07..aa4a9a967 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 92.0.4515.159
+// CHROMIUM VERSION 93.0.4577.63
namespace CefSharp.DevTools.Accessibility
{
///
@@ -1364,7 +1364,12 @@ namespace CefSharp.DevTools.Audits
/// ExcludeSameSiteStrict
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("ExcludeSameSiteStrict")]
- ExcludeSameSiteStrict
+ ExcludeSameSiteStrict,
+ ///
+ /// ExcludeInvalidSameParty
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("ExcludeInvalidSameParty")]
+ ExcludeInvalidSameParty
}
///
@@ -1439,16 +1444,28 @@ namespace CefSharp.DevTools.Audits
public class SameSiteCookieIssueDetails : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
- /// Cookie
+ /// If AffectedCookie is not set then rawCookieLine contains the raw
+ /// Set-Cookie header string. This hints at a problem where the
+ /// cookie line is syntactically or semantically malformed in a way
+ /// that no valid cookie could be created.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("cookie")]
- [System.Diagnostics.CodeAnalysis.DisallowNull]
public CefSharp.DevTools.Audits.AffectedCookie Cookie
{
get;
set;
}
+ ///
+ /// RawCookieLine
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("rawCookieLine")]
+ public string RawCookieLine
+ {
+ get;
+ set;
+ }
+
///
/// CookieWarningReasons
///
@@ -2527,6 +2544,55 @@ namespace CefSharp.DevTools.Audits
}
}
+ ///
+ /// WasmCrossOriginModuleSharingIssueDetails
+ ///
+ public class WasmCrossOriginModuleSharingIssueDetails : CefSharp.DevTools.DevToolsDomainEntityBase
+ {
+ ///
+ /// WasmModuleUrl
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("wasmModuleUrl")]
+ [System.Diagnostics.CodeAnalysis.DisallowNull]
+ public string WasmModuleUrl
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// SourceOrigin
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("sourceOrigin")]
+ [System.Diagnostics.CodeAnalysis.DisallowNull]
+ public string SourceOrigin
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// TargetOrigin
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("targetOrigin")]
+ [System.Diagnostics.CodeAnalysis.DisallowNull]
+ public string TargetOrigin
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// IsWarning
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("isWarning")]
+ public bool IsWarning
+ {
+ 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
@@ -2593,7 +2659,12 @@ namespace CefSharp.DevTools.Audits
/// NavigatorUserAgentIssue
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("NavigatorUserAgentIssue")]
- NavigatorUserAgentIssue
+ NavigatorUserAgentIssue,
+ ///
+ /// WasmCrossOriginModuleSharingIssue
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("WasmCrossOriginModuleSharingIssue")]
+ WasmCrossOriginModuleSharingIssue
}
///
@@ -2722,6 +2793,16 @@ namespace CefSharp.DevTools.Audits
get;
set;
}
+
+ ///
+ /// WasmCrossOriginModuleSharingIssue
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("wasmCrossOriginModuleSharingIssue")]
+ public CefSharp.DevTools.Audits.WasmCrossOriginModuleSharingIssueDetails WasmCrossOriginModuleSharingIssue
+ {
+ get;
+ set;
+ }
}
///
@@ -2749,6 +2830,17 @@ namespace CefSharp.DevTools.Audits
get;
set;
}
+
+ ///
+ /// A unique id for this issue. May be omitted if no other entity (e.g.
+ /// exception, CDP message, etc.) is referencing this issue.
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("issueId")]
+ public string IssueId
+ {
+ get;
+ set;
+ }
}
///
@@ -3681,7 +3773,9 @@ namespace CefSharp.DevTools.CSS
}
///
- /// Stylesheet resource URL.
+ /// Stylesheet resource URL. Empty if this is a constructed stylesheet created using
+ /// new CSSStyleSheet() (but non-empty if this is a constructed sylesheet imported
+ /// as a CSS module script).
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("sourceURL")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
@@ -3777,7 +3871,8 @@ namespace CefSharp.DevTools.CSS
}
///
- /// Whether this stylesheet is a constructed stylesheet (created using new CSSStyleSheet()).
+ /// True if this stylesheet is created through new CSSStyleSheet() or imported as a
+ /// CSS module script.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("isConstructed")]
public bool IsConstructed
@@ -3895,6 +3990,17 @@ namespace CefSharp.DevTools.CSS
get;
set;
}
+
+ ///
+ /// Container query list array (for rules involving container queries).
+ /// The array enumerates container queries starting with the innermost one, going outwards.
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("containerQueries")]
+ public System.Collections.Generic.IList ContainerQueries
+ {
+ get;
+ set;
+ }
}
///
@@ -4390,6 +4496,54 @@ namespace CefSharp.DevTools.CSS
}
}
+ ///
+ /// CSS container query rule descriptor.
+ ///
+ public class CSSContainerQuery : CefSharp.DevTools.DevToolsDomainEntityBase
+ {
+ ///
+ /// Container query text.
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("text")]
+ [System.Diagnostics.CodeAnalysis.DisallowNull]
+ public string Text
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// The associated rule header range in the enclosing stylesheet (if
+ /// available).
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("range")]
+ public CefSharp.DevTools.CSS.SourceRange Range
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// Identifier of the stylesheet containing this object (if exists).
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("styleSheetId")]
+ public string StyleSheetId
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// Optional name for the container.
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("name")]
+ public string Name
+ {
+ get;
+ set;
+ }
+ }
+
///
/// Information about amount of glyphs that were rendered with given font.
///
@@ -5169,6 +5323,11 @@ namespace CefSharp.DevTools.DOM
[System.Text.Json.Serialization.JsonPropertyNameAttribute("grammar-error")]
GrammarError,
///
+ /// highlight
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("highlight")]
+ Highlight,
+ ///
/// first-line-inherited
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("first-line-inherited")]
@@ -7045,6 +7204,16 @@ namespace CefSharp.DevTools.DOMSnapshot
set;
}
+ ///
+ /// Type of the shadow root the `Node` is in. String values are equal to the `ShadowRootType` enum.
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("shadowRootType")]
+ public CefSharp.DevTools.DOMSnapshot.RareStringData ShadowRootType
+ {
+ get;
+ set;
+ }
+
///
/// `Node`'s nodeName.
///
@@ -10126,6 +10295,17 @@ namespace CefSharp.DevTools.Network
get;
set;
}
+
+ ///
+ /// True if this resource request is considered to be the 'same site' as the
+ /// request correspondinfg to the main frame.
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("isSameSite")]
+ public bool? IsSameSite
+ {
+ get;
+ set;
+ }
}
///
@@ -12423,10 +12603,10 @@ namespace CefSharp.DevTools.Network
[System.Text.Json.Serialization.JsonPropertyNameAttribute("None")]
None,
///
- /// CorsOrCredentialless
+ /// Credentialless
///
- [System.Text.Json.Serialization.JsonPropertyNameAttribute("CorsOrCredentialless")]
- CorsOrCredentialless,
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("Credentialless")]
+ Credentialless,
///
/// RequireCorp
///
@@ -13959,6 +14139,166 @@ namespace CefSharp.DevTools.Network
private set;
}
}
+
+ ///
+ /// Fired once when parsing the .wbn file has succeeded.
+ /// The event contains the information about the web bundle contents.
+ ///
+ public class SubresourceWebBundleMetadataReceivedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase
+ {
+ ///
+ /// Request identifier. Used to match this information to another event.
+ ///
+ [System.Text.Json.Serialization.JsonIncludeAttribute]
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("requestId")]
+ [System.Diagnostics.CodeAnalysis.DisallowNull]
+ public string RequestId
+ {
+ get;
+ private set;
+ }
+
+ ///
+ /// A list of URLs of resources in the subresource Web Bundle.
+ ///
+ [System.Text.Json.Serialization.JsonIncludeAttribute]
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("urls")]
+ [System.Diagnostics.CodeAnalysis.DisallowNull]
+ public string[] Urls
+ {
+ get;
+ private set;
+ }
+ }
+
+ ///
+ /// Fired once when parsing the .wbn file has failed.
+ ///
+ public class SubresourceWebBundleMetadataErrorEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase
+ {
+ ///
+ /// Request identifier. Used to match this information to another event.
+ ///
+ [System.Text.Json.Serialization.JsonIncludeAttribute]
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("requestId")]
+ [System.Diagnostics.CodeAnalysis.DisallowNull]
+ public string RequestId
+ {
+ get;
+ private set;
+ }
+
+ ///
+ /// Error message
+ ///
+ [System.Text.Json.Serialization.JsonIncludeAttribute]
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("errorMessage")]
+ [System.Diagnostics.CodeAnalysis.DisallowNull]
+ public string ErrorMessage
+ {
+ get;
+ private set;
+ }
+ }
+
+ ///
+ /// Fired when handling requests for resources within a .wbn file.
+ /// Note: this will only be fired for resources that are requested by the webpage.
+ ///
+ public class SubresourceWebBundleInnerResponseParsedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase
+ {
+ ///
+ /// Request identifier of the subresource request
+ ///
+ [System.Text.Json.Serialization.JsonIncludeAttribute]
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("innerRequestId")]
+ [System.Diagnostics.CodeAnalysis.DisallowNull]
+ public string InnerRequestId
+ {
+ get;
+ private set;
+ }
+
+ ///
+ /// URL of the subresource resource.
+ ///
+ [System.Text.Json.Serialization.JsonIncludeAttribute]
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("innerRequestURL")]
+ [System.Diagnostics.CodeAnalysis.DisallowNull]
+ public string InnerRequestURL
+ {
+ get;
+ private set;
+ }
+
+ ///
+ /// Bundle request identifier. Used to match this information to another event.
+ /// This made be absent in case when the instrumentation was enabled only
+ /// after webbundle was parsed.
+ ///
+ [System.Text.Json.Serialization.JsonIncludeAttribute]
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("bundleRequestId")]
+ public string BundleRequestId
+ {
+ get;
+ private set;
+ }
+ }
+
+ ///
+ /// Fired when request for resources within a .wbn file failed.
+ ///
+ public class SubresourceWebBundleInnerResponseErrorEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase
+ {
+ ///
+ /// Request identifier of the subresource request
+ ///
+ [System.Text.Json.Serialization.JsonIncludeAttribute]
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("innerRequestId")]
+ [System.Diagnostics.CodeAnalysis.DisallowNull]
+ public string InnerRequestId
+ {
+ get;
+ private set;
+ }
+
+ ///
+ /// URL of the subresource resource.
+ ///
+ [System.Text.Json.Serialization.JsonIncludeAttribute]
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("innerRequestURL")]
+ [System.Diagnostics.CodeAnalysis.DisallowNull]
+ public string InnerRequestURL
+ {
+ get;
+ private set;
+ }
+
+ ///
+ /// Error message
+ ///
+ [System.Text.Json.Serialization.JsonIncludeAttribute]
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("errorMessage")]
+ [System.Diagnostics.CodeAnalysis.DisallowNull]
+ public string ErrorMessage
+ {
+ get;
+ private set;
+ }
+
+ ///
+ /// Bundle request identifier. Used to match this information to another event.
+ /// This made be absent in case when the instrumentation was enabled only
+ /// after webbundle was parsed.
+ ///
+ [System.Text.Json.Serialization.JsonIncludeAttribute]
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("bundleRequestId")]
+ public string BundleRequestId
+ {
+ get;
+ private set;
+ }
+ }
}
namespace CefSharp.DevTools.Overlay
@@ -14594,6 +14934,16 @@ namespace CefSharp.DevTools.Overlay
get;
set;
}
+
+ ///
+ /// The container query container highlight configuration (default: all transparent).
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("containerQueryContainerHighlightConfig")]
+ public CefSharp.DevTools.Overlay.ContainerQueryContainerHighlightConfig ContainerQueryContainerHighlightConfig
+ {
+ get;
+ set;
+ }
}
///
@@ -14782,6 +15132,49 @@ namespace CefSharp.DevTools.Overlay
}
}
+ ///
+ /// ContainerQueryHighlightConfig
+ ///
+ public class ContainerQueryHighlightConfig : CefSharp.DevTools.DevToolsDomainEntityBase
+ {
+ ///
+ /// A descriptor for the highlight appearance of container query containers.
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("containerQueryContainerHighlightConfig")]
+ [System.Diagnostics.CodeAnalysis.DisallowNull]
+ public CefSharp.DevTools.Overlay.ContainerQueryContainerHighlightConfig ContainerQueryContainerHighlightConfig
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// Identifier of the container node to highlight.
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("nodeId")]
+ public int NodeId
+ {
+ get;
+ set;
+ }
+ }
+
+ ///
+ /// ContainerQueryContainerHighlightConfig
+ ///
+ public class ContainerQueryContainerHighlightConfig : CefSharp.DevTools.DevToolsDomainEntityBase
+ {
+ ///
+ /// The style of the container border
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("containerBorder")]
+ public CefSharp.DevTools.Overlay.LineStyle ContainerBorder
+ {
+ get;
+ set;
+ }
+ }
+
///
/// InspectMode
///
@@ -14892,6 +15285,54 @@ namespace CefSharp.DevTools.Page
Root
}
+ ///
+ /// AdFrameExplanation
+ ///
+ public enum AdFrameExplanation
+ {
+ ///
+ /// ParentIsAd
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("ParentIsAd")]
+ ParentIsAd,
+ ///
+ /// CreatedByAdScript
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("CreatedByAdScript")]
+ CreatedByAdScript,
+ ///
+ /// MatchedBlockingRule
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("MatchedBlockingRule")]
+ MatchedBlockingRule
+ }
+
+ ///
+ /// Indicates whether a frame has been identified as an ad and why.
+ ///
+ public class AdFrameStatus : CefSharp.DevTools.DevToolsDomainEntityBase
+ {
+ ///
+ /// AdFrameType
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("adFrameType")]
+ public CefSharp.DevTools.Page.AdFrameType AdFrameType
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// Explanations
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("explanations")]
+ public CefSharp.DevTools.Page.AdFrameExplanation[] Explanations
+ {
+ get;
+ set;
+ }
+ }
+
///
/// Indicates whether the frame is a secure context and why it is the case.
///
@@ -15045,6 +15486,11 @@ namespace CefSharp.DevTools.Page
[System.Text.Json.Serialization.JsonPropertyNameAttribute("ch-ua-arch")]
ChUaArch,
///
+ /// ch-ua-bitness
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("ch-ua-bitness")]
+ ChUaBitness,
+ ///
/// ch-ua-platform
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("ch-ua-platform")]
@@ -15707,10 +16153,10 @@ namespace CefSharp.DevTools.Page
}
///
- /// Indicates whether this frame was tagged as an ad.
+ /// Indicates whether this frame was tagged as an ad and why.
///
- [System.Text.Json.Serialization.JsonPropertyNameAttribute("adFrameType")]
- public CefSharp.DevTools.Page.AdFrameType? AdFrameType
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("adFrameStatus")]
+ public CefSharp.DevTools.Page.AdFrameStatus AdFrameStatus
{
get;
set;
@@ -16710,6 +17156,531 @@ namespace CefSharp.DevTools.Page
BackForwardCacheRestore
}
+ ///
+ /// List of not restored reasons for back-forward cache.
+ ///
+ public enum BackForwardCacheNotRestoredReason
+ {
+ ///
+ /// NotMainFrame
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("NotMainFrame")]
+ NotMainFrame,
+ ///
+ /// BackForwardCacheDisabled
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("BackForwardCacheDisabled")]
+ BackForwardCacheDisabled,
+ ///
+ /// RelatedActiveContentsExist
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("RelatedActiveContentsExist")]
+ RelatedActiveContentsExist,
+ ///
+ /// HTTPStatusNotOK
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("HTTPStatusNotOK")]
+ HTTPStatusNotOK,
+ ///
+ /// SchemeNotHTTPOrHTTPS
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("SchemeNotHTTPOrHTTPS")]
+ SchemeNotHTTPOrHTTPS,
+ ///
+ /// Loading
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("Loading")]
+ Loading,
+ ///
+ /// WasGrantedMediaAccess
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("WasGrantedMediaAccess")]
+ WasGrantedMediaAccess,
+ ///
+ /// DisableForRenderFrameHostCalled
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("DisableForRenderFrameHostCalled")]
+ DisableForRenderFrameHostCalled,
+ ///
+ /// DomainNotAllowed
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("DomainNotAllowed")]
+ DomainNotAllowed,
+ ///
+ /// HTTPMethodNotGET
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("HTTPMethodNotGET")]
+ HTTPMethodNotGET,
+ ///
+ /// SubframeIsNavigating
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("SubframeIsNavigating")]
+ SubframeIsNavigating,
+ ///
+ /// Timeout
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("Timeout")]
+ Timeout,
+ ///
+ /// CacheLimit
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("CacheLimit")]
+ CacheLimit,
+ ///
+ /// JavaScriptExecution
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("JavaScriptExecution")]
+ JavaScriptExecution,
+ ///
+ /// RendererProcessKilled
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("RendererProcessKilled")]
+ RendererProcessKilled,
+ ///
+ /// RendererProcessCrashed
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("RendererProcessCrashed")]
+ RendererProcessCrashed,
+ ///
+ /// GrantedMediaStreamAccess
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("GrantedMediaStreamAccess")]
+ GrantedMediaStreamAccess,
+ ///
+ /// SchedulerTrackedFeatureUsed
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("SchedulerTrackedFeatureUsed")]
+ SchedulerTrackedFeatureUsed,
+ ///
+ /// ConflictingBrowsingInstance
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("ConflictingBrowsingInstance")]
+ ConflictingBrowsingInstance,
+ ///
+ /// CacheFlushed
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("CacheFlushed")]
+ CacheFlushed,
+ ///
+ /// ServiceWorkerVersionActivation
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("ServiceWorkerVersionActivation")]
+ ServiceWorkerVersionActivation,
+ ///
+ /// SessionRestored
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("SessionRestored")]
+ SessionRestored,
+ ///
+ /// ServiceWorkerPostMessage
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("ServiceWorkerPostMessage")]
+ ServiceWorkerPostMessage,
+ ///
+ /// EnteredBackForwardCacheBeforeServiceWorkerHostAdded
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("EnteredBackForwardCacheBeforeServiceWorkerHostAdded")]
+ EnteredBackForwardCacheBeforeServiceWorkerHostAdded,
+ ///
+ /// RenderFrameHostReused_SameSite
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("RenderFrameHostReused_SameSite")]
+ RenderFrameHostReusedSameSite,
+ ///
+ /// RenderFrameHostReused_CrossSite
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("RenderFrameHostReused_CrossSite")]
+ RenderFrameHostReusedCrossSite,
+ ///
+ /// ServiceWorkerClaim
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("ServiceWorkerClaim")]
+ ServiceWorkerClaim,
+ ///
+ /// IgnoreEventAndEvict
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("IgnoreEventAndEvict")]
+ IgnoreEventAndEvict,
+ ///
+ /// HaveInnerContents
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("HaveInnerContents")]
+ HaveInnerContents,
+ ///
+ /// TimeoutPuttingInCache
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("TimeoutPuttingInCache")]
+ TimeoutPuttingInCache,
+ ///
+ /// BackForwardCacheDisabledByLowMemory
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("BackForwardCacheDisabledByLowMemory")]
+ BackForwardCacheDisabledByLowMemory,
+ ///
+ /// BackForwardCacheDisabledByCommandLine
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("BackForwardCacheDisabledByCommandLine")]
+ BackForwardCacheDisabledByCommandLine,
+ ///
+ /// NetworkRequestDatapipeDrainedAsBytesConsumer
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("NetworkRequestDatapipeDrainedAsBytesConsumer")]
+ NetworkRequestDatapipeDrainedAsBytesConsumer,
+ ///
+ /// NetworkRequestRedirected
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("NetworkRequestRedirected")]
+ NetworkRequestRedirected,
+ ///
+ /// NetworkRequestTimeout
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("NetworkRequestTimeout")]
+ NetworkRequestTimeout,
+ ///
+ /// NetworkExceedsBufferLimit
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("NetworkExceedsBufferLimit")]
+ NetworkExceedsBufferLimit,
+ ///
+ /// NavigationCancelledWhileRestoring
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("NavigationCancelledWhileRestoring")]
+ NavigationCancelledWhileRestoring,
+ ///
+ /// NotMostRecentNavigationEntry
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("NotMostRecentNavigationEntry")]
+ NotMostRecentNavigationEntry,
+ ///
+ /// BackForwardCacheDisabledForPrerender
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("BackForwardCacheDisabledForPrerender")]
+ BackForwardCacheDisabledForPrerender,
+ ///
+ /// UserAgentOverrideDiffers
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("UserAgentOverrideDiffers")]
+ UserAgentOverrideDiffers,
+ ///
+ /// ForegroundCacheLimit
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("ForegroundCacheLimit")]
+ ForegroundCacheLimit,
+ ///
+ /// BrowsingInstanceNotSwapped
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("BrowsingInstanceNotSwapped")]
+ BrowsingInstanceNotSwapped,
+ ///
+ /// BackForwardCacheDisabledForDelegate
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("BackForwardCacheDisabledForDelegate")]
+ BackForwardCacheDisabledForDelegate,
+ ///
+ /// OptInUnloadHeaderNotPresent
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("OptInUnloadHeaderNotPresent")]
+ OptInUnloadHeaderNotPresent,
+ ///
+ /// UnloadHandlerExistsInSubFrame
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("UnloadHandlerExistsInSubFrame")]
+ UnloadHandlerExistsInSubFrame,
+ ///
+ /// ServiceWorkerUnregistration
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("ServiceWorkerUnregistration")]
+ ServiceWorkerUnregistration,
+ ///
+ /// CacheControlNoStore
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("CacheControlNoStore")]
+ CacheControlNoStore,
+ ///
+ /// CacheControlNoStoreCookieModified
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("CacheControlNoStoreCookieModified")]
+ CacheControlNoStoreCookieModified,
+ ///
+ /// CacheControlNoStoreHTTPOnlyCookieModified
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("CacheControlNoStoreHTTPOnlyCookieModified")]
+ CacheControlNoStoreHTTPOnlyCookieModified,
+ ///
+ /// WebSocket
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("WebSocket")]
+ WebSocket,
+ ///
+ /// WebRTC
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("WebRTC")]
+ WebRTC,
+ ///
+ /// MainResourceHasCacheControlNoStore
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("MainResourceHasCacheControlNoStore")]
+ MainResourceHasCacheControlNoStore,
+ ///
+ /// MainResourceHasCacheControlNoCache
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("MainResourceHasCacheControlNoCache")]
+ MainResourceHasCacheControlNoCache,
+ ///
+ /// SubresourceHasCacheControlNoStore
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("SubresourceHasCacheControlNoStore")]
+ SubresourceHasCacheControlNoStore,
+ ///
+ /// SubresourceHasCacheControlNoCache
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("SubresourceHasCacheControlNoCache")]
+ SubresourceHasCacheControlNoCache,
+ ///
+ /// ContainsPlugins
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("ContainsPlugins")]
+ ContainsPlugins,
+ ///
+ /// DocumentLoaded
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("DocumentLoaded")]
+ DocumentLoaded,
+ ///
+ /// DedicatedWorkerOrWorklet
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("DedicatedWorkerOrWorklet")]
+ DedicatedWorkerOrWorklet,
+ ///
+ /// OutstandingNetworkRequestOthers
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("OutstandingNetworkRequestOthers")]
+ OutstandingNetworkRequestOthers,
+ ///
+ /// OutstandingIndexedDBTransaction
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("OutstandingIndexedDBTransaction")]
+ OutstandingIndexedDBTransaction,
+ ///
+ /// RequestedNotificationsPermission
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("RequestedNotificationsPermission")]
+ RequestedNotificationsPermission,
+ ///
+ /// RequestedMIDIPermission
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("RequestedMIDIPermission")]
+ RequestedMIDIPermission,
+ ///
+ /// RequestedAudioCapturePermission
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("RequestedAudioCapturePermission")]
+ RequestedAudioCapturePermission,
+ ///
+ /// RequestedVideoCapturePermission
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("RequestedVideoCapturePermission")]
+ RequestedVideoCapturePermission,
+ ///
+ /// RequestedBackForwardCacheBlockedSensors
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("RequestedBackForwardCacheBlockedSensors")]
+ RequestedBackForwardCacheBlockedSensors,
+ ///
+ /// RequestedBackgroundWorkPermission
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("RequestedBackgroundWorkPermission")]
+ RequestedBackgroundWorkPermission,
+ ///
+ /// BroadcastChannel
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("BroadcastChannel")]
+ BroadcastChannel,
+ ///
+ /// IndexedDBConnection
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("IndexedDBConnection")]
+ IndexedDBConnection,
+ ///
+ /// WebXR
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("WebXR")]
+ WebXR,
+ ///
+ /// SharedWorker
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("SharedWorker")]
+ SharedWorker,
+ ///
+ /// WebLocks
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("WebLocks")]
+ WebLocks,
+ ///
+ /// WebHID
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("WebHID")]
+ WebHID,
+ ///
+ /// WebShare
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("WebShare")]
+ WebShare,
+ ///
+ /// RequestedStorageAccessGrant
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("RequestedStorageAccessGrant")]
+ RequestedStorageAccessGrant,
+ ///
+ /// WebNfc
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("WebNfc")]
+ WebNfc,
+ ///
+ /// WebFileSystem
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("WebFileSystem")]
+ WebFileSystem,
+ ///
+ /// OutstandingNetworkRequestFetch
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("OutstandingNetworkRequestFetch")]
+ OutstandingNetworkRequestFetch,
+ ///
+ /// OutstandingNetworkRequestXHR
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("OutstandingNetworkRequestXHR")]
+ OutstandingNetworkRequestXHR,
+ ///
+ /// AppBanner
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("AppBanner")]
+ AppBanner,
+ ///
+ /// Printing
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("Printing")]
+ Printing,
+ ///
+ /// WebDatabase
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("WebDatabase")]
+ WebDatabase,
+ ///
+ /// PictureInPicture
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("PictureInPicture")]
+ PictureInPicture,
+ ///
+ /// Portal
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("Portal")]
+ Portal,
+ ///
+ /// SpeechRecognizer
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("SpeechRecognizer")]
+ SpeechRecognizer,
+ ///
+ /// IdleManager
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("IdleManager")]
+ IdleManager,
+ ///
+ /// PaymentManager
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("PaymentManager")]
+ PaymentManager,
+ ///
+ /// SpeechSynthesis
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("SpeechSynthesis")]
+ SpeechSynthesis,
+ ///
+ /// KeyboardLock
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("KeyboardLock")]
+ KeyboardLock,
+ ///
+ /// WebOTPService
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("WebOTPService")]
+ WebOTPService,
+ ///
+ /// OutstandingNetworkRequestDirectSocket
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("OutstandingNetworkRequestDirectSocket")]
+ OutstandingNetworkRequestDirectSocket,
+ ///
+ /// IsolatedWorldScript
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("IsolatedWorldScript")]
+ IsolatedWorldScript,
+ ///
+ /// InjectedStyleSheet
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("InjectedStyleSheet")]
+ InjectedStyleSheet,
+ ///
+ /// MediaSessionImplOnServiceCreated
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("MediaSessionImplOnServiceCreated")]
+ MediaSessionImplOnServiceCreated,
+ ///
+ /// Unknown
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("Unknown")]
+ Unknown
+ }
+
+ ///
+ /// Types of not restored reasons for back-forward cache.
+ ///
+ public enum BackForwardCacheNotRestoredReasonType
+ {
+ ///
+ /// SupportPending
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("SupportPending")]
+ SupportPending,
+ ///
+ /// PageSupportNeeded
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("PageSupportNeeded")]
+ PageSupportNeeded,
+ ///
+ /// Circumstantial
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("Circumstantial")]
+ Circumstantial
+ }
+
+ ///
+ /// BackForwardCacheNotRestoredExplanation
+ ///
+ public class BackForwardCacheNotRestoredExplanation : CefSharp.DevTools.DevToolsDomainEntityBase
+ {
+ ///
+ /// Type of the reason
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("type")]
+ public CefSharp.DevTools.Page.BackForwardCacheNotRestoredReasonType Type
+ {
+ get;
+ set;
+ }
+
+ ///
+ /// Not restored reason
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("reason")]
+ public CefSharp.DevTools.Page.BackForwardCacheNotRestoredReason Reason
+ {
+ get;
+ set;
+ }
+ }
+
///
/// domContentEventFired
///
@@ -17387,6 +18358,18 @@ namespace CefSharp.DevTools.Page
get;
private set;
}
+
+ ///
+ /// Array of reasons why the page could not be cached. This must not be empty.
+ ///
+ [System.Text.Json.Serialization.JsonIncludeAttribute]
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("notRestoredExplanations")]
+ [System.Diagnostics.CodeAnalysis.DisallowNull]
+ public System.Collections.Generic.IList NotRestoredExplanations
+ {
+ get;
+ private set;
+ }
}
///
@@ -23843,7 +24826,7 @@ namespace CefSharp.DevTools.Profiler
/// Reports coverage delta since the last poll (either from an event like this, or from
/// `takePreciseCoverage` for the current isolate. May only be sent if precise code
/// coverage has been started. This event can be trigged by the embedder to, for example,
- /// trigger collection of coverage data immediatelly at a certain point in time.
+ /// trigger collection of coverage data immediately at a certain point in time.
///
public class PreciseCoverageDeltaUpdateEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase
{
@@ -23862,9 +24845,9 @@ namespace CefSharp.DevTools.Profiler
/// Identifier for distinguishing coverage events.
///
[System.Text.Json.Serialization.JsonIncludeAttribute]
- [System.Text.Json.Serialization.JsonPropertyNameAttribute("occassion")]
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("occasion")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
- public string Occassion
+ public string Occasion
{
get;
private set;
@@ -24883,7 +25866,7 @@ namespace CefSharp.DevTools.Runtime
}
///
- /// A system-unique execution context identifier. Unlike the id, this is unique accross
+ /// A system-unique execution context identifier. Unlike the id, this is unique across
/// multiple processes, so can be reliably used to identify specific context while backend
/// performs a cross-process navigation.
///
@@ -25002,6 +25985,18 @@ namespace CefSharp.DevTools.Runtime
get;
set;
}
+
+ ///
+ /// Dictionary with entries of meta data that the client associated
+ /// with this exception, such as information about associated network
+ /// requests, etc.
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("exceptionMetaData")]
+ public object ExceptionMetaData
+ {
+ get;
+ set;
+ }
}
///
@@ -27335,6 +28330,26 @@ namespace CefSharp.DevTools.CSS
}
}
+namespace CefSharp.DevTools.CSS
+{
+ ///
+ /// SetContainerQueryTextResponse
+ ///
+ public class SetContainerQueryTextResponse : CefSharp.DevTools.DevToolsDomainResponseBase
+ {
+ ///
+ /// containerQuery
+ ///
+ [System.Text.Json.Serialization.JsonIncludeAttribute]
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("containerQuery")]
+ public CefSharp.DevTools.CSS.CSSContainerQuery ContainerQuery
+ {
+ get;
+ private set;
+ }
+ }
+}
+
namespace CefSharp.DevTools.CSS
{
///
@@ -27817,6 +28832,24 @@ namespace CefSharp.DevTools.CSS
return _client.ExecuteDevToolsMethodAsync("CSS.setMediaText", dict);
}
+ partial void ValidateSetContainerQueryText(string styleSheetId, CefSharp.DevTools.CSS.SourceRange range, string text);
+ ///
+ /// Modifies the expression of a container query.
+ ///
+ /// styleSheetId
+ /// range
+ /// text
+ /// returns System.Threading.Tasks.Task<SetContainerQueryTextResponse>
+ public System.Threading.Tasks.Task SetContainerQueryTextAsync(string styleSheetId, CefSharp.DevTools.CSS.SourceRange range, string text)
+ {
+ ValidateSetContainerQueryText(styleSheetId, range, text);
+ var dict = new System.Collections.Generic.Dictionary();
+ dict.Add("styleSheetId", styleSheetId);
+ dict.Add("range", range.ToDictionary());
+ dict.Add("text", text);
+ return _client.ExecuteDevToolsMethodAsync("CSS.setContainerQueryText", dict);
+ }
+
partial void ValidateSetRuleSelector(string styleSheetId, CefSharp.DevTools.CSS.SourceRange range, string selector);
///
/// Modifies the rule selector.
@@ -28754,6 +29787,26 @@ namespace CefSharp.DevTools.DOM
}
}
+namespace CefSharp.DevTools.DOM
+{
+ ///
+ /// GetContainerForNodeResponse
+ ///
+ public class GetContainerForNodeResponse : CefSharp.DevTools.DevToolsDomainResponseBase
+ {
+ ///
+ /// nodeId
+ ///
+ [System.Text.Json.Serialization.JsonIncludeAttribute]
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("nodeId")]
+ public int? NodeId
+ {
+ get;
+ private set;
+ }
+ }
+}
+
namespace CefSharp.DevTools.DOM
{
using System.Linq;
@@ -29865,6 +30918,28 @@ namespace CefSharp.DevTools.DOM
dict.Add("frameId", frameId);
return _client.ExecuteDevToolsMethodAsync("DOM.getFrameOwner", dict);
}
+
+ partial void ValidateGetContainerForNode(int nodeId, string containerName = null);
+ ///
+ /// Returns the container of the given node based on container query conditions.
+ /// If containerName is given, it will find the nearest container with a matching name;
+ /// otherwise it will find the nearest container regardless of its container name.
+ ///
+ /// nodeId
+ /// containerName
+ /// returns System.Threading.Tasks.Task<GetContainerForNodeResponse>
+ public System.Threading.Tasks.Task GetContainerForNodeAsync(int nodeId, string containerName = null)
+ {
+ ValidateGetContainerForNode(nodeId, containerName);
+ var dict = new System.Collections.Generic.Dictionary();
+ dict.Add("nodeId", nodeId);
+ if (!(string.IsNullOrEmpty(containerName)))
+ {
+ dict.Add("containerName", containerName);
+ }
+
+ return _client.ExecuteDevToolsMethodAsync("DOM.getContainerForNode", dict);
+ }
}
}
@@ -33763,6 +34838,72 @@ namespace CefSharp.DevTools.Network
}
}
+ ///
+ /// Fired once when parsing the .wbn file has succeeded.
+ /// The event contains the information about the web bundle contents.
+ ///
+ public event System.EventHandler SubresourceWebBundleMetadataReceived
+ {
+ add
+ {
+ _client.AddEventHandler("Network.subresourceWebBundleMetadataReceived", value);
+ }
+
+ remove
+ {
+ _client.RemoveEventHandler("Network.subresourceWebBundleMetadataReceived", value);
+ }
+ }
+
+ ///
+ /// Fired once when parsing the .wbn file has failed.
+ ///
+ public event System.EventHandler SubresourceWebBundleMetadataError
+ {
+ add
+ {
+ _client.AddEventHandler("Network.subresourceWebBundleMetadataError", value);
+ }
+
+ remove
+ {
+ _client.RemoveEventHandler("Network.subresourceWebBundleMetadataError", value);
+ }
+ }
+
+ ///
+ /// Fired when handling requests for resources within a .wbn file.
+ /// Note: this will only be fired for resources that are requested by the webpage.
+ ///
+ public event System.EventHandler SubresourceWebBundleInnerResponseParsed
+ {
+ add
+ {
+ _client.AddEventHandler("Network.subresourceWebBundleInnerResponseParsed", value);
+ }
+
+ remove
+ {
+ _client.RemoveEventHandler("Network.subresourceWebBundleInnerResponseParsed", value);
+ }
+ }
+
+ ///
+ /// Fired when request for resources within a .wbn file failed.
+ ///
+ public event System.EventHandler SubresourceWebBundleInnerResponseError
+ {
+ add
+ {
+ _client.AddEventHandler("Network.subresourceWebBundleInnerResponseError", value);
+ }
+
+ remove
+ {
+ _client.RemoveEventHandler("Network.subresourceWebBundleInnerResponseError", value);
+ }
+ }
+
partial void ValidateSetAcceptedEncodings(CefSharp.DevTools.Network.ContentEncoding[] encodings);
///
/// Sets a list of content encodings that will be accepted. Empty list means no encoding is accepted.
@@ -34190,22 +35331,6 @@ namespace CefSharp.DevTools.Network
return _client.ExecuteDevToolsMethodAsync("Network.setCookies", dict);
}
- partial void ValidateSetDataSizeLimitsForTest(int maxTotalSize, int maxResourceSize);
- ///
- /// For testing.
- ///
- /// Maximum total buffer size.
- /// Maximum per-resource size.
- /// returns System.Threading.Tasks.Task<DevToolsMethodResponse>
- public System.Threading.Tasks.Task SetDataSizeLimitsForTestAsync(int maxTotalSize, int maxResourceSize)
- {
- ValidateSetDataSizeLimitsForTest(maxTotalSize, maxResourceSize);
- var dict = new System.Collections.Generic.Dictionary();
- dict.Add("maxTotalSize", maxTotalSize);
- dict.Add("maxResourceSize", maxResourceSize);
- return _client.ExecuteDevToolsMethodAsync("Network.setDataSizeLimitsForTest", dict);
- }
-
partial void ValidateSetExtraHTTPHeaders(CefSharp.DevTools.Network.Headers headers);
///
/// Specifies whether to always send extra HTTP headers with the requests from this page.
@@ -34544,32 +35669,6 @@ namespace CefSharp.DevTools.Overlay
return _client.ExecuteDevToolsMethodAsync("Overlay.hideHighlight", dict);
}
- partial void ValidateHighlightFrame(string frameId, CefSharp.DevTools.DOM.RGBA contentColor = null, CefSharp.DevTools.DOM.RGBA contentOutlineColor = null);
- ///
- /// Highlights owner element of the frame with given id.
- ///
- /// Identifier of the frame to highlight.
- /// The content box highlight fill color (default: transparent).
- /// The content box highlight outline color (default: transparent).
- /// returns System.Threading.Tasks.Task<DevToolsMethodResponse>
- public System.Threading.Tasks.Task HighlightFrameAsync(string frameId, CefSharp.DevTools.DOM.RGBA contentColor = null, CefSharp.DevTools.DOM.RGBA contentOutlineColor = null)
- {
- ValidateHighlightFrame(frameId, contentColor, contentOutlineColor);
- var dict = new System.Collections.Generic.Dictionary();
- dict.Add("frameId", frameId);
- if ((contentColor) != (null))
- {
- dict.Add("contentColor", contentColor.ToDictionary());
- }
-
- if ((contentOutlineColor) != (null))
- {
- dict.Add("contentOutlineColor", contentOutlineColor.ToDictionary());
- }
-
- return _client.ExecuteDevToolsMethodAsync("Overlay.highlightFrame", dict);
- }
-
partial void ValidateHighlightNode(CefSharp.DevTools.Overlay.HighlightConfig highlightConfig, int? nodeId = null, int? backendNodeId = null, string objectId = null, string selector = null);
///
/// Highlights DOM node with given id or with the given JavaScript object wrapper. Either nodeId or
@@ -34823,6 +35922,20 @@ namespace CefSharp.DevTools.Overlay
return _client.ExecuteDevToolsMethodAsync("Overlay.setShowScrollSnapOverlays", dict);
}
+ partial void ValidateSetShowContainerQueryOverlays(System.Collections.Generic.IList containerQueryHighlightConfigs);
+ ///
+ /// SetShowContainerQueryOverlays
+ ///
+ /// An array of node identifiers and descriptors for the highlight appearance.
+ /// returns System.Threading.Tasks.Task<DevToolsMethodResponse>
+ public System.Threading.Tasks.Task SetShowContainerQueryOverlaysAsync(System.Collections.Generic.IList containerQueryHighlightConfigs)
+ {
+ ValidateSetShowContainerQueryOverlays(containerQueryHighlightConfigs);
+ var dict = new System.Collections.Generic.Dictionary();
+ dict.Add("containerQueryHighlightConfigs", containerQueryHighlightConfigs.Select(x => x.ToDictionary()));
+ return _client.ExecuteDevToolsMethodAsync("Overlay.setShowContainerQueryOverlays", dict);
+ }
+
partial void ValidateSetShowPaintRects(bool result);
///
/// Requests that backend shows paint rectangles
@@ -35408,7 +36521,12 @@ namespace CefSharp.DevTools.Page
/// png
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("png")]
- Png
+ Png,
+ ///
+ /// webp
+ ///
+ [System.Text.Json.Serialization.JsonPropertyNameAttribute("webp")]
+ Webp
}
///
@@ -40035,7 +41153,7 @@ namespace CefSharp.DevTools.Debugger
/// Enables debugger for the given page. Clients should not assume that the debugging has been
/// enabled until the result for this command is received.
///
- /// The maximum size in bytes of collected scripts (not referenced by other heap objects)the debugger can hold. Puts no limit if paramter is omitted.
+ /// The maximum size in bytes of collected scripts (not referenced by other heap objects)the debugger can hold. Puts no limit if parameter is omitted.
/// returns System.Threading.Tasks.Task<EnableResponse>
public System.Threading.Tasks.Task EnableAsync(double? maxScriptsCacheSize = null)
{
@@ -40889,7 +42007,7 @@ namespace CefSharp.DevTools.HeapProfiler
/// TakeHeapSnapshot
///
/// If true 'reportHeapSnapshotProgress' events will be generated while snapshot is being taken.
- /// If true, a raw snapshot without artifical roots will be generated
+ /// If true, a raw snapshot without artificial roots will be generated
/// If true, numerical values are included in the snapshot
/// returns System.Threading.Tasks.Task<DevToolsMethodResponse>
public System.Threading.Tasks.Task TakeHeapSnapshotAsync(bool? reportProgress = null, bool? treatGlobalObjectsAsRoots = null, bool? captureNumericValue = null)
@@ -41122,7 +42240,7 @@ namespace CefSharp.DevTools.Profiler
/// Reports coverage delta since the last poll (either from an event like this, or from
/// `takePreciseCoverage` for the current isolate. May only be sent if precise code
/// coverage has been started. This event can be trigged by the embedder to, for example,
- /// trigger collection of coverage data immediatelly at a certain point in time.
+ /// trigger collection of coverage data immediately at a certain point in time.
///
public event System.EventHandler PreciseCoverageDeltaUpdate
{
@@ -41825,7 +42943,7 @@ namespace CefSharp.DevTools.Runtime
return _client.ExecuteDevToolsMethodAsync("Runtime.awaitPromise", dict);
}
- partial void ValidateCallFunctionOn(string functionDeclaration, string objectId = null, System.Collections.Generic.IList arguments = null, bool? silent = null, bool? returnByValue = null, bool? generatePreview = null, bool? userGesture = null, bool? awaitPromise = null, int? executionContextId = null, string objectGroup = null);
+ partial void ValidateCallFunctionOn(string functionDeclaration, string objectId = null, System.Collections.Generic.IList arguments = null, bool? silent = null, bool? returnByValue = null, bool? generatePreview = null, bool? userGesture = null, bool? awaitPromise = null, int? executionContextId = null, string objectGroup = null, bool? throwOnSideEffect = null);
///
/// Calls function with given declaration on the given object. Object group of the result is
/// inherited from the target object.
@@ -41840,10 +42958,11 @@ namespace CefSharp.DevTools.Runtime
/// Whether execution should `await` for resulting value and return once awaited promise isresolved.
/// Specifies execution context which global object will be used to call function on. EitherexecutionContextId or objectId should be specified.
/// Symbolic group name that can be used to release multiple objects. If objectGroup is notspecified and objectId is, objectGroup will be inherited from object.
+ /// Whether to throw an exception if side effect cannot be ruled out during evaluation.
/// returns System.Threading.Tasks.Task<CallFunctionOnResponse>
- public System.Threading.Tasks.Task CallFunctionOnAsync(string functionDeclaration, string objectId = null, System.Collections.Generic.IList arguments = null, bool? silent = null, bool? returnByValue = null, bool? generatePreview = null, bool? userGesture = null, bool? awaitPromise = null, int? executionContextId = null, string objectGroup = null)
+ public System.Threading.Tasks.Task CallFunctionOnAsync(string functionDeclaration, string objectId = null, System.Collections.Generic.IList arguments = null, bool? silent = null, bool? returnByValue = null, bool? generatePreview = null, bool? userGesture = null, bool? awaitPromise = null, int? executionContextId = null, string objectGroup = null, bool? throwOnSideEffect = null)
{
- ValidateCallFunctionOn(functionDeclaration, objectId, arguments, silent, returnByValue, generatePreview, userGesture, awaitPromise, executionContextId, objectGroup);
+ ValidateCallFunctionOn(functionDeclaration, objectId, arguments, silent, returnByValue, generatePreview, userGesture, awaitPromise, executionContextId, objectGroup, throwOnSideEffect);
var dict = new System.Collections.Generic.Dictionary();
dict.Add("functionDeclaration", functionDeclaration);
if (!(string.IsNullOrEmpty(objectId)))
@@ -41891,6 +43010,11 @@ namespace CefSharp.DevTools.Runtime
dict.Add("objectGroup", objectGroup);
}
+ if (throwOnSideEffect.HasValue)
+ {
+ dict.Add("throwOnSideEffect", throwOnSideEffect.Value);
+ }
+
return _client.ExecuteDevToolsMethodAsync("Runtime.callFunctionOn", dict);
}
@@ -41968,7 +43092,7 @@ namespace CefSharp.DevTools.Runtime
/// Disable breakpoints during execution.
/// Setting this flag to true enables `let` re-declaration and top-level `await`.Note that `let` variables can only be re-declared if they originate from`replMode` themselves.
/// The Content Security Policy (CSP) for the target might block 'unsafe-eval'which includes eval(), Function(), setTimeout() and setInterval()when called with non-callable arguments. This flag bypasses CSP for thisevaluation and allows unsafe-eval. Defaults to true.
- /// An alternative way to specify the execution context to evaluate in.Compared to contextId that may be reused accross processes, this is guaranteed to besystem-unique, so it can be used to prevent accidental evaluation of the expressionin context different than intended (e.g. as a result of navigation accross processboundaries).This is mutually exclusive with `contextId`.
+ /// An alternative way to specify the execution context to evaluate in.Compared to contextId that may be reused across processes, this is guaranteed to besystem-unique, so it can be used to prevent accidental evaluation of the expressionin context different than intended (e.g. as a result of navigation across processboundaries).This is mutually exclusive with `contextId`.
/// returns System.Threading.Tasks.Task<EvaluateResponse>
public System.Threading.Tasks.Task EvaluateAsync(string expression, string objectGroup = null, bool? includeCommandLineAPI = null, bool? silent = null, int? contextId = null, bool? returnByValue = null, bool? generatePreview = null, bool? userGesture = null, bool? awaitPromise = null, bool? throwOnSideEffect = null, double? timeout = null, bool? disableBreaks = null, bool? replMode = null, bool? allowUnsafeEvalBlockedByCSP = null, string uniqueContextId = null)
{