diff --git a/CefSharp/DevTools/DevToolsClient.Generated.cs b/CefSharp/DevTools/DevToolsClient.Generated.cs index 11bc743ba6..069d6ab33a 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 102.0.5005.63 +// CHROMIUM VERSION 103.0.5060.66 namespace CefSharp.DevTools.Accessibility { /// @@ -2529,11 +2529,6 @@ public enum AttributionReportingIssueType [System.Runtime.Serialization.EnumMemberAttribute(Value = ("PermissionPolicyDisabled"))] PermissionPolicyDisabled, /// - /// InvalidAttributionSourceEventId - /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("InvalidAttributionSourceEventId"))] - InvalidAttributionSourceEventId, - /// /// AttributionSourceUntrustworthyOrigin /// [System.Runtime.Serialization.EnumMemberAttribute(Value = ("AttributionSourceUntrustworthyOrigin"))] @@ -2544,15 +2539,10 @@ public enum AttributionReportingIssueType [System.Runtime.Serialization.EnumMemberAttribute(Value = ("AttributionUntrustworthyOrigin"))] AttributionUntrustworthyOrigin, /// - /// InvalidAttributionSourceExpiry + /// InvalidHeader /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("InvalidAttributionSourceExpiry"))] - InvalidAttributionSourceExpiry, - /// - /// InvalidAttributionSourcePriority - /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("InvalidAttributionSourcePriority"))] - InvalidAttributionSourcePriority + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("InvalidHeader"))] + InvalidHeader } /// @@ -2775,24 +2765,281 @@ public string FrameId /// public enum DeprecationIssueType { + /// + /// AuthorizationCoveredByWildcard + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("AuthorizationCoveredByWildcard"))] + AuthorizationCoveredByWildcard, + /// + /// CanRequestURLHTTPContainingNewline + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("CanRequestURLHTTPContainingNewline"))] + CanRequestURLHTTPContainingNewline, + /// + /// ChromeLoadTimesConnectionInfo + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ChromeLoadTimesConnectionInfo"))] + ChromeLoadTimesConnectionInfo, + /// + /// ChromeLoadTimesFirstPaintAfterLoadTime + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ChromeLoadTimesFirstPaintAfterLoadTime"))] + ChromeLoadTimesFirstPaintAfterLoadTime, + /// + /// ChromeLoadTimesWasAlternateProtocolAvailable + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ChromeLoadTimesWasAlternateProtocolAvailable"))] + ChromeLoadTimesWasAlternateProtocolAvailable, + /// + /// CookieWithTruncatingChar + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("CookieWithTruncatingChar"))] + CookieWithTruncatingChar, + /// + /// CrossOriginAccessBasedOnDocumentDomain + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("CrossOriginAccessBasedOnDocumentDomain"))] + CrossOriginAccessBasedOnDocumentDomain, + /// + /// CrossOriginWindowAlert + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("CrossOriginWindowAlert"))] + CrossOriginWindowAlert, + /// + /// CrossOriginWindowConfirm + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("CrossOriginWindowConfirm"))] + CrossOriginWindowConfirm, + /// + /// CSSSelectorInternalMediaControlsOverlayCastButton + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("CSSSelectorInternalMediaControlsOverlayCastButton"))] + CSSSelectorInternalMediaControlsOverlayCastButton, + /// + /// CustomCursorIntersectsViewport + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("CustomCursorIntersectsViewport"))] + CustomCursorIntersectsViewport, /// /// DeprecationExample /// [System.Runtime.Serialization.EnumMemberAttribute(Value = ("DeprecationExample"))] DeprecationExample, /// - /// Untranslated + /// DocumentDomainSettingWithoutOriginAgentClusterHeader + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("DocumentDomainSettingWithoutOriginAgentClusterHeader"))] + DocumentDomainSettingWithoutOriginAgentClusterHeader, + /// + /// EventPath + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("EventPath"))] + EventPath, + /// + /// GeolocationInsecureOrigin + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("GeolocationInsecureOrigin"))] + GeolocationInsecureOrigin, + /// + /// GeolocationInsecureOriginDeprecatedNotRemoved + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("GeolocationInsecureOriginDeprecatedNotRemoved"))] + GeolocationInsecureOriginDeprecatedNotRemoved, + /// + /// GetUserMediaInsecureOrigin + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("GetUserMediaInsecureOrigin"))] + GetUserMediaInsecureOrigin, + /// + /// HostCandidateAttributeGetter + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("HostCandidateAttributeGetter"))] + HostCandidateAttributeGetter, + /// + /// InsecurePrivateNetworkSubresourceRequest + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("InsecurePrivateNetworkSubresourceRequest"))] + InsecurePrivateNetworkSubresourceRequest, + /// + /// LegacyConstraintGoogIPv6 + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("LegacyConstraintGoogIPv6"))] + LegacyConstraintGoogIPv6, + /// + /// LocalCSSFileExtensionRejected + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("LocalCSSFileExtensionRejected"))] + LocalCSSFileExtensionRejected, + /// + /// MediaElementAudioSourceNode + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("MediaElementAudioSourceNode"))] + MediaElementAudioSourceNode, + /// + /// MediaSourceAbortRemove + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("MediaSourceAbortRemove"))] + MediaSourceAbortRemove, + /// + /// MediaSourceDurationTruncatingBuffered + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("MediaSourceDurationTruncatingBuffered"))] + MediaSourceDurationTruncatingBuffered, + /// + /// NoSysexWebMIDIWithoutPermission + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("NoSysexWebMIDIWithoutPermission"))] + NoSysexWebMIDIWithoutPermission, + /// + /// NotificationInsecureOrigin + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("NotificationInsecureOrigin"))] + NotificationInsecureOrigin, + /// + /// NotificationPermissionRequestedIframe + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("NotificationPermissionRequestedIframe"))] + NotificationPermissionRequestedIframe, + /// + /// ObsoleteWebRtcCipherSuite + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ObsoleteWebRtcCipherSuite"))] + ObsoleteWebRtcCipherSuite, + /// + /// PaymentRequestBasicCard + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("PaymentRequestBasicCard"))] + PaymentRequestBasicCard, + /// + /// PaymentRequestShowWithoutGesture + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("PaymentRequestShowWithoutGesture"))] + PaymentRequestShowWithoutGesture, + /// + /// PictureSourceSrc + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("PictureSourceSrc"))] + PictureSourceSrc, + /// + /// PrefixedCancelAnimationFrame + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("PrefixedCancelAnimationFrame"))] + PrefixedCancelAnimationFrame, + /// + /// PrefixedRequestAnimationFrame + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("PrefixedRequestAnimationFrame"))] + PrefixedRequestAnimationFrame, + /// + /// PrefixedStorageInfo + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("PrefixedStorageInfo"))] + PrefixedStorageInfo, + /// + /// PrefixedVideoDisplayingFullscreen + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("PrefixedVideoDisplayingFullscreen"))] + PrefixedVideoDisplayingFullscreen, + /// + /// PrefixedVideoEnterFullscreen + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("PrefixedVideoEnterFullscreen"))] + PrefixedVideoEnterFullscreen, + /// + /// PrefixedVideoEnterFullScreen + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("PrefixedVideoEnterFullScreen"))] + PrefixedVideoEnterFullScreen, + /// + /// PrefixedVideoExitFullscreen + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("PrefixedVideoExitFullscreen"))] + PrefixedVideoExitFullscreen, + /// + /// PrefixedVideoExitFullScreen + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("PrefixedVideoExitFullScreen"))] + PrefixedVideoExitFullScreen, + /// + /// PrefixedVideoSupportsFullscreen + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("PrefixedVideoSupportsFullscreen"))] + PrefixedVideoSupportsFullscreen, + /// + /// RangeExpand + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("RangeExpand"))] + RangeExpand, + /// + /// RequestedSubresourceWithEmbeddedCredentials + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("RequestedSubresourceWithEmbeddedCredentials"))] + RequestedSubresourceWithEmbeddedCredentials, + /// + /// RTCConstraintEnableDtlsSrtpFalse + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("RTCConstraintEnableDtlsSrtpFalse"))] + RTCConstraintEnableDtlsSrtpFalse, + /// + /// RTCConstraintEnableDtlsSrtpTrue + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("RTCConstraintEnableDtlsSrtpTrue"))] + RTCConstraintEnableDtlsSrtpTrue, + /// + /// RTCPeerConnectionComplexPlanBSdpUsingDefaultSdpSemantics + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("RTCPeerConnectionComplexPlanBSdpUsingDefaultSdpSemantics"))] + RTCPeerConnectionComplexPlanBSdpUsingDefaultSdpSemantics, + /// + /// RTCPeerConnectionSdpSemanticsPlanB /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("Untranslated"))] - Untranslated + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("RTCPeerConnectionSdpSemanticsPlanB"))] + RTCPeerConnectionSdpSemanticsPlanB, + /// + /// RtcpMuxPolicyNegotiate + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("RtcpMuxPolicyNegotiate"))] + RtcpMuxPolicyNegotiate, + /// + /// RTPDataChannel + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("RTPDataChannel"))] + RTPDataChannel, + /// + /// SharedArrayBufferConstructedWithoutIsolation + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("SharedArrayBufferConstructedWithoutIsolation"))] + SharedArrayBufferConstructedWithoutIsolation, + /// + /// TextToSpeech_DisallowedByAutoplay + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("TextToSpeech_DisallowedByAutoplay"))] + TextToSpeechDisallowedByAutoplay, + /// + /// V8SharedArrayBufferConstructedInExtensionWithoutIsolation + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("V8SharedArrayBufferConstructedInExtensionWithoutIsolation"))] + V8SharedArrayBufferConstructedInExtensionWithoutIsolation, + /// + /// XHRJSONEncodingDetection + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("XHRJSONEncodingDetection"))] + XHRJSONEncodingDetection, + /// + /// XMLHttpRequestSynchronousInNonWorkerOutsideBeforeUnload + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("XMLHttpRequestSynchronousInNonWorkerOutsideBeforeUnload"))] + XMLHttpRequestSynchronousInNonWorkerOutsideBeforeUnload, + /// + /// XRSupportsSession + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("XRSupportsSession"))] + XRSupportsSession } /// /// This issue tracks information needed to print a deprecation message. - /// The formatting is inherited from the old console.log version, see more at: - /// https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/frame/deprecation.cc - /// TODO(crbug.com/1264960): Re-work format to add i18n support per: - /// https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/public/devtools_protocol/README.md + /// https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/frame/third_party/blink/renderer/core/frame/deprecation/README.md /// [System.Runtime.Serialization.DataContractAttribute] public partial class DeprecationIssueDetails : CefSharp.DevTools.DevToolsDomainEntityBase @@ -2817,30 +3064,6 @@ public CefSharp.DevTools.Audits.SourceCodeLocation SourceCodeLocation set; } - /// - /// The content of an untranslated deprecation issue, - /// e.g. "window.inefficientLegacyStorageMethod will be removed in M97, - /// around January 2022. Please use Web Storage or Indexed Database - /// instead. This standard was abandoned in January, 1970. See - /// https://www.chromestatus.com/feature/5684870116278272 for more details." - /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("message"), IsRequired = (false))] - public string Message - { - get; - set; - } - - /// - /// The id of an untranslated deprecation issue e.g. PrefixedStorageInfo. - /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("deprecationType"), IsRequired = (false))] - public string DeprecationType - { - get; - set; - } - /// /// Type /// @@ -8453,13 +8676,23 @@ public partial class StorageId : CefSharp.DevTools.DevToolsDomainEntityBase /// /// Security origin for the storage. /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("securityOrigin"), IsRequired = (true))] + [System.Runtime.Serialization.DataMemberAttribute(Name = ("securityOrigin"), IsRequired = (false))] public string SecurityOrigin { get; set; } + /// + /// Represents a key by which DOM Storage keys its CachedStorageAreas + /// + [System.Runtime.Serialization.DataMemberAttribute(Name = ("storageKey"), IsRequired = (false))] + public string StorageKey + { + get; + set; + } + /// /// Whether the storage is local storage (not session storage). /// @@ -9004,6 +9237,26 @@ public bool Mobile get; set; } + + /// + /// Bitness + /// + [System.Runtime.Serialization.DataMemberAttribute(Name = ("bitness"), IsRequired = (false))] + public string Bitness + { + get; + set; + } + + /// + /// Wow64 + /// + [System.Runtime.Serialization.DataMemberAttribute(Name = ("wow64"), IsRequired = (false))] + public bool? Wow64 + { + get; + set; + } } /// @@ -17589,11 +17842,6 @@ public enum PermissionsPolicyFeature [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ch-ect"))] ChEct, /// - /// ch-partitioned-cookies - /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ch-partitioned-cookies"))] - ChPartitionedCookies, - /// /// ch-prefers-color-scheme /// [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ch-prefers-color-scheme"))] @@ -17784,6 +18032,11 @@ public enum PermissionsPolicyFeature [System.Runtime.Serialization.EnumMemberAttribute(Value = ("keyboard-map"))] KeyboardMap, /// + /// local-fonts + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("local-fonts"))] + LocalFonts, + /// /// magnetometer /// [System.Runtime.Serialization.EnumMemberAttribute(Value = ("magnetometer"))] @@ -19224,6 +19477,16 @@ public string Fantasy get; set; } + + /// + /// The math font-family. + /// + [System.Runtime.Serialization.DataMemberAttribute(Name = ("math"), IsRequired = (false))] + public string Math + { + get; + set; + } } /// @@ -19586,11 +19849,6 @@ public enum BackForwardCacheNotRestoredReason [System.Runtime.Serialization.EnumMemberAttribute(Value = ("RendererProcessCrashed"))] RendererProcessCrashed, /// - /// GrantedMediaStreamAccess - /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("GrantedMediaStreamAccess"))] - GrantedMediaStreamAccess, - /// /// SchedulerTrackedFeatureUsed /// [System.Runtime.Serialization.EnumMemberAttribute(Value = ("SchedulerTrackedFeatureUsed"))] @@ -19721,11 +19979,6 @@ public enum BackForwardCacheNotRestoredReason [System.Runtime.Serialization.EnumMemberAttribute(Value = ("BackForwardCacheDisabledForDelegate"))] BackForwardCacheDisabledForDelegate, /// - /// OptInUnloadHeaderNotPresent - /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("OptInUnloadHeaderNotPresent"))] - OptInUnloadHeaderNotPresent, - /// /// UnloadHandlerExistsInMainFrame /// [System.Runtime.Serialization.EnumMemberAttribute(Value = ("UnloadHandlerExistsInMainFrame"))] @@ -20271,7 +20524,167 @@ public enum PrerenderFinalStatus /// Activated /// [System.Runtime.Serialization.EnumMemberAttribute(Value = ("Activated"))] - Activated + Activated, + /// + /// Destroyed + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("Destroyed"))] + Destroyed, + /// + /// LowEndDevice + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("LowEndDevice"))] + LowEndDevice, + /// + /// CrossOriginRedirect + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("CrossOriginRedirect"))] + CrossOriginRedirect, + /// + /// CrossOriginNavigation + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("CrossOriginNavigation"))] + CrossOriginNavigation, + /// + /// InvalidSchemeRedirect + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("InvalidSchemeRedirect"))] + InvalidSchemeRedirect, + /// + /// InvalidSchemeNavigation + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("InvalidSchemeNavigation"))] + InvalidSchemeNavigation, + /// + /// InProgressNavigation + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("InProgressNavigation"))] + InProgressNavigation, + /// + /// NavigationRequestBlockedByCsp + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("NavigationRequestBlockedByCsp"))] + NavigationRequestBlockedByCsp, + /// + /// MainFrameNavigation + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("MainFrameNavigation"))] + MainFrameNavigation, + /// + /// MojoBinderPolicy + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("MojoBinderPolicy"))] + MojoBinderPolicy, + /// + /// RendererProcessCrashed + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("RendererProcessCrashed"))] + RendererProcessCrashed, + /// + /// RendererProcessKilled + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("RendererProcessKilled"))] + RendererProcessKilled, + /// + /// Download + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("Download"))] + Download, + /// + /// TriggerDestroyed + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("TriggerDestroyed"))] + TriggerDestroyed, + /// + /// NavigationNotCommitted + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("NavigationNotCommitted"))] + NavigationNotCommitted, + /// + /// NavigationBadHttpStatus + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("NavigationBadHttpStatus"))] + NavigationBadHttpStatus, + /// + /// ClientCertRequested + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ClientCertRequested"))] + ClientCertRequested, + /// + /// NavigationRequestNetworkError + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("NavigationRequestNetworkError"))] + NavigationRequestNetworkError, + /// + /// MaxNumOfRunningPrerendersExceeded + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("MaxNumOfRunningPrerendersExceeded"))] + MaxNumOfRunningPrerendersExceeded, + /// + /// CancelAllHostsForTesting + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("CancelAllHostsForTesting"))] + CancelAllHostsForTesting, + /// + /// DidFailLoad + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("DidFailLoad"))] + DidFailLoad, + /// + /// Stop + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("Stop"))] + Stop, + /// + /// SslCertificateError + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("SslCertificateError"))] + SslCertificateError, + /// + /// LoginAuthRequested + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("LoginAuthRequested"))] + LoginAuthRequested, + /// + /// UaChangeRequiresReload + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("UaChangeRequiresReload"))] + UaChangeRequiresReload, + /// + /// BlockedByClient + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("BlockedByClient"))] + BlockedByClient, + /// + /// AudioOutputDeviceRequested + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("AudioOutputDeviceRequested"))] + AudioOutputDeviceRequested, + /// + /// MixedContent + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("MixedContent"))] + MixedContent, + /// + /// TriggerBackgrounded + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("TriggerBackgrounded"))] + TriggerBackgrounded, + /// + /// EmbedderTriggeredAndSameOriginRedirected + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("EmbedderTriggeredAndSameOriginRedirected"))] + EmbedderTriggeredAndSameOriginRedirected, + /// + /// EmbedderTriggeredAndCrossOriginRedirected + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("EmbedderTriggeredAndCrossOriginRedirected"))] + EmbedderTriggeredAndCrossOriginRedirected, + /// + /// EmbedderTriggeredAndDestroyed + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("EmbedderTriggeredAndDestroyed"))] + EmbedderTriggeredAndDestroyed } /// @@ -26582,6 +26995,19 @@ public CefSharp.DevTools.Runtime.RemoteObject ReturnValue get; set; } + + /// + /// Valid only while the VM is paused and indicates whether this frame + /// can be restarted or not. Note that a `true` value here does not + /// guarantee that Debugger#restartFrame with this CallFrameId will be + /// successful, but it is very likely. + /// + [System.Runtime.Serialization.DataMemberAttribute(Name = ("canBeRestarted"), IsRequired = (false))] + public bool? CanBeRestarted + { + get; + set; + } } /// @@ -27179,7 +27605,7 @@ public int ExecutionContextId } /// - /// Content hash of the script. + /// Content hash of the script, SHA-256. /// [System.Runtime.Serialization.DataMemberAttribute(Name = ("hash"), IsRequired = (true))] public string Hash @@ -27373,7 +27799,7 @@ public int ExecutionContextId } /// - /// Content hash of the script. + /// Content hash of the script, SHA-256. /// [System.Runtime.Serialization.DataMemberAttribute(Name = ("hash"), IsRequired = (true))] public string Hash @@ -35806,6 +36232,34 @@ public string[] Entries } } +namespace CefSharp.DevTools.DOMStorage +{ + /// + /// GetStorageKeyForFrameResponse + /// + [System.Runtime.Serialization.DataContractAttribute] + public class GetStorageKeyForFrameResponse : CefSharp.DevTools.DevToolsDomainResponseBase + { + [System.Runtime.Serialization.DataMemberAttribute] + internal string storageKey + { + get; + set; + } + + /// + /// storageKey + /// + public string StorageKey + { + get + { + return storageKey; + } + } + } +} + namespace CefSharp.DevTools.DOMStorage { using System.Linq; @@ -35970,6 +36424,20 @@ public System.Threading.Tasks.Task SetDOMStorageItemAsyn dict.Add("value", value); return _client.ExecuteDevToolsMethodAsync("DOMStorage.setDOMStorageItem", dict); } + + partial void ValidateGetStorageKeyForFrame(string frameId); + /// + /// GetStorageKeyForFrame + /// + /// frameId + /// returns System.Threading.Tasks.Task<GetStorageKeyForFrameResponse> + public System.Threading.Tasks.Task GetStorageKeyForFrameAsync(string frameId) + { + ValidateGetStorageKeyForFrame(frameId); + var dict = new System.Collections.Generic.Dictionary(); + dict.Add("frameId", frameId); + return _client.ExecuteDevToolsMethodAsync("DOMStorage.getStorageKeyForFrame", dict); + } } } @@ -36915,7 +37383,7 @@ public HeadlessExperimentalClient(CefSharp.DevTools.IDevToolsClient client) /// Sends a BeginFrame to the target and returns when the frame was completed. Optionally captures a /// screenshot from the resulting frame. Requires that the target was created with enabled /// BeginFrameControl. Designed for use with --run-all-compositor-stages-before-draw, see also - /// https://goo.gl/3zHXhB for more background. + /// https://goo.gle/chrome-headless-rendering for more background. /// /// Timestamp of this BeginFrame in Renderer TimeTicks (milliseconds of uptime). If not set,the current time will be used. /// The interval between BeginFrames that is reported to the compositor, in milliseconds.Defaults to a 60 frames/second interval, i.e. about 16.666 milliseconds. @@ -42636,7 +43104,7 @@ public System.Threading.Tasks.Task NavigateToHistoryEntr return _client.ExecuteDevToolsMethodAsync("Page.navigateToHistoryEntry", dict); } - partial void ValidatePrintToPDF(bool? landscape = null, bool? displayHeaderFooter = null, bool? printBackground = null, double? scale = null, double? paperWidth = null, double? paperHeight = null, double? marginTop = null, double? marginBottom = null, double? marginLeft = null, double? marginRight = null, string pageRanges = null, bool? ignoreInvalidPageRanges = null, string headerTemplate = null, string footerTemplate = null, bool? preferCSSPageSize = null, CefSharp.DevTools.Page.PrintToPDFTransferMode? transferMode = null); + partial void ValidatePrintToPDF(bool? landscape = null, bool? displayHeaderFooter = null, bool? printBackground = null, double? scale = null, double? paperWidth = null, double? paperHeight = null, double? marginTop = null, double? marginBottom = null, double? marginLeft = null, double? marginRight = null, string pageRanges = null, string headerTemplate = null, string footerTemplate = null, bool? preferCSSPageSize = null, CefSharp.DevTools.Page.PrintToPDFTransferMode? transferMode = null); /// /// Print page as PDF. /// @@ -42650,16 +43118,15 @@ public System.Threading.Tasks.Task NavigateToHistoryEntr /// Bottom margin in inches. Defaults to 1cm (~0.4 inches). /// Left margin in inches. Defaults to 1cm (~0.4 inches). /// Right margin in inches. Defaults to 1cm (~0.4 inches). - /// Paper ranges to print, e.g., '1-5, 8, 11-13'. Defaults to the empty string, which meansprint all pages. - /// Whether to silently ignore invalid but successfully parsed page ranges, such as '3-2'.Defaults to false. + /// Paper ranges to print, one based, e.g., '1-5, 8, 11-13'. Pages areprinted in the document order, not in the order specified, and nomore than once.Defaults to empty string, which implies the entire document is printed.The page numbers are quietly capped to actual page count of thedocument, and ranges beyond the end of the document are ignored.If this results in no pages to print, an error is reported.It is an error to specify a range with start greater than end. /// HTML template for the print header. Should be valid HTML markup with followingclasses used to inject printing values into them:- `date`: formatted print date- `title`: document title- `url`: document location- `pageNumber`: current page number- `totalPages`: total pages in the documentFor example, `<span class=title> </span>` would generate span containing the title. /// HTML template for the print footer. Should use the same format as the `headerTemplate`. /// Whether or not to prefer page size as defined by css. Defaults to false,in which case the content will be scaled to fit the paper size. /// return as stream /// returns System.Threading.Tasks.Task<PrintToPDFResponse> - public System.Threading.Tasks.Task PrintToPDFAsync(bool? landscape = null, bool? displayHeaderFooter = null, bool? printBackground = null, double? scale = null, double? paperWidth = null, double? paperHeight = null, double? marginTop = null, double? marginBottom = null, double? marginLeft = null, double? marginRight = null, string pageRanges = null, bool? ignoreInvalidPageRanges = null, string headerTemplate = null, string footerTemplate = null, bool? preferCSSPageSize = null, CefSharp.DevTools.Page.PrintToPDFTransferMode? transferMode = null) + public System.Threading.Tasks.Task PrintToPDFAsync(bool? landscape = null, bool? displayHeaderFooter = null, bool? printBackground = null, double? scale = null, double? paperWidth = null, double? paperHeight = null, double? marginTop = null, double? marginBottom = null, double? marginLeft = null, double? marginRight = null, string pageRanges = null, string headerTemplate = null, string footerTemplate = null, bool? preferCSSPageSize = null, CefSharp.DevTools.Page.PrintToPDFTransferMode? transferMode = null) { - ValidatePrintToPDF(landscape, displayHeaderFooter, printBackground, scale, paperWidth, paperHeight, marginTop, marginBottom, marginLeft, marginRight, pageRanges, ignoreInvalidPageRanges, headerTemplate, footerTemplate, preferCSSPageSize, transferMode); + ValidatePrintToPDF(landscape, displayHeaderFooter, printBackground, scale, paperWidth, paperHeight, marginTop, marginBottom, marginLeft, marginRight, pageRanges, headerTemplate, footerTemplate, preferCSSPageSize, transferMode); var dict = new System.Collections.Generic.Dictionary(); if (landscape.HasValue) { @@ -42716,11 +43183,6 @@ public System.Threading.Tasks.Task PrintToPDFAsync(bool? lan dict.Add("pageRanges", pageRanges); } - if (ignoreInvalidPageRanges.HasValue) - { - dict.Add("ignoreInvalidPageRanges", ignoreInvalidPageRanges.Value); - } - if (!(string.IsNullOrEmpty(headerTemplate))) { dict.Add("headerTemplate", headerTemplate); @@ -46113,14 +46575,22 @@ public WebAuthnClient(CefSharp.DevTools.IDevToolsClient client) _client = (client); } + partial void ValidateEnable(bool? enableUI = null); /// /// Enable the WebAuthn domain and start intercepting credential storage and /// retrieval with a virtual authenticator. /// + /// Whether to enable the WebAuthn user interface. Enabling the UI isrecommended for debugging and demo purposes, as it is closer to the realexperience. Disabling the UI is recommended for automated testing.Supported at the embedder's discretion if UI is available.Defaults to false. /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> - public System.Threading.Tasks.Task EnableAsync() + public System.Threading.Tasks.Task EnableAsync(bool? enableUI = null) { - System.Collections.Generic.Dictionary dict = null; + ValidateEnable(enableUI); + var dict = new System.Collections.Generic.Dictionary(); + if (enableUI.HasValue) + { + dict.Add("enableUI", enableUI.Value); + } + return _client.ExecuteDevToolsMethodAsync("WebAuthn.enable", dict); } @@ -47895,17 +48365,18 @@ public System.Threading.Tasks.Task StopSamplingAsync() return _client.ExecuteDevToolsMethodAsync("HeapProfiler.stopSampling", dict); } - partial void ValidateStopTrackingHeapObjects(bool? reportProgress = null, bool? treatGlobalObjectsAsRoots = null, bool? captureNumericValue = null); + partial void ValidateStopTrackingHeapObjects(bool? reportProgress = null, bool? treatGlobalObjectsAsRoots = null, bool? captureNumericValue = null, bool? exposeInternals = null); /// /// StopTrackingHeapObjects /// /// If true 'reportHeapSnapshotProgress' events will be generated while snapshot is being takenwhen the tracking is stopped. - /// treatGlobalObjectsAsRoots + /// Deprecated in favor of `exposeInternals`. /// If true, numerical values are included in the snapshot + /// If true, exposes internals of the snapshot. /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> - public System.Threading.Tasks.Task StopTrackingHeapObjectsAsync(bool? reportProgress = null, bool? treatGlobalObjectsAsRoots = null, bool? captureNumericValue = null) + public System.Threading.Tasks.Task StopTrackingHeapObjectsAsync(bool? reportProgress = null, bool? treatGlobalObjectsAsRoots = null, bool? captureNumericValue = null, bool? exposeInternals = null) { - ValidateStopTrackingHeapObjects(reportProgress, treatGlobalObjectsAsRoots, captureNumericValue); + ValidateStopTrackingHeapObjects(reportProgress, treatGlobalObjectsAsRoots, captureNumericValue, exposeInternals); var dict = new System.Collections.Generic.Dictionary(); if (reportProgress.HasValue) { @@ -47922,20 +48393,26 @@ public System.Threading.Tasks.Task StopTrackingHeapObjec dict.Add("captureNumericValue", captureNumericValue.Value); } + if (exposeInternals.HasValue) + { + dict.Add("exposeInternals", exposeInternals.Value); + } + return _client.ExecuteDevToolsMethodAsync("HeapProfiler.stopTrackingHeapObjects", dict); } - partial void ValidateTakeHeapSnapshot(bool? reportProgress = null, bool? treatGlobalObjectsAsRoots = null, bool? captureNumericValue = null); + partial void ValidateTakeHeapSnapshot(bool? reportProgress = null, bool? treatGlobalObjectsAsRoots = null, bool? captureNumericValue = null, bool? exposeInternals = null); /// /// TakeHeapSnapshot /// /// If true 'reportHeapSnapshotProgress' events will be generated while snapshot is being taken. - /// If true, a raw snapshot without artificial roots will be generated + /// If true, a raw snapshot without artificial roots will be generated.Deprecated in favor of `exposeInternals`. /// If true, numerical values are included in the snapshot + /// If true, exposes internals of the snapshot. /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> - public System.Threading.Tasks.Task TakeHeapSnapshotAsync(bool? reportProgress = null, bool? treatGlobalObjectsAsRoots = null, bool? captureNumericValue = null) + public System.Threading.Tasks.Task TakeHeapSnapshotAsync(bool? reportProgress = null, bool? treatGlobalObjectsAsRoots = null, bool? captureNumericValue = null, bool? exposeInternals = null) { - ValidateTakeHeapSnapshot(reportProgress, treatGlobalObjectsAsRoots, captureNumericValue); + ValidateTakeHeapSnapshot(reportProgress, treatGlobalObjectsAsRoots, captureNumericValue, exposeInternals); var dict = new System.Collections.Generic.Dictionary(); if (reportProgress.HasValue) { @@ -47952,6 +48429,11 @@ public System.Threading.Tasks.Task TakeHeapSnapshotAsync dict.Add("captureNumericValue", captureNumericValue.Value); } + if (exposeInternals.HasValue) + { + dict.Add("exposeInternals", exposeInternals.Value); + } + return _client.ExecuteDevToolsMethodAsync("HeapProfiler.takeHeapSnapshot", dict); } } @@ -49000,7 +49482,7 @@ public System.Threading.Tasks.Task AwaitPromiseAsync(strin /// 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. - /// Whether the result should be serialized according to https://w3c.github.io/webdriver-bidi. + /// Whether the result should contain `webDriverValue`, serialized according tohttps://w3c.github.io/webdriver-bidi. This is mutually exclusive with `returnByValue`, butresulting `objectId` is still provided. /// 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, bool? throwOnSideEffect = null, bool? generateWebDriverValue = null) { diff --git a/CefSharp/DevTools/DevToolsClient.Generated.netcore.cs b/CefSharp/DevTools/DevToolsClient.Generated.netcore.cs index 2dc03df70a..52dcb9cbeb 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 102.0.5005.63 +// CHROMIUM VERSION 103.0.5060.66 namespace CefSharp.DevTools.Accessibility { /// @@ -2265,11 +2265,6 @@ public enum AttributionReportingIssueType [System.Text.Json.Serialization.JsonPropertyNameAttribute("PermissionPolicyDisabled")] PermissionPolicyDisabled, /// - /// InvalidAttributionSourceEventId - /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("InvalidAttributionSourceEventId")] - InvalidAttributionSourceEventId, - /// /// AttributionSourceUntrustworthyOrigin /// [System.Text.Json.Serialization.JsonPropertyNameAttribute("AttributionSourceUntrustworthyOrigin")] @@ -2280,15 +2275,10 @@ public enum AttributionReportingIssueType [System.Text.Json.Serialization.JsonPropertyNameAttribute("AttributionUntrustworthyOrigin")] AttributionUntrustworthyOrigin, /// - /// InvalidAttributionSourceExpiry + /// InvalidHeader /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("InvalidAttributionSourceExpiry")] - InvalidAttributionSourceExpiry, - /// - /// InvalidAttributionSourcePriority - /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("InvalidAttributionSourcePriority")] - InvalidAttributionSourcePriority + [System.Text.Json.Serialization.JsonPropertyNameAttribute("InvalidHeader")] + InvalidHeader } /// @@ -2479,24 +2469,281 @@ public string FrameId /// public enum DeprecationIssueType { + /// + /// AuthorizationCoveredByWildcard + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("AuthorizationCoveredByWildcard")] + AuthorizationCoveredByWildcard, + /// + /// CanRequestURLHTTPContainingNewline + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("CanRequestURLHTTPContainingNewline")] + CanRequestURLHTTPContainingNewline, + /// + /// ChromeLoadTimesConnectionInfo + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("ChromeLoadTimesConnectionInfo")] + ChromeLoadTimesConnectionInfo, + /// + /// ChromeLoadTimesFirstPaintAfterLoadTime + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("ChromeLoadTimesFirstPaintAfterLoadTime")] + ChromeLoadTimesFirstPaintAfterLoadTime, + /// + /// ChromeLoadTimesWasAlternateProtocolAvailable + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("ChromeLoadTimesWasAlternateProtocolAvailable")] + ChromeLoadTimesWasAlternateProtocolAvailable, + /// + /// CookieWithTruncatingChar + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("CookieWithTruncatingChar")] + CookieWithTruncatingChar, + /// + /// CrossOriginAccessBasedOnDocumentDomain + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("CrossOriginAccessBasedOnDocumentDomain")] + CrossOriginAccessBasedOnDocumentDomain, + /// + /// CrossOriginWindowAlert + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("CrossOriginWindowAlert")] + CrossOriginWindowAlert, + /// + /// CrossOriginWindowConfirm + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("CrossOriginWindowConfirm")] + CrossOriginWindowConfirm, + /// + /// CSSSelectorInternalMediaControlsOverlayCastButton + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("CSSSelectorInternalMediaControlsOverlayCastButton")] + CSSSelectorInternalMediaControlsOverlayCastButton, + /// + /// CustomCursorIntersectsViewport + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("CustomCursorIntersectsViewport")] + CustomCursorIntersectsViewport, /// /// DeprecationExample /// [System.Text.Json.Serialization.JsonPropertyNameAttribute("DeprecationExample")] DeprecationExample, /// - /// Untranslated + /// DocumentDomainSettingWithoutOriginAgentClusterHeader + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("DocumentDomainSettingWithoutOriginAgentClusterHeader")] + DocumentDomainSettingWithoutOriginAgentClusterHeader, + /// + /// EventPath + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("EventPath")] + EventPath, + /// + /// GeolocationInsecureOrigin + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("GeolocationInsecureOrigin")] + GeolocationInsecureOrigin, + /// + /// GeolocationInsecureOriginDeprecatedNotRemoved + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("GeolocationInsecureOriginDeprecatedNotRemoved")] + GeolocationInsecureOriginDeprecatedNotRemoved, + /// + /// GetUserMediaInsecureOrigin + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("GetUserMediaInsecureOrigin")] + GetUserMediaInsecureOrigin, + /// + /// HostCandidateAttributeGetter + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("HostCandidateAttributeGetter")] + HostCandidateAttributeGetter, + /// + /// InsecurePrivateNetworkSubresourceRequest + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("InsecurePrivateNetworkSubresourceRequest")] + InsecurePrivateNetworkSubresourceRequest, + /// + /// LegacyConstraintGoogIPv6 + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("LegacyConstraintGoogIPv6")] + LegacyConstraintGoogIPv6, + /// + /// LocalCSSFileExtensionRejected + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("LocalCSSFileExtensionRejected")] + LocalCSSFileExtensionRejected, + /// + /// MediaElementAudioSourceNode + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("MediaElementAudioSourceNode")] + MediaElementAudioSourceNode, + /// + /// MediaSourceAbortRemove + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("MediaSourceAbortRemove")] + MediaSourceAbortRemove, + /// + /// MediaSourceDurationTruncatingBuffered + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("MediaSourceDurationTruncatingBuffered")] + MediaSourceDurationTruncatingBuffered, + /// + /// NoSysexWebMIDIWithoutPermission + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("NoSysexWebMIDIWithoutPermission")] + NoSysexWebMIDIWithoutPermission, + /// + /// NotificationInsecureOrigin + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("NotificationInsecureOrigin")] + NotificationInsecureOrigin, + /// + /// NotificationPermissionRequestedIframe + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("NotificationPermissionRequestedIframe")] + NotificationPermissionRequestedIframe, + /// + /// ObsoleteWebRtcCipherSuite + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("ObsoleteWebRtcCipherSuite")] + ObsoleteWebRtcCipherSuite, + /// + /// PaymentRequestBasicCard + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("PaymentRequestBasicCard")] + PaymentRequestBasicCard, + /// + /// PaymentRequestShowWithoutGesture + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("PaymentRequestShowWithoutGesture")] + PaymentRequestShowWithoutGesture, + /// + /// PictureSourceSrc + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("PictureSourceSrc")] + PictureSourceSrc, + /// + /// PrefixedCancelAnimationFrame + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("PrefixedCancelAnimationFrame")] + PrefixedCancelAnimationFrame, + /// + /// PrefixedRequestAnimationFrame + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("PrefixedRequestAnimationFrame")] + PrefixedRequestAnimationFrame, + /// + /// PrefixedStorageInfo + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("PrefixedStorageInfo")] + PrefixedStorageInfo, + /// + /// PrefixedVideoDisplayingFullscreen + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("PrefixedVideoDisplayingFullscreen")] + PrefixedVideoDisplayingFullscreen, + /// + /// PrefixedVideoEnterFullscreen /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("Untranslated")] - Untranslated + [System.Text.Json.Serialization.JsonPropertyNameAttribute("PrefixedVideoEnterFullscreen")] + PrefixedVideoEnterFullscreen, + /// + /// PrefixedVideoEnterFullScreen + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("PrefixedVideoEnterFullScreen")] + PrefixedVideoEnterFullScreen, + /// + /// PrefixedVideoExitFullscreen + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("PrefixedVideoExitFullscreen")] + PrefixedVideoExitFullscreen, + /// + /// PrefixedVideoExitFullScreen + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("PrefixedVideoExitFullScreen")] + PrefixedVideoExitFullScreen, + /// + /// PrefixedVideoSupportsFullscreen + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("PrefixedVideoSupportsFullscreen")] + PrefixedVideoSupportsFullscreen, + /// + /// RangeExpand + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("RangeExpand")] + RangeExpand, + /// + /// RequestedSubresourceWithEmbeddedCredentials + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("RequestedSubresourceWithEmbeddedCredentials")] + RequestedSubresourceWithEmbeddedCredentials, + /// + /// RTCConstraintEnableDtlsSrtpFalse + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("RTCConstraintEnableDtlsSrtpFalse")] + RTCConstraintEnableDtlsSrtpFalse, + /// + /// RTCConstraintEnableDtlsSrtpTrue + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("RTCConstraintEnableDtlsSrtpTrue")] + RTCConstraintEnableDtlsSrtpTrue, + /// + /// RTCPeerConnectionComplexPlanBSdpUsingDefaultSdpSemantics + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("RTCPeerConnectionComplexPlanBSdpUsingDefaultSdpSemantics")] + RTCPeerConnectionComplexPlanBSdpUsingDefaultSdpSemantics, + /// + /// RTCPeerConnectionSdpSemanticsPlanB + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("RTCPeerConnectionSdpSemanticsPlanB")] + RTCPeerConnectionSdpSemanticsPlanB, + /// + /// RtcpMuxPolicyNegotiate + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("RtcpMuxPolicyNegotiate")] + RtcpMuxPolicyNegotiate, + /// + /// RTPDataChannel + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("RTPDataChannel")] + RTPDataChannel, + /// + /// SharedArrayBufferConstructedWithoutIsolation + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("SharedArrayBufferConstructedWithoutIsolation")] + SharedArrayBufferConstructedWithoutIsolation, + /// + /// TextToSpeech_DisallowedByAutoplay + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("TextToSpeech_DisallowedByAutoplay")] + TextToSpeechDisallowedByAutoplay, + /// + /// V8SharedArrayBufferConstructedInExtensionWithoutIsolation + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("V8SharedArrayBufferConstructedInExtensionWithoutIsolation")] + V8SharedArrayBufferConstructedInExtensionWithoutIsolation, + /// + /// XHRJSONEncodingDetection + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("XHRJSONEncodingDetection")] + XHRJSONEncodingDetection, + /// + /// XMLHttpRequestSynchronousInNonWorkerOutsideBeforeUnload + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("XMLHttpRequestSynchronousInNonWorkerOutsideBeforeUnload")] + XMLHttpRequestSynchronousInNonWorkerOutsideBeforeUnload, + /// + /// XRSupportsSession + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("XRSupportsSession")] + XRSupportsSession } /// /// This issue tracks information needed to print a deprecation message. - /// The formatting is inherited from the old console.log version, see more at: - /// https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/frame/deprecation.cc - /// TODO(crbug.com/1264960): Re-work format to add i18n support per: - /// https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/public/devtools_protocol/README.md + /// https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/frame/third_party/blink/renderer/core/frame/deprecation/README.md /// public partial class DeprecationIssueDetails : CefSharp.DevTools.DevToolsDomainEntityBase { @@ -2521,30 +2768,6 @@ public CefSharp.DevTools.Audits.SourceCodeLocation SourceCodeLocation set; } - /// - /// The content of an untranslated deprecation issue, - /// e.g. "window.inefficientLegacyStorageMethod will be removed in M97, - /// around January 2022. Please use Web Storage or Indexed Database - /// instead. This standard was abandoned in January, 1970. See - /// https://www.chromestatus.com/feature/5684870116278272 for more details." - /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("message")] - public string Message - { - get; - set; - } - - /// - /// The id of an untranslated deprecation issue e.g. PrefixedStorageInfo. - /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("deprecationType")] - public string DeprecationType - { - get; - set; - } - /// /// Type /// @@ -7924,13 +8147,22 @@ public partial class StorageId : CefSharp.DevTools.DevToolsDomainEntityBase /// Security origin for the storage. /// [System.Text.Json.Serialization.JsonPropertyNameAttribute("securityOrigin")] - [System.Diagnostics.CodeAnalysis.DisallowNull] public string SecurityOrigin { get; set; } + /// + /// Represents a key by which DOM Storage keys its CachedStorageAreas + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("storageKey")] + public string StorageKey + { + get; + set; + } + /// /// Whether the storage is local storage (not session storage). /// @@ -8466,6 +8698,26 @@ public bool Mobile get; set; } + + /// + /// Bitness + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("bitness")] + public string Bitness + { + get; + set; + } + + /// + /// Wow64 + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("wow64")] + public bool? Wow64 + { + get; + set; + } } /// @@ -16353,11 +16605,6 @@ public enum PermissionsPolicyFeature [System.Text.Json.Serialization.JsonPropertyNameAttribute("ch-ect")] ChEct, /// - /// ch-partitioned-cookies - /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("ch-partitioned-cookies")] - ChPartitionedCookies, - /// /// ch-prefers-color-scheme /// [System.Text.Json.Serialization.JsonPropertyNameAttribute("ch-prefers-color-scheme")] @@ -16548,6 +16795,11 @@ public enum PermissionsPolicyFeature [System.Text.Json.Serialization.JsonPropertyNameAttribute("keyboard-map")] KeyboardMap, /// + /// local-fonts + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("local-fonts")] + LocalFonts, + /// /// magnetometer /// [System.Text.Json.Serialization.JsonPropertyNameAttribute("magnetometer")] @@ -17833,6 +18085,16 @@ public string Fantasy get; set; } + + /// + /// The math font-family. + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("math")] + public string Math + { + get; + set; + } } /// @@ -18197,11 +18459,6 @@ public enum BackForwardCacheNotRestoredReason [System.Text.Json.Serialization.JsonPropertyNameAttribute("RendererProcessCrashed")] RendererProcessCrashed, /// - /// GrantedMediaStreamAccess - /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("GrantedMediaStreamAccess")] - GrantedMediaStreamAccess, - /// /// SchedulerTrackedFeatureUsed /// [System.Text.Json.Serialization.JsonPropertyNameAttribute("SchedulerTrackedFeatureUsed")] @@ -18332,11 +18589,6 @@ public enum BackForwardCacheNotRestoredReason [System.Text.Json.Serialization.JsonPropertyNameAttribute("BackForwardCacheDisabledForDelegate")] BackForwardCacheDisabledForDelegate, /// - /// OptInUnloadHeaderNotPresent - /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("OptInUnloadHeaderNotPresent")] - OptInUnloadHeaderNotPresent, - /// /// UnloadHandlerExistsInMainFrame /// [System.Text.Json.Serialization.JsonPropertyNameAttribute("UnloadHandlerExistsInMainFrame")] @@ -18851,7 +19103,167 @@ public enum PrerenderFinalStatus /// Activated /// [System.Text.Json.Serialization.JsonPropertyNameAttribute("Activated")] - Activated + Activated, + /// + /// Destroyed + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("Destroyed")] + Destroyed, + /// + /// LowEndDevice + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("LowEndDevice")] + LowEndDevice, + /// + /// CrossOriginRedirect + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("CrossOriginRedirect")] + CrossOriginRedirect, + /// + /// CrossOriginNavigation + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("CrossOriginNavigation")] + CrossOriginNavigation, + /// + /// InvalidSchemeRedirect + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("InvalidSchemeRedirect")] + InvalidSchemeRedirect, + /// + /// InvalidSchemeNavigation + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("InvalidSchemeNavigation")] + InvalidSchemeNavigation, + /// + /// InProgressNavigation + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("InProgressNavigation")] + InProgressNavigation, + /// + /// NavigationRequestBlockedByCsp + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("NavigationRequestBlockedByCsp")] + NavigationRequestBlockedByCsp, + /// + /// MainFrameNavigation + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("MainFrameNavigation")] + MainFrameNavigation, + /// + /// MojoBinderPolicy + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("MojoBinderPolicy")] + MojoBinderPolicy, + /// + /// RendererProcessCrashed + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("RendererProcessCrashed")] + RendererProcessCrashed, + /// + /// RendererProcessKilled + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("RendererProcessKilled")] + RendererProcessKilled, + /// + /// Download + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("Download")] + Download, + /// + /// TriggerDestroyed + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("TriggerDestroyed")] + TriggerDestroyed, + /// + /// NavigationNotCommitted + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("NavigationNotCommitted")] + NavigationNotCommitted, + /// + /// NavigationBadHttpStatus + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("NavigationBadHttpStatus")] + NavigationBadHttpStatus, + /// + /// ClientCertRequested + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("ClientCertRequested")] + ClientCertRequested, + /// + /// NavigationRequestNetworkError + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("NavigationRequestNetworkError")] + NavigationRequestNetworkError, + /// + /// MaxNumOfRunningPrerendersExceeded + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("MaxNumOfRunningPrerendersExceeded")] + MaxNumOfRunningPrerendersExceeded, + /// + /// CancelAllHostsForTesting + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("CancelAllHostsForTesting")] + CancelAllHostsForTesting, + /// + /// DidFailLoad + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("DidFailLoad")] + DidFailLoad, + /// + /// Stop + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("Stop")] + Stop, + /// + /// SslCertificateError + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("SslCertificateError")] + SslCertificateError, + /// + /// LoginAuthRequested + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("LoginAuthRequested")] + LoginAuthRequested, + /// + /// UaChangeRequiresReload + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("UaChangeRequiresReload")] + UaChangeRequiresReload, + /// + /// BlockedByClient + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("BlockedByClient")] + BlockedByClient, + /// + /// AudioOutputDeviceRequested + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("AudioOutputDeviceRequested")] + AudioOutputDeviceRequested, + /// + /// MixedContent + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("MixedContent")] + MixedContent, + /// + /// TriggerBackgrounded + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("TriggerBackgrounded")] + TriggerBackgrounded, + /// + /// EmbedderTriggeredAndSameOriginRedirected + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("EmbedderTriggeredAndSameOriginRedirected")] + EmbedderTriggeredAndSameOriginRedirected, + /// + /// EmbedderTriggeredAndCrossOriginRedirected + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("EmbedderTriggeredAndCrossOriginRedirected")] + EmbedderTriggeredAndCrossOriginRedirected, + /// + /// EmbedderTriggeredAndDestroyed + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("EmbedderTriggeredAndDestroyed")] + EmbedderTriggeredAndDestroyed } /// @@ -24751,6 +25163,19 @@ public CefSharp.DevTools.Runtime.RemoteObject ReturnValue get; set; } + + /// + /// Valid only while the VM is paused and indicates whether this frame + /// can be restarted or not. Note that a `true` value here does not + /// guarantee that Debugger#restartFrame with this CallFrameId will be + /// successful, but it is very likely. + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("canBeRestarted")] + public bool? CanBeRestarted + { + get; + set; + } } /// @@ -25301,7 +25726,7 @@ public int ExecutionContextId } /// - /// Content hash of the script. + /// Content hash of the script, SHA-256. /// [System.Text.Json.Serialization.JsonIncludeAttribute] [System.Text.Json.Serialization.JsonPropertyNameAttribute("hash")] @@ -25498,7 +25923,7 @@ public int ExecutionContextId } /// - /// Content hash of the script. + /// Content hash of the script, SHA-256. /// [System.Text.Json.Serialization.JsonIncludeAttribute] [System.Text.Json.Serialization.JsonPropertyNameAttribute("hash")] @@ -33127,6 +33552,26 @@ public string[] Entries } } +namespace CefSharp.DevTools.DOMStorage +{ + /// + /// GetStorageKeyForFrameResponse + /// + public class GetStorageKeyForFrameResponse : CefSharp.DevTools.DevToolsDomainResponseBase + { + /// + /// storageKey + /// + [System.Text.Json.Serialization.JsonIncludeAttribute] + [System.Text.Json.Serialization.JsonPropertyNameAttribute("storageKey")] + public string StorageKey + { + get; + private set; + } + } +} + namespace CefSharp.DevTools.DOMStorage { using System.Linq; @@ -33291,6 +33736,20 @@ public System.Threading.Tasks.Task SetDOMStorageItemAsyn dict.Add("value", value); return _client.ExecuteDevToolsMethodAsync("DOMStorage.setDOMStorageItem", dict); } + + partial void ValidateGetStorageKeyForFrame(string frameId); + /// + /// GetStorageKeyForFrame + /// + /// frameId + /// returns System.Threading.Tasks.Task<GetStorageKeyForFrameResponse> + public System.Threading.Tasks.Task GetStorageKeyForFrameAsync(string frameId) + { + ValidateGetStorageKeyForFrame(frameId); + var dict = new System.Collections.Generic.Dictionary(); + dict.Add("frameId", frameId); + return _client.ExecuteDevToolsMethodAsync("DOMStorage.getStorageKeyForFrame", dict); + } } } @@ -34175,7 +34634,7 @@ public HeadlessExperimentalClient(CefSharp.DevTools.IDevToolsClient client) /// Sends a BeginFrame to the target and returns when the frame was completed. Optionally captures a /// screenshot from the resulting frame. Requires that the target was created with enabled /// BeginFrameControl. Designed for use with --run-all-compositor-stages-before-draw, see also - /// https://goo.gl/3zHXhB for more background. + /// https://goo.gle/chrome-headless-rendering for more background. /// /// Timestamp of this BeginFrame in Renderer TimeTicks (milliseconds of uptime). If not set,the current time will be used. /// The interval between BeginFrames that is reported to the compositor, in milliseconds.Defaults to a 60 frames/second interval, i.e. about 16.666 milliseconds. @@ -39351,7 +39810,7 @@ public System.Threading.Tasks.Task NavigateToHistoryEntr return _client.ExecuteDevToolsMethodAsync("Page.navigateToHistoryEntry", dict); } - partial void ValidatePrintToPDF(bool? landscape = null, bool? displayHeaderFooter = null, bool? printBackground = null, double? scale = null, double? paperWidth = null, double? paperHeight = null, double? marginTop = null, double? marginBottom = null, double? marginLeft = null, double? marginRight = null, string pageRanges = null, bool? ignoreInvalidPageRanges = null, string headerTemplate = null, string footerTemplate = null, bool? preferCSSPageSize = null, CefSharp.DevTools.Page.PrintToPDFTransferMode? transferMode = null); + partial void ValidatePrintToPDF(bool? landscape = null, bool? displayHeaderFooter = null, bool? printBackground = null, double? scale = null, double? paperWidth = null, double? paperHeight = null, double? marginTop = null, double? marginBottom = null, double? marginLeft = null, double? marginRight = null, string pageRanges = null, string headerTemplate = null, string footerTemplate = null, bool? preferCSSPageSize = null, CefSharp.DevTools.Page.PrintToPDFTransferMode? transferMode = null); /// /// Print page as PDF. /// @@ -39365,16 +39824,15 @@ public System.Threading.Tasks.Task NavigateToHistoryEntr /// Bottom margin in inches. Defaults to 1cm (~0.4 inches). /// Left margin in inches. Defaults to 1cm (~0.4 inches). /// Right margin in inches. Defaults to 1cm (~0.4 inches). - /// Paper ranges to print, e.g., '1-5, 8, 11-13'. Defaults to the empty string, which meansprint all pages. - /// Whether to silently ignore invalid but successfully parsed page ranges, such as '3-2'.Defaults to false. + /// Paper ranges to print, one based, e.g., '1-5, 8, 11-13'. Pages areprinted in the document order, not in the order specified, and nomore than once.Defaults to empty string, which implies the entire document is printed.The page numbers are quietly capped to actual page count of thedocument, and ranges beyond the end of the document are ignored.If this results in no pages to print, an error is reported.It is an error to specify a range with start greater than end. /// HTML template for the print header. Should be valid HTML markup with followingclasses used to inject printing values into them:- `date`: formatted print date- `title`: document title- `url`: document location- `pageNumber`: current page number- `totalPages`: total pages in the documentFor example, `<span class=title> </span>` would generate span containing the title. /// HTML template for the print footer. Should use the same format as the `headerTemplate`. /// Whether or not to prefer page size as defined by css. Defaults to false,in which case the content will be scaled to fit the paper size. /// return as stream /// returns System.Threading.Tasks.Task<PrintToPDFResponse> - public System.Threading.Tasks.Task PrintToPDFAsync(bool? landscape = null, bool? displayHeaderFooter = null, bool? printBackground = null, double? scale = null, double? paperWidth = null, double? paperHeight = null, double? marginTop = null, double? marginBottom = null, double? marginLeft = null, double? marginRight = null, string pageRanges = null, bool? ignoreInvalidPageRanges = null, string headerTemplate = null, string footerTemplate = null, bool? preferCSSPageSize = null, CefSharp.DevTools.Page.PrintToPDFTransferMode? transferMode = null) + public System.Threading.Tasks.Task PrintToPDFAsync(bool? landscape = null, bool? displayHeaderFooter = null, bool? printBackground = null, double? scale = null, double? paperWidth = null, double? paperHeight = null, double? marginTop = null, double? marginBottom = null, double? marginLeft = null, double? marginRight = null, string pageRanges = null, string headerTemplate = null, string footerTemplate = null, bool? preferCSSPageSize = null, CefSharp.DevTools.Page.PrintToPDFTransferMode? transferMode = null) { - ValidatePrintToPDF(landscape, displayHeaderFooter, printBackground, scale, paperWidth, paperHeight, marginTop, marginBottom, marginLeft, marginRight, pageRanges, ignoreInvalidPageRanges, headerTemplate, footerTemplate, preferCSSPageSize, transferMode); + ValidatePrintToPDF(landscape, displayHeaderFooter, printBackground, scale, paperWidth, paperHeight, marginTop, marginBottom, marginLeft, marginRight, pageRanges, headerTemplate, footerTemplate, preferCSSPageSize, transferMode); var dict = new System.Collections.Generic.Dictionary(); if (landscape.HasValue) { @@ -39431,11 +39889,6 @@ public System.Threading.Tasks.Task PrintToPDFAsync(bool? lan dict.Add("pageRanges", pageRanges); } - if (ignoreInvalidPageRanges.HasValue) - { - dict.Add("ignoreInvalidPageRanges", ignoreInvalidPageRanges.Value); - } - if (!(string.IsNullOrEmpty(headerTemplate))) { dict.Add("headerTemplate", headerTemplate); @@ -42580,14 +43033,22 @@ public WebAuthnClient(CefSharp.DevTools.IDevToolsClient client) _client = (client); } + partial void ValidateEnable(bool? enableUI = null); /// /// Enable the WebAuthn domain and start intercepting credential storage and /// retrieval with a virtual authenticator. /// + /// Whether to enable the WebAuthn user interface. Enabling the UI isrecommended for debugging and demo purposes, as it is closer to the realexperience. Disabling the UI is recommended for automated testing.Supported at the embedder's discretion if UI is available.Defaults to false. /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> - public System.Threading.Tasks.Task EnableAsync() + public System.Threading.Tasks.Task EnableAsync(bool? enableUI = null) { - System.Collections.Generic.Dictionary dict = null; + ValidateEnable(enableUI); + var dict = new System.Collections.Generic.Dictionary(); + if (enableUI.HasValue) + { + dict.Add("enableUI", enableUI.Value); + } + return _client.ExecuteDevToolsMethodAsync("WebAuthn.enable", dict); } @@ -44186,17 +44647,18 @@ public System.Threading.Tasks.Task StopSamplingAsync() return _client.ExecuteDevToolsMethodAsync("HeapProfiler.stopSampling", dict); } - partial void ValidateStopTrackingHeapObjects(bool? reportProgress = null, bool? treatGlobalObjectsAsRoots = null, bool? captureNumericValue = null); + partial void ValidateStopTrackingHeapObjects(bool? reportProgress = null, bool? treatGlobalObjectsAsRoots = null, bool? captureNumericValue = null, bool? exposeInternals = null); /// /// StopTrackingHeapObjects /// /// If true 'reportHeapSnapshotProgress' events will be generated while snapshot is being takenwhen the tracking is stopped. - /// treatGlobalObjectsAsRoots + /// Deprecated in favor of `exposeInternals`. /// If true, numerical values are included in the snapshot + /// If true, exposes internals of the snapshot. /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> - public System.Threading.Tasks.Task StopTrackingHeapObjectsAsync(bool? reportProgress = null, bool? treatGlobalObjectsAsRoots = null, bool? captureNumericValue = null) + public System.Threading.Tasks.Task StopTrackingHeapObjectsAsync(bool? reportProgress = null, bool? treatGlobalObjectsAsRoots = null, bool? captureNumericValue = null, bool? exposeInternals = null) { - ValidateStopTrackingHeapObjects(reportProgress, treatGlobalObjectsAsRoots, captureNumericValue); + ValidateStopTrackingHeapObjects(reportProgress, treatGlobalObjectsAsRoots, captureNumericValue, exposeInternals); var dict = new System.Collections.Generic.Dictionary(); if (reportProgress.HasValue) { @@ -44213,20 +44675,26 @@ public System.Threading.Tasks.Task StopTrackingHeapObjec dict.Add("captureNumericValue", captureNumericValue.Value); } + if (exposeInternals.HasValue) + { + dict.Add("exposeInternals", exposeInternals.Value); + } + return _client.ExecuteDevToolsMethodAsync("HeapProfiler.stopTrackingHeapObjects", dict); } - partial void ValidateTakeHeapSnapshot(bool? reportProgress = null, bool? treatGlobalObjectsAsRoots = null, bool? captureNumericValue = null); + partial void ValidateTakeHeapSnapshot(bool? reportProgress = null, bool? treatGlobalObjectsAsRoots = null, bool? captureNumericValue = null, bool? exposeInternals = null); /// /// TakeHeapSnapshot /// /// If true 'reportHeapSnapshotProgress' events will be generated while snapshot is being taken. - /// If true, a raw snapshot without artificial roots will be generated + /// If true, a raw snapshot without artificial roots will be generated.Deprecated in favor of `exposeInternals`. /// If true, numerical values are included in the snapshot + /// If true, exposes internals of the snapshot. /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> - public System.Threading.Tasks.Task TakeHeapSnapshotAsync(bool? reportProgress = null, bool? treatGlobalObjectsAsRoots = null, bool? captureNumericValue = null) + public System.Threading.Tasks.Task TakeHeapSnapshotAsync(bool? reportProgress = null, bool? treatGlobalObjectsAsRoots = null, bool? captureNumericValue = null, bool? exposeInternals = null) { - ValidateTakeHeapSnapshot(reportProgress, treatGlobalObjectsAsRoots, captureNumericValue); + ValidateTakeHeapSnapshot(reportProgress, treatGlobalObjectsAsRoots, captureNumericValue, exposeInternals); var dict = new System.Collections.Generic.Dictionary(); if (reportProgress.HasValue) { @@ -44243,6 +44711,11 @@ public System.Threading.Tasks.Task TakeHeapSnapshotAsync dict.Add("captureNumericValue", captureNumericValue.Value); } + if (exposeInternals.HasValue) + { + dict.Add("exposeInternals", exposeInternals.Value); + } + return _client.ExecuteDevToolsMethodAsync("HeapProfiler.takeHeapSnapshot", dict); } } @@ -45093,7 +45566,7 @@ public System.Threading.Tasks.Task AwaitPromiseAsync(strin /// 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. - /// Whether the result should be serialized according to https://w3c.github.io/webdriver-bidi. + /// Whether the result should contain `webDriverValue`, serialized according tohttps://w3c.github.io/webdriver-bidi. This is mutually exclusive with `returnByValue`, butresulting `objectId` is still provided. /// 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, bool? throwOnSideEffect = null, bool? generateWebDriverValue = null) {