mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-06 04:00:07 +00:00
DevTools Client - Update to 105.0.5195.102
This commit is contained in:
@@ -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 104.0.5112.81
|
||||
// CHROMIUM VERSION 105.0.5195.102
|
||||
namespace CefSharp.DevTools.Accessibility
|
||||
{
|
||||
/// <summary>
|
||||
@@ -717,6 +717,16 @@ namespace CefSharp.DevTools.Accessibility
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// This `Node`'s Chrome raw role.
|
||||
/// </summary>
|
||||
[System.Runtime.Serialization.DataMemberAttribute(Name = ("chromeRole"), IsRequired = (false))]
|
||||
public CefSharp.DevTools.Accessibility.AXValue ChromeRole
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// The accessible name for this `Node`.
|
||||
/// </summary>
|
||||
@@ -2831,6 +2841,11 @@ namespace CefSharp.DevTools.Audits
|
||||
[System.Runtime.Serialization.EnumMemberAttribute(Value = ("EventPath"))]
|
||||
EventPath,
|
||||
/// <summary>
|
||||
/// ExpectCTHeader
|
||||
/// </summary>
|
||||
[System.Runtime.Serialization.EnumMemberAttribute(Value = ("ExpectCTHeader"))]
|
||||
ExpectCTHeader,
|
||||
/// <summary>
|
||||
/// GeolocationInsecureOrigin
|
||||
/// </summary>
|
||||
[System.Runtime.Serialization.EnumMemberAttribute(Value = ("GeolocationInsecureOrigin"))]
|
||||
@@ -2881,6 +2896,16 @@ namespace CefSharp.DevTools.Audits
|
||||
[System.Runtime.Serialization.EnumMemberAttribute(Value = ("MediaSourceDurationTruncatingBuffered"))]
|
||||
MediaSourceDurationTruncatingBuffered,
|
||||
/// <summary>
|
||||
/// NavigateEventRestoreScroll
|
||||
/// </summary>
|
||||
[System.Runtime.Serialization.EnumMemberAttribute(Value = ("NavigateEventRestoreScroll"))]
|
||||
NavigateEventRestoreScroll,
|
||||
/// <summary>
|
||||
/// NavigateEventTransitionWhile
|
||||
/// </summary>
|
||||
[System.Runtime.Serialization.EnumMemberAttribute(Value = ("NavigateEventTransitionWhile"))]
|
||||
NavigateEventTransitionWhile,
|
||||
/// <summary>
|
||||
/// NoSysexWebMIDIWithoutPermission
|
||||
/// </summary>
|
||||
[System.Runtime.Serialization.EnumMemberAttribute(Value = ("NoSysexWebMIDIWithoutPermission"))]
|
||||
@@ -2906,6 +2931,11 @@ namespace CefSharp.DevTools.Audits
|
||||
[System.Runtime.Serialization.EnumMemberAttribute(Value = ("OpenWebDatabaseInsecureContext"))]
|
||||
OpenWebDatabaseInsecureContext,
|
||||
/// <summary>
|
||||
/// OverflowVisibleOnReplacedElement
|
||||
/// </summary>
|
||||
[System.Runtime.Serialization.EnumMemberAttribute(Value = ("OverflowVisibleOnReplacedElement"))]
|
||||
OverflowVisibleOnReplacedElement,
|
||||
/// <summary>
|
||||
/// PictureSourceSrc
|
||||
/// </summary>
|
||||
[System.Runtime.Serialization.EnumMemberAttribute(Value = ("PictureSourceSrc"))]
|
||||
@@ -4918,6 +4948,17 @@ namespace CefSharp.DevTools.CSS
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// @scope CSS at-rule array.
|
||||
/// The array enumerates @scope at-rules starting with the innermost one, going outwards.
|
||||
/// </summary>
|
||||
[System.Runtime.Serialization.DataMemberAttribute(Name = ("scopes"), IsRequired = (false))]
|
||||
public System.Collections.Generic.IList<CefSharp.DevTools.CSS.CSSScope> Scopes
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -5524,6 +5565,44 @@ namespace CefSharp.DevTools.CSS
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// CSS Scope at-rule descriptor.
|
||||
/// </summary>
|
||||
[System.Runtime.Serialization.DataContractAttribute]
|
||||
public partial class CSSScope : CefSharp.DevTools.DevToolsDomainEntityBase
|
||||
{
|
||||
/// <summary>
|
||||
/// Scope rule text.
|
||||
/// </summary>
|
||||
[System.Runtime.Serialization.DataMemberAttribute(Name = ("text"), IsRequired = (true))]
|
||||
public string Text
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// The associated rule header range in the enclosing stylesheet (if
|
||||
/// available).
|
||||
/// </summary>
|
||||
[System.Runtime.Serialization.DataMemberAttribute(Name = ("range"), IsRequired = (false))]
|
||||
public CefSharp.DevTools.CSS.SourceRange Range
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Identifier of the stylesheet containing this object (if exists).
|
||||
/// </summary>
|
||||
[System.Runtime.Serialization.DataMemberAttribute(Name = ("styleSheetId"), IsRequired = (false))]
|
||||
public string StyleSheetId
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// CSS Layer at-rule descriptor.
|
||||
/// </summary>
|
||||
@@ -11029,6 +11108,11 @@ namespace CefSharp.DevTools.Network
|
||||
[System.Runtime.Serialization.EnumMemberAttribute(Value = ("Fetch"))]
|
||||
Fetch,
|
||||
/// <summary>
|
||||
/// Prefetch
|
||||
/// </summary>
|
||||
[System.Runtime.Serialization.EnumMemberAttribute(Value = ("Prefetch"))]
|
||||
Prefetch,
|
||||
/// <summary>
|
||||
/// EventSource
|
||||
/// </summary>
|
||||
[System.Runtime.Serialization.EnumMemberAttribute(Value = ("EventSource"))]
|
||||
@@ -11979,6 +12063,28 @@ namespace CefSharp.DevTools.Network
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// The signature algorithm used by the server in the TLS server signature,
|
||||
/// represented as a TLS SignatureScheme code point. Omitted if not
|
||||
/// applicable or not known.
|
||||
/// </summary>
|
||||
[System.Runtime.Serialization.DataMemberAttribute(Name = ("serverSignatureAlgorithm"), IsRequired = (false))]
|
||||
public int? ServerSignatureAlgorithm
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Whether the connection used Encrypted ClientHello
|
||||
/// </summary>
|
||||
[System.Runtime.Serialization.DataMemberAttribute(Name = ("encryptedClientHello"), IsRequired = (true))]
|
||||
public bool EncryptedClientHello
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -18053,6 +18159,11 @@ namespace CefSharp.DevTools.Page
|
||||
[System.Runtime.Serialization.EnumMemberAttribute(Value = ("execution-while-not-rendered"))]
|
||||
ExecutionWhileNotRendered,
|
||||
/// <summary>
|
||||
/// federated-credentials
|
||||
/// </summary>
|
||||
[System.Runtime.Serialization.EnumMemberAttribute(Value = ("federated-credentials"))]
|
||||
FederatedCredentials,
|
||||
/// <summary>
|
||||
/// focus-without-user-activation
|
||||
/// </summary>
|
||||
[System.Runtime.Serialization.EnumMemberAttribute(Value = ("focus-without-user-activation"))]
|
||||
@@ -18168,6 +18279,11 @@ namespace CefSharp.DevTools.Page
|
||||
[System.Runtime.Serialization.EnumMemberAttribute(Value = ("shared-autofill"))]
|
||||
SharedAutofill,
|
||||
/// <summary>
|
||||
/// shared-storage
|
||||
/// </summary>
|
||||
[System.Runtime.Serialization.EnumMemberAttribute(Value = ("shared-storage"))]
|
||||
SharedStorage,
|
||||
/// <summary>
|
||||
/// storage-access-api
|
||||
/// </summary>
|
||||
[System.Runtime.Serialization.EnumMemberAttribute(Value = ("storage-access-api"))]
|
||||
@@ -18228,7 +18344,12 @@ namespace CefSharp.DevTools.Page
|
||||
/// InFencedFrameTree
|
||||
/// </summary>
|
||||
[System.Runtime.Serialization.EnumMemberAttribute(Value = ("InFencedFrameTree"))]
|
||||
InFencedFrameTree
|
||||
InFencedFrameTree,
|
||||
/// <summary>
|
||||
/// InIsolatedApp
|
||||
/// </summary>
|
||||
[System.Runtime.Serialization.EnumMemberAttribute(Value = ("InIsolatedApp"))]
|
||||
InIsolatedApp
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -20808,16 +20929,6 @@ namespace CefSharp.DevTools.Page
|
||||
private set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Input node id.
|
||||
/// </summary>
|
||||
[System.Runtime.Serialization.DataMemberAttribute(Name = ("backendNodeId"), IsRequired = (true))]
|
||||
public int BackendNodeId
|
||||
{
|
||||
get;
|
||||
private set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Input mode.
|
||||
/// </summary>
|
||||
@@ -20843,6 +20954,16 @@ namespace CefSharp.DevTools.Page
|
||||
get;
|
||||
private set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Input node id. Only present for file choosers opened via an <input type="file" > element.
|
||||
/// </summary>
|
||||
[System.Runtime.Serialization.DataMemberAttribute(Name = ("backendNodeId"), IsRequired = (false))]
|
||||
public int? BackendNodeId
|
||||
{
|
||||
get;
|
||||
private set;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -24511,6 +24632,17 @@ namespace CefSharp.DevTools.Tracing
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Size of the trace buffer in kilobytes. If not specified or zero is passed, a default value
|
||||
/// of 200 MB would be used.
|
||||
/// </summary>
|
||||
[System.Runtime.Serialization.DataMemberAttribute(Name = ("traceBufferSizeInKb"), IsRequired = (false))]
|
||||
public double? TraceBufferSizeInKb
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Turns on JavaScript stack sampling.
|
||||
/// </summary>
|
||||
@@ -27336,6 +27468,33 @@ namespace CefSharp.DevTools.Debugger
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// WasmDisassemblyChunk
|
||||
/// </summary>
|
||||
[System.Runtime.Serialization.DataContractAttribute]
|
||||
public partial class WasmDisassemblyChunk : CefSharp.DevTools.DevToolsDomainEntityBase
|
||||
{
|
||||
/// <summary>
|
||||
/// The next chunk of disassembled lines.
|
||||
/// </summary>
|
||||
[System.Runtime.Serialization.DataMemberAttribute(Name = ("lines"), IsRequired = (true))]
|
||||
public string[] Lines
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// The bytecode offsets describing the start of each line.
|
||||
/// </summary>
|
||||
[System.Runtime.Serialization.DataMemberAttribute(Name = ("bytecodeOffsets"), IsRequired = (true))]
|
||||
public int[] BytecodeOffsets
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Enum of possible script languages.
|
||||
/// </summary>
|
||||
@@ -32617,6 +32776,24 @@ namespace CefSharp.DevTools.CSS
|
||||
return cssKeyframesRules;
|
||||
}
|
||||
}
|
||||
|
||||
[System.Runtime.Serialization.DataMemberAttribute]
|
||||
internal int? parentLayoutNodeId
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// parentLayoutNodeId
|
||||
/// </summary>
|
||||
public int? ParentLayoutNodeId
|
||||
{
|
||||
get
|
||||
{
|
||||
return parentLayoutNodeId;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -32872,6 +33049,34 @@ namespace CefSharp.DevTools.CSS
|
||||
}
|
||||
}
|
||||
|
||||
namespace CefSharp.DevTools.CSS
|
||||
{
|
||||
/// <summary>
|
||||
/// SetScopeTextResponse
|
||||
/// </summary>
|
||||
[System.Runtime.Serialization.DataContractAttribute]
|
||||
public class SetScopeTextResponse : CefSharp.DevTools.DevToolsDomainResponseBase
|
||||
{
|
||||
[System.Runtime.Serialization.DataMemberAttribute]
|
||||
internal CefSharp.DevTools.CSS.CSSScope scope
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// scope
|
||||
/// </summary>
|
||||
public CefSharp.DevTools.CSS.CSSScope Scope
|
||||
{
|
||||
get
|
||||
{
|
||||
return scope;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
namespace CefSharp.DevTools.CSS
|
||||
{
|
||||
/// <summary>
|
||||
@@ -33454,6 +33659,24 @@ namespace CefSharp.DevTools.CSS
|
||||
return _client.ExecuteDevToolsMethodAsync<SetSupportsTextResponse>("CSS.setSupportsText", dict);
|
||||
}
|
||||
|
||||
partial void ValidateSetScopeText(string styleSheetId, CefSharp.DevTools.CSS.SourceRange range, string text);
|
||||
/// <summary>
|
||||
/// Modifies the expression of a scope at-rule.
|
||||
/// </summary>
|
||||
/// <param name = "styleSheetId">styleSheetId</param>
|
||||
/// <param name = "range">range</param>
|
||||
/// <param name = "text">text</param>
|
||||
/// <returns>returns System.Threading.Tasks.Task<SetScopeTextResponse></returns>
|
||||
public System.Threading.Tasks.Task<SetScopeTextResponse> SetScopeTextAsync(string styleSheetId, CefSharp.DevTools.CSS.SourceRange range, string text)
|
||||
{
|
||||
ValidateSetScopeText(styleSheetId, range, text);
|
||||
var dict = new System.Collections.Generic.Dictionary<string, object>();
|
||||
dict.Add("styleSheetId", styleSheetId);
|
||||
dict.Add("range", range.ToDictionary());
|
||||
dict.Add("text", text);
|
||||
return _client.ExecuteDevToolsMethodAsync<SetScopeTextResponse>("CSS.setScopeText", dict);
|
||||
}
|
||||
|
||||
partial void ValidateSetRuleSelector(string styleSheetId, CefSharp.DevTools.CSS.SourceRange range, string selector);
|
||||
/// <summary>
|
||||
/// Modifies the rule selector.
|
||||
@@ -34470,6 +34693,34 @@ namespace CefSharp.DevTools.DOM
|
||||
}
|
||||
}
|
||||
|
||||
namespace CefSharp.DevTools.DOM
|
||||
{
|
||||
/// <summary>
|
||||
/// GetTopLayerElementsResponse
|
||||
/// </summary>
|
||||
[System.Runtime.Serialization.DataContractAttribute]
|
||||
public class GetTopLayerElementsResponse : CefSharp.DevTools.DevToolsDomainResponseBase
|
||||
{
|
||||
[System.Runtime.Serialization.DataMemberAttribute]
|
||||
internal int[] nodeIds
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// nodeIds
|
||||
/// </summary>
|
||||
public int[] NodeIds
|
||||
{
|
||||
get
|
||||
{
|
||||
return nodeIds;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
namespace CefSharp.DevTools.DOM
|
||||
{
|
||||
/// <summary>
|
||||
@@ -34914,6 +35165,22 @@ namespace CefSharp.DevTools.DOM
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Called when top layer elements are changed.
|
||||
/// </summary>
|
||||
public event System.EventHandler<System.EventArgs> TopLayerElementsUpdated
|
||||
{
|
||||
add
|
||||
{
|
||||
_client.AddEventHandler<System.EventArgs>("DOM.topLayerElementsUpdated", value);
|
||||
}
|
||||
|
||||
remove
|
||||
{
|
||||
_client.RemoveEventHandler<System.EventArgs>("DOM.topLayerElementsUpdated", value);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Called when a pseudo element is removed from an element.
|
||||
/// </summary>
|
||||
@@ -35526,6 +35793,18 @@ namespace CefSharp.DevTools.DOM
|
||||
return _client.ExecuteDevToolsMethodAsync<QuerySelectorAllResponse>("DOM.querySelectorAll", dict);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Returns NodeIds of current top layer elements.
|
||||
/// Top layer is rendered closest to the user within a viewport, therefore its elements always
|
||||
/// appear on top of all other content.
|
||||
/// </summary>
|
||||
/// <returns>returns System.Threading.Tasks.Task<GetTopLayerElementsResponse></returns>
|
||||
public System.Threading.Tasks.Task<GetTopLayerElementsResponse> GetTopLayerElementsAsync()
|
||||
{
|
||||
System.Collections.Generic.Dictionary<string, object> dict = null;
|
||||
return _client.ExecuteDevToolsMethodAsync<GetTopLayerElementsResponse>("DOM.getTopLayerElements", dict);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Re-does the last undone action.
|
||||
/// </summary>
|
||||
@@ -44517,6 +44796,22 @@ namespace CefSharp.DevTools.Storage
|
||||
return _client.ExecuteDevToolsMethodAsync<DevToolsMethodResponse>("Storage.clearDataForOrigin", dict);
|
||||
}
|
||||
|
||||
partial void ValidateClearDataForStorageKey(string storageKey, string storageTypes);
|
||||
/// <summary>
|
||||
/// Clears storage for storage key.
|
||||
/// </summary>
|
||||
/// <param name = "storageKey">Storage key.</param>
|
||||
/// <param name = "storageTypes">Comma separated list of StorageType to clear.</param>
|
||||
/// <returns>returns System.Threading.Tasks.Task<DevToolsMethodResponse></returns>
|
||||
public System.Threading.Tasks.Task<DevToolsMethodResponse> ClearDataForStorageKeyAsync(string storageKey, string storageTypes)
|
||||
{
|
||||
ValidateClearDataForStorageKey(storageKey, storageTypes);
|
||||
var dict = new System.Collections.Generic.Dictionary<string, object>();
|
||||
dict.Add("storageKey", storageKey);
|
||||
dict.Add("storageTypes", storageTypes);
|
||||
return _client.ExecuteDevToolsMethodAsync<DevToolsMethodResponse>("Storage.clearDataForStorageKey", dict);
|
||||
}
|
||||
|
||||
partial void ValidateGetCookies(string browserContextId = null);
|
||||
/// <summary>
|
||||
/// Returns all browser cookies.
|
||||
@@ -47114,6 +47409,116 @@ namespace CefSharp.DevTools.Debugger
|
||||
}
|
||||
}
|
||||
|
||||
namespace CefSharp.DevTools.Debugger
|
||||
{
|
||||
/// <summary>
|
||||
/// DisassembleWasmModuleResponse
|
||||
/// </summary>
|
||||
[System.Runtime.Serialization.DataContractAttribute]
|
||||
public class DisassembleWasmModuleResponse : CefSharp.DevTools.DevToolsDomainResponseBase
|
||||
{
|
||||
[System.Runtime.Serialization.DataMemberAttribute]
|
||||
internal string streamId
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// streamId
|
||||
/// </summary>
|
||||
public string StreamId
|
||||
{
|
||||
get
|
||||
{
|
||||
return streamId;
|
||||
}
|
||||
}
|
||||
|
||||
[System.Runtime.Serialization.DataMemberAttribute]
|
||||
internal int totalNumberOfLines
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// totalNumberOfLines
|
||||
/// </summary>
|
||||
public int TotalNumberOfLines
|
||||
{
|
||||
get
|
||||
{
|
||||
return totalNumberOfLines;
|
||||
}
|
||||
}
|
||||
|
||||
[System.Runtime.Serialization.DataMemberAttribute]
|
||||
internal int[] functionBodyOffsets
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// functionBodyOffsets
|
||||
/// </summary>
|
||||
public int[] FunctionBodyOffsets
|
||||
{
|
||||
get
|
||||
{
|
||||
return functionBodyOffsets;
|
||||
}
|
||||
}
|
||||
|
||||
[System.Runtime.Serialization.DataMemberAttribute]
|
||||
internal CefSharp.DevTools.Debugger.WasmDisassemblyChunk chunk
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// chunk
|
||||
/// </summary>
|
||||
public CefSharp.DevTools.Debugger.WasmDisassemblyChunk Chunk
|
||||
{
|
||||
get
|
||||
{
|
||||
return chunk;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
namespace CefSharp.DevTools.Debugger
|
||||
{
|
||||
/// <summary>
|
||||
/// NextWasmDisassemblyChunkResponse
|
||||
/// </summary>
|
||||
[System.Runtime.Serialization.DataContractAttribute]
|
||||
public class NextWasmDisassemblyChunkResponse : CefSharp.DevTools.DevToolsDomainResponseBase
|
||||
{
|
||||
[System.Runtime.Serialization.DataMemberAttribute]
|
||||
internal CefSharp.DevTools.Debugger.WasmDisassemblyChunk chunk
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// chunk
|
||||
/// </summary>
|
||||
public CefSharp.DevTools.Debugger.WasmDisassemblyChunk Chunk
|
||||
{
|
||||
get
|
||||
{
|
||||
return chunk;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
namespace CefSharp.DevTools.Debugger
|
||||
{
|
||||
/// <summary>
|
||||
@@ -47462,6 +47867,24 @@ namespace CefSharp.DevTools.Debugger
|
||||
}
|
||||
}
|
||||
|
||||
[System.Runtime.Serialization.DataMemberAttribute]
|
||||
internal string status
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// status
|
||||
/// </summary>
|
||||
public string Status
|
||||
{
|
||||
get
|
||||
{
|
||||
return status;
|
||||
}
|
||||
}
|
||||
|
||||
[System.Runtime.Serialization.DataMemberAttribute]
|
||||
internal CefSharp.DevTools.Runtime.ExceptionDetails exceptionDetails
|
||||
{
|
||||
@@ -47800,6 +48223,37 @@ namespace CefSharp.DevTools.Debugger
|
||||
return _client.ExecuteDevToolsMethodAsync<GetScriptSourceResponse>("Debugger.getScriptSource", dict);
|
||||
}
|
||||
|
||||
partial void ValidateDisassembleWasmModule(string scriptId);
|
||||
/// <summary>
|
||||
/// DisassembleWasmModule
|
||||
/// </summary>
|
||||
/// <param name = "scriptId">Id of the script to disassemble</param>
|
||||
/// <returns>returns System.Threading.Tasks.Task<DisassembleWasmModuleResponse></returns>
|
||||
public System.Threading.Tasks.Task<DisassembleWasmModuleResponse> DisassembleWasmModuleAsync(string scriptId)
|
||||
{
|
||||
ValidateDisassembleWasmModule(scriptId);
|
||||
var dict = new System.Collections.Generic.Dictionary<string, object>();
|
||||
dict.Add("scriptId", scriptId);
|
||||
return _client.ExecuteDevToolsMethodAsync<DisassembleWasmModuleResponse>("Debugger.disassembleWasmModule", dict);
|
||||
}
|
||||
|
||||
partial void ValidateNextWasmDisassemblyChunk(string streamId);
|
||||
/// <summary>
|
||||
/// Disassemble the next chunk of lines for the module corresponding to the
|
||||
/// stream. If disassembly is complete, this API will invalidate the streamId
|
||||
/// and return an empty chunk. Any subsequent calls for the now invalid stream
|
||||
/// will return errors.
|
||||
/// </summary>
|
||||
/// <param name = "streamId">streamId</param>
|
||||
/// <returns>returns System.Threading.Tasks.Task<NextWasmDisassemblyChunkResponse></returns>
|
||||
public System.Threading.Tasks.Task<NextWasmDisassemblyChunkResponse> NextWasmDisassemblyChunkAsync(string streamId)
|
||||
{
|
||||
ValidateNextWasmDisassemblyChunk(streamId);
|
||||
var dict = new System.Collections.Generic.Dictionary<string, object>();
|
||||
dict.Add("streamId", streamId);
|
||||
return _client.ExecuteDevToolsMethodAsync<NextWasmDisassemblyChunkResponse>("Debugger.nextWasmDisassemblyChunk", dict);
|
||||
}
|
||||
|
||||
partial void ValidateGetStackTrace(CefSharp.DevTools.Runtime.StackTraceId stackTraceId);
|
||||
/// <summary>
|
||||
/// Returns stack trace with given `stackTraceId`.
|
||||
@@ -48111,17 +48565,24 @@ namespace CefSharp.DevTools.Debugger
|
||||
return _client.ExecuteDevToolsMethodAsync<DevToolsMethodResponse>("Debugger.setReturnValue", dict);
|
||||
}
|
||||
|
||||
partial void ValidateSetScriptSource(string scriptId, string scriptSource, bool? dryRun = null);
|
||||
partial void ValidateSetScriptSource(string scriptId, string scriptSource, bool? dryRun = null, bool? allowTopFrameEditing = null);
|
||||
/// <summary>
|
||||
/// Edits JavaScript source live.
|
||||
///
|
||||
/// In general, functions that are currently on the stack can not be edited with
|
||||
/// a single exception: If the edited function is the top-most stack frame and
|
||||
/// that is the only activation of that function on the stack. In this case
|
||||
/// the live edit will be successful and a `Debugger.restartFrame` for the
|
||||
/// top-most function is automatically triggered.
|
||||
/// </summary>
|
||||
/// <param name = "scriptId">Id of the script to edit.</param>
|
||||
/// <param name = "scriptSource">New content of the script.</param>
|
||||
/// <param name = "dryRun">If true the change will not actually be applied. Dry run may be used to get resultdescription without actually modifying the code.</param>
|
||||
/// <param name = "allowTopFrameEditing">If true, then `scriptSource` is allowed to change the function on top of the stackas long as the top-most stack frame is the only activation of that function.</param>
|
||||
/// <returns>returns System.Threading.Tasks.Task<SetScriptSourceResponse></returns>
|
||||
public System.Threading.Tasks.Task<SetScriptSourceResponse> SetScriptSourceAsync(string scriptId, string scriptSource, bool? dryRun = null)
|
||||
public System.Threading.Tasks.Task<SetScriptSourceResponse> SetScriptSourceAsync(string scriptId, string scriptSource, bool? dryRun = null, bool? allowTopFrameEditing = null)
|
||||
{
|
||||
ValidateSetScriptSource(scriptId, scriptSource, dryRun);
|
||||
ValidateSetScriptSource(scriptId, scriptSource, dryRun, allowTopFrameEditing);
|
||||
var dict = new System.Collections.Generic.Dictionary<string, object>();
|
||||
dict.Add("scriptId", scriptId);
|
||||
dict.Add("scriptSource", scriptSource);
|
||||
@@ -48130,6 +48591,11 @@ namespace CefSharp.DevTools.Debugger
|
||||
dict.Add("dryRun", dryRun.Value);
|
||||
}
|
||||
|
||||
if (allowTopFrameEditing.HasValue)
|
||||
{
|
||||
dict.Add("allowTopFrameEditing", allowTopFrameEditing.Value);
|
||||
}
|
||||
|
||||
return _client.ExecuteDevToolsMethodAsync<SetScriptSourceResponse>("Debugger.setScriptSource", dict);
|
||||
}
|
||||
|
||||
|
||||
@@ -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 104.0.5112.81
|
||||
// CHROMIUM VERSION 105.0.5195.102
|
||||
namespace CefSharp.DevTools.Accessibility
|
||||
{
|
||||
/// <summary>
|
||||
@@ -650,6 +650,16 @@ namespace CefSharp.DevTools.Accessibility
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// This `Node`'s Chrome raw role.
|
||||
/// </summary>
|
||||
[System.Text.Json.Serialization.JsonPropertyNameAttribute("chromeRole")]
|
||||
public CefSharp.DevTools.Accessibility.AXValue ChromeRole
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// The accessible name for this `Node`.
|
||||
/// </summary>
|
||||
@@ -2535,6 +2545,11 @@ namespace CefSharp.DevTools.Audits
|
||||
[System.Text.Json.Serialization.JsonPropertyNameAttribute("EventPath")]
|
||||
EventPath,
|
||||
/// <summary>
|
||||
/// ExpectCTHeader
|
||||
/// </summary>
|
||||
[System.Text.Json.Serialization.JsonPropertyNameAttribute("ExpectCTHeader")]
|
||||
ExpectCTHeader,
|
||||
/// <summary>
|
||||
/// GeolocationInsecureOrigin
|
||||
/// </summary>
|
||||
[System.Text.Json.Serialization.JsonPropertyNameAttribute("GeolocationInsecureOrigin")]
|
||||
@@ -2585,6 +2600,16 @@ namespace CefSharp.DevTools.Audits
|
||||
[System.Text.Json.Serialization.JsonPropertyNameAttribute("MediaSourceDurationTruncatingBuffered")]
|
||||
MediaSourceDurationTruncatingBuffered,
|
||||
/// <summary>
|
||||
/// NavigateEventRestoreScroll
|
||||
/// </summary>
|
||||
[System.Text.Json.Serialization.JsonPropertyNameAttribute("NavigateEventRestoreScroll")]
|
||||
NavigateEventRestoreScroll,
|
||||
/// <summary>
|
||||
/// NavigateEventTransitionWhile
|
||||
/// </summary>
|
||||
[System.Text.Json.Serialization.JsonPropertyNameAttribute("NavigateEventTransitionWhile")]
|
||||
NavigateEventTransitionWhile,
|
||||
/// <summary>
|
||||
/// NoSysexWebMIDIWithoutPermission
|
||||
/// </summary>
|
||||
[System.Text.Json.Serialization.JsonPropertyNameAttribute("NoSysexWebMIDIWithoutPermission")]
|
||||
@@ -2610,6 +2635,11 @@ namespace CefSharp.DevTools.Audits
|
||||
[System.Text.Json.Serialization.JsonPropertyNameAttribute("OpenWebDatabaseInsecureContext")]
|
||||
OpenWebDatabaseInsecureContext,
|
||||
/// <summary>
|
||||
/// OverflowVisibleOnReplacedElement
|
||||
/// </summary>
|
||||
[System.Text.Json.Serialization.JsonPropertyNameAttribute("OverflowVisibleOnReplacedElement")]
|
||||
OverflowVisibleOnReplacedElement,
|
||||
/// <summary>
|
||||
/// PictureSourceSrc
|
||||
/// </summary>
|
||||
[System.Text.Json.Serialization.JsonPropertyNameAttribute("PictureSourceSrc")]
|
||||
@@ -4467,6 +4497,17 @@ namespace CefSharp.DevTools.CSS
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// @scope CSS at-rule array.
|
||||
/// The array enumerates @scope at-rules starting with the innermost one, going outwards.
|
||||
/// </summary>
|
||||
[System.Text.Json.Serialization.JsonPropertyNameAttribute("scopes")]
|
||||
public System.Collections.Generic.IList<CefSharp.DevTools.CSS.CSSScope> Scopes
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -5058,6 +5099,44 @@ namespace CefSharp.DevTools.CSS
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// CSS Scope at-rule descriptor.
|
||||
/// </summary>
|
||||
public partial class CSSScope : CefSharp.DevTools.DevToolsDomainEntityBase
|
||||
{
|
||||
/// <summary>
|
||||
/// Scope rule text.
|
||||
/// </summary>
|
||||
[System.Text.Json.Serialization.JsonPropertyNameAttribute("text")]
|
||||
[System.Diagnostics.CodeAnalysis.DisallowNull]
|
||||
public string Text
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// The associated rule header range in the enclosing stylesheet (if
|
||||
/// available).
|
||||
/// </summary>
|
||||
[System.Text.Json.Serialization.JsonPropertyNameAttribute("range")]
|
||||
public CefSharp.DevTools.CSS.SourceRange Range
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Identifier of the stylesheet containing this object (if exists).
|
||||
/// </summary>
|
||||
[System.Text.Json.Serialization.JsonPropertyNameAttribute("styleSheetId")]
|
||||
public string StyleSheetId
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// CSS Layer at-rule descriptor.
|
||||
/// </summary>
|
||||
@@ -10374,6 +10453,11 @@ namespace CefSharp.DevTools.Network
|
||||
[System.Text.Json.Serialization.JsonPropertyNameAttribute("Fetch")]
|
||||
Fetch,
|
||||
/// <summary>
|
||||
/// Prefetch
|
||||
/// </summary>
|
||||
[System.Text.Json.Serialization.JsonPropertyNameAttribute("Prefetch")]
|
||||
Prefetch,
|
||||
/// <summary>
|
||||
/// EventSource
|
||||
/// </summary>
|
||||
[System.Text.Json.Serialization.JsonPropertyNameAttribute("EventSource")]
|
||||
@@ -11272,6 +11356,28 @@ namespace CefSharp.DevTools.Network
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// The signature algorithm used by the server in the TLS server signature,
|
||||
/// represented as a TLS SignatureScheme code point. Omitted if not
|
||||
/// applicable or not known.
|
||||
/// </summary>
|
||||
[System.Text.Json.Serialization.JsonPropertyNameAttribute("serverSignatureAlgorithm")]
|
||||
public int? ServerSignatureAlgorithm
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Whether the connection used Encrypted ClientHello
|
||||
/// </summary>
|
||||
[System.Text.Json.Serialization.JsonPropertyNameAttribute("encryptedClientHello")]
|
||||
public bool EncryptedClientHello
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -16818,6 +16924,11 @@ namespace CefSharp.DevTools.Page
|
||||
[System.Text.Json.Serialization.JsonPropertyNameAttribute("execution-while-not-rendered")]
|
||||
ExecutionWhileNotRendered,
|
||||
/// <summary>
|
||||
/// federated-credentials
|
||||
/// </summary>
|
||||
[System.Text.Json.Serialization.JsonPropertyNameAttribute("federated-credentials")]
|
||||
FederatedCredentials,
|
||||
/// <summary>
|
||||
/// focus-without-user-activation
|
||||
/// </summary>
|
||||
[System.Text.Json.Serialization.JsonPropertyNameAttribute("focus-without-user-activation")]
|
||||
@@ -16933,6 +17044,11 @@ namespace CefSharp.DevTools.Page
|
||||
[System.Text.Json.Serialization.JsonPropertyNameAttribute("shared-autofill")]
|
||||
SharedAutofill,
|
||||
/// <summary>
|
||||
/// shared-storage
|
||||
/// </summary>
|
||||
[System.Text.Json.Serialization.JsonPropertyNameAttribute("shared-storage")]
|
||||
SharedStorage,
|
||||
/// <summary>
|
||||
/// storage-access-api
|
||||
/// </summary>
|
||||
[System.Text.Json.Serialization.JsonPropertyNameAttribute("storage-access-api")]
|
||||
@@ -16993,7 +17109,12 @@ namespace CefSharp.DevTools.Page
|
||||
/// InFencedFrameTree
|
||||
/// </summary>
|
||||
[System.Text.Json.Serialization.JsonPropertyNameAttribute("InFencedFrameTree")]
|
||||
InFencedFrameTree
|
||||
InFencedFrameTree,
|
||||
/// <summary>
|
||||
/// InIsolatedApp
|
||||
/// </summary>
|
||||
[System.Text.Json.Serialization.JsonPropertyNameAttribute("InIsolatedApp")]
|
||||
InIsolatedApp
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -19391,22 +19512,22 @@ namespace CefSharp.DevTools.Page
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Input node id.
|
||||
/// Input mode.
|
||||
/// </summary>
|
||||
[System.Text.Json.Serialization.JsonIncludeAttribute]
|
||||
[System.Text.Json.Serialization.JsonPropertyNameAttribute("backendNodeId")]
|
||||
public int BackendNodeId
|
||||
[System.Text.Json.Serialization.JsonPropertyNameAttribute("mode")]
|
||||
public CefSharp.DevTools.Page.FileChooserOpenedMode Mode
|
||||
{
|
||||
get;
|
||||
private set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Input mode.
|
||||
/// Input node id. Only present for file choosers opened via an <input type="file" > element.
|
||||
/// </summary>
|
||||
[System.Text.Json.Serialization.JsonIncludeAttribute]
|
||||
[System.Text.Json.Serialization.JsonPropertyNameAttribute("mode")]
|
||||
public CefSharp.DevTools.Page.FileChooserOpenedMode Mode
|
||||
[System.Text.Json.Serialization.JsonPropertyNameAttribute("backendNodeId")]
|
||||
public int? BackendNodeId
|
||||
{
|
||||
get;
|
||||
private set;
|
||||
@@ -22883,6 +23004,17 @@ namespace CefSharp.DevTools.Tracing
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Size of the trace buffer in kilobytes. If not specified or zero is passed, a default value
|
||||
/// of 200 MB would be used.
|
||||
/// </summary>
|
||||
[System.Text.Json.Serialization.JsonPropertyNameAttribute("traceBufferSizeInKb")]
|
||||
public double? TraceBufferSizeInKb
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Turns on JavaScript stack sampling.
|
||||
/// </summary>
|
||||
@@ -25475,6 +25607,33 @@ namespace CefSharp.DevTools.Debugger
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// WasmDisassemblyChunk
|
||||
/// </summary>
|
||||
public partial class WasmDisassemblyChunk : CefSharp.DevTools.DevToolsDomainEntityBase
|
||||
{
|
||||
/// <summary>
|
||||
/// The next chunk of disassembled lines.
|
||||
/// </summary>
|
||||
[System.Text.Json.Serialization.JsonPropertyNameAttribute("lines")]
|
||||
[System.Diagnostics.CodeAnalysis.DisallowNull]
|
||||
public string[] Lines
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// The bytecode offsets describing the start of each line.
|
||||
/// </summary>
|
||||
[System.Text.Json.Serialization.JsonPropertyNameAttribute("bytecodeOffsets")]
|
||||
public int[] BytecodeOffsets
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Enum of possible script languages.
|
||||
/// </summary>
|
||||
@@ -30357,6 +30516,17 @@ namespace CefSharp.DevTools.CSS
|
||||
get;
|
||||
private set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// parentLayoutNodeId
|
||||
/// </summary>
|
||||
[System.Text.Json.Serialization.JsonIncludeAttribute]
|
||||
[System.Text.Json.Serialization.JsonPropertyNameAttribute("parentLayoutNodeId")]
|
||||
public int? ParentLayoutNodeId
|
||||
{
|
||||
get;
|
||||
private set;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -30540,6 +30710,26 @@ namespace CefSharp.DevTools.CSS
|
||||
}
|
||||
}
|
||||
|
||||
namespace CefSharp.DevTools.CSS
|
||||
{
|
||||
/// <summary>
|
||||
/// SetScopeTextResponse
|
||||
/// </summary>
|
||||
public class SetScopeTextResponse : CefSharp.DevTools.DevToolsDomainResponseBase
|
||||
{
|
||||
/// <summary>
|
||||
/// scope
|
||||
/// </summary>
|
||||
[System.Text.Json.Serialization.JsonIncludeAttribute]
|
||||
[System.Text.Json.Serialization.JsonPropertyNameAttribute("scope")]
|
||||
public CefSharp.DevTools.CSS.CSSScope Scope
|
||||
{
|
||||
get;
|
||||
private set;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
namespace CefSharp.DevTools.CSS
|
||||
{
|
||||
/// <summary>
|
||||
@@ -31075,6 +31265,24 @@ namespace CefSharp.DevTools.CSS
|
||||
return _client.ExecuteDevToolsMethodAsync<SetSupportsTextResponse>("CSS.setSupportsText", dict);
|
||||
}
|
||||
|
||||
partial void ValidateSetScopeText(string styleSheetId, CefSharp.DevTools.CSS.SourceRange range, string text);
|
||||
/// <summary>
|
||||
/// Modifies the expression of a scope at-rule.
|
||||
/// </summary>
|
||||
/// <param name = "styleSheetId">styleSheetId</param>
|
||||
/// <param name = "range">range</param>
|
||||
/// <param name = "text">text</param>
|
||||
/// <returns>returns System.Threading.Tasks.Task<SetScopeTextResponse></returns>
|
||||
public System.Threading.Tasks.Task<SetScopeTextResponse> SetScopeTextAsync(string styleSheetId, CefSharp.DevTools.CSS.SourceRange range, string text)
|
||||
{
|
||||
ValidateSetScopeText(styleSheetId, range, text);
|
||||
var dict = new System.Collections.Generic.Dictionary<string, object>();
|
||||
dict.Add("styleSheetId", styleSheetId);
|
||||
dict.Add("range", range.ToDictionary());
|
||||
dict.Add("text", text);
|
||||
return _client.ExecuteDevToolsMethodAsync<SetScopeTextResponse>("CSS.setScopeText", dict);
|
||||
}
|
||||
|
||||
partial void ValidateSetRuleSelector(string styleSheetId, CefSharp.DevTools.CSS.SourceRange range, string selector);
|
||||
/// <summary>
|
||||
/// Modifies the rule selector.
|
||||
@@ -31895,6 +32103,26 @@ namespace CefSharp.DevTools.DOM
|
||||
}
|
||||
}
|
||||
|
||||
namespace CefSharp.DevTools.DOM
|
||||
{
|
||||
/// <summary>
|
||||
/// GetTopLayerElementsResponse
|
||||
/// </summary>
|
||||
public class GetTopLayerElementsResponse : CefSharp.DevTools.DevToolsDomainResponseBase
|
||||
{
|
||||
/// <summary>
|
||||
/// nodeIds
|
||||
/// </summary>
|
||||
[System.Text.Json.Serialization.JsonIncludeAttribute]
|
||||
[System.Text.Json.Serialization.JsonPropertyNameAttribute("nodeIds")]
|
||||
public int[] NodeIds
|
||||
{
|
||||
get;
|
||||
private set;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
namespace CefSharp.DevTools.DOM
|
||||
{
|
||||
/// <summary>
|
||||
@@ -32268,6 +32496,22 @@ namespace CefSharp.DevTools.DOM
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Called when top layer elements are changed.
|
||||
/// </summary>
|
||||
public event System.EventHandler<System.EventArgs> TopLayerElementsUpdated
|
||||
{
|
||||
add
|
||||
{
|
||||
_client.AddEventHandler<System.EventArgs>("DOM.topLayerElementsUpdated", value);
|
||||
}
|
||||
|
||||
remove
|
||||
{
|
||||
_client.RemoveEventHandler<System.EventArgs>("DOM.topLayerElementsUpdated", value);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Called when a pseudo element is removed from an element.
|
||||
/// </summary>
|
||||
@@ -32880,6 +33124,18 @@ namespace CefSharp.DevTools.DOM
|
||||
return _client.ExecuteDevToolsMethodAsync<QuerySelectorAllResponse>("DOM.querySelectorAll", dict);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Returns NodeIds of current top layer elements.
|
||||
/// Top layer is rendered closest to the user within a viewport, therefore its elements always
|
||||
/// appear on top of all other content.
|
||||
/// </summary>
|
||||
/// <returns>returns System.Threading.Tasks.Task<GetTopLayerElementsResponse></returns>
|
||||
public System.Threading.Tasks.Task<GetTopLayerElementsResponse> GetTopLayerElementsAsync()
|
||||
{
|
||||
System.Collections.Generic.Dictionary<string, object> dict = null;
|
||||
return _client.ExecuteDevToolsMethodAsync<GetTopLayerElementsResponse>("DOM.getTopLayerElements", dict);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Re-does the last undone action.
|
||||
/// </summary>
|
||||
@@ -41157,6 +41413,22 @@ namespace CefSharp.DevTools.Storage
|
||||
return _client.ExecuteDevToolsMethodAsync<DevToolsMethodResponse>("Storage.clearDataForOrigin", dict);
|
||||
}
|
||||
|
||||
partial void ValidateClearDataForStorageKey(string storageKey, string storageTypes);
|
||||
/// <summary>
|
||||
/// Clears storage for storage key.
|
||||
/// </summary>
|
||||
/// <param name = "storageKey">Storage key.</param>
|
||||
/// <param name = "storageTypes">Comma separated list of StorageType to clear.</param>
|
||||
/// <returns>returns System.Threading.Tasks.Task<DevToolsMethodResponse></returns>
|
||||
public System.Threading.Tasks.Task<DevToolsMethodResponse> ClearDataForStorageKeyAsync(string storageKey, string storageTypes)
|
||||
{
|
||||
ValidateClearDataForStorageKey(storageKey, storageTypes);
|
||||
var dict = new System.Collections.Generic.Dictionary<string, object>();
|
||||
dict.Add("storageKey", storageKey);
|
||||
dict.Add("storageTypes", storageTypes);
|
||||
return _client.ExecuteDevToolsMethodAsync<DevToolsMethodResponse>("Storage.clearDataForStorageKey", dict);
|
||||
}
|
||||
|
||||
partial void ValidateGetCookies(string browserContextId = null);
|
||||
/// <summary>
|
||||
/// Returns all browser cookies.
|
||||
@@ -43529,6 +43801,79 @@ namespace CefSharp.DevTools.Debugger
|
||||
}
|
||||
}
|
||||
|
||||
namespace CefSharp.DevTools.Debugger
|
||||
{
|
||||
/// <summary>
|
||||
/// DisassembleWasmModuleResponse
|
||||
/// </summary>
|
||||
public class DisassembleWasmModuleResponse : CefSharp.DevTools.DevToolsDomainResponseBase
|
||||
{
|
||||
/// <summary>
|
||||
/// streamId
|
||||
/// </summary>
|
||||
[System.Text.Json.Serialization.JsonIncludeAttribute]
|
||||
[System.Text.Json.Serialization.JsonPropertyNameAttribute("streamId")]
|
||||
public string StreamId
|
||||
{
|
||||
get;
|
||||
private set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// totalNumberOfLines
|
||||
/// </summary>
|
||||
[System.Text.Json.Serialization.JsonIncludeAttribute]
|
||||
[System.Text.Json.Serialization.JsonPropertyNameAttribute("totalNumberOfLines")]
|
||||
public int TotalNumberOfLines
|
||||
{
|
||||
get;
|
||||
private set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// functionBodyOffsets
|
||||
/// </summary>
|
||||
[System.Text.Json.Serialization.JsonIncludeAttribute]
|
||||
[System.Text.Json.Serialization.JsonPropertyNameAttribute("functionBodyOffsets")]
|
||||
public int[] FunctionBodyOffsets
|
||||
{
|
||||
get;
|
||||
private set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// chunk
|
||||
/// </summary>
|
||||
[System.Text.Json.Serialization.JsonIncludeAttribute]
|
||||
[System.Text.Json.Serialization.JsonPropertyNameAttribute("chunk")]
|
||||
public CefSharp.DevTools.Debugger.WasmDisassemblyChunk Chunk
|
||||
{
|
||||
get;
|
||||
private set;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
namespace CefSharp.DevTools.Debugger
|
||||
{
|
||||
/// <summary>
|
||||
/// NextWasmDisassemblyChunkResponse
|
||||
/// </summary>
|
||||
public class NextWasmDisassemblyChunkResponse : CefSharp.DevTools.DevToolsDomainResponseBase
|
||||
{
|
||||
/// <summary>
|
||||
/// chunk
|
||||
/// </summary>
|
||||
[System.Text.Json.Serialization.JsonIncludeAttribute]
|
||||
[System.Text.Json.Serialization.JsonPropertyNameAttribute("chunk")]
|
||||
public CefSharp.DevTools.Debugger.WasmDisassemblyChunk Chunk
|
||||
{
|
||||
get;
|
||||
private set;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
namespace CefSharp.DevTools.Debugger
|
||||
{
|
||||
/// <summary>
|
||||
@@ -43764,6 +44109,17 @@ namespace CefSharp.DevTools.Debugger
|
||||
private set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// status
|
||||
/// </summary>
|
||||
[System.Text.Json.Serialization.JsonIncludeAttribute]
|
||||
[System.Text.Json.Serialization.JsonPropertyNameAttribute("status")]
|
||||
public string Status
|
||||
{
|
||||
get;
|
||||
private set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// exceptionDetails
|
||||
/// </summary>
|
||||
@@ -44095,6 +44451,37 @@ namespace CefSharp.DevTools.Debugger
|
||||
return _client.ExecuteDevToolsMethodAsync<GetScriptSourceResponse>("Debugger.getScriptSource", dict);
|
||||
}
|
||||
|
||||
partial void ValidateDisassembleWasmModule(string scriptId);
|
||||
/// <summary>
|
||||
/// DisassembleWasmModule
|
||||
/// </summary>
|
||||
/// <param name = "scriptId">Id of the script to disassemble</param>
|
||||
/// <returns>returns System.Threading.Tasks.Task<DisassembleWasmModuleResponse></returns>
|
||||
public System.Threading.Tasks.Task<DisassembleWasmModuleResponse> DisassembleWasmModuleAsync(string scriptId)
|
||||
{
|
||||
ValidateDisassembleWasmModule(scriptId);
|
||||
var dict = new System.Collections.Generic.Dictionary<string, object>();
|
||||
dict.Add("scriptId", scriptId);
|
||||
return _client.ExecuteDevToolsMethodAsync<DisassembleWasmModuleResponse>("Debugger.disassembleWasmModule", dict);
|
||||
}
|
||||
|
||||
partial void ValidateNextWasmDisassemblyChunk(string streamId);
|
||||
/// <summary>
|
||||
/// Disassemble the next chunk of lines for the module corresponding to the
|
||||
/// stream. If disassembly is complete, this API will invalidate the streamId
|
||||
/// and return an empty chunk. Any subsequent calls for the now invalid stream
|
||||
/// will return errors.
|
||||
/// </summary>
|
||||
/// <param name = "streamId">streamId</param>
|
||||
/// <returns>returns System.Threading.Tasks.Task<NextWasmDisassemblyChunkResponse></returns>
|
||||
public System.Threading.Tasks.Task<NextWasmDisassemblyChunkResponse> NextWasmDisassemblyChunkAsync(string streamId)
|
||||
{
|
||||
ValidateNextWasmDisassemblyChunk(streamId);
|
||||
var dict = new System.Collections.Generic.Dictionary<string, object>();
|
||||
dict.Add("streamId", streamId);
|
||||
return _client.ExecuteDevToolsMethodAsync<NextWasmDisassemblyChunkResponse>("Debugger.nextWasmDisassemblyChunk", dict);
|
||||
}
|
||||
|
||||
partial void ValidateGetStackTrace(CefSharp.DevTools.Runtime.StackTraceId stackTraceId);
|
||||
/// <summary>
|
||||
/// Returns stack trace with given `stackTraceId`.
|
||||
@@ -44406,17 +44793,24 @@ namespace CefSharp.DevTools.Debugger
|
||||
return _client.ExecuteDevToolsMethodAsync<DevToolsMethodResponse>("Debugger.setReturnValue", dict);
|
||||
}
|
||||
|
||||
partial void ValidateSetScriptSource(string scriptId, string scriptSource, bool? dryRun = null);
|
||||
partial void ValidateSetScriptSource(string scriptId, string scriptSource, bool? dryRun = null, bool? allowTopFrameEditing = null);
|
||||
/// <summary>
|
||||
/// Edits JavaScript source live.
|
||||
///
|
||||
/// In general, functions that are currently on the stack can not be edited with
|
||||
/// a single exception: If the edited function is the top-most stack frame and
|
||||
/// that is the only activation of that function on the stack. In this case
|
||||
/// the live edit will be successful and a `Debugger.restartFrame` for the
|
||||
/// top-most function is automatically triggered.
|
||||
/// </summary>
|
||||
/// <param name = "scriptId">Id of the script to edit.</param>
|
||||
/// <param name = "scriptSource">New content of the script.</param>
|
||||
/// <param name = "dryRun">If true the change will not actually be applied. Dry run may be used to get resultdescription without actually modifying the code.</param>
|
||||
/// <param name = "allowTopFrameEditing">If true, then `scriptSource` is allowed to change the function on top of the stackas long as the top-most stack frame is the only activation of that function.</param>
|
||||
/// <returns>returns System.Threading.Tasks.Task<SetScriptSourceResponse></returns>
|
||||
public System.Threading.Tasks.Task<SetScriptSourceResponse> SetScriptSourceAsync(string scriptId, string scriptSource, bool? dryRun = null)
|
||||
public System.Threading.Tasks.Task<SetScriptSourceResponse> SetScriptSourceAsync(string scriptId, string scriptSource, bool? dryRun = null, bool? allowTopFrameEditing = null)
|
||||
{
|
||||
ValidateSetScriptSource(scriptId, scriptSource, dryRun);
|
||||
ValidateSetScriptSource(scriptId, scriptSource, dryRun, allowTopFrameEditing);
|
||||
var dict = new System.Collections.Generic.Dictionary<string, object>();
|
||||
dict.Add("scriptId", scriptId);
|
||||
dict.Add("scriptSource", scriptSource);
|
||||
@@ -44425,6 +44819,11 @@ namespace CefSharp.DevTools.Debugger
|
||||
dict.Add("dryRun", dryRun.Value);
|
||||
}
|
||||
|
||||
if (allowTopFrameEditing.HasValue)
|
||||
{
|
||||
dict.Add("allowTopFrameEditing", allowTopFrameEditing.Value);
|
||||
}
|
||||
|
||||
return _client.ExecuteDevToolsMethodAsync<SetScriptSourceResponse>("Debugger.setScriptSource", dict);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user