From 7a7cce494cd21b34a69fec4e11ab7cbca7b0ef0c Mon Sep 17 00:00:00 2001 From: Alex Maitland Date: Tue, 6 Dec 2022 11:00:53 +1000 Subject: [PATCH] DevTools Client - Update to 108.0.5359.71 --- CefSharp/DevTools/DevToolsClient.Generated.cs | 316 ++++++++---------- .../DevToolsClient.Generated.netcore.cs | 295 ++++++++-------- 2 files changed, 279 insertions(+), 332 deletions(-) diff --git a/CefSharp/DevTools/DevToolsClient.Generated.cs b/CefSharp/DevTools/DevToolsClient.Generated.cs index fe12e0245..8bbb2e1cf 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 107.0.5304.68 +// CHROMIUM VERSION 108.0.5359.71 namespace CefSharp.DevTools.Accessibility { /// @@ -2911,11 +2911,6 @@ namespace CefSharp.DevTools.Audits [System.Runtime.Serialization.EnumMemberAttribute(Value = ("InsecurePrivateNetworkSubresourceRequest"))] InsecurePrivateNetworkSubresourceRequest, /// - /// LegacyConstraintGoogIPv6 - /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("LegacyConstraintGoogIPv6"))] - LegacyConstraintGoogIPv6, - /// /// LocalCSSFileExtensionRejected /// [System.Runtime.Serialization.EnumMemberAttribute(Value = ("LocalCSSFileExtensionRejected"))] @@ -2931,16 +2926,6 @@ namespace CefSharp.DevTools.Audits [System.Runtime.Serialization.EnumMemberAttribute(Value = ("MediaSourceDurationTruncatingBuffered"))] MediaSourceDurationTruncatingBuffered, /// - /// NavigateEventRestoreScroll - /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("NavigateEventRestoreScroll"))] - NavigateEventRestoreScroll, - /// - /// NavigateEventTransitionWhile - /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("NavigateEventTransitionWhile"))] - NavigateEventTransitionWhile, - /// /// NoSysexWebMIDIWithoutPermission /// [System.Runtime.Serialization.EnumMemberAttribute(Value = ("NoSysexWebMIDIWithoutPermission"))] @@ -2971,6 +2956,16 @@ namespace CefSharp.DevTools.Audits [System.Runtime.Serialization.EnumMemberAttribute(Value = ("OverflowVisibleOnReplacedElement"))] OverflowVisibleOnReplacedElement, /// + /// PaymentInstruments + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("PaymentInstruments"))] + PaymentInstruments, + /// + /// PaymentRequestCSPViolation + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("PaymentRequestCSPViolation"))] + PaymentRequestCSPViolation, + /// /// PersistentQuotaType /// [System.Runtime.Serialization.EnumMemberAttribute(Value = ("PersistentQuotaType"))] @@ -12568,6 +12563,53 @@ namespace CefSharp.DevTools.Network Signing } + /// + /// The reason why Chrome uses a specific transport protocol for HTTP semantics. + /// + public enum AlternateProtocolUsage + { + /// + /// alternativeJobWonWithoutRace + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("alternativeJobWonWithoutRace"))] + AlternativeJobWonWithoutRace, + /// + /// alternativeJobWonRace + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("alternativeJobWonRace"))] + AlternativeJobWonRace, + /// + /// mainJobWonRace + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("mainJobWonRace"))] + MainJobWonRace, + /// + /// mappingMissing + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("mappingMissing"))] + MappingMissing, + /// + /// broken + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("broken"))] + Broken, + /// + /// dnsAlpnH3JobWonWithoutRace + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("dnsAlpnH3JobWonWithoutRace"))] + DnsAlpnH3JobWonWithoutRace, + /// + /// dnsAlpnH3JobWonRace + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("dnsAlpnH3JobWonRace"))] + DnsAlpnH3JobWonRace, + /// + /// unspecifiedReason + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("unspecifiedReason"))] + UnspecifiedReason + } + /// /// HTTP response data. /// @@ -12800,6 +12842,32 @@ namespace CefSharp.DevTools.Network set; } + /// + /// The reason why Chrome uses a specific transport protocol for HTTP semantics. + /// + public CefSharp.DevTools.Network.AlternateProtocolUsage? AlternateProtocolUsage + { + get + { + return (CefSharp.DevTools.Network.AlternateProtocolUsage? )(StringToEnum(typeof(CefSharp.DevTools.Network.AlternateProtocolUsage? ), alternateProtocolUsage)); + } + + set + { + this.alternateProtocolUsage = (EnumToString(value)); + } + } + + /// + /// The reason why Chrome uses a specific transport protocol for HTTP semantics. + /// + [System.Runtime.Serialization.DataMemberAttribute(Name = ("alternateProtocolUsage"), IsRequired = (false))] + internal string alternateProtocolUsage + { + get; + set; + } + /// /// Security state of the request resource. /// @@ -18080,6 +18148,11 @@ namespace CefSharp.DevTools.Page [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ch-prefers-color-scheme"))] ChPrefersColorScheme, /// + /// ch-prefers-reduced-motion + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ch-prefers-reduced-motion"))] + ChPrefersReducedMotion, + /// /// ch-rtt /// [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ch-rtt"))] @@ -18210,11 +18283,6 @@ namespace CefSharp.DevTools.Page [System.Runtime.Serialization.EnumMemberAttribute(Value = ("execution-while-not-rendered"))] ExecutionWhileNotRendered, /// - /// federated-credentials - /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("federated-credentials"))] - FederatedCredentials, - /// /// focus-without-user-activation /// [System.Runtime.Serialization.EnumMemberAttribute(Value = ("focus-without-user-activation"))] @@ -18250,6 +18318,11 @@ namespace CefSharp.DevTools.Page [System.Runtime.Serialization.EnumMemberAttribute(Value = ("hid"))] Hid, /// + /// identity-credentials-get + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("identity-credentials-get"))] + IdentityCredentialsGet, + /// /// idle-detection /// [System.Runtime.Serialization.EnumMemberAttribute(Value = ("idle-detection"))] @@ -20919,11 +20992,6 @@ namespace CefSharp.DevTools.Page [System.Runtime.Serialization.EnumMemberAttribute(Value = ("TriggerBackgrounded"))] TriggerBackgrounded, /// - /// EmbedderTriggeredAndSameOriginRedirected - /// - [System.Runtime.Serialization.EnumMemberAttribute(Value = ("EmbedderTriggeredAndSameOriginRedirected"))] - EmbedderTriggeredAndSameOriginRedirected, - /// /// EmbedderTriggeredAndCrossOriginRedirected /// [System.Runtime.Serialization.EnumMemberAttribute(Value = ("EmbedderTriggeredAndCrossOriginRedirected"))] @@ -20952,7 +21020,22 @@ namespace CefSharp.DevTools.Page /// ActivatedBeforeStarted /// [System.Runtime.Serialization.EnumMemberAttribute(Value = ("ActivatedBeforeStarted"))] - ActivatedBeforeStarted + ActivatedBeforeStarted, + /// + /// InactivePageRestriction + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("InactivePageRestriction"))] + InactivePageRestriction, + /// + /// StartFailed + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("StartFailed"))] + StartFailed, + /// + /// TimeoutBackgrounded + /// + [System.Runtime.Serialization.EnumMemberAttribute(Value = ("TimeoutBackgrounded"))] + TimeoutBackgrounded } /// @@ -24426,6 +24509,17 @@ namespace CefSharp.DevTools.Target get; set; } + + /// + /// Provides additional details for specific target types. For example, for + /// the type of "page", this may be set to "portal" or "prerender". + /// + [System.Runtime.Serialization.DataMemberAttribute(Name = ("subtype"), IsRequired = (false))] + public string Subtype + { + get; + set; + } } /// @@ -25486,6 +25580,17 @@ namespace CefSharp.DevTools.Fetch get; private set; } + + /// + /// If the request is due to a redirect response from the server, the id of the request that + /// has caused the redirect. + /// + [System.Runtime.Serialization.DataMemberAttribute(Name = ("redirectedRequestId"), IsRequired = (false))] + public string RedirectedRequestId + { + get; + private set; + } } /// @@ -28794,87 +28899,6 @@ namespace CefSharp.DevTools.Profiler } } - /// - /// Describes a type collected during runtime. - /// - [System.Runtime.Serialization.DataContractAttribute] - public partial class TypeObject : CefSharp.DevTools.DevToolsDomainEntityBase - { - /// - /// Name of a type collected with type profiling. - /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("name"), IsRequired = (true))] - public string Name - { - get; - set; - } - } - - /// - /// Source offset and types for a parameter or return value. - /// - [System.Runtime.Serialization.DataContractAttribute] - public partial class TypeProfileEntry : CefSharp.DevTools.DevToolsDomainEntityBase - { - /// - /// Source offset of the parameter or end of function for return values. - /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("offset"), IsRequired = (true))] - public int Offset - { - get; - set; - } - - /// - /// The types for this parameter or return value. - /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("types"), IsRequired = (true))] - public System.Collections.Generic.IList Types - { - get; - set; - } - } - - /// - /// Type profile data collected during runtime for a JavaScript script. - /// - [System.Runtime.Serialization.DataContractAttribute] - public partial class ScriptTypeProfile : CefSharp.DevTools.DevToolsDomainEntityBase - { - /// - /// JavaScript script id. - /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("scriptId"), IsRequired = (true))] - public string ScriptId - { - get; - set; - } - - /// - /// JavaScript script name or url. - /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("url"), IsRequired = (true))] - public string Url - { - get; - set; - } - - /// - /// Type profile entries for parameters and return values of the functions in the script. - /// - [System.Runtime.Serialization.DataMemberAttribute(Name = ("entries"), IsRequired = (true))] - public System.Collections.Generic.IList Entries - { - get; - set; - } - } - /// /// consoleProfileFinished /// @@ -49248,21 +49272,33 @@ namespace CefSharp.DevTools.HeapProfiler return _client.ExecuteDevToolsMethodAsync("HeapProfiler.getSamplingProfile", dict); } - partial void ValidateStartSampling(double? samplingInterval = null); + partial void ValidateStartSampling(double? samplingInterval = null, bool? includeObjectsCollectedByMajorGC = null, bool? includeObjectsCollectedByMinorGC = null); /// /// StartSampling /// /// Average sample interval in bytes. Poisson distribution is used for the intervals. Thedefault value is 32768 bytes. + /// By default, the sampling heap profiler reports only objects which arestill alive when the profile is returned via getSamplingProfile orstopSampling, which is useful for determining what functions contributethe most to steady-state memory usage. This flag instructs the samplingheap profiler to also include information about objects discarded bymajor GC, which will show which functions cause large temporary memoryusage or long GC pauses. + /// By default, the sampling heap profiler reports only objects which arestill alive when the profile is returned via getSamplingProfile orstopSampling, which is useful for determining what functions contributethe most to steady-state memory usage. This flag instructs the samplingheap profiler to also include information about objects discarded byminor GC, which is useful when tuning a latency-sensitive applicationfor minimal GC activity. /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> - public System.Threading.Tasks.Task StartSamplingAsync(double? samplingInterval = null) + public System.Threading.Tasks.Task StartSamplingAsync(double? samplingInterval = null, bool? includeObjectsCollectedByMajorGC = null, bool? includeObjectsCollectedByMinorGC = null) { - ValidateStartSampling(samplingInterval); + ValidateStartSampling(samplingInterval, includeObjectsCollectedByMajorGC, includeObjectsCollectedByMinorGC); var dict = new System.Collections.Generic.Dictionary(); if (samplingInterval.HasValue) { dict.Add("samplingInterval", samplingInterval.Value); } + if (includeObjectsCollectedByMajorGC.HasValue) + { + dict.Add("includeObjectsCollectedByMajorGC", includeObjectsCollectedByMajorGC.Value); + } + + if (includeObjectsCollectedByMinorGC.HasValue) + { + dict.Add("includeObjectsCollectedByMinorGC", includeObjectsCollectedByMinorGC.Value); + } + return _client.ExecuteDevToolsMethodAsync("HeapProfiler.startSampling", dict); } @@ -49498,34 +49534,6 @@ namespace CefSharp.DevTools.Profiler } } -namespace CefSharp.DevTools.Profiler -{ - /// - /// TakeTypeProfileResponse - /// - [System.Runtime.Serialization.DataContractAttribute] - public class TakeTypeProfileResponse : CefSharp.DevTools.DevToolsDomainResponseBase - { - [System.Runtime.Serialization.DataMemberAttribute] - internal System.Collections.Generic.IList result - { - get; - set; - } - - /// - /// result - /// - public System.Collections.Generic.IList Result - { - get - { - return result; - } - } - } -} - namespace CefSharp.DevTools.Profiler { using System.Linq; @@ -49683,16 +49691,6 @@ namespace CefSharp.DevTools.Profiler return _client.ExecuteDevToolsMethodAsync("Profiler.startPreciseCoverage", dict); } - /// - /// Enable type profile. - /// - /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> - public System.Threading.Tasks.Task StartTypeProfileAsync() - { - System.Collections.Generic.Dictionary dict = null; - return _client.ExecuteDevToolsMethodAsync("Profiler.startTypeProfile", dict); - } - /// /// Stop /// @@ -49714,16 +49712,6 @@ namespace CefSharp.DevTools.Profiler return _client.ExecuteDevToolsMethodAsync("Profiler.stopPreciseCoverage", dict); } - /// - /// Disable type profile. Disabling releases type profile data collected so far. - /// - /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> - public System.Threading.Tasks.Task StopTypeProfileAsync() - { - System.Collections.Generic.Dictionary dict = null; - return _client.ExecuteDevToolsMethodAsync("Profiler.stopTypeProfile", dict); - } - /// /// Collect coverage data for the current isolate, and resets execution counters. Precise code /// coverage needs to have started. @@ -49734,16 +49722,6 @@ namespace CefSharp.DevTools.Profiler System.Collections.Generic.Dictionary dict = null; return _client.ExecuteDevToolsMethodAsync("Profiler.takePreciseCoverage", dict); } - - /// - /// Collect type profile. - /// - /// returns System.Threading.Tasks.Task<TakeTypeProfileResponse> - public System.Threading.Tasks.Task TakeTypeProfileAsync() - { - System.Collections.Generic.Dictionary dict = null; - return _client.ExecuteDevToolsMethodAsync("Profiler.takeTypeProfile", dict); - } } } diff --git a/CefSharp/DevTools/DevToolsClient.Generated.netcore.cs b/CefSharp/DevTools/DevToolsClient.Generated.netcore.cs index c8929a510..93458f4c8 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 107.0.5304.68 +// CHROMIUM VERSION 108.0.5359.71 namespace CefSharp.DevTools.Accessibility { /// @@ -2615,11 +2615,6 @@ namespace CefSharp.DevTools.Audits [System.Text.Json.Serialization.JsonPropertyNameAttribute("InsecurePrivateNetworkSubresourceRequest")] InsecurePrivateNetworkSubresourceRequest, /// - /// LegacyConstraintGoogIPv6 - /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("LegacyConstraintGoogIPv6")] - LegacyConstraintGoogIPv6, - /// /// LocalCSSFileExtensionRejected /// [System.Text.Json.Serialization.JsonPropertyNameAttribute("LocalCSSFileExtensionRejected")] @@ -2635,16 +2630,6 @@ namespace CefSharp.DevTools.Audits [System.Text.Json.Serialization.JsonPropertyNameAttribute("MediaSourceDurationTruncatingBuffered")] MediaSourceDurationTruncatingBuffered, /// - /// NavigateEventRestoreScroll - /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("NavigateEventRestoreScroll")] - NavigateEventRestoreScroll, - /// - /// NavigateEventTransitionWhile - /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("NavigateEventTransitionWhile")] - NavigateEventTransitionWhile, - /// /// NoSysexWebMIDIWithoutPermission /// [System.Text.Json.Serialization.JsonPropertyNameAttribute("NoSysexWebMIDIWithoutPermission")] @@ -2675,6 +2660,16 @@ namespace CefSharp.DevTools.Audits [System.Text.Json.Serialization.JsonPropertyNameAttribute("OverflowVisibleOnReplacedElement")] OverflowVisibleOnReplacedElement, /// + /// PaymentInstruments + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("PaymentInstruments")] + PaymentInstruments, + /// + /// PaymentRequestCSPViolation + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("PaymentRequestCSPViolation")] + PaymentRequestCSPViolation, + /// /// PersistentQuotaType /// [System.Text.Json.Serialization.JsonPropertyNameAttribute("PersistentQuotaType")] @@ -11811,6 +11806,53 @@ namespace CefSharp.DevTools.Network Signing } + /// + /// The reason why Chrome uses a specific transport protocol for HTTP semantics. + /// + public enum AlternateProtocolUsage + { + /// + /// alternativeJobWonWithoutRace + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("alternativeJobWonWithoutRace")] + AlternativeJobWonWithoutRace, + /// + /// alternativeJobWonRace + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("alternativeJobWonRace")] + AlternativeJobWonRace, + /// + /// mainJobWonRace + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("mainJobWonRace")] + MainJobWonRace, + /// + /// mappingMissing + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("mappingMissing")] + MappingMissing, + /// + /// broken + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("broken")] + Broken, + /// + /// dnsAlpnH3JobWonWithoutRace + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("dnsAlpnH3JobWonWithoutRace")] + DnsAlpnH3JobWonWithoutRace, + /// + /// dnsAlpnH3JobWonRace + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("dnsAlpnH3JobWonRace")] + DnsAlpnH3JobWonRace, + /// + /// unspecifiedReason + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("unspecifiedReason")] + UnspecifiedReason + } + /// /// HTTP response data. /// @@ -12030,6 +12072,16 @@ namespace CefSharp.DevTools.Network set; } + /// + /// The reason why Chrome uses a specific transport protocol for HTTP semantics. + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("alternateProtocolUsage")] + public CefSharp.DevTools.Network.AlternateProtocolUsage? AlternateProtocolUsage + { + get; + set; + } + /// /// Security state of the request resource. /// @@ -16845,6 +16897,11 @@ namespace CefSharp.DevTools.Page [System.Text.Json.Serialization.JsonPropertyNameAttribute("ch-prefers-color-scheme")] ChPrefersColorScheme, /// + /// ch-prefers-reduced-motion + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("ch-prefers-reduced-motion")] + ChPrefersReducedMotion, + /// /// ch-rtt /// [System.Text.Json.Serialization.JsonPropertyNameAttribute("ch-rtt")] @@ -16975,11 +17032,6 @@ namespace CefSharp.DevTools.Page [System.Text.Json.Serialization.JsonPropertyNameAttribute("execution-while-not-rendered")] ExecutionWhileNotRendered, /// - /// federated-credentials - /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("federated-credentials")] - FederatedCredentials, - /// /// focus-without-user-activation /// [System.Text.Json.Serialization.JsonPropertyNameAttribute("focus-without-user-activation")] @@ -17015,6 +17067,11 @@ namespace CefSharp.DevTools.Page [System.Text.Json.Serialization.JsonPropertyNameAttribute("hid")] Hid, /// + /// identity-credentials-get + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("identity-credentials-get")] + IdentityCredentialsGet, + /// /// idle-detection /// [System.Text.Json.Serialization.JsonPropertyNameAttribute("idle-detection")] @@ -19500,11 +19557,6 @@ namespace CefSharp.DevTools.Page [System.Text.Json.Serialization.JsonPropertyNameAttribute("TriggerBackgrounded")] TriggerBackgrounded, /// - /// EmbedderTriggeredAndSameOriginRedirected - /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("EmbedderTriggeredAndSameOriginRedirected")] - EmbedderTriggeredAndSameOriginRedirected, - /// /// EmbedderTriggeredAndCrossOriginRedirected /// [System.Text.Json.Serialization.JsonPropertyNameAttribute("EmbedderTriggeredAndCrossOriginRedirected")] @@ -19533,7 +19585,22 @@ namespace CefSharp.DevTools.Page /// ActivatedBeforeStarted /// [System.Text.Json.Serialization.JsonPropertyNameAttribute("ActivatedBeforeStarted")] - ActivatedBeforeStarted + ActivatedBeforeStarted, + /// + /// InactivePageRestriction + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("InactivePageRestriction")] + InactivePageRestriction, + /// + /// StartFailed + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("StartFailed")] + StartFailed, + /// + /// TimeoutBackgrounded + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("TimeoutBackgrounded")] + TimeoutBackgrounded } /// @@ -22801,6 +22868,17 @@ namespace CefSharp.DevTools.Target get; set; } + + /// + /// Provides additional details for specific target types. For example, for + /// the type of "page", this may be set to "portal" or "prerender". + /// + [System.Text.Json.Serialization.JsonPropertyNameAttribute("subtype")] + public string Subtype + { + get; + set; + } } /// @@ -23750,6 +23828,18 @@ namespace CefSharp.DevTools.Fetch get; private set; } + + /// + /// If the request is due to a redirect response from the server, the id of the request that + /// has caused the redirect. + /// + [System.Text.Json.Serialization.JsonIncludeAttribute] + [System.Text.Json.Serialization.JsonPropertyNameAttribute("redirectedRequestId")] + public string RedirectedRequestId + { + get; + private set; + } } /// @@ -26928,89 +27018,6 @@ namespace CefSharp.DevTools.Profiler } } - /// - /// Describes a type collected during runtime. - /// - public partial class TypeObject : CefSharp.DevTools.DevToolsDomainEntityBase - { - /// - /// Name of a type collected with type profiling. - /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("name")] - [System.Diagnostics.CodeAnalysis.DisallowNull] - public string Name - { - get; - set; - } - } - - /// - /// Source offset and types for a parameter or return value. - /// - public partial class TypeProfileEntry : CefSharp.DevTools.DevToolsDomainEntityBase - { - /// - /// Source offset of the parameter or end of function for return values. - /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("offset")] - public int Offset - { - get; - set; - } - - /// - /// The types for this parameter or return value. - /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("types")] - [System.Diagnostics.CodeAnalysis.DisallowNull] - public System.Collections.Generic.IList Types - { - get; - set; - } - } - - /// - /// Type profile data collected during runtime for a JavaScript script. - /// - public partial class ScriptTypeProfile : CefSharp.DevTools.DevToolsDomainEntityBase - { - /// - /// JavaScript script id. - /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("scriptId")] - [System.Diagnostics.CodeAnalysis.DisallowNull] - public string ScriptId - { - get; - set; - } - - /// - /// JavaScript script name or url. - /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("url")] - [System.Diagnostics.CodeAnalysis.DisallowNull] - public string Url - { - get; - set; - } - - /// - /// Type profile entries for parameters and return values of the functions in the script. - /// - [System.Text.Json.Serialization.JsonPropertyNameAttribute("entries")] - [System.Diagnostics.CodeAnalysis.DisallowNull] - public System.Collections.Generic.IList Entries - { - get; - set; - } - } - /// /// consoleProfileFinished /// @@ -45448,21 +45455,33 @@ namespace CefSharp.DevTools.HeapProfiler return _client.ExecuteDevToolsMethodAsync("HeapProfiler.getSamplingProfile", dict); } - partial void ValidateStartSampling(double? samplingInterval = null); + partial void ValidateStartSampling(double? samplingInterval = null, bool? includeObjectsCollectedByMajorGC = null, bool? includeObjectsCollectedByMinorGC = null); /// /// StartSampling /// /// Average sample interval in bytes. Poisson distribution is used for the intervals. Thedefault value is 32768 bytes. + /// By default, the sampling heap profiler reports only objects which arestill alive when the profile is returned via getSamplingProfile orstopSampling, which is useful for determining what functions contributethe most to steady-state memory usage. This flag instructs the samplingheap profiler to also include information about objects discarded bymajor GC, which will show which functions cause large temporary memoryusage or long GC pauses. + /// By default, the sampling heap profiler reports only objects which arestill alive when the profile is returned via getSamplingProfile orstopSampling, which is useful for determining what functions contributethe most to steady-state memory usage. This flag instructs the samplingheap profiler to also include information about objects discarded byminor GC, which is useful when tuning a latency-sensitive applicationfor minimal GC activity. /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> - public System.Threading.Tasks.Task StartSamplingAsync(double? samplingInterval = null) + public System.Threading.Tasks.Task StartSamplingAsync(double? samplingInterval = null, bool? includeObjectsCollectedByMajorGC = null, bool? includeObjectsCollectedByMinorGC = null) { - ValidateStartSampling(samplingInterval); + ValidateStartSampling(samplingInterval, includeObjectsCollectedByMajorGC, includeObjectsCollectedByMinorGC); var dict = new System.Collections.Generic.Dictionary(); if (samplingInterval.HasValue) { dict.Add("samplingInterval", samplingInterval.Value); } + if (includeObjectsCollectedByMajorGC.HasValue) + { + dict.Add("includeObjectsCollectedByMajorGC", includeObjectsCollectedByMajorGC.Value); + } + + if (includeObjectsCollectedByMinorGC.HasValue) + { + dict.Add("includeObjectsCollectedByMinorGC", includeObjectsCollectedByMinorGC.Value); + } + return _client.ExecuteDevToolsMethodAsync("HeapProfiler.startSampling", dict); } @@ -45659,26 +45678,6 @@ namespace CefSharp.DevTools.Profiler } } -namespace CefSharp.DevTools.Profiler -{ - /// - /// TakeTypeProfileResponse - /// - public class TakeTypeProfileResponse : CefSharp.DevTools.DevToolsDomainResponseBase - { - /// - /// result - /// - [System.Text.Json.Serialization.JsonIncludeAttribute] - [System.Text.Json.Serialization.JsonPropertyNameAttribute("result")] - public System.Collections.Generic.IList Result - { - get; - private set; - } - } -} - namespace CefSharp.DevTools.Profiler { using System.Linq; @@ -45836,16 +45835,6 @@ namespace CefSharp.DevTools.Profiler return _client.ExecuteDevToolsMethodAsync("Profiler.startPreciseCoverage", dict); } - /// - /// Enable type profile. - /// - /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> - public System.Threading.Tasks.Task StartTypeProfileAsync() - { - System.Collections.Generic.Dictionary dict = null; - return _client.ExecuteDevToolsMethodAsync("Profiler.startTypeProfile", dict); - } - /// /// Stop /// @@ -45867,16 +45856,6 @@ namespace CefSharp.DevTools.Profiler return _client.ExecuteDevToolsMethodAsync("Profiler.stopPreciseCoverage", dict); } - /// - /// Disable type profile. Disabling releases type profile data collected so far. - /// - /// returns System.Threading.Tasks.Task<DevToolsMethodResponse> - public System.Threading.Tasks.Task StopTypeProfileAsync() - { - System.Collections.Generic.Dictionary dict = null; - return _client.ExecuteDevToolsMethodAsync("Profiler.stopTypeProfile", dict); - } - /// /// Collect coverage data for the current isolate, and resets execution counters. Precise code /// coverage needs to have started. @@ -45887,16 +45866,6 @@ namespace CefSharp.DevTools.Profiler System.Collections.Generic.Dictionary dict = null; return _client.ExecuteDevToolsMethodAsync("Profiler.takePreciseCoverage", dict); } - - /// - /// Collect type profile. - /// - /// returns System.Threading.Tasks.Task<TakeTypeProfileResponse> - public System.Threading.Tasks.Task TakeTypeProfileAsync() - { - System.Collections.Generic.Dictionary dict = null; - return _client.ExecuteDevToolsMethodAsync("Profiler.takeTypeProfile", dict); - } } }