Skip to content

Commit d2f4f61

Browse files
committed
DevTools Client - Upgrade to 131.0.6778.86
1 parent 3dca565 commit d2f4f61

File tree

2 files changed

+360
-72
lines changed

2 files changed

+360
-72
lines changed

CefSharp.Core/DevTools/DevToolsClient.Generated.cs

+177-36
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
44
//
55
// **This code was generated by a tool, do not change directly**
6-
// CHROMIUM VERSION 130.0.6723.70
6+
// CHROMIUM VERSION 131.0.6778.86
77
using System.Runtime.Serialization;
88

99
namespace CefSharp.DevTools.Accessibility
@@ -1521,7 +1521,17 @@ public enum CookieWarningReason
15211521
/// WarnCrossSiteRedirectDowngradeChangesInclusion
15221522
/// </summary>
15231523
[EnumMember(Value = ("WarnCrossSiteRedirectDowngradeChangesInclusion"))]
1524-
WarnCrossSiteRedirectDowngradeChangesInclusion
1524+
WarnCrossSiteRedirectDowngradeChangesInclusion,
1525+
/// <summary>
1526+
/// WarnDeprecationTrialMetadata
1527+
/// </summary>
1528+
[EnumMember(Value = ("WarnDeprecationTrialMetadata"))]
1529+
WarnDeprecationTrialMetadata,
1530+
/// <summary>
1531+
/// WarnThirdPartyCookieHeuristic
1532+
/// </summary>
1533+
[EnumMember(Value = ("WarnThirdPartyCookieHeuristic"))]
1534+
WarnThirdPartyCookieHeuristic
15251535
}
15261536

15271537
/// <summary>
@@ -3550,10 +3560,10 @@ public enum FederatedAuthRequestIssueReason
35503560
[EnumMember(Value = ("MissingTransientUserActivation"))]
35513561
MissingTransientUserActivation,
35523562
/// <summary>
3553-
/// ReplacedByButtonMode
3563+
/// ReplacedByActiveMode
35543564
/// </summary>
3555-
[EnumMember(Value = ("ReplacedByButtonMode"))]
3556-
ReplacedByButtonMode,
3565+
[EnumMember(Value = ("ReplacedByActiveMode"))]
3566+
ReplacedByActiveMode,
35573567
/// <summary>
35583568
/// InvalidFieldsSpecified
35593569
/// </summary>
@@ -11183,11 +11193,6 @@ public enum SensorType
1118311193
[EnumMember(Value = ("magnetometer"))]
1118411194
Magnetometer,
1118511195
/// <summary>
11186-
/// proximity
11187-
/// </summary>
11188-
[EnumMember(Value = ("proximity"))]
11189-
Proximity,
11190-
/// <summary>
1119111196
/// relative-orientation
1119211197
/// </summary>
1119311198
[EnumMember(Value = ("relative-orientation"))]
@@ -21031,6 +21036,11 @@ public enum PermissionsPolicyFeature
2103121036
[EnumMember(Value = ("direct-sockets"))]
2103221037
DirectSockets,
2103321038
/// <summary>
21039+
/// direct-sockets-private
21040+
/// </summary>
21041+
[EnumMember(Value = ("direct-sockets-private"))]
21042+
DirectSocketsPrivate,
21043+
/// <summary>
2103421044
/// display-capture
2103521045
/// </summary>
2103621046
[EnumMember(Value = ("display-capture"))]
@@ -24256,7 +24266,12 @@ public enum BackForwardCacheNotRestoredReason
2425624266
/// RequestedByWebViewClient
2425724267
/// </summary>
2425824268
[EnumMember(Value = ("RequestedByWebViewClient"))]
24259-
RequestedByWebViewClient
24269+
RequestedByWebViewClient,
24270+
/// <summary>
24271+
/// PostMessageByWebViewClient
24272+
/// </summary>
24273+
[EnumMember(Value = ("PostMessageByWebViewClient"))]
24274+
PostMessageByWebViewClient
2426024275
}
2426124276

2426224277
/// <summary>
@@ -32401,6 +32416,29 @@ public bool? BackupState
3240132416
get;
3240232417
set;
3240332418
}
32419+
32420+
/// <summary>
32421+
/// The credential&apos;s user.name property. Equivalent to empty if not set.
32422+
/// https://w3c.github.io/webauthn/#dom-publickeycredentialentity-name
32423+
/// </summary>
32424+
[DataMember(Name = ("userName"), IsRequired = (false))]
32425+
public string UserName
32426+
{
32427+
get;
32428+
set;
32429+
}
32430+
32431+
/// <summary>
32432+
/// The credential&apos;s user.displayName property. Equivalent to empty if
32433+
/// not set.
32434+
/// https://w3c.github.io/webauthn/#dom-publickeycredentialuserentity-displayname
32435+
/// </summary>
32436+
[DataMember(Name = ("userDisplayName"), IsRequired = (false))]
32437+
public string UserDisplayName
32438+
{
32439+
get;
32440+
set;
32441+
}
3240432442
}
3240532443

3240632444
/// <summary>
@@ -32430,6 +32468,62 @@ public CefSharp.DevTools.WebAuthn.Credential Credential
3243032468
}
3243132469
}
3243232470

32471+
/// <summary>
32472+
/// Triggered when a credential is deleted, e.g. through
32473+
/// PublicKeyCredential.signalUnknownCredential().
32474+
/// </summary>
32475+
[System.Runtime.Serialization.DataContractAttribute]
32476+
public class CredentialDeletedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase
32477+
{
32478+
/// <summary>
32479+
/// AuthenticatorId
32480+
/// </summary>
32481+
[DataMember(Name = ("authenticatorId"), IsRequired = (true))]
32482+
public string AuthenticatorId
32483+
{
32484+
get;
32485+
private set;
32486+
}
32487+
32488+
/// <summary>
32489+
/// CredentialId
32490+
/// </summary>
32491+
[DataMember(Name = ("credentialId"), IsRequired = (true))]
32492+
public byte[] CredentialId
32493+
{
32494+
get;
32495+
private set;
32496+
}
32497+
}
32498+
32499+
/// <summary>
32500+
/// Triggered when a credential is updated, e.g. through
32501+
/// PublicKeyCredential.signalCurrentUserDetails().
32502+
/// </summary>
32503+
[System.Runtime.Serialization.DataContractAttribute]
32504+
public class CredentialUpdatedEventArgs : CefSharp.DevTools.DevToolsDomainEventArgsBase
32505+
{
32506+
/// <summary>
32507+
/// AuthenticatorId
32508+
/// </summary>
32509+
[DataMember(Name = ("authenticatorId"), IsRequired = (true))]
32510+
public string AuthenticatorId
32511+
{
32512+
get;
32513+
private set;
32514+
}
32515+
32516+
/// <summary>
32517+
/// Credential
32518+
/// </summary>
32519+
[DataMember(Name = ("credential"), IsRequired = (true))]
32520+
public CefSharp.DevTools.WebAuthn.Credential Credential
32521+
{
32522+
get;
32523+
private set;
32524+
}
32525+
}
32526+
3243332527
/// <summary>
3243432528
/// Triggered when a credential is used in a webauthn assertion.
3243532529
/// </summary>
@@ -33544,7 +33638,17 @@ public enum PrerenderFinalStatus
3354433638
/// OtherPrerenderedPageActivated
3354533639
/// </summary>
3354633640
[EnumMember(Value = ("OtherPrerenderedPageActivated"))]
33547-
OtherPrerenderedPageActivated
33641+
OtherPrerenderedPageActivated,
33642+
/// <summary>
33643+
/// V8OptimizerDisabled
33644+
/// </summary>
33645+
[EnumMember(Value = ("V8OptimizerDisabled"))]
33646+
V8OptimizerDisabled,
33647+
/// <summary>
33648+
/// PrerenderFailedDuringPrefetch
33649+
/// </summary>
33650+
[EnumMember(Value = ("PrerenderFailedDuringPrefetch"))]
33651+
PrerenderFailedDuringPrefetch
3354833652
}
3354933653

3355033654
/// <summary>
@@ -35123,11 +35227,6 @@ public enum ScriptLanguage
3512335227
/// </summary>
3512435228
public enum DebugSymbolsType
3512535229
{
35126-
/// <summary>
35127-
/// None
35128-
/// </summary>
35129-
[EnumMember(Value = ("None"))]
35130-
None,
3513135230
/// <summary>
3513235231
/// SourceMap
3513335232
/// </summary>
@@ -35767,10 +35866,10 @@ internal string scriptLanguage
3576735866
}
3576835867

3576935868
/// <summary>
35770-
/// If the scriptLanguage is WebASsembly, the source of debug symbols for the module.
35869+
/// If the scriptLanguage is WebAssembly, the source of debug symbols for the module.
3577135870
/// </summary>
3577235871
[DataMember(Name = ("debugSymbols"), IsRequired = (false))]
35773-
public CefSharp.DevTools.Debugger.DebugSymbols DebugSymbols
35872+
public System.Collections.Generic.IList<CefSharp.DevTools.Debugger.DebugSymbols> DebugSymbols
3577435873
{
3577535874
get;
3577635875
private set;
@@ -50523,20 +50622,6 @@ public System.Threading.Tasks.Task<DevToolsMethodResponse> SetShowScrollBottlene
5052350622
return _client.ExecuteDevToolsMethodAsync<DevToolsMethodResponse>("Overlay.setShowScrollBottleneckRects", dict);
5052450623
}
5052550624

50526-
partial void ValidateSetShowWebVitals(bool show);
50527-
/// <summary>
50528-
/// Request that backend shows an overlay with web vital metrics.
50529-
/// </summary>
50530-
/// <param name = "show">show</param>
50531-
/// <returns>returns System.Threading.Tasks.Task&lt;DevToolsMethodResponse&gt;</returns>
50532-
public System.Threading.Tasks.Task<DevToolsMethodResponse> SetShowWebVitalsAsync(bool show)
50533-
{
50534-
ValidateSetShowWebVitals(show);
50535-
var dict = new System.Collections.Generic.Dictionary<string, object>();
50536-
dict.Add("show", show);
50537-
return _client.ExecuteDevToolsMethodAsync<DevToolsMethodResponse>("Overlay.setShowWebVitals", dict);
50538-
}
50539-
5054050625
partial void ValidateSetShowViewportSizeOnResize(bool show);
5054150626
/// <summary>
5054250627
/// Paints viewport size upon main frame resize.
@@ -56418,6 +56503,40 @@ public event System.EventHandler<CredentialAddedEventArgs> CredentialAdded
5641856503
}
5641956504
}
5642056505

56506+
/// <summary>
56507+
/// Triggered when a credential is deleted, e.g. through
56508+
/// PublicKeyCredential.signalUnknownCredential().
56509+
/// </summary>
56510+
public event System.EventHandler<CredentialDeletedEventArgs> CredentialDeleted
56511+
{
56512+
add
56513+
{
56514+
_client.AddEventHandler<CredentialDeletedEventArgs>("WebAuthn.credentialDeleted", value);
56515+
}
56516+
56517+
remove
56518+
{
56519+
_client.RemoveEventHandler<CredentialDeletedEventArgs>("WebAuthn.credentialDeleted", value);
56520+
}
56521+
}
56522+
56523+
/// <summary>
56524+
/// Triggered when a credential is updated, e.g. through
56525+
/// PublicKeyCredential.signalCurrentUserDetails().
56526+
/// </summary>
56527+
public event System.EventHandler<CredentialUpdatedEventArgs> CredentialUpdated
56528+
{
56529+
add
56530+
{
56531+
_client.AddEventHandler<CredentialUpdatedEventArgs>("WebAuthn.credentialUpdated", value);
56532+
}
56533+
56534+
remove
56535+
{
56536+
_client.RemoveEventHandler<CredentialUpdatedEventArgs>("WebAuthn.credentialUpdated", value);
56537+
}
56538+
}
56539+
5642156540
/// <summary>
5642256541
/// Triggered when a credential is used in a webauthn assertion.
5642356542
/// </summary>
@@ -58668,19 +58787,41 @@ public System.Threading.Tasks.Task<DevToolsMethodResponse> SetAsyncCallStackDept
5866858787
return _client.ExecuteDevToolsMethodAsync<DevToolsMethodResponse>("Debugger.setAsyncCallStackDepth", dict);
5866958788
}
5867058789

58671-
partial void ValidateSetBlackboxPatterns(string[] patterns);
58790+
partial void ValidateSetBlackboxExecutionContexts(string[] uniqueIds);
58791+
/// <summary>
58792+
/// Replace previous blackbox execution contexts with passed ones. Forces backend to skip
58793+
/// stepping/pausing in scripts in these execution contexts. VM will try to leave blackboxed script by
58794+
/// performing &apos;step in&apos; several times, finally resorting to &apos;step out&apos; if unsuccessful.
58795+
/// </summary>
58796+
/// <param name = "uniqueIds">Array of execution context unique ids for the debugger to ignore.</param>
58797+
/// <returns>returns System.Threading.Tasks.Task&lt;DevToolsMethodResponse&gt;</returns>
58798+
public System.Threading.Tasks.Task<DevToolsMethodResponse> SetBlackboxExecutionContextsAsync(string[] uniqueIds)
58799+
{
58800+
ValidateSetBlackboxExecutionContexts(uniqueIds);
58801+
var dict = new System.Collections.Generic.Dictionary<string, object>();
58802+
dict.Add("uniqueIds", uniqueIds);
58803+
return _client.ExecuteDevToolsMethodAsync<DevToolsMethodResponse>("Debugger.setBlackboxExecutionContexts", dict);
58804+
}
58805+
58806+
partial void ValidateSetBlackboxPatterns(string[] patterns, bool? skipAnonymous = null);
5867258807
/// <summary>
5867358808
/// Replace previous blackbox patterns with passed ones. Forces backend to skip stepping/pausing in
5867458809
/// scripts with url matching one of the patterns. VM will try to leave blackboxed script by
5867558810
/// performing &apos;step in&apos; several times, finally resorting to &apos;step out&apos; if unsuccessful.
5867658811
/// </summary>
5867758812
/// <param name = "patterns">Array of regexps that will be used to check script url for blackbox state.</param>
58813+
/// <param name = "skipAnonymous">If true, also ignore scripts with no source url.</param>
5867858814
/// <returns>returns System.Threading.Tasks.Task&lt;DevToolsMethodResponse&gt;</returns>
58679-
public System.Threading.Tasks.Task<DevToolsMethodResponse> SetBlackboxPatternsAsync(string[] patterns)
58815+
public System.Threading.Tasks.Task<DevToolsMethodResponse> SetBlackboxPatternsAsync(string[] patterns, bool? skipAnonymous = null)
5868058816
{
58681-
ValidateSetBlackboxPatterns(patterns);
58817+
ValidateSetBlackboxPatterns(patterns, skipAnonymous);
5868258818
var dict = new System.Collections.Generic.Dictionary<string, object>();
5868358819
dict.Add("patterns", patterns);
58820+
if (skipAnonymous.HasValue)
58821+
{
58822+
dict.Add("skipAnonymous", skipAnonymous.Value);
58823+
}
58824+
5868458825
return _client.ExecuteDevToolsMethodAsync<DevToolsMethodResponse>("Debugger.setBlackboxPatterns", dict);
5868558826
}
5868658827

0 commit comments

Comments
 (0)