From a4a8f7c660df9ce2c239fc366844d10e0da534d5 Mon Sep 17 00:00:00 2001 From: Kenneth Shaw Date: Fri, 4 Oct 2024 06:05:02 +0700 Subject: [PATCH] Updating to 131.0.6754.1_13.1.132 definitions --- cdproto.go | 12 + debugger/debugger.go | 40 ++- debugger/easyjson.go | 683 ++++++++++++++++++++++++++----------------- debugger/events.go | 2 +- debugger/types.go | 3 - page/types.go | 3 + preload/types.go | 3 + webauthn/easyjson.go | 280 ++++++++++++++---- webauthn/events.go | 18 ++ webauthn/types.go | 2 + 10 files changed, 715 insertions(+), 331 deletions(-) diff --git a/cdproto.go b/cdproto.go index 7d0cd89a..f28c786e 100644 --- a/cdproto.go +++ b/cdproto.go @@ -303,6 +303,7 @@ const ( CommandDebuggerResume = debugger.CommandResume CommandDebuggerSearchInContent = debugger.CommandSearchInContent CommandDebuggerSetAsyncCallStackDepth = debugger.CommandSetAsyncCallStackDepth + CommandDebuggerSetBlackboxExecutionContexts = debugger.CommandSetBlackboxExecutionContexts CommandDebuggerSetBlackboxPatterns = debugger.CommandSetBlackboxPatterns CommandDebuggerSetBlackboxedRanges = debugger.CommandSetBlackboxedRanges CommandDebuggerSetBreakpoint = debugger.CommandSetBreakpoint @@ -833,6 +834,8 @@ const ( CommandWebAuthnSetAutomaticPresenceSimulation = webauthn.CommandSetAutomaticPresenceSimulation CommandWebAuthnSetCredentialProperties = webauthn.CommandSetCredentialProperties EventWebAuthnCredentialAdded = "WebAuthn.credentialAdded" + EventWebAuthnCredentialDeleted = "WebAuthn.credentialDeleted" + EventWebAuthnCredentialUpdated = "WebAuthn.credentialUpdated" EventWebAuthnCredentialAsserted = "WebAuthn.credentialAsserted" ) @@ -1523,6 +1526,9 @@ func UnmarshalMessage(msg *Message) (interface{}, error) { case CommandDebuggerSetAsyncCallStackDepth: return emptyVal, nil + case CommandDebuggerSetBlackboxExecutionContexts: + return emptyVal, nil + case CommandDebuggerSetBlackboxPatterns: return emptyVal, nil @@ -3113,6 +3119,12 @@ func UnmarshalMessage(msg *Message) (interface{}, error) { case EventWebAuthnCredentialAdded: v = new(webauthn.EventCredentialAdded) + case EventWebAuthnCredentialDeleted: + v = new(webauthn.EventCredentialDeleted) + + case EventWebAuthnCredentialUpdated: + v = new(webauthn.EventCredentialUpdated) + case EventWebAuthnCredentialAsserted: v = new(webauthn.EventCredentialAsserted) diff --git a/debugger/debugger.go b/debugger/debugger.go index ea1661fd..f712fd19 100644 --- a/debugger/debugger.go +++ b/debugger/debugger.go @@ -637,12 +637,43 @@ func (p *SetAsyncCallStackDepthParams) Do(ctx context.Context) (err error) { return cdp.Execute(ctx, CommandSetAsyncCallStackDepth, p, nil) } +// SetBlackboxExecutionContextsParams replace previous blackbox execution +// contexts with passed ones. Forces backend to skip stepping/pausing in scripts +// in these execution contexts. VM will try to leave blackboxed script by +// performing 'step in' several times, finally resorting to 'step out' if +// unsuccessful. +type SetBlackboxExecutionContextsParams struct { + UniqueIDs []string `json:"uniqueIds"` // Array of execution context unique ids for the debugger to ignore. +} + +// SetBlackboxExecutionContexts replace previous blackbox execution contexts +// with passed ones. Forces backend to skip stepping/pausing in scripts in these +// execution contexts. VM will try to leave blackboxed script by performing +// 'step in' several times, finally resorting to 'step out' if unsuccessful. +// +// See: https://chromedevtools.github.io/devtools-protocol/tot/Debugger#method-setBlackboxExecutionContexts +// +// parameters: +// +// uniqueIDs - Array of execution context unique ids for the debugger to ignore. +func SetBlackboxExecutionContexts(uniqueIDs []string) *SetBlackboxExecutionContextsParams { + return &SetBlackboxExecutionContextsParams{ + UniqueIDs: uniqueIDs, + } +} + +// Do executes Debugger.setBlackboxExecutionContexts against the provided context. +func (p *SetBlackboxExecutionContextsParams) Do(ctx context.Context) (err error) { + return cdp.Execute(ctx, CommandSetBlackboxExecutionContexts, p, nil) +} + // SetBlackboxPatternsParams replace previous blackbox patterns with passed // ones. Forces backend to skip stepping/pausing in scripts with url matching // one of the patterns. VM will try to leave blackboxed script by performing // 'step in' several times, finally resorting to 'step out' if unsuccessful. type SetBlackboxPatternsParams struct { - Patterns []string `json:"patterns"` // Array of regexps that will be used to check script url for blackbox state. + Patterns []string `json:"patterns"` // Array of regexps that will be used to check script url for blackbox state. + SkipAnonymous bool `json:"skipAnonymous,omitempty"` // If true, also ignore scripts with no source url. } // SetBlackboxPatterns replace previous blackbox patterns with passed ones. @@ -661,6 +692,12 @@ func SetBlackboxPatterns(patterns []string) *SetBlackboxPatternsParams { } } +// WithSkipAnonymous if true, also ignore scripts with no source url. +func (p SetBlackboxPatternsParams) WithSkipAnonymous(skipAnonymous bool) *SetBlackboxPatternsParams { + p.SkipAnonymous = skipAnonymous + return &p +} + // Do executes Debugger.setBlackboxPatterns against the provided context. func (p *SetBlackboxPatternsParams) Do(ctx context.Context) (err error) { return cdp.Execute(ctx, CommandSetBlackboxPatterns, p, nil) @@ -1226,6 +1263,7 @@ const ( CommandResume = "Debugger.resume" CommandSearchInContent = "Debugger.searchInContent" CommandSetAsyncCallStackDepth = "Debugger.setAsyncCallStackDepth" + CommandSetBlackboxExecutionContexts = "Debugger.setBlackboxExecutionContexts" CommandSetBlackboxPatterns = "Debugger.setBlackboxPatterns" CommandSetBlackboxedRanges = "Debugger.setBlackboxedRanges" CommandSetBreakpoint = "Debugger.setBreakpoint" diff --git a/debugger/easyjson.go b/debugger/easyjson.go index 08b17637..e00ae940 100644 --- a/debugger/easyjson.go +++ b/debugger/easyjson.go @@ -1819,6 +1819,8 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger20(in *jlexer.Lexer, } in.Delim(']') } + case "skipAnonymous": + out.SkipAnonymous = bool(in.Bool()) default: in.SkipRecursive() } @@ -1849,6 +1851,11 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger20(out *jwriter.Write out.RawByte(']') } } + if in.SkipAnonymous { + const prefix string = ",\"skipAnonymous\":" + out.RawString(prefix) + out.Bool(bool(in.SkipAnonymous)) + } out.RawByte('}') } @@ -1875,7 +1882,105 @@ func (v *SetBlackboxPatternsParams) UnmarshalJSON(data []byte) error { func (v *SetBlackboxPatternsParams) UnmarshalEasyJSON(l *jlexer.Lexer) { easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger20(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger21(in *jlexer.Lexer, out *SetAsyncCallStackDepthParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger21(in *jlexer.Lexer, out *SetBlackboxExecutionContextsParams) { + isTopLevel := in.IsStart() + if in.IsNull() { + if isTopLevel { + in.Consumed() + } + in.Skip() + return + } + in.Delim('{') + for !in.IsDelim('}') { + key := in.UnsafeFieldName(false) + in.WantColon() + if in.IsNull() { + in.Skip() + in.WantComma() + continue + } + switch key { + case "uniqueIds": + if in.IsNull() { + in.Skip() + out.UniqueIDs = nil + } else { + in.Delim('[') + if out.UniqueIDs == nil { + if !in.IsDelim(']') { + out.UniqueIDs = make([]string, 0, 4) + } else { + out.UniqueIDs = []string{} + } + } else { + out.UniqueIDs = (out.UniqueIDs)[:0] + } + for !in.IsDelim(']') { + var v22 string + v22 = string(in.String()) + out.UniqueIDs = append(out.UniqueIDs, v22) + in.WantComma() + } + in.Delim(']') + } + default: + in.SkipRecursive() + } + in.WantComma() + } + in.Delim('}') + if isTopLevel { + in.Consumed() + } +} +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger21(out *jwriter.Writer, in SetBlackboxExecutionContextsParams) { + out.RawByte('{') + first := true + _ = first + { + const prefix string = ",\"uniqueIds\":" + out.RawString(prefix[1:]) + if in.UniqueIDs == nil && (out.Flags&jwriter.NilSliceAsEmpty) == 0 { + out.RawString("null") + } else { + out.RawByte('[') + for v23, v24 := range in.UniqueIDs { + if v23 > 0 { + out.RawByte(',') + } + out.String(string(v24)) + } + out.RawByte(']') + } + } + out.RawByte('}') +} + +// MarshalJSON supports json.Marshaler interface +func (v SetBlackboxExecutionContextsParams) MarshalJSON() ([]byte, error) { + w := jwriter.Writer{} + easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger21(&w, v) + return w.Buffer.BuildBytes(), w.Error +} + +// MarshalEasyJSON supports easyjson.Marshaler interface +func (v SetBlackboxExecutionContextsParams) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger21(w, v) +} + +// UnmarshalJSON supports json.Unmarshaler interface +func (v *SetBlackboxExecutionContextsParams) UnmarshalJSON(data []byte) error { + r := jlexer.Lexer{Data: data} + easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger21(&r, v) + return r.Error() +} + +// UnmarshalEasyJSON supports easyjson.Unmarshaler interface +func (v *SetBlackboxExecutionContextsParams) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger21(l, v) +} +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger22(in *jlexer.Lexer, out *SetAsyncCallStackDepthParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1906,7 +2011,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger21(in *jlexer.Lexer, in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger21(out *jwriter.Writer, in SetAsyncCallStackDepthParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger22(out *jwriter.Writer, in SetAsyncCallStackDepthParams) { out.RawByte('{') first := true _ = first @@ -1921,27 +2026,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger21(out *jwriter.Write // MarshalJSON supports json.Marshaler interface func (v SetAsyncCallStackDepthParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger21(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger22(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v SetAsyncCallStackDepthParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger21(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger22(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *SetAsyncCallStackDepthParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger21(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger22(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *SetAsyncCallStackDepthParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger21(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger22(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger22(in *jlexer.Lexer, out *SearchMatch) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger23(in *jlexer.Lexer, out *SearchMatch) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1974,7 +2079,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger22(in *jlexer.Lexer, in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger22(out *jwriter.Writer, in SearchMatch) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger23(out *jwriter.Writer, in SearchMatch) { out.RawByte('{') first := true _ = first @@ -1994,27 +2099,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger22(out *jwriter.Write // MarshalJSON supports json.Marshaler interface func (v SearchMatch) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger22(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger23(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v SearchMatch) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger22(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger23(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *SearchMatch) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger22(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger23(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *SearchMatch) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger22(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger23(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger23(in *jlexer.Lexer, out *SearchInContentReturns) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger24(in *jlexer.Lexer, out *SearchInContentReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2049,17 +2154,17 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger23(in *jlexer.Lexer, out.Result = (out.Result)[:0] } for !in.IsDelim(']') { - var v22 *SearchMatch + var v25 *SearchMatch if in.IsNull() { in.Skip() - v22 = nil + v25 = nil } else { - if v22 == nil { - v22 = new(SearchMatch) + if v25 == nil { + v25 = new(SearchMatch) } - (*v22).UnmarshalEasyJSON(in) + (*v25).UnmarshalEasyJSON(in) } - out.Result = append(out.Result, v22) + out.Result = append(out.Result, v25) in.WantComma() } in.Delim(']') @@ -2074,7 +2179,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger23(in *jlexer.Lexer, in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger23(out *jwriter.Writer, in SearchInContentReturns) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger24(out *jwriter.Writer, in SearchInContentReturns) { out.RawByte('{') first := true _ = first @@ -2084,14 +2189,14 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger23(out *jwriter.Write out.RawString(prefix[1:]) { out.RawByte('[') - for v23, v24 := range in.Result { - if v23 > 0 { + for v26, v27 := range in.Result { + if v26 > 0 { out.RawByte(',') } - if v24 == nil { + if v27 == nil { out.RawString("null") } else { - (*v24).MarshalEasyJSON(out) + (*v27).MarshalEasyJSON(out) } } out.RawByte(']') @@ -2103,27 +2208,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger23(out *jwriter.Write // MarshalJSON supports json.Marshaler interface func (v SearchInContentReturns) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger23(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger24(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v SearchInContentReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger23(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger24(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *SearchInContentReturns) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger23(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger24(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *SearchInContentReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger23(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger24(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger24(in *jlexer.Lexer, out *SearchInContentParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger25(in *jlexer.Lexer, out *SearchInContentParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2160,7 +2265,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger24(in *jlexer.Lexer, in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger24(out *jwriter.Writer, in SearchInContentParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger25(out *jwriter.Writer, in SearchInContentParams) { out.RawByte('{') first := true _ = first @@ -2190,27 +2295,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger24(out *jwriter.Write // MarshalJSON supports json.Marshaler interface func (v SearchInContentParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger24(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger25(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v SearchInContentParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger24(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger25(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *SearchInContentParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger24(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger25(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *SearchInContentParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger24(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger25(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger25(in *jlexer.Lexer, out *ScriptPosition) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger26(in *jlexer.Lexer, out *ScriptPosition) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2243,7 +2348,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger25(in *jlexer.Lexer, in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger25(out *jwriter.Writer, in ScriptPosition) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger26(out *jwriter.Writer, in ScriptPosition) { out.RawByte('{') first := true _ = first @@ -2263,27 +2368,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger25(out *jwriter.Write // MarshalJSON supports json.Marshaler interface func (v ScriptPosition) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger25(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger26(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v ScriptPosition) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger25(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger26(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *ScriptPosition) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger25(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger26(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *ScriptPosition) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger25(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger26(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger26(in *jlexer.Lexer, out *Scope) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger27(in *jlexer.Lexer, out *Scope) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2346,7 +2451,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger26(in *jlexer.Lexer, in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger26(out *jwriter.Writer, in Scope) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger27(out *jwriter.Writer, in Scope) { out.RawByte('{') first := true _ = first @@ -2385,27 +2490,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger26(out *jwriter.Write // MarshalJSON supports json.Marshaler interface func (v Scope) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger26(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger27(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v Scope) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger26(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger27(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *Scope) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger26(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger27(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *Scope) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger26(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger27(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger27(in *jlexer.Lexer, out *ResumeParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger28(in *jlexer.Lexer, out *ResumeParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2436,7 +2541,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger27(in *jlexer.Lexer, in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger27(out *jwriter.Writer, in ResumeParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger28(out *jwriter.Writer, in ResumeParams) { out.RawByte('{') first := true _ = first @@ -2452,27 +2557,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger27(out *jwriter.Write // MarshalJSON supports json.Marshaler interface func (v ResumeParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger27(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger28(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v ResumeParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger27(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger28(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *ResumeParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger27(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger28(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *ResumeParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger27(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger28(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger28(in *jlexer.Lexer, out *RestartFrameParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger29(in *jlexer.Lexer, out *RestartFrameParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2505,7 +2610,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger28(in *jlexer.Lexer, in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger28(out *jwriter.Writer, in RestartFrameParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger29(out *jwriter.Writer, in RestartFrameParams) { out.RawByte('{') first := true _ = first @@ -2525,27 +2630,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger28(out *jwriter.Write // MarshalJSON supports json.Marshaler interface func (v RestartFrameParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger28(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger29(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v RestartFrameParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger28(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger29(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *RestartFrameParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger28(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger29(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *RestartFrameParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger28(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger29(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger29(in *jlexer.Lexer, out *RemoveBreakpointParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger30(in *jlexer.Lexer, out *RemoveBreakpointParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2576,7 +2681,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger29(in *jlexer.Lexer, in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger29(out *jwriter.Writer, in RemoveBreakpointParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger30(out *jwriter.Writer, in RemoveBreakpointParams) { out.RawByte('{') first := true _ = first @@ -2591,27 +2696,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger29(out *jwriter.Write // MarshalJSON supports json.Marshaler interface func (v RemoveBreakpointParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger29(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger30(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v RemoveBreakpointParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger29(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger30(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *RemoveBreakpointParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger29(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger30(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *RemoveBreakpointParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger29(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger30(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger30(in *jlexer.Lexer, out *PauseParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger31(in *jlexer.Lexer, out *PauseParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2640,7 +2745,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger30(in *jlexer.Lexer, in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger30(out *jwriter.Writer, in PauseParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger31(out *jwriter.Writer, in PauseParams) { out.RawByte('{') first := true _ = first @@ -2650,27 +2755,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger30(out *jwriter.Write // MarshalJSON supports json.Marshaler interface func (v PauseParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger30(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger31(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v PauseParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger30(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger31(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *PauseParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger30(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger31(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *PauseParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger30(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger31(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger31(in *jlexer.Lexer, out *NextWasmDisassemblyChunkReturns) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger32(in *jlexer.Lexer, out *NextWasmDisassemblyChunkReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2709,7 +2814,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger31(in *jlexer.Lexer, in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger31(out *jwriter.Writer, in NextWasmDisassemblyChunkReturns) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger32(out *jwriter.Writer, in NextWasmDisassemblyChunkReturns) { out.RawByte('{') first := true _ = first @@ -2725,27 +2830,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger31(out *jwriter.Write // MarshalJSON supports json.Marshaler interface func (v NextWasmDisassemblyChunkReturns) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger31(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger32(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v NextWasmDisassemblyChunkReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger31(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger32(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *NextWasmDisassemblyChunkReturns) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger31(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger32(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *NextWasmDisassemblyChunkReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger31(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger32(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger32(in *jlexer.Lexer, out *NextWasmDisassemblyChunkParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger33(in *jlexer.Lexer, out *NextWasmDisassemblyChunkParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2776,7 +2881,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger32(in *jlexer.Lexer, in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger32(out *jwriter.Writer, in NextWasmDisassemblyChunkParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger33(out *jwriter.Writer, in NextWasmDisassemblyChunkParams) { out.RawByte('{') first := true _ = first @@ -2791,27 +2896,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger32(out *jwriter.Write // MarshalJSON supports json.Marshaler interface func (v NextWasmDisassemblyChunkParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger32(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger33(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v NextWasmDisassemblyChunkParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger32(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger33(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *NextWasmDisassemblyChunkParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger32(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger33(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *NextWasmDisassemblyChunkParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger32(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger33(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger33(in *jlexer.Lexer, out *LocationRange) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger34(in *jlexer.Lexer, out *LocationRange) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2862,7 +2967,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger33(in *jlexer.Lexer, in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger33(out *jwriter.Writer, in LocationRange) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger34(out *jwriter.Writer, in LocationRange) { out.RawByte('{') first := true _ = first @@ -2895,27 +3000,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger33(out *jwriter.Write // MarshalJSON supports json.Marshaler interface func (v LocationRange) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger33(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger34(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v LocationRange) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger33(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger34(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *LocationRange) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger33(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger34(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *LocationRange) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger33(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger34(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger34(in *jlexer.Lexer, out *Location) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger35(in *jlexer.Lexer, out *Location) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2950,7 +3055,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger34(in *jlexer.Lexer, in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger34(out *jwriter.Writer, in Location) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger35(out *jwriter.Writer, in Location) { out.RawByte('{') first := true _ = first @@ -2975,27 +3080,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger34(out *jwriter.Write // MarshalJSON supports json.Marshaler interface func (v Location) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger34(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger35(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v Location) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger34(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger35(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *Location) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger34(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger35(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *Location) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger34(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger35(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger35(in *jlexer.Lexer, out *GetStackTraceReturns) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger36(in *jlexer.Lexer, out *GetStackTraceReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -3034,7 +3139,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger35(in *jlexer.Lexer, in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger35(out *jwriter.Writer, in GetStackTraceReturns) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger36(out *jwriter.Writer, in GetStackTraceReturns) { out.RawByte('{') first := true _ = first @@ -3050,27 +3155,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger35(out *jwriter.Write // MarshalJSON supports json.Marshaler interface func (v GetStackTraceReturns) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger35(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger36(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetStackTraceReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger35(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger36(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetStackTraceReturns) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger35(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger36(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetStackTraceReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger35(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger36(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger36(in *jlexer.Lexer, out *GetStackTraceParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger37(in *jlexer.Lexer, out *GetStackTraceParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -3109,7 +3214,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger36(in *jlexer.Lexer, in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger36(out *jwriter.Writer, in GetStackTraceParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger37(out *jwriter.Writer, in GetStackTraceParams) { out.RawByte('{') first := true _ = first @@ -3128,27 +3233,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger36(out *jwriter.Write // MarshalJSON supports json.Marshaler interface func (v GetStackTraceParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger36(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger37(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetStackTraceParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger36(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger37(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetStackTraceParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger36(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger37(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetStackTraceParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger36(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger37(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger37(in *jlexer.Lexer, out *GetScriptSourceReturns) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger38(in *jlexer.Lexer, out *GetScriptSourceReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -3181,7 +3286,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger37(in *jlexer.Lexer, in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger37(out *jwriter.Writer, in GetScriptSourceReturns) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger38(out *jwriter.Writer, in GetScriptSourceReturns) { out.RawByte('{') first := true _ = first @@ -3207,27 +3312,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger37(out *jwriter.Write // MarshalJSON supports json.Marshaler interface func (v GetScriptSourceReturns) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger37(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger38(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetScriptSourceReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger37(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger38(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetScriptSourceReturns) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger37(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger38(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetScriptSourceReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger37(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger38(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger38(in *jlexer.Lexer, out *GetScriptSourceParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger39(in *jlexer.Lexer, out *GetScriptSourceParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -3258,7 +3363,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger38(in *jlexer.Lexer, in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger38(out *jwriter.Writer, in GetScriptSourceParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger39(out *jwriter.Writer, in GetScriptSourceParams) { out.RawByte('{') first := true _ = first @@ -3273,27 +3378,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger38(out *jwriter.Write // MarshalJSON supports json.Marshaler interface func (v GetScriptSourceParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger38(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger39(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetScriptSourceParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger38(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger39(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetScriptSourceParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger38(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger39(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetScriptSourceParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger38(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger39(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger39(in *jlexer.Lexer, out *GetPossibleBreakpointsReturns) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger40(in *jlexer.Lexer, out *GetPossibleBreakpointsReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -3328,17 +3433,17 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger39(in *jlexer.Lexer, out.Locations = (out.Locations)[:0] } for !in.IsDelim(']') { - var v25 *BreakLocation + var v28 *BreakLocation if in.IsNull() { in.Skip() - v25 = nil + v28 = nil } else { - if v25 == nil { - v25 = new(BreakLocation) + if v28 == nil { + v28 = new(BreakLocation) } - (*v25).UnmarshalEasyJSON(in) + (*v28).UnmarshalEasyJSON(in) } - out.Locations = append(out.Locations, v25) + out.Locations = append(out.Locations, v28) in.WantComma() } in.Delim(']') @@ -3353,7 +3458,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger39(in *jlexer.Lexer, in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger39(out *jwriter.Writer, in GetPossibleBreakpointsReturns) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger40(out *jwriter.Writer, in GetPossibleBreakpointsReturns) { out.RawByte('{') first := true _ = first @@ -3363,14 +3468,14 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger39(out *jwriter.Write out.RawString(prefix[1:]) { out.RawByte('[') - for v26, v27 := range in.Locations { - if v26 > 0 { + for v29, v30 := range in.Locations { + if v29 > 0 { out.RawByte(',') } - if v27 == nil { + if v30 == nil { out.RawString("null") } else { - (*v27).MarshalEasyJSON(out) + (*v30).MarshalEasyJSON(out) } } out.RawByte(']') @@ -3382,27 +3487,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger39(out *jwriter.Write // MarshalJSON supports json.Marshaler interface func (v GetPossibleBreakpointsReturns) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger39(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger40(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetPossibleBreakpointsReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger39(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger40(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetPossibleBreakpointsReturns) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger39(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger40(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetPossibleBreakpointsReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger39(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger40(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger40(in *jlexer.Lexer, out *GetPossibleBreakpointsParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger41(in *jlexer.Lexer, out *GetPossibleBreakpointsParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -3453,7 +3558,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger40(in *jlexer.Lexer, in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger40(out *jwriter.Writer, in GetPossibleBreakpointsParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger41(out *jwriter.Writer, in GetPossibleBreakpointsParams) { out.RawByte('{') first := true _ = first @@ -3482,27 +3587,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger40(out *jwriter.Write // MarshalJSON supports json.Marshaler interface func (v GetPossibleBreakpointsParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger40(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger41(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetPossibleBreakpointsParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger40(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger41(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetPossibleBreakpointsParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger40(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger41(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetPossibleBreakpointsParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger40(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger41(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger41(in *jlexer.Lexer, out *EventScriptParsed) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger42(in *jlexer.Lexer, out *EventScriptParsed) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -3568,10 +3673,31 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger41(in *jlexer.Lexer, in.Skip() out.DebugSymbols = nil } else { + in.Delim('[') if out.DebugSymbols == nil { - out.DebugSymbols = new(DebugSymbols) + if !in.IsDelim(']') { + out.DebugSymbols = make([]*DebugSymbols, 0, 8) + } else { + out.DebugSymbols = []*DebugSymbols{} + } + } else { + out.DebugSymbols = (out.DebugSymbols)[:0] } - (*out.DebugSymbols).UnmarshalEasyJSON(in) + for !in.IsDelim(']') { + var v31 *DebugSymbols + if in.IsNull() { + in.Skip() + v31 = nil + } else { + if v31 == nil { + v31 = new(DebugSymbols) + } + (*v31).UnmarshalEasyJSON(in) + } + out.DebugSymbols = append(out.DebugSymbols, v31) + in.WantComma() + } + in.Delim(']') } case "embedderName": out.EmbedderName = string(in.String()) @@ -3585,7 +3711,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger41(in *jlexer.Lexer, in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger41(out *jwriter.Writer, in EventScriptParsed) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger42(out *jwriter.Writer, in EventScriptParsed) { out.RawByte('{') first := true _ = first @@ -3674,10 +3800,23 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger41(out *jwriter.Write out.RawString(prefix) (in.ScriptLanguage).MarshalEasyJSON(out) } - if in.DebugSymbols != nil { + if len(in.DebugSymbols) != 0 { const prefix string = ",\"debugSymbols\":" out.RawString(prefix) - (*in.DebugSymbols).MarshalEasyJSON(out) + { + out.RawByte('[') + for v32, v33 := range in.DebugSymbols { + if v32 > 0 { + out.RawByte(',') + } + if v33 == nil { + out.RawString("null") + } else { + (*v33).MarshalEasyJSON(out) + } + } + out.RawByte(']') + } } if in.EmbedderName != "" { const prefix string = ",\"embedderName\":" @@ -3690,27 +3829,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger41(out *jwriter.Write // MarshalJSON supports json.Marshaler interface func (v EventScriptParsed) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger41(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger42(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventScriptParsed) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger41(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger42(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventScriptParsed) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger41(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger42(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventScriptParsed) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger41(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger42(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger42(in *jlexer.Lexer, out *EventScriptFailedToParse) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger43(in *jlexer.Lexer, out *EventScriptFailedToParse) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -3781,7 +3920,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger42(in *jlexer.Lexer, in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger42(out *jwriter.Writer, in EventScriptFailedToParse) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger43(out *jwriter.Writer, in EventScriptFailedToParse) { out.RawByte('{') first := true _ = first @@ -3876,27 +4015,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger42(out *jwriter.Write // MarshalJSON supports json.Marshaler interface func (v EventScriptFailedToParse) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger42(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger43(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventScriptFailedToParse) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger42(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger43(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventScriptFailedToParse) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger42(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger43(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventScriptFailedToParse) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger42(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger43(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger43(in *jlexer.Lexer, out *EventResumed) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger44(in *jlexer.Lexer, out *EventResumed) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -3925,7 +4064,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger43(in *jlexer.Lexer, in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger43(out *jwriter.Writer, in EventResumed) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger44(out *jwriter.Writer, in EventResumed) { out.RawByte('{') first := true _ = first @@ -3935,27 +4074,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger43(out *jwriter.Write // MarshalJSON supports json.Marshaler interface func (v EventResumed) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger43(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger44(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventResumed) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger43(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger44(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventResumed) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger43(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger44(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventResumed) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger43(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger44(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger44(in *jlexer.Lexer, out *EventPaused) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger45(in *jlexer.Lexer, out *EventPaused) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -3990,17 +4129,17 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger44(in *jlexer.Lexer, out.CallFrames = (out.CallFrames)[:0] } for !in.IsDelim(']') { - var v28 *CallFrame + var v34 *CallFrame if in.IsNull() { in.Skip() - v28 = nil + v34 = nil } else { - if v28 == nil { - v28 = new(CallFrame) + if v34 == nil { + v34 = new(CallFrame) } - (*v28).UnmarshalEasyJSON(in) + (*v34).UnmarshalEasyJSON(in) } - out.CallFrames = append(out.CallFrames, v28) + out.CallFrames = append(out.CallFrames, v34) in.WantComma() } in.Delim(']') @@ -4025,9 +4164,9 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger44(in *jlexer.Lexer, out.HitBreakpoints = (out.HitBreakpoints)[:0] } for !in.IsDelim(']') { - var v29 string - v29 = string(in.String()) - out.HitBreakpoints = append(out.HitBreakpoints, v29) + var v35 string + v35 = string(in.String()) + out.HitBreakpoints = append(out.HitBreakpoints, v35) in.WantComma() } in.Delim(']') @@ -4062,7 +4201,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger44(in *jlexer.Lexer, in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger44(out *jwriter.Writer, in EventPaused) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger45(out *jwriter.Writer, in EventPaused) { out.RawByte('{') first := true _ = first @@ -4073,14 +4212,14 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger44(out *jwriter.Write out.RawString("null") } else { out.RawByte('[') - for v30, v31 := range in.CallFrames { - if v30 > 0 { + for v36, v37 := range in.CallFrames { + if v36 > 0 { out.RawByte(',') } - if v31 == nil { + if v37 == nil { out.RawString("null") } else { - (*v31).MarshalEasyJSON(out) + (*v37).MarshalEasyJSON(out) } } out.RawByte(']') @@ -4101,11 +4240,11 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger44(out *jwriter.Write out.RawString(prefix) { out.RawByte('[') - for v32, v33 := range in.HitBreakpoints { - if v32 > 0 { + for v38, v39 := range in.HitBreakpoints { + if v38 > 0 { out.RawByte(',') } - out.String(string(v33)) + out.String(string(v39)) } out.RawByte(']') } @@ -4126,27 +4265,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger44(out *jwriter.Write // MarshalJSON supports json.Marshaler interface func (v EventPaused) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger44(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger45(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventPaused) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger44(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger45(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventPaused) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger44(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger45(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventPaused) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger44(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger45(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger45(in *jlexer.Lexer, out *EventBreakpointResolved) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger46(in *jlexer.Lexer, out *EventBreakpointResolved) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -4187,7 +4326,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger45(in *jlexer.Lexer, in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger45(out *jwriter.Writer, in EventBreakpointResolved) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger46(out *jwriter.Writer, in EventBreakpointResolved) { out.RawByte('{') first := true _ = first @@ -4211,27 +4350,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger45(out *jwriter.Write // MarshalJSON supports json.Marshaler interface func (v EventBreakpointResolved) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger45(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger46(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventBreakpointResolved) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger45(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger46(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventBreakpointResolved) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger45(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger46(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventBreakpointResolved) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger45(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger46(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger46(in *jlexer.Lexer, out *EvaluateOnCallFrameReturns) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger47(in *jlexer.Lexer, out *EvaluateOnCallFrameReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -4280,7 +4419,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger46(in *jlexer.Lexer, in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger46(out *jwriter.Writer, in EvaluateOnCallFrameReturns) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger47(out *jwriter.Writer, in EvaluateOnCallFrameReturns) { out.RawByte('{') first := true _ = first @@ -4306,27 +4445,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger46(out *jwriter.Write // MarshalJSON supports json.Marshaler interface func (v EvaluateOnCallFrameReturns) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger46(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger47(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EvaluateOnCallFrameReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger46(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger47(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EvaluateOnCallFrameReturns) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger46(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger47(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EvaluateOnCallFrameReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger46(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger47(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger47(in *jlexer.Lexer, out *EvaluateOnCallFrameParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger48(in *jlexer.Lexer, out *EvaluateOnCallFrameParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -4373,7 +4512,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger47(in *jlexer.Lexer, in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger47(out *jwriter.Writer, in EvaluateOnCallFrameParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger48(out *jwriter.Writer, in EvaluateOnCallFrameParams) { out.RawByte('{') first := true _ = first @@ -4428,27 +4567,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger47(out *jwriter.Write // MarshalJSON supports json.Marshaler interface func (v EvaluateOnCallFrameParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger47(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger48(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EvaluateOnCallFrameParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger47(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger48(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EvaluateOnCallFrameParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger47(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger48(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EvaluateOnCallFrameParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger47(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger48(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger48(in *jlexer.Lexer, out *EnableReturns) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger49(in *jlexer.Lexer, out *EnableReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -4479,7 +4618,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger48(in *jlexer.Lexer, in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger48(out *jwriter.Writer, in EnableReturns) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger49(out *jwriter.Writer, in EnableReturns) { out.RawByte('{') first := true _ = first @@ -4495,27 +4634,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger48(out *jwriter.Write // MarshalJSON supports json.Marshaler interface func (v EnableReturns) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger48(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger49(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EnableReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger48(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger49(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EnableReturns) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger48(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger49(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EnableReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger48(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger49(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger49(in *jlexer.Lexer, out *EnableParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger50(in *jlexer.Lexer, out *EnableParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -4546,7 +4685,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger49(in *jlexer.Lexer, in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger49(out *jwriter.Writer, in EnableParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger50(out *jwriter.Writer, in EnableParams) { out.RawByte('{') first := true _ = first @@ -4562,27 +4701,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger49(out *jwriter.Write // MarshalJSON supports json.Marshaler interface func (v EnableParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger49(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger50(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EnableParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger49(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger50(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EnableParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger49(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger50(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EnableParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger49(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger50(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger50(in *jlexer.Lexer, out *DisassembleWasmModuleReturns) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger51(in *jlexer.Lexer, out *DisassembleWasmModuleReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -4621,9 +4760,9 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger50(in *jlexer.Lexer, out.FunctionBodyOffsets = (out.FunctionBodyOffsets)[:0] } for !in.IsDelim(']') { - var v34 int64 - v34 = int64(in.Int64()) - out.FunctionBodyOffsets = append(out.FunctionBodyOffsets, v34) + var v40 int64 + v40 = int64(in.Int64()) + out.FunctionBodyOffsets = append(out.FunctionBodyOffsets, v40) in.WantComma() } in.Delim(']') @@ -4648,7 +4787,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger50(in *jlexer.Lexer, in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger50(out *jwriter.Writer, in DisassembleWasmModuleReturns) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger51(out *jwriter.Writer, in DisassembleWasmModuleReturns) { out.RawByte('{') first := true _ = first @@ -4678,11 +4817,11 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger50(out *jwriter.Write } { out.RawByte('[') - for v35, v36 := range in.FunctionBodyOffsets { - if v35 > 0 { + for v41, v42 := range in.FunctionBodyOffsets { + if v41 > 0 { out.RawByte(',') } - out.Int64(int64(v36)) + out.Int64(int64(v42)) } out.RawByte(']') } @@ -4703,27 +4842,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger50(out *jwriter.Write // MarshalJSON supports json.Marshaler interface func (v DisassembleWasmModuleReturns) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger50(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger51(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v DisassembleWasmModuleReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger50(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger51(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *DisassembleWasmModuleReturns) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger50(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger51(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *DisassembleWasmModuleReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger50(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger51(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger51(in *jlexer.Lexer, out *DisassembleWasmModuleParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger52(in *jlexer.Lexer, out *DisassembleWasmModuleParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -4754,7 +4893,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger51(in *jlexer.Lexer, in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger51(out *jwriter.Writer, in DisassembleWasmModuleParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger52(out *jwriter.Writer, in DisassembleWasmModuleParams) { out.RawByte('{') first := true _ = first @@ -4769,27 +4908,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger51(out *jwriter.Write // MarshalJSON supports json.Marshaler interface func (v DisassembleWasmModuleParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger51(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger52(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v DisassembleWasmModuleParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger51(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger52(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *DisassembleWasmModuleParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger51(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger52(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *DisassembleWasmModuleParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger51(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger52(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger52(in *jlexer.Lexer, out *DisableParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger53(in *jlexer.Lexer, out *DisableParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -4818,7 +4957,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger52(in *jlexer.Lexer, in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger52(out *jwriter.Writer, in DisableParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger53(out *jwriter.Writer, in DisableParams) { out.RawByte('{') first := true _ = first @@ -4828,27 +4967,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger52(out *jwriter.Write // MarshalJSON supports json.Marshaler interface func (v DisableParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger52(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger53(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v DisableParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger52(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger53(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *DisableParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger52(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger53(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *DisableParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger52(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger53(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger53(in *jlexer.Lexer, out *DebugSymbols) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger54(in *jlexer.Lexer, out *DebugSymbols) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -4881,7 +5020,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger53(in *jlexer.Lexer, in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger53(out *jwriter.Writer, in DebugSymbols) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger54(out *jwriter.Writer, in DebugSymbols) { out.RawByte('{') first := true _ = first @@ -4901,27 +5040,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger53(out *jwriter.Write // MarshalJSON supports json.Marshaler interface func (v DebugSymbols) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger53(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger54(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v DebugSymbols) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger53(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger54(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *DebugSymbols) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger53(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger54(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *DebugSymbols) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger53(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger54(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger54(in *jlexer.Lexer, out *ContinueToLocationParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger55(in *jlexer.Lexer, out *ContinueToLocationParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -4962,7 +5101,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger54(in *jlexer.Lexer, in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger54(out *jwriter.Writer, in ContinueToLocationParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger55(out *jwriter.Writer, in ContinueToLocationParams) { out.RawByte('{') first := true _ = first @@ -4986,27 +5125,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger54(out *jwriter.Write // MarshalJSON supports json.Marshaler interface func (v ContinueToLocationParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger54(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger55(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v ContinueToLocationParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger54(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger55(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *ContinueToLocationParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger54(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger55(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *ContinueToLocationParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger54(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger55(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger55(in *jlexer.Lexer, out *CallFrame) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger56(in *jlexer.Lexer, out *CallFrame) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -5065,17 +5204,17 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger55(in *jlexer.Lexer, out.ScopeChain = (out.ScopeChain)[:0] } for !in.IsDelim(']') { - var v37 *Scope + var v43 *Scope if in.IsNull() { in.Skip() - v37 = nil + v43 = nil } else { - if v37 == nil { - v37 = new(Scope) + if v43 == nil { + v43 = new(Scope) } - (*v37).UnmarshalEasyJSON(in) + (*v43).UnmarshalEasyJSON(in) } - out.ScopeChain = append(out.ScopeChain, v37) + out.ScopeChain = append(out.ScopeChain, v43) in.WantComma() } in.Delim(']') @@ -5112,7 +5251,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger55(in *jlexer.Lexer, in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger55(out *jwriter.Writer, in CallFrame) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger56(out *jwriter.Writer, in CallFrame) { out.RawByte('{') first := true _ = first @@ -5147,14 +5286,14 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger55(out *jwriter.Write out.RawString("null") } else { out.RawByte('[') - for v38, v39 := range in.ScopeChain { - if v38 > 0 { + for v44, v45 := range in.ScopeChain { + if v44 > 0 { out.RawByte(',') } - if v39 == nil { + if v45 == nil { out.RawString("null") } else { - (*v39).MarshalEasyJSON(out) + (*v45).MarshalEasyJSON(out) } } out.RawByte(']') @@ -5185,27 +5324,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger55(out *jwriter.Write // MarshalJSON supports json.Marshaler interface func (v CallFrame) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger55(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger56(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v CallFrame) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger55(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger56(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *CallFrame) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger55(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger56(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *CallFrame) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger55(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger56(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger56(in *jlexer.Lexer, out *BreakLocation) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger57(in *jlexer.Lexer, out *BreakLocation) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -5242,7 +5381,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger56(in *jlexer.Lexer, in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger56(out *jwriter.Writer, in BreakLocation) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger57(out *jwriter.Writer, in BreakLocation) { out.RawByte('{') first := true _ = first @@ -5272,23 +5411,23 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger56(out *jwriter.Write // MarshalJSON supports json.Marshaler interface func (v BreakLocation) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger56(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger57(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v BreakLocation) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger56(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoDebugger57(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *BreakLocation) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger56(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger57(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *BreakLocation) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger56(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoDebugger57(l, v) } diff --git a/debugger/events.go b/debugger/events.go index 12b11d23..a8d254b6 100644 --- a/debugger/events.go +++ b/debugger/events.go @@ -80,6 +80,6 @@ type EventScriptParsed struct { StackTrace *runtime.StackTrace `json:"stackTrace,omitempty"` // JavaScript top stack frame of where the script parsed event was triggered if available. CodeOffset int64 `json:"codeOffset,omitempty"` // If the scriptLanguage is WebAssembly, the code section offset in the module. ScriptLanguage ScriptLanguage `json:"scriptLanguage,omitempty"` // The language of the script. - DebugSymbols *DebugSymbols `json:"debugSymbols,omitempty"` // If the scriptLanguage is WebASsembly, the source of debug symbols for the module. + DebugSymbols []*DebugSymbols `json:"debugSymbols,omitempty"` // If the scriptLanguage is WebAssembly, the source of debug symbols for the module. EmbedderName string `json:"embedderName,omitempty"` // The name the embedder supplied for this script. } diff --git a/debugger/types.go b/debugger/types.go index a4466eb0..4b8b161e 100644 --- a/debugger/types.go +++ b/debugger/types.go @@ -290,7 +290,6 @@ func (t DebugSymbolsType) String() string { // DebugSymbolsType values. const ( - DebugSymbolsTypeNone DebugSymbolsType = "None" DebugSymbolsTypeSourceMap DebugSymbolsType = "SourceMap" DebugSymbolsTypeEmbeddedDWARF DebugSymbolsType = "EmbeddedDWARF" DebugSymbolsTypeExternalDWARF DebugSymbolsType = "ExternalDWARF" @@ -310,8 +309,6 @@ func (t DebugSymbolsType) MarshalJSON() ([]byte, error) { func (t *DebugSymbolsType) UnmarshalEasyJSON(in *jlexer.Lexer) { v := in.String() switch DebugSymbolsType(v) { - case DebugSymbolsTypeNone: - *t = DebugSymbolsTypeNone case DebugSymbolsTypeSourceMap: *t = DebugSymbolsTypeSourceMap case DebugSymbolsTypeEmbeddedDWARF: diff --git a/page/types.go b/page/types.go index c03b3815..b67e89b2 100644 --- a/page/types.go +++ b/page/types.go @@ -76,6 +76,7 @@ const ( PermissionsPolicyFeatureDeferredFetch PermissionsPolicyFeature = "deferred-fetch" PermissionsPolicyFeatureDigitalCredentialsGet PermissionsPolicyFeature = "digital-credentials-get" PermissionsPolicyFeatureDirectSockets PermissionsPolicyFeature = "direct-sockets" + PermissionsPolicyFeatureDirectSocketsPrivate PermissionsPolicyFeature = "direct-sockets-private" PermissionsPolicyFeatureDisplayCapture PermissionsPolicyFeature = "display-capture" PermissionsPolicyFeatureDocumentDomain PermissionsPolicyFeature = "document-domain" PermissionsPolicyFeatureEncryptedMedia PermissionsPolicyFeature = "encrypted-media" @@ -223,6 +224,8 @@ func (t *PermissionsPolicyFeature) UnmarshalEasyJSON(in *jlexer.Lexer) { *t = PermissionsPolicyFeatureDigitalCredentialsGet case PermissionsPolicyFeatureDirectSockets: *t = PermissionsPolicyFeatureDirectSockets + case PermissionsPolicyFeatureDirectSocketsPrivate: + *t = PermissionsPolicyFeatureDirectSocketsPrivate case PermissionsPolicyFeatureDisplayCapture: *t = PermissionsPolicyFeatureDisplayCapture case PermissionsPolicyFeatureDocumentDomain: diff --git a/preload/types.go b/preload/types.go index 2d4366a2..49b9deb2 100644 --- a/preload/types.go +++ b/preload/types.go @@ -283,6 +283,7 @@ const ( PrerenderFinalStatusWindowClosed PrerenderFinalStatus = "WindowClosed" PrerenderFinalStatusSlowNetwork PrerenderFinalStatus = "SlowNetwork" PrerenderFinalStatusOtherPrerenderedPageActivated PrerenderFinalStatus = "OtherPrerenderedPageActivated" + PrerenderFinalStatusV8optimizerDisabled PrerenderFinalStatus = "V8OptimizerDisabled" ) // MarshalEasyJSON satisfies easyjson.Marshaler. @@ -441,6 +442,8 @@ func (t *PrerenderFinalStatus) UnmarshalEasyJSON(in *jlexer.Lexer) { *t = PrerenderFinalStatusSlowNetwork case PrerenderFinalStatusOtherPrerenderedPageActivated: *t = PrerenderFinalStatusOtherPrerenderedPageActivated + case PrerenderFinalStatusV8optimizerDisabled: + *t = PrerenderFinalStatusV8optimizerDisabled default: in.AddError(fmt.Errorf("unknown PrerenderFinalStatus value: %v", v)) diff --git a/webauthn/easyjson.go b/webauthn/easyjson.go index f95f22da..91d822cd 100644 --- a/webauthn/easyjson.go +++ b/webauthn/easyjson.go @@ -949,7 +949,7 @@ func (v *GetCredentialParams) UnmarshalJSON(data []byte) error { func (v *GetCredentialParams) UnmarshalEasyJSON(l *jlexer.Lexer) { easyjsonC5a4559bDecodeGithubComChromedpCdprotoWebauthn10(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoWebauthn11(in *jlexer.Lexer, out *EventCredentialAsserted) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoWebauthn11(in *jlexer.Lexer, out *EventCredentialUpdated) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -990,7 +990,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoWebauthn11(in *jlexer.Lexer, in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoWebauthn11(out *jwriter.Writer, in EventCredentialAsserted) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoWebauthn11(out *jwriter.Writer, in EventCredentialUpdated) { out.RawByte('{') first := true _ = first @@ -1012,29 +1012,187 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoWebauthn11(out *jwriter.Write } // MarshalJSON supports json.Marshaler interface -func (v EventCredentialAsserted) MarshalJSON() ([]byte, error) { +func (v EventCredentialUpdated) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} easyjsonC5a4559bEncodeGithubComChromedpCdprotoWebauthn11(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface -func (v EventCredentialAsserted) MarshalEasyJSON(w *jwriter.Writer) { +func (v EventCredentialUpdated) MarshalEasyJSON(w *jwriter.Writer) { easyjsonC5a4559bEncodeGithubComChromedpCdprotoWebauthn11(w, v) } // UnmarshalJSON supports json.Unmarshaler interface -func (v *EventCredentialAsserted) UnmarshalJSON(data []byte) error { +func (v *EventCredentialUpdated) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} easyjsonC5a4559bDecodeGithubComChromedpCdprotoWebauthn11(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface -func (v *EventCredentialAsserted) UnmarshalEasyJSON(l *jlexer.Lexer) { +func (v *EventCredentialUpdated) UnmarshalEasyJSON(l *jlexer.Lexer) { easyjsonC5a4559bDecodeGithubComChromedpCdprotoWebauthn11(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoWebauthn12(in *jlexer.Lexer, out *EventCredentialAdded) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoWebauthn12(in *jlexer.Lexer, out *EventCredentialDeleted) { + isTopLevel := in.IsStart() + if in.IsNull() { + if isTopLevel { + in.Consumed() + } + in.Skip() + return + } + in.Delim('{') + for !in.IsDelim('}') { + key := in.UnsafeFieldName(false) + in.WantColon() + if in.IsNull() { + in.Skip() + in.WantComma() + continue + } + switch key { + case "authenticatorId": + out.AuthenticatorID = AuthenticatorID(in.String()) + case "credentialId": + out.CredentialID = string(in.String()) + default: + in.SkipRecursive() + } + in.WantComma() + } + in.Delim('}') + if isTopLevel { + in.Consumed() + } +} +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoWebauthn12(out *jwriter.Writer, in EventCredentialDeleted) { + out.RawByte('{') + first := true + _ = first + { + const prefix string = ",\"authenticatorId\":" + out.RawString(prefix[1:]) + out.String(string(in.AuthenticatorID)) + } + { + const prefix string = ",\"credentialId\":" + out.RawString(prefix) + out.String(string(in.CredentialID)) + } + out.RawByte('}') +} + +// MarshalJSON supports json.Marshaler interface +func (v EventCredentialDeleted) MarshalJSON() ([]byte, error) { + w := jwriter.Writer{} + easyjsonC5a4559bEncodeGithubComChromedpCdprotoWebauthn12(&w, v) + return w.Buffer.BuildBytes(), w.Error +} + +// MarshalEasyJSON supports easyjson.Marshaler interface +func (v EventCredentialDeleted) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComChromedpCdprotoWebauthn12(w, v) +} + +// UnmarshalJSON supports json.Unmarshaler interface +func (v *EventCredentialDeleted) UnmarshalJSON(data []byte) error { + r := jlexer.Lexer{Data: data} + easyjsonC5a4559bDecodeGithubComChromedpCdprotoWebauthn12(&r, v) + return r.Error() +} + +// UnmarshalEasyJSON supports easyjson.Unmarshaler interface +func (v *EventCredentialDeleted) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComChromedpCdprotoWebauthn12(l, v) +} +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoWebauthn13(in *jlexer.Lexer, out *EventCredentialAsserted) { + isTopLevel := in.IsStart() + if in.IsNull() { + if isTopLevel { + in.Consumed() + } + in.Skip() + return + } + in.Delim('{') + for !in.IsDelim('}') { + key := in.UnsafeFieldName(false) + in.WantColon() + if in.IsNull() { + in.Skip() + in.WantComma() + continue + } + switch key { + case "authenticatorId": + out.AuthenticatorID = AuthenticatorID(in.String()) + case "credential": + if in.IsNull() { + in.Skip() + out.Credential = nil + } else { + if out.Credential == nil { + out.Credential = new(Credential) + } + (*out.Credential).UnmarshalEasyJSON(in) + } + default: + in.SkipRecursive() + } + in.WantComma() + } + in.Delim('}') + if isTopLevel { + in.Consumed() + } +} +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoWebauthn13(out *jwriter.Writer, in EventCredentialAsserted) { + out.RawByte('{') + first := true + _ = first + { + const prefix string = ",\"authenticatorId\":" + out.RawString(prefix[1:]) + out.String(string(in.AuthenticatorID)) + } + { + const prefix string = ",\"credential\":" + out.RawString(prefix) + if in.Credential == nil { + out.RawString("null") + } else { + (*in.Credential).MarshalEasyJSON(out) + } + } + out.RawByte('}') +} + +// MarshalJSON supports json.Marshaler interface +func (v EventCredentialAsserted) MarshalJSON() ([]byte, error) { + w := jwriter.Writer{} + easyjsonC5a4559bEncodeGithubComChromedpCdprotoWebauthn13(&w, v) + return w.Buffer.BuildBytes(), w.Error +} + +// MarshalEasyJSON supports easyjson.Marshaler interface +func (v EventCredentialAsserted) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComChromedpCdprotoWebauthn13(w, v) +} + +// UnmarshalJSON supports json.Unmarshaler interface +func (v *EventCredentialAsserted) UnmarshalJSON(data []byte) error { + r := jlexer.Lexer{Data: data} + easyjsonC5a4559bDecodeGithubComChromedpCdprotoWebauthn13(&r, v) + return r.Error() +} + +// UnmarshalEasyJSON supports easyjson.Unmarshaler interface +func (v *EventCredentialAsserted) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComChromedpCdprotoWebauthn13(l, v) +} +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoWebauthn14(in *jlexer.Lexer, out *EventCredentialAdded) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1075,7 +1233,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoWebauthn12(in *jlexer.Lexer, in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoWebauthn12(out *jwriter.Writer, in EventCredentialAdded) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoWebauthn14(out *jwriter.Writer, in EventCredentialAdded) { out.RawByte('{') first := true _ = first @@ -1099,27 +1257,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoWebauthn12(out *jwriter.Write // MarshalJSON supports json.Marshaler interface func (v EventCredentialAdded) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoWebauthn12(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoWebauthn14(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventCredentialAdded) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoWebauthn12(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoWebauthn14(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventCredentialAdded) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoWebauthn12(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoWebauthn14(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventCredentialAdded) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoWebauthn12(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoWebauthn14(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoWebauthn13(in *jlexer.Lexer, out *EnableParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoWebauthn15(in *jlexer.Lexer, out *EnableParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1150,7 +1308,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoWebauthn13(in *jlexer.Lexer, in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoWebauthn13(out *jwriter.Writer, in EnableParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoWebauthn15(out *jwriter.Writer, in EnableParams) { out.RawByte('{') first := true _ = first @@ -1166,27 +1324,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoWebauthn13(out *jwriter.Write // MarshalJSON supports json.Marshaler interface func (v EnableParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoWebauthn13(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoWebauthn15(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EnableParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoWebauthn13(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoWebauthn15(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EnableParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoWebauthn13(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoWebauthn15(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EnableParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoWebauthn13(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoWebauthn15(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoWebauthn14(in *jlexer.Lexer, out *DisableParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoWebauthn16(in *jlexer.Lexer, out *DisableParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1215,7 +1373,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoWebauthn14(in *jlexer.Lexer, in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoWebauthn14(out *jwriter.Writer, in DisableParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoWebauthn16(out *jwriter.Writer, in DisableParams) { out.RawByte('{') first := true _ = first @@ -1225,27 +1383,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoWebauthn14(out *jwriter.Write // MarshalJSON supports json.Marshaler interface func (v DisableParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoWebauthn14(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoWebauthn16(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v DisableParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoWebauthn14(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoWebauthn16(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *DisableParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoWebauthn14(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoWebauthn16(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *DisableParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoWebauthn14(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoWebauthn16(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoWebauthn15(in *jlexer.Lexer, out *Credential) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoWebauthn17(in *jlexer.Lexer, out *Credential) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1282,6 +1440,10 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoWebauthn15(in *jlexer.Lexer, out.BackupEligibility = bool(in.Bool()) case "backupState": out.BackupState = bool(in.Bool()) + case "userName": + out.UserName = string(in.String()) + case "userDisplayName": + out.UserDisplayName = string(in.String()) default: in.SkipRecursive() } @@ -1292,7 +1454,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoWebauthn15(in *jlexer.Lexer, in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoWebauthn15(out *jwriter.Writer, in Credential) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoWebauthn17(out *jwriter.Writer, in Credential) { out.RawByte('{') first := true _ = first @@ -1341,33 +1503,43 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoWebauthn15(out *jwriter.Write out.RawString(prefix) out.Bool(bool(in.BackupState)) } + if in.UserName != "" { + const prefix string = ",\"userName\":" + out.RawString(prefix) + out.String(string(in.UserName)) + } + if in.UserDisplayName != "" { + const prefix string = ",\"userDisplayName\":" + out.RawString(prefix) + out.String(string(in.UserDisplayName)) + } out.RawByte('}') } // MarshalJSON supports json.Marshaler interface func (v Credential) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoWebauthn15(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoWebauthn17(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v Credential) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoWebauthn15(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoWebauthn17(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *Credential) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoWebauthn15(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoWebauthn17(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *Credential) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoWebauthn15(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoWebauthn17(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoWebauthn16(in *jlexer.Lexer, out *ClearCredentialsParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoWebauthn18(in *jlexer.Lexer, out *ClearCredentialsParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1398,7 +1570,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoWebauthn16(in *jlexer.Lexer, in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoWebauthn16(out *jwriter.Writer, in ClearCredentialsParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoWebauthn18(out *jwriter.Writer, in ClearCredentialsParams) { out.RawByte('{') first := true _ = first @@ -1413,27 +1585,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoWebauthn16(out *jwriter.Write // MarshalJSON supports json.Marshaler interface func (v ClearCredentialsParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoWebauthn16(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoWebauthn18(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v ClearCredentialsParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoWebauthn16(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoWebauthn18(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *ClearCredentialsParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoWebauthn16(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoWebauthn18(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *ClearCredentialsParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoWebauthn16(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoWebauthn18(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoWebauthn17(in *jlexer.Lexer, out *AddVirtualAuthenticatorReturns) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoWebauthn19(in *jlexer.Lexer, out *AddVirtualAuthenticatorReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1464,7 +1636,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoWebauthn17(in *jlexer.Lexer, in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoWebauthn17(out *jwriter.Writer, in AddVirtualAuthenticatorReturns) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoWebauthn19(out *jwriter.Writer, in AddVirtualAuthenticatorReturns) { out.RawByte('{') first := true _ = first @@ -1480,27 +1652,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoWebauthn17(out *jwriter.Write // MarshalJSON supports json.Marshaler interface func (v AddVirtualAuthenticatorReturns) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoWebauthn17(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoWebauthn19(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v AddVirtualAuthenticatorReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoWebauthn17(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoWebauthn19(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *AddVirtualAuthenticatorReturns) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoWebauthn17(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoWebauthn19(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *AddVirtualAuthenticatorReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoWebauthn17(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoWebauthn19(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoWebauthn18(in *jlexer.Lexer, out *AddVirtualAuthenticatorParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoWebauthn20(in *jlexer.Lexer, out *AddVirtualAuthenticatorParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1539,7 +1711,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoWebauthn18(in *jlexer.Lexer, in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoWebauthn18(out *jwriter.Writer, in AddVirtualAuthenticatorParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoWebauthn20(out *jwriter.Writer, in AddVirtualAuthenticatorParams) { out.RawByte('{') first := true _ = first @@ -1558,27 +1730,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoWebauthn18(out *jwriter.Write // MarshalJSON supports json.Marshaler interface func (v AddVirtualAuthenticatorParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoWebauthn18(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoWebauthn20(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v AddVirtualAuthenticatorParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoWebauthn18(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoWebauthn20(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *AddVirtualAuthenticatorParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoWebauthn18(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoWebauthn20(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *AddVirtualAuthenticatorParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoWebauthn18(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoWebauthn20(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoWebauthn19(in *jlexer.Lexer, out *AddCredentialParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoWebauthn21(in *jlexer.Lexer, out *AddCredentialParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1619,7 +1791,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoWebauthn19(in *jlexer.Lexer, in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoWebauthn19(out *jwriter.Writer, in AddCredentialParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoWebauthn21(out *jwriter.Writer, in AddCredentialParams) { out.RawByte('{') first := true _ = first @@ -1643,23 +1815,23 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoWebauthn19(out *jwriter.Write // MarshalJSON supports json.Marshaler interface func (v AddCredentialParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoWebauthn19(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoWebauthn21(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v AddCredentialParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoWebauthn19(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoWebauthn21(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *AddCredentialParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoWebauthn19(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoWebauthn21(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *AddCredentialParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoWebauthn19(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoWebauthn21(l, v) } diff --git a/webauthn/events.go b/webauthn/events.go index e8b1754e..f25d5cd8 100644 --- a/webauthn/events.go +++ b/webauthn/events.go @@ -11,6 +11,24 @@ type EventCredentialAdded struct { Credential *Credential `json:"credential"` } +// EventCredentialDeleted triggered when a credential is deleted, e.g. +// through PublicKeyCredential.signalUnknownCredential(). +// +// See: https://chromedevtools.github.io/devtools-protocol/tot/WebAuthn#event-credentialDeleted +type EventCredentialDeleted struct { + AuthenticatorID AuthenticatorID `json:"authenticatorId"` + CredentialID string `json:"credentialId"` +} + +// EventCredentialUpdated triggered when a credential is updated, e.g. +// through PublicKeyCredential.signalCurrentUserDetails(). +// +// See: https://chromedevtools.github.io/devtools-protocol/tot/WebAuthn#event-credentialUpdated +type EventCredentialUpdated struct { + AuthenticatorID AuthenticatorID `json:"authenticatorId"` + Credential *Credential `json:"credential"` +} + // EventCredentialAsserted triggered when a credential is used in a webauthn // assertion. // diff --git a/webauthn/types.go b/webauthn/types.go index 349c7bfd..688bb849 100644 --- a/webauthn/types.go +++ b/webauthn/types.go @@ -196,4 +196,6 @@ type Credential struct { LargeBlob string `json:"largeBlob,omitempty"` // The large blob associated with the credential. See https://w3c.github.io/webauthn/#sctn-large-blob-extension BackupEligibility bool `json:"backupEligibility,omitempty"` // Assertions returned by this credential will have the backup eligibility (BE) flag set to this value. Defaults to the authenticator's defaultBackupEligibility value. BackupState bool `json:"backupState,omitempty"` // Assertions returned by this credential will have the backup state (BS) flag set to this value. Defaults to the authenticator's defaultBackupState value. + UserName string `json:"userName,omitempty"` // The credential's user.name property. Equivalent to empty if not set. https://w3c.github.io/webauthn/#dom-publickeycredentialentity-name + UserDisplayName string `json:"userDisplayName,omitempty"` // The credential's user.displayName property. Equivalent to empty if not set. https://w3c.github.io/webauthn/#dom-publickeycredentialuserentity-displayname }