Skip to content

Commit

Permalink
DevTools Client - Upgrade to 131.0.6778.86
Browse files Browse the repository at this point in the history
  • Loading branch information
amaitland committed Nov 23, 2024
1 parent 3dca565 commit d2f4f61
Show file tree
Hide file tree
Showing 2 changed files with 360 additions and 72 deletions.
213 changes: 177 additions & 36 deletions CefSharp.Core/DevTools/DevToolsClient.Generated.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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 130.0.6723.70
// CHROMIUM VERSION 131.0.6778.86
using System.Runtime.Serialization;

namespace CefSharp.DevTools.Accessibility
Expand Down Expand Up @@ -1521,7 +1521,17 @@ public enum CookieWarningReason
/// WarnCrossSiteRedirectDowngradeChangesInclusion
/// </summary>
[EnumMember(Value = ("WarnCrossSiteRedirectDowngradeChangesInclusion"))]
WarnCrossSiteRedirectDowngradeChangesInclusion
WarnCrossSiteRedirectDowngradeChangesInclusion,
/// <summary>
/// WarnDeprecationTrialMetadata
/// </summary>
[EnumMember(Value = ("WarnDeprecationTrialMetadata"))]
WarnDeprecationTrialMetadata,
/// <summary>
/// WarnThirdPartyCookieHeuristic
/// </summary>
[EnumMember(Value = ("WarnThirdPartyCookieHeuristic"))]
WarnThirdPartyCookieHeuristic
}

/// <summary>
Expand Down Expand Up @@ -3550,10 +3560,10 @@ public enum FederatedAuthRequestIssueReason
[EnumMember(Value = ("MissingTransientUserActivation"))]
MissingTransientUserActivation,
/// <summary>
/// ReplacedByButtonMode
/// ReplacedByActiveMode
/// </summary>
[EnumMember(Value = ("ReplacedByButtonMode"))]
ReplacedByButtonMode,
[EnumMember(Value = ("ReplacedByActiveMode"))]
ReplacedByActiveMode,
/// <summary>
/// InvalidFieldsSpecified
/// </summary>
Expand Down Expand Up @@ -11183,11 +11193,6 @@ public enum SensorType
[EnumMember(Value = ("magnetometer"))]
Magnetometer,
/// <summary>
/// proximity
/// </summary>
[EnumMember(Value = ("proximity"))]
Proximity,
/// <summary>
/// relative-orientation
/// </summary>
[EnumMember(Value = ("relative-orientation"))]
Expand Down Expand Up @@ -21031,6 +21036,11 @@ public enum PermissionsPolicyFeature
[EnumMember(Value = ("direct-sockets"))]
DirectSockets,
/// <summary>
/// direct-sockets-private
/// </summary>
[EnumMember(Value = ("direct-sockets-private"))]
DirectSocketsPrivate,
/// <summary>
/// display-capture
/// </summary>
[EnumMember(Value = ("display-capture"))]
Expand Down Expand Up @@ -24256,7 +24266,12 @@ public enum BackForwardCacheNotRestoredReason
/// RequestedByWebViewClient
/// </summary>
[EnumMember(Value = ("RequestedByWebViewClient"))]
RequestedByWebViewClient
RequestedByWebViewClient,
/// <summary>
/// PostMessageByWebViewClient
/// </summary>
[EnumMember(Value = ("PostMessageByWebViewClient"))]
PostMessageByWebViewClient
}

/// <summary>
Expand Down Expand Up @@ -32401,6 +32416,29 @@ public bool? BackupState
get;
set;
}

/// <summary>
/// The credential&apos;s user.name property. Equivalent to empty if not set.
/// https://w3c.github.io/webauthn/#dom-publickeycredentialentity-name
/// </summary>
[DataMember(Name = ("userName"), IsRequired = (false))]
public string UserName
{
get;
set;
}

/// <summary>
/// The credential&apos;s user.displayName property. Equivalent to empty if
/// not set.
/// https://w3c.github.io/webauthn/#dom-publickeycredentialuserentity-displayname
/// </summary>
[DataMember(Name = ("userDisplayName"), IsRequired = (false))]
public string UserDisplayName
{
get;
set;
}
}

/// <summary>
Expand Down Expand Up @@ -32430,6 +32468,62 @@ public CefSharp.DevTools.WebAuthn.Credential Credential
}
}

/// <summary>
/// Triggered when a credential is deleted, e.g. through
/// PublicKeyCredential.signalUnknownCredential().
/// </summary>
[System.Runtime.Serialization.DataContractAttribute]
public class CredentialDeletedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase
{
/// <summary>
/// AuthenticatorId
/// </summary>
[DataMember(Name = ("authenticatorId"), IsRequired = (true))]
public string AuthenticatorId
{
get;
private set;
}

/// <summary>
/// CredentialId
/// </summary>
[DataMember(Name = ("credentialId"), IsRequired = (true))]
public byte[] CredentialId
{
get;
private set;
}
}

/// <summary>
/// Triggered when a credential is updated, e.g. through
/// PublicKeyCredential.signalCurrentUserDetails().
/// </summary>
[System.Runtime.Serialization.DataContractAttribute]
public class CredentialUpdatedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase
{
/// <summary>
/// AuthenticatorId
/// </summary>
[DataMember(Name = ("authenticatorId"), IsRequired = (true))]
public string AuthenticatorId
{
get;
private set;
}

/// <summary>
/// Credential
/// </summary>
[DataMember(Name = ("credential"), IsRequired = (true))]
public CefSharp.DevTools.WebAuthn.Credential Credential
{
get;
private set;
}
}

/// <summary>
/// Triggered when a credential is used in a webauthn assertion.
/// </summary>
Expand Down Expand Up @@ -33544,7 +33638,17 @@ public enum PrerenderFinalStatus
/// OtherPrerenderedPageActivated
/// </summary>
[EnumMember(Value = ("OtherPrerenderedPageActivated"))]
OtherPrerenderedPageActivated
OtherPrerenderedPageActivated,
/// <summary>
/// V8OptimizerDisabled
/// </summary>
[EnumMember(Value = ("V8OptimizerDisabled"))]
V8OptimizerDisabled,
/// <summary>
/// PrerenderFailedDuringPrefetch
/// </summary>
[EnumMember(Value = ("PrerenderFailedDuringPrefetch"))]
PrerenderFailedDuringPrefetch
}

/// <summary>
Expand Down Expand Up @@ -35123,11 +35227,6 @@ public enum ScriptLanguage
/// </summary>
public enum DebugSymbolsType
{
/// <summary>
/// None
/// </summary>
[EnumMember(Value = ("None"))]
None,
/// <summary>
/// SourceMap
/// </summary>
Expand Down Expand Up @@ -35767,10 +35866,10 @@ internal string scriptLanguage
}

/// <summary>
/// If the scriptLanguage is WebASsembly, the source of debug symbols for the module.
/// If the scriptLanguage is WebAssembly, the source of debug symbols for the module.
/// </summary>
[DataMember(Name = ("debugSymbols"), IsRequired = (false))]
public CefSharp.DevTools.Debugger.DebugSymbols DebugSymbols
public System.Collections.Generic.IList<CefSharp.DevTools.Debugger.DebugSymbols> DebugSymbols
{
get;
private set;
Expand Down Expand Up @@ -50523,20 +50622,6 @@ public System.Threading.Tasks.Task<DevToolsMethodResponse> SetShowScrollBottlene
return _client.ExecuteDevToolsMethodAsync<DevToolsMethodResponse>("Overlay.setShowScrollBottleneckRects", dict);
}

partial void ValidateSetShowWebVitals(bool show);
/// <summary>
/// Request that backend shows an overlay with web vital metrics.
/// </summary>
/// <param name = "show">show</param>
/// <returns>returns System.Threading.Tasks.Task&lt;DevToolsMethodResponse&gt;</returns>
public System.Threading.Tasks.Task<DevToolsMethodResponse> SetShowWebVitalsAsync(bool show)
{
ValidateSetShowWebVitals(show);
var dict = new System.Collections.Generic.Dictionary<string, object>();
dict.Add("show", show);
return _client.ExecuteDevToolsMethodAsync<DevToolsMethodResponse>("Overlay.setShowWebVitals", dict);
}

partial void ValidateSetShowViewportSizeOnResize(bool show);
/// <summary>
/// Paints viewport size upon main frame resize.
Expand Down Expand Up @@ -56418,6 +56503,40 @@ public event System.EventHandler<CredentialAddedEventArgs> CredentialAdded
}
}

/// <summary>
/// Triggered when a credential is deleted, e.g. through
/// PublicKeyCredential.signalUnknownCredential().
/// </summary>
public event System.EventHandler<CredentialDeletedEventArgs> CredentialDeleted
{
add
{
_client.AddEventHandler<CredentialDeletedEventArgs>("WebAuthn.credentialDeleted", value);
}

remove
{
_client.RemoveEventHandler<CredentialDeletedEventArgs>("WebAuthn.credentialDeleted", value);
}
}

/// <summary>
/// Triggered when a credential is updated, e.g. through
/// PublicKeyCredential.signalCurrentUserDetails().
/// </summary>
public event System.EventHandler<CredentialUpdatedEventArgs> CredentialUpdated
{
add
{
_client.AddEventHandler<CredentialUpdatedEventArgs>("WebAuthn.credentialUpdated", value);
}

remove
{
_client.RemoveEventHandler<CredentialUpdatedEventArgs>("WebAuthn.credentialUpdated", value);
}
}

/// <summary>
/// Triggered when a credential is used in a webauthn assertion.
/// </summary>
Expand Down Expand Up @@ -58668,19 +58787,41 @@ public System.Threading.Tasks.Task<DevToolsMethodResponse> SetAsyncCallStackDept
return _client.ExecuteDevToolsMethodAsync<DevToolsMethodResponse>("Debugger.setAsyncCallStackDepth", dict);
}

partial void ValidateSetBlackboxPatterns(string[] patterns);
partial void ValidateSetBlackboxExecutionContexts(string[] uniqueIds);
/// <summary>
/// Replace previous blackbox execution contexts with passed ones. Forces backend to skip
/// stepping/pausing in scripts in these execution contexts. VM will try to leave blackboxed script by
/// performing &apos;step in&apos; several times, finally resorting to &apos;step out&apos; if unsuccessful.
/// </summary>
/// <param name = "uniqueIds">Array of execution context unique ids for the debugger to ignore.</param>
/// <returns>returns System.Threading.Tasks.Task&lt;DevToolsMethodResponse&gt;</returns>
public System.Threading.Tasks.Task<DevToolsMethodResponse> SetBlackboxExecutionContextsAsync(string[] uniqueIds)
{
ValidateSetBlackboxExecutionContexts(uniqueIds);
var dict = new System.Collections.Generic.Dictionary<string, object>();
dict.Add("uniqueIds", uniqueIds);
return _client.ExecuteDevToolsMethodAsync<DevToolsMethodResponse>("Debugger.setBlackboxExecutionContexts", dict);
}

partial void ValidateSetBlackboxPatterns(string[] patterns, bool? skipAnonymous = null);
/// <summary>
/// Replace previous blackbox patterns with passed ones. Forces backend to skip stepping/pausing in
/// scripts with url matching one of the patterns. VM will try to leave blackboxed script by
/// performing &apos;step in&apos; several times, finally resorting to &apos;step out&apos; if unsuccessful.
/// </summary>
/// <param name = "patterns">Array of regexps that will be used to check script url for blackbox state.</param>
/// <param name = "skipAnonymous">If true, also ignore scripts with no source url.</param>
/// <returns>returns System.Threading.Tasks.Task&lt;DevToolsMethodResponse&gt;</returns>
public System.Threading.Tasks.Task<DevToolsMethodResponse> SetBlackboxPatternsAsync(string[] patterns)
public System.Threading.Tasks.Task<DevToolsMethodResponse> SetBlackboxPatternsAsync(string[] patterns, bool? skipAnonymous = null)
{
ValidateSetBlackboxPatterns(patterns);
ValidateSetBlackboxPatterns(patterns, skipAnonymous);
var dict = new System.Collections.Generic.Dictionary<string, object>();
dict.Add("patterns", patterns);
if (skipAnonymous.HasValue)
{
dict.Add("skipAnonymous", skipAnonymous.Value);
}

return _client.ExecuteDevToolsMethodAsync<DevToolsMethodResponse>("Debugger.setBlackboxPatterns", dict);
}

Expand Down
Loading

0 comments on commit d2f4f61

Please sign in to comment.