diff --git a/cdp/cdp.go b/cdp/cdp.go
index 0489ea0..5bb945e 100644
--- a/cdp/cdp.go
+++ b/cdp/cdp.go
@@ -422,7 +422,6 @@ const (
CommandBrowserGetVersion MethodType = "Browser.getVersion"
CommandBrowserSetWindowBounds MethodType = "Browser.setWindowBounds"
CommandBrowserGetWindowBounds MethodType = "Browser.getWindowBounds"
- CommandSchemaGetDomains MethodType = "Schema.getDomains"
EventRuntimeExecutionContextCreated MethodType = "Runtime.executionContextCreated"
EventRuntimeExecutionContextDestroyed MethodType = "Runtime.executionContextDestroyed"
EventRuntimeExecutionContextsCleared MethodType = "Runtime.executionContextsCleared"
@@ -459,13 +458,14 @@ const (
CommandDebuggerRemoveBreakpoint MethodType = "Debugger.removeBreakpoint"
CommandDebuggerGetPossibleBreakpoints MethodType = "Debugger.getPossibleBreakpoints"
CommandDebuggerContinueToLocation MethodType = "Debugger.continueToLocation"
- CommandDebuggerPauseOnAsyncTask MethodType = "Debugger.pauseOnAsyncTask"
+ CommandDebuggerPauseOnAsyncCall MethodType = "Debugger.pauseOnAsyncCall"
CommandDebuggerStepOver MethodType = "Debugger.stepOver"
CommandDebuggerStepInto MethodType = "Debugger.stepInto"
CommandDebuggerStepOut MethodType = "Debugger.stepOut"
CommandDebuggerPause MethodType = "Debugger.pause"
CommandDebuggerScheduleStepIntoAsync MethodType = "Debugger.scheduleStepIntoAsync"
CommandDebuggerResume MethodType = "Debugger.resume"
+ CommandDebuggerGetStackTrace MethodType = "Debugger.getStackTrace"
CommandDebuggerSearchInContent MethodType = "Debugger.searchInContent"
CommandDebuggerSetScriptSource MethodType = "Debugger.setScriptSource"
CommandDebuggerRestartFrame MethodType = "Debugger.restartFrame"
@@ -1269,8 +1269,6 @@ func (t *MethodType) UnmarshalEasyJSON(in *jlexer.Lexer) {
*t = CommandBrowserSetWindowBounds
case CommandBrowserGetWindowBounds:
*t = CommandBrowserGetWindowBounds
- case CommandSchemaGetDomains:
- *t = CommandSchemaGetDomains
case EventRuntimeExecutionContextCreated:
*t = EventRuntimeExecutionContextCreated
case EventRuntimeExecutionContextDestroyed:
@@ -1343,8 +1341,8 @@ func (t *MethodType) UnmarshalEasyJSON(in *jlexer.Lexer) {
*t = CommandDebuggerGetPossibleBreakpoints
case CommandDebuggerContinueToLocation:
*t = CommandDebuggerContinueToLocation
- case CommandDebuggerPauseOnAsyncTask:
- *t = CommandDebuggerPauseOnAsyncTask
+ case CommandDebuggerPauseOnAsyncCall:
+ *t = CommandDebuggerPauseOnAsyncCall
case CommandDebuggerStepOver:
*t = CommandDebuggerStepOver
case CommandDebuggerStepInto:
@@ -1357,6 +1355,8 @@ func (t *MethodType) UnmarshalEasyJSON(in *jlexer.Lexer) {
*t = CommandDebuggerScheduleStepIntoAsync
case CommandDebuggerResume:
*t = CommandDebuggerResume
+ case CommandDebuggerGetStackTrace:
+ *t = CommandDebuggerGetStackTrace
case CommandDebuggerSearchInContent:
*t = CommandDebuggerSearchInContent
case CommandDebuggerSetScriptSource:
diff --git a/cdp/cdputil/cdputil.go b/cdp/cdputil/cdputil.go
index 26dac3c..3f8e542 100644
--- a/cdp/cdputil/cdputil.go
+++ b/cdp/cdputil/cdputil.go
@@ -34,7 +34,6 @@ import (
"github.com/knq/chromedp/cdp/performance"
"github.com/knq/chromedp/cdp/profiler"
"github.com/knq/chromedp/cdp/runtime"
- "github.com/knq/chromedp/cdp/schema"
"github.com/knq/chromedp/cdp/security"
"github.com/knq/chromedp/cdp/serviceworker"
"github.com/knq/chromedp/cdp/storage"
@@ -1172,9 +1171,6 @@ func UnmarshalMessage(msg *cdp.Message) (interface{}, error) {
case cdp.CommandBrowserGetWindowBounds:
v = new(browser.GetWindowBoundsReturns)
- case cdp.CommandSchemaGetDomains:
- v = new(schema.GetDomainsReturns)
-
case cdp.CommandRuntimeEvaluate:
v = new(runtime.EvaluateReturns)
@@ -1242,7 +1238,7 @@ func UnmarshalMessage(msg *cdp.Message) (interface{}, error) {
v = new(runtime.EventInspectRequested)
case cdp.CommandDebuggerEnable:
- return emptyVal, nil
+ v = new(debugger.EnableReturns)
case cdp.CommandDebuggerDisable:
return emptyVal, nil
@@ -1268,7 +1264,7 @@ func UnmarshalMessage(msg *cdp.Message) (interface{}, error) {
case cdp.CommandDebuggerContinueToLocation:
return emptyVal, nil
- case cdp.CommandDebuggerPauseOnAsyncTask:
+ case cdp.CommandDebuggerPauseOnAsyncCall:
return emptyVal, nil
case cdp.CommandDebuggerStepOver:
@@ -1289,6 +1285,9 @@ func UnmarshalMessage(msg *cdp.Message) (interface{}, error) {
case cdp.CommandDebuggerResume:
return emptyVal, nil
+ case cdp.CommandDebuggerGetStackTrace:
+ v = new(debugger.GetStackTraceReturns)
+
case cdp.CommandDebuggerSearchInContent:
v = new(debugger.SearchInContentReturns)
diff --git a/cdp/debugger/debugger.go b/cdp/debugger/debugger.go
index 3feeba8..b067f27 100644
--- a/cdp/debugger/debugger.go
+++ b/cdp/debugger/debugger.go
@@ -28,10 +28,25 @@ func Enable() *EnableParams {
return &EnableParams{}
}
+// EnableReturns return values.
+type EnableReturns struct {
+ DebuggerID runtime.UniqueDebuggerID `json:"debuggerId,omitempty"` // Unique identifier of the debugger.
+}
+
// Do executes Debugger.enable against the provided context and
// target handler.
-func (p *EnableParams) Do(ctxt context.Context, h cdp.Handler) (err error) {
- return h.Execute(ctxt, cdp.CommandDebuggerEnable, nil, nil)
+//
+// returns:
+// debuggerID - Unique identifier of the debugger.
+func (p *EnableParams) Do(ctxt context.Context, h cdp.Handler) (debuggerID runtime.UniqueDebuggerID, err error) {
+ // execute
+ var res EnableReturns
+ err = h.Execute(ctxt, cdp.CommandDebuggerEnable, nil, &res)
+ if err != nil {
+ return "", err
+ }
+
+ return res.DebuggerID, nil
}
// DisableParams disables debugger for given page.
@@ -329,25 +344,25 @@ func (p *ContinueToLocationParams) Do(ctxt context.Context, h cdp.Handler) (err
return h.Execute(ctxt, cdp.CommandDebuggerContinueToLocation, p, nil)
}
-// PauseOnAsyncTaskParams [no description].
-type PauseOnAsyncTaskParams struct {
- AsyncTaskID runtime.AsyncTaskID `json:"asyncTaskId"` // Debugger will pause when given async task is started.
+// PauseOnAsyncCallParams [no description].
+type PauseOnAsyncCallParams struct {
+ ParentStackTraceID *runtime.StackTraceID `json:"parentStackTraceId"` // Debugger will pause when async call with given stack trace is started.
}
-// PauseOnAsyncTask [no description].
+// PauseOnAsyncCall [no description].
//
// parameters:
-// asyncTaskID - Debugger will pause when given async task is started.
-func PauseOnAsyncTask(asyncTaskID runtime.AsyncTaskID) *PauseOnAsyncTaskParams {
- return &PauseOnAsyncTaskParams{
- AsyncTaskID: asyncTaskID,
+// parentStackTraceID - Debugger will pause when async call with given stack trace is started.
+func PauseOnAsyncCall(parentStackTraceID *runtime.StackTraceID) *PauseOnAsyncCallParams {
+ return &PauseOnAsyncCallParams{
+ ParentStackTraceID: parentStackTraceID,
}
}
-// Do executes Debugger.pauseOnAsyncTask against the provided context and
+// Do executes Debugger.pauseOnAsyncCall against the provided context and
// target handler.
-func (p *PauseOnAsyncTaskParams) Do(ctxt context.Context, h cdp.Handler) (err error) {
- return h.Execute(ctxt, cdp.CommandDebuggerPauseOnAsyncTask, p, nil)
+func (p *PauseOnAsyncCallParams) Do(ctxt context.Context, h cdp.Handler) (err error) {
+ return h.Execute(ctxt, cdp.CommandDebuggerPauseOnAsyncCall, p, nil)
}
// StepOverParams steps over the statement.
@@ -453,6 +468,42 @@ func (p *ResumeParams) Do(ctxt context.Context, h cdp.Handler) (err error) {
return h.Execute(ctxt, cdp.CommandDebuggerResume, nil, nil)
}
+// GetStackTraceParams returns stack trace with given stackTraceId.
+type GetStackTraceParams struct {
+ StackTraceID *runtime.StackTraceID `json:"stackTraceId"`
+}
+
+// GetStackTrace returns stack trace with given stackTraceId.
+//
+// parameters:
+// stackTraceID
+func GetStackTrace(stackTraceID *runtime.StackTraceID) *GetStackTraceParams {
+ return &GetStackTraceParams{
+ StackTraceID: stackTraceID,
+ }
+}
+
+// GetStackTraceReturns return values.
+type GetStackTraceReturns struct {
+ StackTrace *runtime.StackTrace `json:"stackTrace,omitempty"`
+}
+
+// Do executes Debugger.getStackTrace against the provided context and
+// target handler.
+//
+// returns:
+// stackTrace
+func (p *GetStackTraceParams) Do(ctxt context.Context, h cdp.Handler) (stackTrace *runtime.StackTrace, err error) {
+ // execute
+ var res GetStackTraceReturns
+ err = h.Execute(ctxt, cdp.CommandDebuggerGetStackTrace, p, &res)
+ if err != nil {
+ return nil, err
+ }
+
+ return res.StackTrace, nil
+}
+
// SearchInContentParams searches for given string in script content.
type SearchInContentParams struct {
ScriptID runtime.ScriptID `json:"scriptId"` // Id of the script to search in.
@@ -534,10 +585,11 @@ func (p SetScriptSourceParams) WithDryRun(dryRun bool) *SetScriptSourceParams {
// SetScriptSourceReturns return values.
type SetScriptSourceReturns struct {
- CallFrames []*CallFrame `json:"callFrames,omitempty"` // New stack trace in case editing has happened while VM was stopped.
- StackChanged bool `json:"stackChanged,omitempty"` // Whether current call stack was modified after applying the changes.
- AsyncStackTrace *runtime.StackTrace `json:"asyncStackTrace,omitempty"` // Async stack trace, if any.
- ExceptionDetails *runtime.ExceptionDetails `json:"exceptionDetails,omitempty"` // Exception details if any.
+ CallFrames []*CallFrame `json:"callFrames,omitempty"` // New stack trace in case editing has happened while VM was stopped.
+ StackChanged bool `json:"stackChanged,omitempty"` // Whether current call stack was modified after applying the changes.
+ AsyncStackTrace *runtime.StackTrace `json:"asyncStackTrace,omitempty"` // Async stack trace, if any.
+ AsyncStackTraceID *runtime.StackTraceID `json:"asyncStackTraceId,omitempty"` // Async stack trace, if any.
+ ExceptionDetails *runtime.ExceptionDetails `json:"exceptionDetails,omitempty"` // Exception details if any.
}
// Do executes Debugger.setScriptSource against the provided context and
@@ -547,16 +599,17 @@ type SetScriptSourceReturns struct {
// callFrames - New stack trace in case editing has happened while VM was stopped.
// stackChanged - Whether current call stack was modified after applying the changes.
// asyncStackTrace - Async stack trace, if any.
+// asyncStackTraceID - Async stack trace, if any.
// exceptionDetails - Exception details if any.
-func (p *SetScriptSourceParams) Do(ctxt context.Context, h cdp.Handler) (callFrames []*CallFrame, stackChanged bool, asyncStackTrace *runtime.StackTrace, exceptionDetails *runtime.ExceptionDetails, err error) {
+func (p *SetScriptSourceParams) Do(ctxt context.Context, h cdp.Handler) (callFrames []*CallFrame, stackChanged bool, asyncStackTrace *runtime.StackTrace, asyncStackTraceID *runtime.StackTraceID, exceptionDetails *runtime.ExceptionDetails, err error) {
// execute
var res SetScriptSourceReturns
err = h.Execute(ctxt, cdp.CommandDebuggerSetScriptSource, p, &res)
if err != nil {
- return nil, false, nil, nil, err
+ return nil, false, nil, nil, nil, err
}
- return res.CallFrames, res.StackChanged, res.AsyncStackTrace, res.ExceptionDetails, nil
+ return res.CallFrames, res.StackChanged, res.AsyncStackTrace, res.AsyncStackTraceID, res.ExceptionDetails, nil
}
// RestartFrameParams restarts particular call frame from the beginning.
@@ -576,8 +629,9 @@ func RestartFrame(callFrameID CallFrameID) *RestartFrameParams {
// RestartFrameReturns return values.
type RestartFrameReturns struct {
- CallFrames []*CallFrame `json:"callFrames,omitempty"` // New stack trace.
- AsyncStackTrace *runtime.StackTrace `json:"asyncStackTrace,omitempty"` // Async stack trace, if any.
+ CallFrames []*CallFrame `json:"callFrames,omitempty"` // New stack trace.
+ AsyncStackTrace *runtime.StackTrace `json:"asyncStackTrace,omitempty"` // Async stack trace, if any.
+ AsyncStackTraceID *runtime.StackTraceID `json:"asyncStackTraceId,omitempty"` // Async stack trace, if any.
}
// Do executes Debugger.restartFrame against the provided context and
@@ -586,15 +640,16 @@ type RestartFrameReturns struct {
// returns:
// callFrames - New stack trace.
// asyncStackTrace - Async stack trace, if any.
-func (p *RestartFrameParams) Do(ctxt context.Context, h cdp.Handler) (callFrames []*CallFrame, asyncStackTrace *runtime.StackTrace, err error) {
+// asyncStackTraceID - Async stack trace, if any.
+func (p *RestartFrameParams) Do(ctxt context.Context, h cdp.Handler) (callFrames []*CallFrame, asyncStackTrace *runtime.StackTrace, asyncStackTraceID *runtime.StackTraceID, err error) {
// execute
var res RestartFrameReturns
err = h.Execute(ctxt, cdp.CommandDebuggerRestartFrame, p, &res)
if err != nil {
- return nil, nil, err
+ return nil, nil, nil, err
}
- return res.CallFrames, res.AsyncStackTrace, nil
+ return res.CallFrames, res.AsyncStackTrace, res.AsyncStackTraceID, nil
}
// GetScriptSourceParams returns source for the script with given id.
diff --git a/cdp/debugger/easyjson.go b/cdp/debugger/easyjson.go
index 8f3317b..be77c51 100644
--- a/cdp/debugger/easyjson.go
+++ b/cdp/debugger/easyjson.go
@@ -459,6 +459,16 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger5(in *jlexer.Lexer, ou
}
(*out.AsyncStackTrace).UnmarshalEasyJSON(in)
}
+ case "asyncStackTraceId":
+ if in.IsNull() {
+ in.Skip()
+ out.AsyncStackTraceID = nil
+ } else {
+ if out.AsyncStackTraceID == nil {
+ out.AsyncStackTraceID = new(runtime.StackTraceID)
+ }
+ (*out.AsyncStackTraceID).UnmarshalEasyJSON(in)
+ }
case "exceptionDetails":
if in.IsNull() {
in.Skip()
@@ -526,6 +536,16 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger5(out *jwriter.Writer,
}
(*in.AsyncStackTrace).MarshalEasyJSON(out)
}
+ if in.AsyncStackTraceID != nil {
+ const prefix string = ",\"asyncStackTraceId\":"
+ if first {
+ first = false
+ out.RawString(prefix[1:])
+ } else {
+ out.RawString(prefix)
+ }
+ (*in.AsyncStackTraceID).MarshalEasyJSON(out)
+ }
if in.ExceptionDetails != nil {
const prefix string = ",\"exceptionDetails\":"
if first {
@@ -2336,6 +2356,16 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger24(in *jlexer.Lexer, o
}
(*out.AsyncStackTrace).UnmarshalEasyJSON(in)
}
+ case "asyncStackTraceId":
+ if in.IsNull() {
+ in.Skip()
+ out.AsyncStackTraceID = nil
+ } else {
+ if out.AsyncStackTraceID == nil {
+ out.AsyncStackTraceID = new(runtime.StackTraceID)
+ }
+ (*out.AsyncStackTraceID).UnmarshalEasyJSON(in)
+ }
default:
in.SkipRecursive()
}
@@ -2383,6 +2413,16 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger24(out *jwriter.Writer
}
(*in.AsyncStackTrace).MarshalEasyJSON(out)
}
+ if in.AsyncStackTraceID != nil {
+ const prefix string = ",\"asyncStackTraceId\":"
+ if first {
+ first = false
+ out.RawString(prefix[1:])
+ } else {
+ out.RawString(prefix)
+ }
+ (*in.AsyncStackTraceID).MarshalEasyJSON(out)
+ }
out.RawByte('}')
}
@@ -2610,7 +2650,7 @@ func (v *PauseParams) UnmarshalJSON(data []byte) error {
func (v *PauseParams) UnmarshalEasyJSON(l *jlexer.Lexer) {
easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger27(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger28(in *jlexer.Lexer, out *PauseOnAsyncTaskParams) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger28(in *jlexer.Lexer, out *PauseOnAsyncCallParams) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -2629,8 +2669,16 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger28(in *jlexer.Lexer, o
continue
}
switch key {
- case "asyncTaskId":
- out.AsyncTaskID = runtime.AsyncTaskID(in.String())
+ case "parentStackTraceId":
+ if in.IsNull() {
+ in.Skip()
+ out.ParentStackTraceID = nil
+ } else {
+ if out.ParentStackTraceID == nil {
+ out.ParentStackTraceID = new(runtime.StackTraceID)
+ }
+ (*out.ParentStackTraceID).UnmarshalEasyJSON(in)
+ }
default:
in.SkipRecursive()
}
@@ -2641,44 +2689,48 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger28(in *jlexer.Lexer, o
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger28(out *jwriter.Writer, in PauseOnAsyncTaskParams) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger28(out *jwriter.Writer, in PauseOnAsyncCallParams) {
out.RawByte('{')
first := true
_ = first
{
- const prefix string = ",\"asyncTaskId\":"
+ const prefix string = ",\"parentStackTraceId\":"
if first {
first = false
out.RawString(prefix[1:])
} else {
out.RawString(prefix)
}
- out.String(string(in.AsyncTaskID))
+ if in.ParentStackTraceID == nil {
+ out.RawString("null")
+ } else {
+ (*in.ParentStackTraceID).MarshalEasyJSON(out)
+ }
}
out.RawByte('}')
}
// MarshalJSON supports json.Marshaler interface
-func (v PauseOnAsyncTaskParams) MarshalJSON() ([]byte, error) {
+func (v PauseOnAsyncCallParams) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger28(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
-func (v PauseOnAsyncTaskParams) MarshalEasyJSON(w *jwriter.Writer) {
+func (v PauseOnAsyncCallParams) MarshalEasyJSON(w *jwriter.Writer) {
easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger28(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
-func (v *PauseOnAsyncTaskParams) UnmarshalJSON(data []byte) error {
+func (v *PauseOnAsyncCallParams) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger28(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
-func (v *PauseOnAsyncTaskParams) UnmarshalEasyJSON(l *jlexer.Lexer) {
+func (v *PauseOnAsyncCallParams) UnmarshalEasyJSON(l *jlexer.Lexer) {
easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger28(l, v)
}
func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger29(in *jlexer.Lexer, out *Location) {
@@ -2776,7 +2828,169 @@ func (v *Location) UnmarshalJSON(data []byte) error {
func (v *Location) UnmarshalEasyJSON(l *jlexer.Lexer) {
easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger29(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger30(in *jlexer.Lexer, out *GetScriptSourceReturns) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger30(in *jlexer.Lexer, out *GetStackTraceReturns) {
+ isTopLevel := in.IsStart()
+ if in.IsNull() {
+ if isTopLevel {
+ in.Consumed()
+ }
+ in.Skip()
+ return
+ }
+ in.Delim('{')
+ for !in.IsDelim('}') {
+ key := in.UnsafeString()
+ in.WantColon()
+ if in.IsNull() {
+ in.Skip()
+ in.WantComma()
+ continue
+ }
+ switch key {
+ case "stackTrace":
+ if in.IsNull() {
+ in.Skip()
+ out.StackTrace = nil
+ } else {
+ if out.StackTrace == nil {
+ out.StackTrace = new(runtime.StackTrace)
+ }
+ (*out.StackTrace).UnmarshalEasyJSON(in)
+ }
+ default:
+ in.SkipRecursive()
+ }
+ in.WantComma()
+ }
+ in.Delim('}')
+ if isTopLevel {
+ in.Consumed()
+ }
+}
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger30(out *jwriter.Writer, in GetStackTraceReturns) {
+ out.RawByte('{')
+ first := true
+ _ = first
+ if in.StackTrace != nil {
+ const prefix string = ",\"stackTrace\":"
+ if first {
+ first = false
+ out.RawString(prefix[1:])
+ } else {
+ out.RawString(prefix)
+ }
+ (*in.StackTrace).MarshalEasyJSON(out)
+ }
+ out.RawByte('}')
+}
+
+// MarshalJSON supports json.Marshaler interface
+func (v GetStackTraceReturns) MarshalJSON() ([]byte, error) {
+ w := jwriter.Writer{}
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger30(&w, v)
+ return w.Buffer.BuildBytes(), w.Error
+}
+
+// MarshalEasyJSON supports easyjson.Marshaler interface
+func (v GetStackTraceReturns) MarshalEasyJSON(w *jwriter.Writer) {
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger30(w, v)
+}
+
+// UnmarshalJSON supports json.Unmarshaler interface
+func (v *GetStackTraceReturns) UnmarshalJSON(data []byte) error {
+ r := jlexer.Lexer{Data: data}
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger30(&r, v)
+ return r.Error()
+}
+
+// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
+func (v *GetStackTraceReturns) UnmarshalEasyJSON(l *jlexer.Lexer) {
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger30(l, v)
+}
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger31(in *jlexer.Lexer, out *GetStackTraceParams) {
+ isTopLevel := in.IsStart()
+ if in.IsNull() {
+ if isTopLevel {
+ in.Consumed()
+ }
+ in.Skip()
+ return
+ }
+ in.Delim('{')
+ for !in.IsDelim('}') {
+ key := in.UnsafeString()
+ in.WantColon()
+ if in.IsNull() {
+ in.Skip()
+ in.WantComma()
+ continue
+ }
+ switch key {
+ case "stackTraceId":
+ if in.IsNull() {
+ in.Skip()
+ out.StackTraceID = nil
+ } else {
+ if out.StackTraceID == nil {
+ out.StackTraceID = new(runtime.StackTraceID)
+ }
+ (*out.StackTraceID).UnmarshalEasyJSON(in)
+ }
+ default:
+ in.SkipRecursive()
+ }
+ in.WantComma()
+ }
+ in.Delim('}')
+ if isTopLevel {
+ in.Consumed()
+ }
+}
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger31(out *jwriter.Writer, in GetStackTraceParams) {
+ out.RawByte('{')
+ first := true
+ _ = first
+ {
+ const prefix string = ",\"stackTraceId\":"
+ if first {
+ first = false
+ out.RawString(prefix[1:])
+ } else {
+ out.RawString(prefix)
+ }
+ if in.StackTraceID == nil {
+ out.RawString("null")
+ } else {
+ (*in.StackTraceID).MarshalEasyJSON(out)
+ }
+ }
+ out.RawByte('}')
+}
+
+// MarshalJSON supports json.Marshaler interface
+func (v GetStackTraceParams) MarshalJSON() ([]byte, error) {
+ w := jwriter.Writer{}
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger31(&w, v)
+ return w.Buffer.BuildBytes(), w.Error
+}
+
+// MarshalEasyJSON supports easyjson.Marshaler interface
+func (v GetStackTraceParams) MarshalEasyJSON(w *jwriter.Writer) {
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger31(w, v)
+}
+
+// UnmarshalJSON supports json.Unmarshaler interface
+func (v *GetStackTraceParams) UnmarshalJSON(data []byte) error {
+ r := jlexer.Lexer{Data: data}
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger31(&r, v)
+ return r.Error()
+}
+
+// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
+func (v *GetStackTraceParams) UnmarshalEasyJSON(l *jlexer.Lexer) {
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger31(l, v)
+}
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger32(in *jlexer.Lexer, out *GetScriptSourceReturns) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -2807,7 +3021,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger30(in *jlexer.Lexer, o
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger30(out *jwriter.Writer, in GetScriptSourceReturns) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger32(out *jwriter.Writer, in GetScriptSourceReturns) {
out.RawByte('{')
first := true
_ = first
@@ -2827,27 +3041,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger30(out *jwriter.Writer
// MarshalJSON supports json.Marshaler interface
func (v GetScriptSourceReturns) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger30(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger32(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v GetScriptSourceReturns) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger30(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger32(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *GetScriptSourceReturns) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger30(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger32(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *GetScriptSourceReturns) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger30(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger32(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger31(in *jlexer.Lexer, out *GetScriptSourceParams) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger33(in *jlexer.Lexer, out *GetScriptSourceParams) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -2878,7 +3092,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger31(in *jlexer.Lexer, o
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger31(out *jwriter.Writer, in GetScriptSourceParams) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger33(out *jwriter.Writer, in GetScriptSourceParams) {
out.RawByte('{')
first := true
_ = first
@@ -2898,27 +3112,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger31(out *jwriter.Writer
// MarshalJSON supports json.Marshaler interface
func (v GetScriptSourceParams) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger31(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger33(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v GetScriptSourceParams) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger31(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger33(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *GetScriptSourceParams) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger31(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger33(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *GetScriptSourceParams) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger31(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger33(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger32(in *jlexer.Lexer, out *GetPossibleBreakpointsReturns) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger34(in *jlexer.Lexer, out *GetPossibleBreakpointsReturns) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -2978,7 +3192,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger32(in *jlexer.Lexer, o
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger32(out *jwriter.Writer, in GetPossibleBreakpointsReturns) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger34(out *jwriter.Writer, in GetPossibleBreakpointsReturns) {
out.RawByte('{')
first := true
_ = first
@@ -3011,27 +3225,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger32(out *jwriter.Writer
// MarshalJSON supports json.Marshaler interface
func (v GetPossibleBreakpointsReturns) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger32(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger34(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v GetPossibleBreakpointsReturns) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger32(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger34(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *GetPossibleBreakpointsReturns) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger32(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger34(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *GetPossibleBreakpointsReturns) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger32(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger34(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger33(in *jlexer.Lexer, out *GetPossibleBreakpointsParams) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger35(in *jlexer.Lexer, out *GetPossibleBreakpointsParams) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -3082,7 +3296,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger33(in *jlexer.Lexer, o
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger33(out *jwriter.Writer, in GetPossibleBreakpointsParams) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger35(out *jwriter.Writer, in GetPossibleBreakpointsParams) {
out.RawByte('{')
first := true
_ = first
@@ -3126,27 +3340,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger33(out *jwriter.Writer
// MarshalJSON supports json.Marshaler interface
func (v GetPossibleBreakpointsParams) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger33(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger35(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v GetPossibleBreakpointsParams) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger33(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger35(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *GetPossibleBreakpointsParams) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger33(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger35(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *GetPossibleBreakpointsParams) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger33(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger35(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger34(in *jlexer.Lexer, out *EventScriptParsed) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger36(in *jlexer.Lexer, out *EventScriptParsed) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -3213,7 +3427,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger34(in *jlexer.Lexer, o
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger34(out *jwriter.Writer, in EventScriptParsed) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger36(out *jwriter.Writer, in EventScriptParsed) {
out.RawByte('{')
first := true
_ = first
@@ -3373,27 +3587,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger34(out *jwriter.Writer
// MarshalJSON supports json.Marshaler interface
func (v EventScriptParsed) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger34(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger36(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v EventScriptParsed) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger34(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger36(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *EventScriptParsed) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger34(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger36(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *EventScriptParsed) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger34(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger36(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger35(in *jlexer.Lexer, out *EventScriptFailedToParse) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger37(in *jlexer.Lexer, out *EventScriptFailedToParse) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -3458,7 +3672,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger35(in *jlexer.Lexer, o
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger35(out *jwriter.Writer, in EventScriptFailedToParse) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger37(out *jwriter.Writer, in EventScriptFailedToParse) {
out.RawByte('{')
first := true
_ = first
@@ -3608,27 +3822,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger35(out *jwriter.Writer
// MarshalJSON supports json.Marshaler interface
func (v EventScriptFailedToParse) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger35(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger37(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v EventScriptFailedToParse) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger35(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger37(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *EventScriptFailedToParse) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger35(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger37(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *EventScriptFailedToParse) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger35(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger37(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger36(in *jlexer.Lexer, out *EventResumed) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger38(in *jlexer.Lexer, out *EventResumed) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -3657,7 +3871,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger36(in *jlexer.Lexer, o
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger36(out *jwriter.Writer, in EventResumed) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger38(out *jwriter.Writer, in EventResumed) {
out.RawByte('{')
first := true
_ = first
@@ -3667,27 +3881,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger36(out *jwriter.Writer
// MarshalJSON supports json.Marshaler interface
func (v EventResumed) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger36(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger38(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v EventResumed) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger36(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger38(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *EventResumed) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger36(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger38(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *EventResumed) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger36(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger38(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger37(in *jlexer.Lexer, out *EventPaused) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger39(in *jlexer.Lexer, out *EventPaused) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -3774,8 +3988,26 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger37(in *jlexer.Lexer, o
}
(*out.AsyncStackTrace).UnmarshalEasyJSON(in)
}
- case "scheduledAsyncTaskId":
- out.ScheduledAsyncTaskID = runtime.AsyncTaskID(in.String())
+ case "asyncStackTraceId":
+ if in.IsNull() {
+ in.Skip()
+ out.AsyncStackTraceID = nil
+ } else {
+ if out.AsyncStackTraceID == nil {
+ out.AsyncStackTraceID = new(runtime.StackTraceID)
+ }
+ (*out.AsyncStackTraceID).UnmarshalEasyJSON(in)
+ }
+ case "asyncCallStackTraceId":
+ if in.IsNull() {
+ in.Skip()
+ out.AsyncCallStackTraceID = nil
+ } else {
+ if out.AsyncCallStackTraceID == nil {
+ out.AsyncCallStackTraceID = new(runtime.StackTraceID)
+ }
+ (*out.AsyncCallStackTraceID).UnmarshalEasyJSON(in)
+ }
default:
in.SkipRecursive()
}
@@ -3786,7 +4018,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger37(in *jlexer.Lexer, o
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger37(out *jwriter.Writer, in EventPaused) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger39(out *jwriter.Writer, in EventPaused) {
out.RawByte('{')
first := true
_ = first
@@ -3864,15 +4096,25 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger37(out *jwriter.Writer
}
(*in.AsyncStackTrace).MarshalEasyJSON(out)
}
- if in.ScheduledAsyncTaskID != "" {
- const prefix string = ",\"scheduledAsyncTaskId\":"
+ if in.AsyncStackTraceID != nil {
+ const prefix string = ",\"asyncStackTraceId\":"
if first {
first = false
out.RawString(prefix[1:])
} else {
out.RawString(prefix)
}
- out.String(string(in.ScheduledAsyncTaskID))
+ (*in.AsyncStackTraceID).MarshalEasyJSON(out)
+ }
+ if in.AsyncCallStackTraceID != nil {
+ const prefix string = ",\"asyncCallStackTraceId\":"
+ if first {
+ first = false
+ out.RawString(prefix[1:])
+ } else {
+ out.RawString(prefix)
+ }
+ (*in.AsyncCallStackTraceID).MarshalEasyJSON(out)
}
out.RawByte('}')
}
@@ -3880,27 +4122,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger37(out *jwriter.Writer
// MarshalJSON supports json.Marshaler interface
func (v EventPaused) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger37(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger39(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v EventPaused) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger37(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger39(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *EventPaused) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger37(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger39(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *EventPaused) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger37(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger39(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger38(in *jlexer.Lexer, out *EventBreakpointResolved) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger40(in *jlexer.Lexer, out *EventBreakpointResolved) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -3941,7 +4183,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger38(in *jlexer.Lexer, o
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger38(out *jwriter.Writer, in EventBreakpointResolved) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger40(out *jwriter.Writer, in EventBreakpointResolved) {
out.RawByte('{')
first := true
_ = first
@@ -3975,27 +4217,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger38(out *jwriter.Writer
// MarshalJSON supports json.Marshaler interface
func (v EventBreakpointResolved) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger38(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger40(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v EventBreakpointResolved) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger38(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger40(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *EventBreakpointResolved) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger38(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger40(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *EventBreakpointResolved) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger38(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger40(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger39(in *jlexer.Lexer, out *EvaluateOnCallFrameReturns) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger41(in *jlexer.Lexer, out *EvaluateOnCallFrameReturns) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -4044,7 +4286,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger39(in *jlexer.Lexer, o
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger39(out *jwriter.Writer, in EvaluateOnCallFrameReturns) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger41(out *jwriter.Writer, in EvaluateOnCallFrameReturns) {
out.RawByte('{')
first := true
_ = first
@@ -4074,27 +4316,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger39(out *jwriter.Writer
// MarshalJSON supports json.Marshaler interface
func (v EvaluateOnCallFrameReturns) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger39(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger41(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v EvaluateOnCallFrameReturns) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger39(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger41(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *EvaluateOnCallFrameReturns) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger39(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger41(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *EvaluateOnCallFrameReturns) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger39(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger41(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger40(in *jlexer.Lexer, out *EvaluateOnCallFrameParams) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger42(in *jlexer.Lexer, out *EvaluateOnCallFrameParams) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -4139,7 +4381,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger40(in *jlexer.Lexer, o
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger40(out *jwriter.Writer, in EvaluateOnCallFrameParams) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger42(out *jwriter.Writer, in EvaluateOnCallFrameParams) {
out.RawByte('{')
first := true
_ = first
@@ -4229,27 +4471,98 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger40(out *jwriter.Writer
// MarshalJSON supports json.Marshaler interface
func (v EvaluateOnCallFrameParams) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger40(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger42(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v EvaluateOnCallFrameParams) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger40(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger42(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *EvaluateOnCallFrameParams) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger40(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger42(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *EvaluateOnCallFrameParams) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger40(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger42(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger41(in *jlexer.Lexer, out *EnableParams) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger43(in *jlexer.Lexer, out *EnableReturns) {
+ isTopLevel := in.IsStart()
+ if in.IsNull() {
+ if isTopLevel {
+ in.Consumed()
+ }
+ in.Skip()
+ return
+ }
+ in.Delim('{')
+ for !in.IsDelim('}') {
+ key := in.UnsafeString()
+ in.WantColon()
+ if in.IsNull() {
+ in.Skip()
+ in.WantComma()
+ continue
+ }
+ switch key {
+ case "debuggerId":
+ out.DebuggerID = runtime.UniqueDebuggerID(in.String())
+ default:
+ in.SkipRecursive()
+ }
+ in.WantComma()
+ }
+ in.Delim('}')
+ if isTopLevel {
+ in.Consumed()
+ }
+}
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger43(out *jwriter.Writer, in EnableReturns) {
+ out.RawByte('{')
+ first := true
+ _ = first
+ if in.DebuggerID != "" {
+ const prefix string = ",\"debuggerId\":"
+ if first {
+ first = false
+ out.RawString(prefix[1:])
+ } else {
+ out.RawString(prefix)
+ }
+ out.String(string(in.DebuggerID))
+ }
+ out.RawByte('}')
+}
+
+// MarshalJSON supports json.Marshaler interface
+func (v EnableReturns) MarshalJSON() ([]byte, error) {
+ w := jwriter.Writer{}
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger43(&w, v)
+ return w.Buffer.BuildBytes(), w.Error
+}
+
+// MarshalEasyJSON supports easyjson.Marshaler interface
+func (v EnableReturns) MarshalEasyJSON(w *jwriter.Writer) {
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger43(w, v)
+}
+
+// UnmarshalJSON supports json.Unmarshaler interface
+func (v *EnableReturns) UnmarshalJSON(data []byte) error {
+ r := jlexer.Lexer{Data: data}
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger43(&r, v)
+ return r.Error()
+}
+
+// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
+func (v *EnableReturns) UnmarshalEasyJSON(l *jlexer.Lexer) {
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger43(l, v)
+}
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger44(in *jlexer.Lexer, out *EnableParams) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -4278,7 +4591,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger41(in *jlexer.Lexer, o
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger41(out *jwriter.Writer, in EnableParams) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger44(out *jwriter.Writer, in EnableParams) {
out.RawByte('{')
first := true
_ = first
@@ -4288,27 +4601,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger41(out *jwriter.Writer
// MarshalJSON supports json.Marshaler interface
func (v EnableParams) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger41(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger44(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v EnableParams) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger41(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger44(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *EnableParams) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger41(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger44(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *EnableParams) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger41(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger44(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger42(in *jlexer.Lexer, out *DisableParams) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger45(in *jlexer.Lexer, out *DisableParams) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -4337,7 +4650,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger42(in *jlexer.Lexer, o
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger42(out *jwriter.Writer, in DisableParams) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger45(out *jwriter.Writer, in DisableParams) {
out.RawByte('{')
first := true
_ = first
@@ -4347,27 +4660,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger42(out *jwriter.Writer
// MarshalJSON supports json.Marshaler interface
func (v DisableParams) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger42(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger45(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v DisableParams) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger42(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger45(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *DisableParams) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger42(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger45(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *DisableParams) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger42(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger45(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger43(in *jlexer.Lexer, out *ContinueToLocationParams) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger46(in *jlexer.Lexer, out *ContinueToLocationParams) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -4408,7 +4721,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger43(in *jlexer.Lexer, o
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger43(out *jwriter.Writer, in ContinueToLocationParams) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger46(out *jwriter.Writer, in ContinueToLocationParams) {
out.RawByte('{')
first := true
_ = first
@@ -4442,27 +4755,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger43(out *jwriter.Writer
// MarshalJSON supports json.Marshaler interface
func (v ContinueToLocationParams) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger43(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger46(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v ContinueToLocationParams) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger43(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger46(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *ContinueToLocationParams) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger43(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger46(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *ContinueToLocationParams) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger43(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger46(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger44(in *jlexer.Lexer, out *CallFrame) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger47(in *jlexer.Lexer, out *CallFrame) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -4568,7 +4881,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger44(in *jlexer.Lexer, o
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger44(out *jwriter.Writer, in CallFrame) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger47(out *jwriter.Writer, in CallFrame) {
out.RawByte('{')
first := true
_ = first
@@ -4681,27 +4994,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger44(out *jwriter.Writer
// MarshalJSON supports json.Marshaler interface
func (v CallFrame) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger44(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger47(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v CallFrame) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger44(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger47(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *CallFrame) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger44(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger47(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *CallFrame) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger44(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger47(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger45(in *jlexer.Lexer, out *BreakLocation) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger48(in *jlexer.Lexer, out *BreakLocation) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -4738,7 +5051,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger45(in *jlexer.Lexer, o
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger45(out *jwriter.Writer, in BreakLocation) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger48(out *jwriter.Writer, in BreakLocation) {
out.RawByte('{')
first := true
_ = first
@@ -4788,23 +5101,23 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger45(out *jwriter.Writer
// MarshalJSON supports json.Marshaler interface
func (v BreakLocation) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger45(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger48(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v BreakLocation) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger45(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpDebugger48(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *BreakLocation) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger45(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger48(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *BreakLocation) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger45(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpDebugger48(l, v)
}
diff --git a/cdp/debugger/events.go b/cdp/debugger/events.go
index aa7fbf4..1674d80 100644
--- a/cdp/debugger/events.go
+++ b/cdp/debugger/events.go
@@ -57,12 +57,13 @@ type EventBreakpointResolved struct {
// EventPaused fired when the virtual machine stopped on breakpoint or
// exception or any other stop criteria.
type EventPaused struct {
- CallFrames []*CallFrame `json:"callFrames"` // Call stack the virtual machine stopped on.
- Reason PausedReason `json:"reason"` // Pause reason.
- Data easyjson.RawMessage `json:"data,omitempty"`
- HitBreakpoints []string `json:"hitBreakpoints,omitempty"` // Hit breakpoints IDs
- AsyncStackTrace *runtime.StackTrace `json:"asyncStackTrace,omitempty"` // Async stack trace, if any.
- ScheduledAsyncTaskID runtime.AsyncTaskID `json:"scheduledAsyncTaskId,omitempty"` // Scheduled async task id.
+ CallFrames []*CallFrame `json:"callFrames"` // Call stack the virtual machine stopped on.
+ Reason PausedReason `json:"reason"` // Pause reason.
+ Data easyjson.RawMessage `json:"data,omitempty"`
+ HitBreakpoints []string `json:"hitBreakpoints,omitempty"` // Hit breakpoints IDs
+ AsyncStackTrace *runtime.StackTrace `json:"asyncStackTrace,omitempty"` // Async stack trace, if any.
+ AsyncStackTraceID *runtime.StackTraceID `json:"asyncStackTraceId,omitempty"` // Async stack trace, if any.
+ AsyncCallStackTraceID *runtime.StackTraceID `json:"asyncCallStackTraceId,omitempty"` // Just scheduled async call will have this stack trace as parent stack during async execution. This field is available only after Debugger.stepInto call with breakOnAsynCall flag.
}
// EventResumed fired when the virtual machine resumed execution.
diff --git a/cdp/runtime/easyjson.go b/cdp/runtime/easyjson.go
index 352527e..4105c9a 100644
--- a/cdp/runtime/easyjson.go
+++ b/cdp/runtime/easyjson.go
@@ -17,7 +17,90 @@ var (
_ easyjson.Marshaler
)
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime(in *jlexer.Lexer, out *StackTrace) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime(in *jlexer.Lexer, out *StackTraceID) {
+ isTopLevel := in.IsStart()
+ if in.IsNull() {
+ if isTopLevel {
+ in.Consumed()
+ }
+ in.Skip()
+ return
+ }
+ in.Delim('{')
+ for !in.IsDelim('}') {
+ key := in.UnsafeString()
+ in.WantColon()
+ if in.IsNull() {
+ in.Skip()
+ in.WantComma()
+ continue
+ }
+ switch key {
+ case "id":
+ out.ID = string(in.String())
+ case "debuggerId":
+ out.DebuggerID = UniqueDebuggerID(in.String())
+ default:
+ in.SkipRecursive()
+ }
+ in.WantComma()
+ }
+ in.Delim('}')
+ if isTopLevel {
+ in.Consumed()
+ }
+}
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime(out *jwriter.Writer, in StackTraceID) {
+ out.RawByte('{')
+ first := true
+ _ = first
+ {
+ const prefix string = ",\"id\":"
+ if first {
+ first = false
+ out.RawString(prefix[1:])
+ } else {
+ out.RawString(prefix)
+ }
+ out.String(string(in.ID))
+ }
+ if in.DebuggerID != "" {
+ const prefix string = ",\"debuggerId\":"
+ if first {
+ first = false
+ out.RawString(prefix[1:])
+ } else {
+ out.RawString(prefix)
+ }
+ out.String(string(in.DebuggerID))
+ }
+ out.RawByte('}')
+}
+
+// MarshalJSON supports json.Marshaler interface
+func (v StackTraceID) MarshalJSON() ([]byte, error) {
+ w := jwriter.Writer{}
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime(&w, v)
+ return w.Buffer.BuildBytes(), w.Error
+}
+
+// MarshalEasyJSON supports easyjson.Marshaler interface
+func (v StackTraceID) MarshalEasyJSON(w *jwriter.Writer) {
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime(w, v)
+}
+
+// UnmarshalJSON supports json.Unmarshaler interface
+func (v *StackTraceID) UnmarshalJSON(data []byte) error {
+ r := jlexer.Lexer{Data: data}
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime(&r, v)
+ return r.Error()
+}
+
+// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
+func (v *StackTraceID) UnmarshalEasyJSON(l *jlexer.Lexer) {
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime(l, v)
+}
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime1(in *jlexer.Lexer, out *StackTrace) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -79,6 +162,16 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime(in *jlexer.Lexer, out
}
(*out.Parent).UnmarshalEasyJSON(in)
}
+ case "parentId":
+ if in.IsNull() {
+ in.Skip()
+ out.ParentID = nil
+ } else {
+ if out.ParentID == nil {
+ out.ParentID = new(StackTraceID)
+ }
+ (*out.ParentID).UnmarshalEasyJSON(in)
+ }
default:
in.SkipRecursive()
}
@@ -89,7 +182,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime(in *jlexer.Lexer, out
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime(out *jwriter.Writer, in StackTrace) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime1(out *jwriter.Writer, in StackTrace) {
out.RawByte('{')
first := true
_ = first
@@ -138,33 +231,43 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime(out *jwriter.Writer, i
}
(*in.Parent).MarshalEasyJSON(out)
}
+ if in.ParentID != nil {
+ const prefix string = ",\"parentId\":"
+ if first {
+ first = false
+ out.RawString(prefix[1:])
+ } else {
+ out.RawString(prefix)
+ }
+ (*in.ParentID).MarshalEasyJSON(out)
+ }
out.RawByte('}')
}
// MarshalJSON supports json.Marshaler interface
func (v StackTrace) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime1(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v StackTrace) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime1(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *StackTrace) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime1(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *StackTrace) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime1(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime1(in *jlexer.Lexer, out *SetCustomObjectFormatterEnabledParams) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime2(in *jlexer.Lexer, out *SetCustomObjectFormatterEnabledParams) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -195,7 +298,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime1(in *jlexer.Lexer, out
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime1(out *jwriter.Writer, in SetCustomObjectFormatterEnabledParams) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime2(out *jwriter.Writer, in SetCustomObjectFormatterEnabledParams) {
out.RawByte('{')
first := true
_ = first
@@ -215,27 +318,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime1(out *jwriter.Writer,
// MarshalJSON supports json.Marshaler interface
func (v SetCustomObjectFormatterEnabledParams) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime1(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime2(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v SetCustomObjectFormatterEnabledParams) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime1(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime2(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *SetCustomObjectFormatterEnabledParams) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime1(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime2(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *SetCustomObjectFormatterEnabledParams) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime1(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime2(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime2(in *jlexer.Lexer, out *RunScriptReturns) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime3(in *jlexer.Lexer, out *RunScriptReturns) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -284,7 +387,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime2(in *jlexer.Lexer, out
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime2(out *jwriter.Writer, in RunScriptReturns) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime3(out *jwriter.Writer, in RunScriptReturns) {
out.RawByte('{')
first := true
_ = first
@@ -314,27 +417,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime2(out *jwriter.Writer,
// MarshalJSON supports json.Marshaler interface
func (v RunScriptReturns) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime2(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime3(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v RunScriptReturns) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime2(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime3(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *RunScriptReturns) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime2(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime3(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *RunScriptReturns) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime2(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime3(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime3(in *jlexer.Lexer, out *RunScriptParams) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime4(in *jlexer.Lexer, out *RunScriptParams) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -379,7 +482,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime3(in *jlexer.Lexer, out
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime3(out *jwriter.Writer, in RunScriptParams) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime4(out *jwriter.Writer, in RunScriptParams) {
out.RawByte('{')
first := true
_ = first
@@ -469,27 +572,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime3(out *jwriter.Writer,
// MarshalJSON supports json.Marshaler interface
func (v RunScriptParams) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime3(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime4(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v RunScriptParams) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime3(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime4(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *RunScriptParams) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime3(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime4(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *RunScriptParams) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime3(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime4(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime4(in *jlexer.Lexer, out *RunIfWaitingForDebuggerParams) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime5(in *jlexer.Lexer, out *RunIfWaitingForDebuggerParams) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -518,7 +621,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime4(in *jlexer.Lexer, out
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime4(out *jwriter.Writer, in RunIfWaitingForDebuggerParams) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime5(out *jwriter.Writer, in RunIfWaitingForDebuggerParams) {
out.RawByte('{')
first := true
_ = first
@@ -528,27 +631,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime4(out *jwriter.Writer,
// MarshalJSON supports json.Marshaler interface
func (v RunIfWaitingForDebuggerParams) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime4(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime5(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v RunIfWaitingForDebuggerParams) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime4(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime5(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *RunIfWaitingForDebuggerParams) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime4(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime5(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *RunIfWaitingForDebuggerParams) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime4(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime5(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime5(in *jlexer.Lexer, out *RemoteObject) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime6(in *jlexer.Lexer, out *RemoteObject) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -611,7 +714,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime5(in *jlexer.Lexer, out
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime5(out *jwriter.Writer, in RemoteObject) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime6(out *jwriter.Writer, in RemoteObject) {
out.RawByte('{')
first := true
_ = first
@@ -711,27 +814,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime5(out *jwriter.Writer,
// MarshalJSON supports json.Marshaler interface
func (v RemoteObject) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime5(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime6(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v RemoteObject) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime5(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime6(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *RemoteObject) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime5(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime6(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *RemoteObject) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime5(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime6(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime6(in *jlexer.Lexer, out *ReleaseObjectParams) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime7(in *jlexer.Lexer, out *ReleaseObjectParams) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -762,7 +865,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime6(in *jlexer.Lexer, out
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime6(out *jwriter.Writer, in ReleaseObjectParams) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime7(out *jwriter.Writer, in ReleaseObjectParams) {
out.RawByte('{')
first := true
_ = first
@@ -782,27 +885,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime6(out *jwriter.Writer,
// MarshalJSON supports json.Marshaler interface
func (v ReleaseObjectParams) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime6(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime7(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v ReleaseObjectParams) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime6(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime7(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *ReleaseObjectParams) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime6(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime7(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *ReleaseObjectParams) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime6(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime7(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime7(in *jlexer.Lexer, out *ReleaseObjectGroupParams) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime8(in *jlexer.Lexer, out *ReleaseObjectGroupParams) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -833,7 +936,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime7(in *jlexer.Lexer, out
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime7(out *jwriter.Writer, in ReleaseObjectGroupParams) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime8(out *jwriter.Writer, in ReleaseObjectGroupParams) {
out.RawByte('{')
first := true
_ = first
@@ -853,27 +956,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime7(out *jwriter.Writer,
// MarshalJSON supports json.Marshaler interface
func (v ReleaseObjectGroupParams) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime7(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime8(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v ReleaseObjectGroupParams) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime7(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime8(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *ReleaseObjectGroupParams) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime7(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime8(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *ReleaseObjectGroupParams) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime7(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime8(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime8(in *jlexer.Lexer, out *QueryObjectsReturns) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime9(in *jlexer.Lexer, out *QueryObjectsReturns) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -912,7 +1015,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime8(in *jlexer.Lexer, out
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime8(out *jwriter.Writer, in QueryObjectsReturns) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime9(out *jwriter.Writer, in QueryObjectsReturns) {
out.RawByte('{')
first := true
_ = first
@@ -932,27 +1035,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime8(out *jwriter.Writer,
// MarshalJSON supports json.Marshaler interface
func (v QueryObjectsReturns) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime8(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime9(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v QueryObjectsReturns) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime8(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime9(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *QueryObjectsReturns) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime8(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime9(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *QueryObjectsReturns) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime8(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime9(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime9(in *jlexer.Lexer, out *QueryObjectsParams) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime10(in *jlexer.Lexer, out *QueryObjectsParams) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -983,7 +1086,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime9(in *jlexer.Lexer, out
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime9(out *jwriter.Writer, in QueryObjectsParams) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime10(out *jwriter.Writer, in QueryObjectsParams) {
out.RawByte('{')
first := true
_ = first
@@ -1003,27 +1106,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime9(out *jwriter.Writer,
// MarshalJSON supports json.Marshaler interface
func (v QueryObjectsParams) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime9(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime10(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v QueryObjectsParams) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime9(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime10(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *QueryObjectsParams) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime9(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime10(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *QueryObjectsParams) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime9(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime10(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime10(in *jlexer.Lexer, out *PropertyPreview) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime11(in *jlexer.Lexer, out *PropertyPreview) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -1070,7 +1173,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime10(in *jlexer.Lexer, ou
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime10(out *jwriter.Writer, in PropertyPreview) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime11(out *jwriter.Writer, in PropertyPreview) {
out.RawByte('{')
first := true
_ = first
@@ -1130,27 +1233,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime10(out *jwriter.Writer,
// MarshalJSON supports json.Marshaler interface
func (v PropertyPreview) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime10(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime11(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v PropertyPreview) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime10(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime11(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *PropertyPreview) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime10(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime11(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *PropertyPreview) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime10(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime11(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime11(in *jlexer.Lexer, out *PropertyDescriptor) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime12(in *jlexer.Lexer, out *PropertyDescriptor) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -1231,7 +1334,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime11(in *jlexer.Lexer, ou
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime11(out *jwriter.Writer, in PropertyDescriptor) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime12(out *jwriter.Writer, in PropertyDescriptor) {
out.RawByte('{')
first := true
_ = first
@@ -1341,27 +1444,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime11(out *jwriter.Writer,
// MarshalJSON supports json.Marshaler interface
func (v PropertyDescriptor) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime11(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime12(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v PropertyDescriptor) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime11(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime12(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *PropertyDescriptor) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime11(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime12(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *PropertyDescriptor) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime11(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime12(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime12(in *jlexer.Lexer, out *ObjectPreview) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime13(in *jlexer.Lexer, out *ObjectPreview) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -1460,7 +1563,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime12(in *jlexer.Lexer, ou
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime12(out *jwriter.Writer, in ObjectPreview) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime13(out *jwriter.Writer, in ObjectPreview) {
out.RawByte('{')
first := true
_ = first
@@ -1558,27 +1661,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime12(out *jwriter.Writer,
// MarshalJSON supports json.Marshaler interface
func (v ObjectPreview) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime12(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime13(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v ObjectPreview) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime12(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime13(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *ObjectPreview) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime12(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime13(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *ObjectPreview) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime12(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime13(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime13(in *jlexer.Lexer, out *InternalPropertyDescriptor) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime14(in *jlexer.Lexer, out *InternalPropertyDescriptor) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -1619,7 +1722,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime13(in *jlexer.Lexer, ou
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime13(out *jwriter.Writer, in InternalPropertyDescriptor) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime14(out *jwriter.Writer, in InternalPropertyDescriptor) {
out.RawByte('{')
first := true
_ = first
@@ -1649,27 +1752,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime13(out *jwriter.Writer,
// MarshalJSON supports json.Marshaler interface
func (v InternalPropertyDescriptor) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime13(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime14(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v InternalPropertyDescriptor) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime13(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime14(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *InternalPropertyDescriptor) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime13(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime14(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *InternalPropertyDescriptor) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime13(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime14(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime14(in *jlexer.Lexer, out *GlobalLexicalScopeNamesReturns) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime15(in *jlexer.Lexer, out *GlobalLexicalScopeNamesReturns) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -1721,7 +1824,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime14(in *jlexer.Lexer, ou
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime14(out *jwriter.Writer, in GlobalLexicalScopeNamesReturns) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime15(out *jwriter.Writer, in GlobalLexicalScopeNamesReturns) {
out.RawByte('{')
first := true
_ = first
@@ -1750,27 +1853,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime14(out *jwriter.Writer,
// MarshalJSON supports json.Marshaler interface
func (v GlobalLexicalScopeNamesReturns) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime14(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime15(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v GlobalLexicalScopeNamesReturns) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime14(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime15(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *GlobalLexicalScopeNamesReturns) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime14(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime15(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *GlobalLexicalScopeNamesReturns) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime14(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime15(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime15(in *jlexer.Lexer, out *GlobalLexicalScopeNamesParams) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime16(in *jlexer.Lexer, out *GlobalLexicalScopeNamesParams) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -1801,7 +1904,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime15(in *jlexer.Lexer, ou
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime15(out *jwriter.Writer, in GlobalLexicalScopeNamesParams) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime16(out *jwriter.Writer, in GlobalLexicalScopeNamesParams) {
out.RawByte('{')
first := true
_ = first
@@ -1821,27 +1924,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime15(out *jwriter.Writer,
// MarshalJSON supports json.Marshaler interface
func (v GlobalLexicalScopeNamesParams) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime15(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime16(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v GlobalLexicalScopeNamesParams) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime15(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime16(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *GlobalLexicalScopeNamesParams) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime15(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime16(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *GlobalLexicalScopeNamesParams) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime15(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime16(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime16(in *jlexer.Lexer, out *GetPropertiesReturns) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime17(in *jlexer.Lexer, out *GetPropertiesReturns) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -1942,7 +2045,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime16(in *jlexer.Lexer, ou
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime16(out *jwriter.Writer, in GetPropertiesReturns) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime17(out *jwriter.Writer, in GetPropertiesReturns) {
out.RawByte('{')
first := true
_ = first
@@ -2008,27 +2111,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime16(out *jwriter.Writer,
// MarshalJSON supports json.Marshaler interface
func (v GetPropertiesReturns) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime16(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime17(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v GetPropertiesReturns) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime16(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime17(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *GetPropertiesReturns) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime16(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime17(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *GetPropertiesReturns) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime16(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime17(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime17(in *jlexer.Lexer, out *GetPropertiesParams) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime18(in *jlexer.Lexer, out *GetPropertiesParams) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -2065,7 +2168,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime17(in *jlexer.Lexer, ou
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime17(out *jwriter.Writer, in GetPropertiesParams) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime18(out *jwriter.Writer, in GetPropertiesParams) {
out.RawByte('{')
first := true
_ = first
@@ -2115,27 +2218,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime17(out *jwriter.Writer,
// MarshalJSON supports json.Marshaler interface
func (v GetPropertiesParams) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime17(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime18(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v GetPropertiesParams) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime17(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime18(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *GetPropertiesParams) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime17(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime18(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *GetPropertiesParams) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime17(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime18(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime18(in *jlexer.Lexer, out *ExecutionContextDescription) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime19(in *jlexer.Lexer, out *ExecutionContextDescription) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -2172,7 +2275,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime18(in *jlexer.Lexer, ou
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime18(out *jwriter.Writer, in ExecutionContextDescription) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime19(out *jwriter.Writer, in ExecutionContextDescription) {
out.RawByte('{')
first := true
_ = first
@@ -2222,27 +2325,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime18(out *jwriter.Writer,
// MarshalJSON supports json.Marshaler interface
func (v ExecutionContextDescription) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime18(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime19(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v ExecutionContextDescription) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime18(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime19(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *ExecutionContextDescription) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime18(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime19(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *ExecutionContextDescription) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime18(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime19(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime19(in *jlexer.Lexer, out *ExceptionDetails) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime20(in *jlexer.Lexer, out *ExceptionDetails) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -2305,7 +2408,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime19(in *jlexer.Lexer, ou
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime19(out *jwriter.Writer, in ExceptionDetails) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime20(out *jwriter.Writer, in ExceptionDetails) {
out.RawByte('{')
first := true
_ = first
@@ -2405,27 +2508,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime19(out *jwriter.Writer,
// MarshalJSON supports json.Marshaler interface
func (v ExceptionDetails) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime19(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime20(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v ExceptionDetails) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime19(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime20(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *ExceptionDetails) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime19(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime20(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *ExceptionDetails) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime19(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime20(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime20(in *jlexer.Lexer, out *EventInspectRequested) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime21(in *jlexer.Lexer, out *EventInspectRequested) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -2466,7 +2569,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime20(in *jlexer.Lexer, ou
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime20(out *jwriter.Writer, in EventInspectRequested) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime21(out *jwriter.Writer, in EventInspectRequested) {
out.RawByte('{')
first := true
_ = first
@@ -2500,27 +2603,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime20(out *jwriter.Writer,
// MarshalJSON supports json.Marshaler interface
func (v EventInspectRequested) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime20(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime21(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v EventInspectRequested) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime20(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime21(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *EventInspectRequested) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime20(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime21(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *EventInspectRequested) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime20(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime21(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime21(in *jlexer.Lexer, out *EventExecutionContextsCleared) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime22(in *jlexer.Lexer, out *EventExecutionContextsCleared) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -2549,7 +2652,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime21(in *jlexer.Lexer, ou
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime21(out *jwriter.Writer, in EventExecutionContextsCleared) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime22(out *jwriter.Writer, in EventExecutionContextsCleared) {
out.RawByte('{')
first := true
_ = first
@@ -2559,27 +2662,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime21(out *jwriter.Writer,
// MarshalJSON supports json.Marshaler interface
func (v EventExecutionContextsCleared) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime21(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime22(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v EventExecutionContextsCleared) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime21(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime22(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *EventExecutionContextsCleared) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime21(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime22(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *EventExecutionContextsCleared) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime21(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime22(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime22(in *jlexer.Lexer, out *EventExecutionContextDestroyed) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime23(in *jlexer.Lexer, out *EventExecutionContextDestroyed) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -2610,7 +2713,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime22(in *jlexer.Lexer, ou
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime22(out *jwriter.Writer, in EventExecutionContextDestroyed) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime23(out *jwriter.Writer, in EventExecutionContextDestroyed) {
out.RawByte('{')
first := true
_ = first
@@ -2630,27 +2733,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime22(out *jwriter.Writer,
// MarshalJSON supports json.Marshaler interface
func (v EventExecutionContextDestroyed) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime22(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime23(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v EventExecutionContextDestroyed) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime22(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime23(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *EventExecutionContextDestroyed) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime22(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime23(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *EventExecutionContextDestroyed) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime22(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime23(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime23(in *jlexer.Lexer, out *EventExecutionContextCreated) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime24(in *jlexer.Lexer, out *EventExecutionContextCreated) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -2689,7 +2792,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime23(in *jlexer.Lexer, ou
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime23(out *jwriter.Writer, in EventExecutionContextCreated) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime24(out *jwriter.Writer, in EventExecutionContextCreated) {
out.RawByte('{')
first := true
_ = first
@@ -2713,27 +2816,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime23(out *jwriter.Writer,
// MarshalJSON supports json.Marshaler interface
func (v EventExecutionContextCreated) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime23(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime24(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v EventExecutionContextCreated) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime23(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime24(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *EventExecutionContextCreated) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime23(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime24(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *EventExecutionContextCreated) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime23(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime24(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime24(in *jlexer.Lexer, out *EventExceptionThrown) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime25(in *jlexer.Lexer, out *EventExceptionThrown) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -2782,7 +2885,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime24(in *jlexer.Lexer, ou
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime24(out *jwriter.Writer, in EventExceptionThrown) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime25(out *jwriter.Writer, in EventExceptionThrown) {
out.RawByte('{')
first := true
_ = first
@@ -2820,27 +2923,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime24(out *jwriter.Writer,
// MarshalJSON supports json.Marshaler interface
func (v EventExceptionThrown) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime24(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime25(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v EventExceptionThrown) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime24(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime25(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *EventExceptionThrown) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime24(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime25(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *EventExceptionThrown) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime24(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime25(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime25(in *jlexer.Lexer, out *EventExceptionRevoked) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime26(in *jlexer.Lexer, out *EventExceptionRevoked) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -2873,7 +2976,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime25(in *jlexer.Lexer, ou
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime25(out *jwriter.Writer, in EventExceptionRevoked) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime26(out *jwriter.Writer, in EventExceptionRevoked) {
out.RawByte('{')
first := true
_ = first
@@ -2903,27 +3006,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime25(out *jwriter.Writer,
// MarshalJSON supports json.Marshaler interface
func (v EventExceptionRevoked) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime25(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime26(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v EventExceptionRevoked) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime25(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime26(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *EventExceptionRevoked) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime25(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime26(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *EventExceptionRevoked) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime25(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime26(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime26(in *jlexer.Lexer, out *EventConsoleAPICalled) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime27(in *jlexer.Lexer, out *EventConsoleAPICalled) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -3009,7 +3112,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime26(in *jlexer.Lexer, ou
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime26(out *jwriter.Writer, in EventConsoleAPICalled) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime27(out *jwriter.Writer, in EventConsoleAPICalled) {
out.RawByte('{')
first := true
_ = first
@@ -3098,27 +3201,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime26(out *jwriter.Writer,
// MarshalJSON supports json.Marshaler interface
func (v EventConsoleAPICalled) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime26(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime27(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v EventConsoleAPICalled) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime26(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime27(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *EventConsoleAPICalled) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime26(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime27(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *EventConsoleAPICalled) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime26(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime27(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime27(in *jlexer.Lexer, out *EvaluateReturns) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime28(in *jlexer.Lexer, out *EvaluateReturns) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -3167,7 +3270,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime27(in *jlexer.Lexer, ou
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime27(out *jwriter.Writer, in EvaluateReturns) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime28(out *jwriter.Writer, in EvaluateReturns) {
out.RawByte('{')
first := true
_ = first
@@ -3197,27 +3300,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime27(out *jwriter.Writer,
// MarshalJSON supports json.Marshaler interface
func (v EvaluateReturns) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime27(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime28(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v EvaluateReturns) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime27(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime28(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *EvaluateReturns) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime27(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime28(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *EvaluateReturns) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime27(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime28(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime28(in *jlexer.Lexer, out *EvaluateParams) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime29(in *jlexer.Lexer, out *EvaluateParams) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -3264,7 +3367,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime28(in *jlexer.Lexer, ou
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime28(out *jwriter.Writer, in EvaluateParams) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime29(out *jwriter.Writer, in EvaluateParams) {
out.RawByte('{')
first := true
_ = first
@@ -3364,27 +3467,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime28(out *jwriter.Writer,
// MarshalJSON supports json.Marshaler interface
func (v EvaluateParams) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime28(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime29(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v EvaluateParams) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime28(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime29(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *EvaluateParams) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime28(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime29(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *EvaluateParams) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime28(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime29(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime29(in *jlexer.Lexer, out *EntryPreview) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime30(in *jlexer.Lexer, out *EntryPreview) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -3433,7 +3536,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime29(in *jlexer.Lexer, ou
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime29(out *jwriter.Writer, in EntryPreview) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime30(out *jwriter.Writer, in EntryPreview) {
out.RawByte('{')
first := true
_ = first
@@ -3467,27 +3570,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime29(out *jwriter.Writer,
// MarshalJSON supports json.Marshaler interface
func (v EntryPreview) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime29(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime30(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v EntryPreview) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime29(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime30(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *EntryPreview) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime29(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime30(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *EntryPreview) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime29(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime30(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime30(in *jlexer.Lexer, out *EnableParams) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime31(in *jlexer.Lexer, out *EnableParams) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -3516,7 +3619,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime30(in *jlexer.Lexer, ou
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime30(out *jwriter.Writer, in EnableParams) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime31(out *jwriter.Writer, in EnableParams) {
out.RawByte('{')
first := true
_ = first
@@ -3526,27 +3629,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime30(out *jwriter.Writer,
// MarshalJSON supports json.Marshaler interface
func (v EnableParams) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime30(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime31(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v EnableParams) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime30(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime31(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *EnableParams) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime30(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime31(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *EnableParams) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime30(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime31(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime31(in *jlexer.Lexer, out *DiscardConsoleEntriesParams) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime32(in *jlexer.Lexer, out *DiscardConsoleEntriesParams) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -3575,7 +3678,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime31(in *jlexer.Lexer, ou
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime31(out *jwriter.Writer, in DiscardConsoleEntriesParams) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime32(out *jwriter.Writer, in DiscardConsoleEntriesParams) {
out.RawByte('{')
first := true
_ = first
@@ -3585,27 +3688,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime31(out *jwriter.Writer,
// MarshalJSON supports json.Marshaler interface
func (v DiscardConsoleEntriesParams) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime31(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime32(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v DiscardConsoleEntriesParams) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime31(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime32(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *DiscardConsoleEntriesParams) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime31(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime32(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *DiscardConsoleEntriesParams) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime31(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime32(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime32(in *jlexer.Lexer, out *DisableParams) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime33(in *jlexer.Lexer, out *DisableParams) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -3634,7 +3737,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime32(in *jlexer.Lexer, ou
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime32(out *jwriter.Writer, in DisableParams) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime33(out *jwriter.Writer, in DisableParams) {
out.RawByte('{')
first := true
_ = first
@@ -3644,27 +3747,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime32(out *jwriter.Writer,
// MarshalJSON supports json.Marshaler interface
func (v DisableParams) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime32(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime33(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v DisableParams) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime32(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime33(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *DisableParams) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime32(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime33(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *DisableParams) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime32(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime33(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime33(in *jlexer.Lexer, out *CustomPreview) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime34(in *jlexer.Lexer, out *CustomPreview) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -3703,7 +3806,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime33(in *jlexer.Lexer, ou
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime33(out *jwriter.Writer, in CustomPreview) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime34(out *jwriter.Writer, in CustomPreview) {
out.RawByte('{')
first := true
_ = first
@@ -3763,27 +3866,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime33(out *jwriter.Writer,
// MarshalJSON supports json.Marshaler interface
func (v CustomPreview) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime33(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime34(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v CustomPreview) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime33(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime34(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *CustomPreview) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime33(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime34(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *CustomPreview) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime33(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime34(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime34(in *jlexer.Lexer, out *CompileScriptReturns) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime35(in *jlexer.Lexer, out *CompileScriptReturns) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -3824,7 +3927,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime34(in *jlexer.Lexer, ou
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime34(out *jwriter.Writer, in CompileScriptReturns) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime35(out *jwriter.Writer, in CompileScriptReturns) {
out.RawByte('{')
first := true
_ = first
@@ -3854,27 +3957,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime34(out *jwriter.Writer,
// MarshalJSON supports json.Marshaler interface
func (v CompileScriptReturns) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime34(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime35(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v CompileScriptReturns) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime34(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime35(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *CompileScriptReturns) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime34(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime35(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *CompileScriptReturns) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime34(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime35(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime35(in *jlexer.Lexer, out *CompileScriptParams) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime36(in *jlexer.Lexer, out *CompileScriptParams) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -3911,7 +4014,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime35(in *jlexer.Lexer, ou
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime35(out *jwriter.Writer, in CompileScriptParams) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime36(out *jwriter.Writer, in CompileScriptParams) {
out.RawByte('{')
first := true
_ = first
@@ -3961,27 +4064,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime35(out *jwriter.Writer,
// MarshalJSON supports json.Marshaler interface
func (v CompileScriptParams) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime35(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime36(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v CompileScriptParams) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime35(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime36(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *CompileScriptParams) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime35(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime36(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *CompileScriptParams) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime35(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime36(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime36(in *jlexer.Lexer, out *CallFunctionOnReturns) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime37(in *jlexer.Lexer, out *CallFunctionOnReturns) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -4030,7 +4133,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime36(in *jlexer.Lexer, ou
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime36(out *jwriter.Writer, in CallFunctionOnReturns) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime37(out *jwriter.Writer, in CallFunctionOnReturns) {
out.RawByte('{')
first := true
_ = first
@@ -4060,27 +4163,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime36(out *jwriter.Writer,
// MarshalJSON supports json.Marshaler interface
func (v CallFunctionOnReturns) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime36(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime37(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v CallFunctionOnReturns) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime36(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime37(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *CallFunctionOnReturns) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime36(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime37(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *CallFunctionOnReturns) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime36(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime37(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime37(in *jlexer.Lexer, out *CallFunctionOnParams) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime38(in *jlexer.Lexer, out *CallFunctionOnParams) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -4158,7 +4261,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime37(in *jlexer.Lexer, ou
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime37(out *jwriter.Writer, in CallFunctionOnParams) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime38(out *jwriter.Writer, in CallFunctionOnParams) {
out.RawByte('{')
first := true
_ = first
@@ -4281,27 +4384,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime37(out *jwriter.Writer,
// MarshalJSON supports json.Marshaler interface
func (v CallFunctionOnParams) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime37(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime38(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v CallFunctionOnParams) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime37(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime38(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *CallFunctionOnParams) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime37(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime38(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *CallFunctionOnParams) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime37(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime38(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime38(in *jlexer.Lexer, out *CallFrame) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime39(in *jlexer.Lexer, out *CallFrame) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -4340,7 +4443,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime38(in *jlexer.Lexer, ou
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime38(out *jwriter.Writer, in CallFrame) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime39(out *jwriter.Writer, in CallFrame) {
out.RawByte('{')
first := true
_ = first
@@ -4400,27 +4503,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime38(out *jwriter.Writer,
// MarshalJSON supports json.Marshaler interface
func (v CallFrame) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime38(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime39(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v CallFrame) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime38(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime39(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *CallFrame) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime38(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime39(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *CallFrame) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime38(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime39(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime39(in *jlexer.Lexer, out *CallArgument) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime40(in *jlexer.Lexer, out *CallArgument) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -4455,7 +4558,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime39(in *jlexer.Lexer, ou
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime39(out *jwriter.Writer, in CallArgument) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime40(out *jwriter.Writer, in CallArgument) {
out.RawByte('{')
first := true
_ = first
@@ -4495,27 +4598,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime39(out *jwriter.Writer,
// MarshalJSON supports json.Marshaler interface
func (v CallArgument) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime39(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime40(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v CallArgument) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime39(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime40(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *CallArgument) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime39(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime40(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *CallArgument) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime39(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime40(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime40(in *jlexer.Lexer, out *AwaitPromiseReturns) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime41(in *jlexer.Lexer, out *AwaitPromiseReturns) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -4564,7 +4667,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime40(in *jlexer.Lexer, ou
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime40(out *jwriter.Writer, in AwaitPromiseReturns) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime41(out *jwriter.Writer, in AwaitPromiseReturns) {
out.RawByte('{')
first := true
_ = first
@@ -4594,27 +4697,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime40(out *jwriter.Writer,
// MarshalJSON supports json.Marshaler interface
func (v AwaitPromiseReturns) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime40(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime41(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v AwaitPromiseReturns) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime40(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime41(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *AwaitPromiseReturns) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime40(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime41(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *AwaitPromiseReturns) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime40(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime41(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime41(in *jlexer.Lexer, out *AwaitPromiseParams) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime42(in *jlexer.Lexer, out *AwaitPromiseParams) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -4649,7 +4752,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime41(in *jlexer.Lexer, ou
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime41(out *jwriter.Writer, in AwaitPromiseParams) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime42(out *jwriter.Writer, in AwaitPromiseParams) {
out.RawByte('{')
first := true
_ = first
@@ -4689,23 +4792,23 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime41(out *jwriter.Writer,
// MarshalJSON supports json.Marshaler interface
func (v AwaitPromiseParams) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime41(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime42(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v AwaitPromiseParams) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime41(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime42(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *AwaitPromiseParams) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime41(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime42(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *AwaitPromiseParams) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime41(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime42(l, v)
}
diff --git a/cdp/runtime/types.go b/cdp/runtime/types.go
index a196c6d..e0bd865 100644
--- a/cdp/runtime/types.go
+++ b/cdp/runtime/types.go
@@ -233,19 +233,28 @@ type CallFrame struct {
// StackTrace call frames for assertions or error messages.
type StackTrace struct {
- Description string `json:"description,omitempty"` // String label of this stack trace. For async traces this may be a name of the function that initiated the async call.
- CallFrames []*CallFrame `json:"callFrames"` // JavaScript function name.
- Parent *StackTrace `json:"parent,omitempty"` // Asynchronous JavaScript stack trace that preceded this stack, if available.
+ Description string `json:"description,omitempty"` // String label of this stack trace. For async traces this may be a name of the function that initiated the async call.
+ CallFrames []*CallFrame `json:"callFrames"` // JavaScript function name.
+ Parent *StackTrace `json:"parent,omitempty"` // Asynchronous JavaScript stack trace that preceded this stack, if available.
+ ParentID *StackTraceID `json:"parentId,omitempty"` // Asynchronous JavaScript stack trace that preceded this stack, if available.
}
-// AsyncTaskID [no description].
-type AsyncTaskID string
+// UniqueDebuggerID unique identifier of current debugger.
+type UniqueDebuggerID string
-// String returns the AsyncTaskID as string value.
-func (t AsyncTaskID) String() string {
+// String returns the UniqueDebuggerID as string value.
+func (t UniqueDebuggerID) String() string {
return string(t)
}
+// StackTraceID if debuggerId is set stack trace comes from another debugger
+// and can be resolved there. This allows to track cross-debugger calls. See
+// Runtime.StackTrace and Debugger.paused for usages.
+type StackTraceID struct {
+ ID string `json:"id"`
+ DebuggerID UniqueDebuggerID `json:"debuggerId,omitempty"`
+}
+
// Type object type.
type Type string
diff --git a/cdp/schema/easyjson.go b/cdp/schema/easyjson.go
deleted file mode 100644
index 301e39f..0000000
--- a/cdp/schema/easyjson.go
+++ /dev/null
@@ -1,274 +0,0 @@
-// Code generated by easyjson for marshaling/unmarshaling. DO NOT EDIT.
-
-package schema
-
-import (
- json "encoding/json"
- easyjson "github.com/mailru/easyjson"
- jlexer "github.com/mailru/easyjson/jlexer"
- jwriter "github.com/mailru/easyjson/jwriter"
-)
-
-// suppress unused package warning
-var (
- _ *json.RawMessage
- _ *jlexer.Lexer
- _ *jwriter.Writer
- _ easyjson.Marshaler
-)
-
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpSchema(in *jlexer.Lexer, out *GetDomainsReturns) {
- isTopLevel := in.IsStart()
- if in.IsNull() {
- if isTopLevel {
- in.Consumed()
- }
- in.Skip()
- return
- }
- in.Delim('{')
- for !in.IsDelim('}') {
- key := in.UnsafeString()
- in.WantColon()
- if in.IsNull() {
- in.Skip()
- in.WantComma()
- continue
- }
- switch key {
- case "domains":
- if in.IsNull() {
- in.Skip()
- out.Domains = nil
- } else {
- in.Delim('[')
- if out.Domains == nil {
- if !in.IsDelim(']') {
- out.Domains = make([]*Domain, 0, 8)
- } else {
- out.Domains = []*Domain{}
- }
- } else {
- out.Domains = (out.Domains)[:0]
- }
- for !in.IsDelim(']') {
- var v1 *Domain
- if in.IsNull() {
- in.Skip()
- v1 = nil
- } else {
- if v1 == nil {
- v1 = new(Domain)
- }
- (*v1).UnmarshalEasyJSON(in)
- }
- out.Domains = append(out.Domains, v1)
- in.WantComma()
- }
- in.Delim(']')
- }
- default:
- in.SkipRecursive()
- }
- in.WantComma()
- }
- in.Delim('}')
- if isTopLevel {
- in.Consumed()
- }
-}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpSchema(out *jwriter.Writer, in GetDomainsReturns) {
- out.RawByte('{')
- first := true
- _ = first
- if len(in.Domains) != 0 {
- const prefix string = ",\"domains\":"
- if first {
- first = false
- out.RawString(prefix[1:])
- } else {
- out.RawString(prefix)
- }
- {
- out.RawByte('[')
- for v2, v3 := range in.Domains {
- if v2 > 0 {
- out.RawByte(',')
- }
- if v3 == nil {
- out.RawString("null")
- } else {
- (*v3).MarshalEasyJSON(out)
- }
- }
- out.RawByte(']')
- }
- }
- out.RawByte('}')
-}
-
-// MarshalJSON supports json.Marshaler interface
-func (v GetDomainsReturns) MarshalJSON() ([]byte, error) {
- w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpSchema(&w, v)
- return w.Buffer.BuildBytes(), w.Error
-}
-
-// MarshalEasyJSON supports easyjson.Marshaler interface
-func (v GetDomainsReturns) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpSchema(w, v)
-}
-
-// UnmarshalJSON supports json.Unmarshaler interface
-func (v *GetDomainsReturns) UnmarshalJSON(data []byte) error {
- r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpSchema(&r, v)
- return r.Error()
-}
-
-// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
-func (v *GetDomainsReturns) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpSchema(l, v)
-}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpSchema1(in *jlexer.Lexer, out *GetDomainsParams) {
- isTopLevel := in.IsStart()
- if in.IsNull() {
- if isTopLevel {
- in.Consumed()
- }
- in.Skip()
- return
- }
- in.Delim('{')
- for !in.IsDelim('}') {
- key := in.UnsafeString()
- in.WantColon()
- if in.IsNull() {
- in.Skip()
- in.WantComma()
- continue
- }
- switch key {
- default:
- in.SkipRecursive()
- }
- in.WantComma()
- }
- in.Delim('}')
- if isTopLevel {
- in.Consumed()
- }
-}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpSchema1(out *jwriter.Writer, in GetDomainsParams) {
- out.RawByte('{')
- first := true
- _ = first
- out.RawByte('}')
-}
-
-// MarshalJSON supports json.Marshaler interface
-func (v GetDomainsParams) MarshalJSON() ([]byte, error) {
- w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpSchema1(&w, v)
- return w.Buffer.BuildBytes(), w.Error
-}
-
-// MarshalEasyJSON supports easyjson.Marshaler interface
-func (v GetDomainsParams) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpSchema1(w, v)
-}
-
-// UnmarshalJSON supports json.Unmarshaler interface
-func (v *GetDomainsParams) UnmarshalJSON(data []byte) error {
- r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpSchema1(&r, v)
- return r.Error()
-}
-
-// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
-func (v *GetDomainsParams) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpSchema1(l, v)
-}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpSchema2(in *jlexer.Lexer, out *Domain) {
- isTopLevel := in.IsStart()
- if in.IsNull() {
- if isTopLevel {
- in.Consumed()
- }
- in.Skip()
- return
- }
- in.Delim('{')
- for !in.IsDelim('}') {
- key := in.UnsafeString()
- in.WantColon()
- if in.IsNull() {
- in.Skip()
- in.WantComma()
- continue
- }
- switch key {
- case "name":
- out.Name = string(in.String())
- case "version":
- out.Version = string(in.String())
- default:
- in.SkipRecursive()
- }
- in.WantComma()
- }
- in.Delim('}')
- if isTopLevel {
- in.Consumed()
- }
-}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpSchema2(out *jwriter.Writer, in Domain) {
- out.RawByte('{')
- first := true
- _ = first
- {
- const prefix string = ",\"name\":"
- if first {
- first = false
- out.RawString(prefix[1:])
- } else {
- out.RawString(prefix)
- }
- out.String(string(in.Name))
- }
- {
- const prefix string = ",\"version\":"
- if first {
- first = false
- out.RawString(prefix[1:])
- } else {
- out.RawString(prefix)
- }
- out.String(string(in.Version))
- }
- out.RawByte('}')
-}
-
-// MarshalJSON supports json.Marshaler interface
-func (v Domain) MarshalJSON() ([]byte, error) {
- w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpSchema2(&w, v)
- return w.Buffer.BuildBytes(), w.Error
-}
-
-// MarshalEasyJSON supports easyjson.Marshaler interface
-func (v Domain) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpSchema2(w, v)
-}
-
-// UnmarshalJSON supports json.Unmarshaler interface
-func (v *Domain) UnmarshalJSON(data []byte) error {
- r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpSchema2(&r, v)
- return r.Error()
-}
-
-// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
-func (v *Domain) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpSchema2(l, v)
-}
diff --git a/cdp/schema/schema.go b/cdp/schema/schema.go
deleted file mode 100644
index eac7495..0000000
--- a/cdp/schema/schema.go
+++ /dev/null
@@ -1,44 +0,0 @@
-// Package schema provides the Chrome Debugging Protocol
-// commands, types, and events for the Schema domain.
-//
-// Provides information about the protocol schema.
-//
-// Generated by the chromedp-gen command.
-package schema
-
-// Code generated by chromedp-gen. DO NOT EDIT.
-
-import (
- "context"
-
- cdp "github.com/knq/chromedp/cdp"
-)
-
-// GetDomainsParams returns supported domains.
-type GetDomainsParams struct{}
-
-// GetDomains returns supported domains.
-func GetDomains() *GetDomainsParams {
- return &GetDomainsParams{}
-}
-
-// GetDomainsReturns return values.
-type GetDomainsReturns struct {
- Domains []*Domain `json:"domains,omitempty"` // List of supported domains.
-}
-
-// Do executes Schema.getDomains against the provided context and
-// target handler.
-//
-// returns:
-// domains - List of supported domains.
-func (p *GetDomainsParams) Do(ctxt context.Context, h cdp.Handler) (domains []*Domain, err error) {
- // execute
- var res GetDomainsReturns
- err = h.Execute(ctxt, cdp.CommandSchemaGetDomains, nil, &res)
- if err != nil {
- return nil, err
- }
-
- return res.Domains, nil
-}
diff --git a/cdp/schema/types.go b/cdp/schema/types.go
deleted file mode 100644
index 0d16f02..0000000
--- a/cdp/schema/types.go
+++ /dev/null
@@ -1,9 +0,0 @@
-package schema
-
-// Code generated by chromedp-gen. DO NOT EDIT.
-
-// Domain description of the protocol domain.
-type Domain struct {
- Name string `json:"name"` // Domain name.
- Version string `json:"version"` // Domain version.
-}
diff --git a/cmd/chromedp-gen/protocol.json b/cmd/chromedp-gen/protocol.json
index 1887af4..916a5cf 100644
--- a/cmd/chromedp-gen/protocol.json
+++ b/cmd/chromedp-gen/protocol.json
@@ -12027,7 +12027,8 @@
},
{
"domain": "Schema",
- "description": "Provides information about the protocol schema.",
+ "description": "This domain is deprecated.",
+ "deprecated": true,
"types": [
{
"id": "Domain",
@@ -12613,12 +12614,37 @@
"$ref": "StackTrace",
"optional": true,
"description": "Asynchronous JavaScript stack trace that preceded this stack, if available."
+ },
+ {
+ "name": "parentId",
+ "$ref": "StackTraceId",
+ "optional": true,
+ "experimental": true,
+ "description": "Asynchronous JavaScript stack trace that preceded this stack, if available."
}
]
},
{
- "id": "AsyncTaskId",
+ "id": "UniqueDebuggerId",
"type": "string",
+ "description": "Unique identifier of current debugger.",
+ "experimental": true
+ },
+ {
+ "id": "StackTraceId",
+ "type": "object",
+ "description": "If debuggerId
is set stack trace comes from another debugger and can be resolved there. This allows to track cross-debugger calls. See Runtime.StackTrace
and Debugger.paused
for usages.",
+ "properties": [
+ {
+ "name": "id",
+ "type": "string"
+ },
+ {
+ "name": "debuggerId",
+ "$ref": "UniqueDebuggerId",
+ "optional": true
+ }
+ ],
"experimental": true
}
],
@@ -12672,7 +12698,6 @@
"name": "userGesture",
"type": "boolean",
"optional": true,
- "experimental": true,
"description": "Whether execution should be treated as initiated by user in the UI."
},
{
@@ -12780,7 +12805,6 @@
"name": "userGesture",
"type": "boolean",
"optional": true,
- "experimental": true,
"description": "Whether execution should be treated as initiated by user in the UI."
},
{
@@ -13043,8 +13067,7 @@
"$ref": "RemoteObject",
"description": "Array with objects."
}
- ],
- "experimental": true
+ ]
},
{
"name": "globalLexicalScopeNames",
@@ -13065,8 +13088,7 @@
}
}
],
- "description": "Returns all let, const and class variables from global scope.",
- "experimental": true
+ "description": "Returns all let, const and class variables from global scope."
}
],
"events": [
@@ -13279,7 +13301,6 @@
"name": "functionLocation",
"$ref": "Location",
"optional": true,
- "experimental": true,
"description": "Location in the source code."
},
{
@@ -13374,8 +13395,7 @@
"type": "string",
"description": "Line with match content."
}
- ],
- "experimental": true
+ ]
},
{
"id": "BreakLocation",
@@ -13407,13 +13427,20 @@
],
"optional": true
}
- ],
- "experimental": true
+ ]
}
],
"commands": [
{
"name": "enable",
+ "returns": [
+ {
+ "name": "debuggerId",
+ "$ref": "Runtime.UniqueDebuggerId",
+ "experimental": true,
+ "description": "Unique identifier of the debugger."
+ }
+ ],
"description": "Enables debugger for the given page. Clients should not assume that the debugging has been enabled until the result for this command is received."
},
{
@@ -13466,7 +13493,6 @@
"name": "scriptHash",
"type": "string",
"optional": true,
- "experimental": true,
"description": "Script hash of the resources to set breakpoint on."
},
{
@@ -13569,8 +13595,7 @@
"description": "List of the possible breakpoint locations."
}
],
- "description": "Returns possible locations for breakpoint. scriptId in start and end range locations should be the same.",
- "experimental": true
+ "description": "Returns possible locations for breakpoint. scriptId in start and end range locations should be the same."
},
{
"name": "continueToLocation",
@@ -13587,19 +13612,18 @@
"any",
"current"
],
- "optional": true,
- "experimental": true
+ "optional": true
}
],
"description": "Continues execution until specific location is reached."
},
{
- "name": "pauseOnAsyncTask",
+ "name": "pauseOnAsyncCall",
"parameters": [
{
- "name": "asyncTaskId",
- "$ref": "Runtime.AsyncTaskId",
- "description": "Debugger will pause when given async task is started."
+ "name": "parentStackTraceId",
+ "$ref": "Runtime.StackTraceId",
+ "description": "Debugger will pause when async call with given stack trace is started."
}
],
"experimental": true
@@ -13638,6 +13662,23 @@
"name": "resume",
"description": "Resumes JavaScript execution."
},
+ {
+ "name": "getStackTrace",
+ "parameters": [
+ {
+ "name": "stackTraceId",
+ "$ref": "Runtime.StackTraceId"
+ }
+ ],
+ "returns": [
+ {
+ "name": "stackTrace",
+ "$ref": "Runtime.StackTrace"
+ }
+ ],
+ "description": "Returns stack trace with given stackTraceId
.",
+ "experimental": true
+ },
{
"name": "searchInContent",
"parameters": [
@@ -13674,7 +13715,6 @@
"description": "List of search matches."
}
],
- "experimental": true,
"description": "Searches for given string in script content."
},
{
@@ -13719,6 +13759,13 @@
"optional": true,
"description": "Async stack trace, if any."
},
+ {
+ "name": "asyncStackTraceId",
+ "$ref": "Runtime.StackTraceId",
+ "optional": true,
+ "experimental": true,
+ "description": "Async stack trace, if any."
+ },
{
"name": "exceptionDetails",
"optional": true,
@@ -13751,6 +13798,13 @@
"$ref": "Runtime.StackTrace",
"optional": true,
"description": "Async stack trace, if any."
+ },
+ {
+ "name": "asyncStackTraceId",
+ "$ref": "Runtime.StackTraceId",
+ "optional": true,
+ "experimental": true,
+ "description": "Async stack trace, if any."
}
],
"description": "Restarts particular call frame from the beginning."
@@ -13837,7 +13891,6 @@
"name": "throwOnSideEffect",
"type": "boolean",
"optional": true,
- "experimental": true,
"description": "Whether to throw an exception if side effect cannot be ruled out during evaluation."
}
],
@@ -14007,22 +14060,19 @@
"name": "hasSourceURL",
"type": "boolean",
"optional": true,
- "description": "True, if this script has sourceURL.",
- "experimental": true
+ "description": "True, if this script has sourceURL."
},
{
"name": "isModule",
"type": "boolean",
"optional": true,
- "description": "True, if this script is ES6 module.",
- "experimental": true
+ "description": "True, if this script is ES6 module."
},
{
"name": "length",
"type": "integer",
"optional": true,
- "description": "This script length.",
- "experimental": true
+ "description": "This script length."
},
{
"name": "stackTrace",
@@ -14093,22 +14143,19 @@
"name": "hasSourceURL",
"type": "boolean",
"optional": true,
- "description": "True, if this script has sourceURL.",
- "experimental": true
+ "description": "True, if this script has sourceURL."
},
{
"name": "isModule",
"type": "boolean",
"optional": true,
- "description": "True, if this script is ES6 module.",
- "experimental": true
+ "description": "True, if this script is ES6 module."
},
{
"name": "length",
"type": "integer",
"optional": true,
- "description": "This script length.",
- "experimental": true
+ "description": "This script length."
},
{
"name": "stackTrace",
@@ -14186,11 +14233,18 @@
"description": "Async stack trace, if any."
},
{
- "name": "scheduledAsyncTaskId",
- "$ref": "Runtime.AsyncTaskId",
+ "name": "asyncStackTraceId",
+ "$ref": "Runtime.StackTraceId",
"optional": true,
"experimental": true,
- "description": "Scheduled async task id."
+ "description": "Async stack trace, if any."
+ },
+ {
+ "name": "asyncCallStackTraceId",
+ "$ref": "Runtime.StackTraceId",
+ "optional": true,
+ "experimental": true,
+ "description": "Just scheduled async call will have this stack trace as parent stack during async execution. This field is available only after Debugger.stepInto
call with breakOnAsynCall
flag."
}
],
"description": "Fired when the virtual machine stopped on breakpoint or exception or any other stop criteria."
@@ -14324,7 +14378,6 @@
"name": "hitCount",
"type": "integer",
"optional": true,
- "experimental": true,
"description": "Number of samples where this node was on top of the call stack."
},
{
@@ -14349,7 +14402,6 @@
"$ref": "PositionTickInfo"
},
"optional": true,
- "experimental": true,
"description": "An array of source position ticks."
}
]
@@ -14400,7 +14452,6 @@
{
"id": "PositionTickInfo",
"type": "object",
- "experimental": true,
"description": "Specifies a number of samples attributed to a certain source position.",
"properties": [
{
@@ -14435,8 +14486,7 @@
"type": "integer",
"description": "Collected execution count of the source range."
}
- ],
- "experimental": true
+ ]
},
{
"id": "FunctionCoverage",
@@ -14461,8 +14511,7 @@
"type": "boolean",
"description": "Whether coverage data for this function has block granularity."
}
- ],
- "experimental": true
+ ]
},
{
"id": "ScriptCoverage",
@@ -14487,8 +14536,7 @@
},
"description": "Functions contained in the script that has coverage data."
}
- ],
- "experimental": true
+ ]
},
{
"id": "TypeObject",
@@ -14598,13 +14646,11 @@
"description": "Collect block-based coverage."
}
],
- "description": "Enable precise code coverage. Coverage data for JavaScript executed before enabling precise code coverage may be incomplete. Enabling prevents running optimized code and resets execution counters.",
- "experimental": true
+ "description": "Enable precise code coverage. Coverage data for JavaScript executed before enabling precise code coverage may be incomplete. Enabling prevents running optimized code and resets execution counters."
},
{
"name": "stopPreciseCoverage",
- "description": "Disable precise code coverage. Disabling releases unnecessary execution count records and allows executing optimized code.",
- "experimental": true
+ "description": "Disable precise code coverage. Disabling releases unnecessary execution count records and allows executing optimized code."
},
{
"name": "takePreciseCoverage",
@@ -14618,8 +14664,7 @@
"description": "Coverage data for the current isolate."
}
],
- "description": "Collect coverage data for the current isolate, and resets execution counters. Precise code coverage needs to have started.",
- "experimental": true
+ "description": "Collect coverage data for the current isolate, and resets execution counters. Precise code coverage needs to have started."
},
{
"name": "getBestEffortCoverage",
@@ -14633,8 +14678,7 @@
"description": "Coverage data for the current isolate."
}
],
- "description": "Collect coverage data for the current isolate. The coverage data may be incomplete due to garbage collection.",
- "experimental": true
+ "description": "Collect coverage data for the current isolate. The coverage data may be incomplete due to garbage collection."
},
{
"name": "startTypeProfile",