From 4e57103faaeafb5a0c6ac79e563b246af73a5f40 Mon Sep 17 00:00:00 2001 From: Kenneth Shaw Date: Tue, 29 Aug 2017 09:48:17 +0700 Subject: [PATCH] Updating to latest protocol.json --- cdp/cdp.go | 9 + cdp/cdputil/cdputil.go | 9 + cdp/memory/easyjson.go | 83 +++- cdp/memory/memory.go | 14 + cdp/network/easyjson.go | 326 +++++++------ cdp/network/network.go | 20 +- cdp/page/easyjson.go | 836 ++++++++++++++++++++------------- cdp/page/events.go | 8 + cdp/page/page.go | 29 ++ cdp/page/types.go | 46 ++ cdp/profiler/easyjson.go | 10 + cdp/profiler/profiler.go | 7 + cdp/runtime/easyjson.go | 8 +- cdp/runtime/runtime.go | 8 +- cdp/runtime/types.go | 2 +- cdp/security/types.go | 3 - cmd/chromedp-gen/protocol.json | 65 ++- 17 files changed, 972 insertions(+), 511 deletions(-) diff --git a/cdp/cdp.go b/cdp/cdp.go index b7e413e..7227dc4 100644 --- a/cdp/cdp.go +++ b/cdp/cdp.go @@ -54,6 +54,7 @@ const ( CommandInspectorEnable MethodType = "Inspector.enable" CommandInspectorDisable MethodType = "Inspector.disable" CommandMemoryGetDOMCounters MethodType = "Memory.getDOMCounters" + CommandMemoryPrepareForLeakDetection MethodType = "Memory.prepareForLeakDetection" CommandMemorySetPressureNotificationsSuppressed MethodType = "Memory.setPressureNotificationsSuppressed" CommandMemorySimulatePressureNotification MethodType = "Memory.simulatePressureNotification" EventPerformanceMetrics MethodType = "Performance.metrics" @@ -62,6 +63,7 @@ const ( CommandPerformanceGetMetrics MethodType = "Performance.getMetrics" EventPageDomContentEventFired MethodType = "Page.domContentEventFired" EventPageLoadEventFired MethodType = "Page.loadEventFired" + EventPageLifecycleEvent MethodType = "Page.lifecycleEvent" EventPageFrameAttached MethodType = "Page.frameAttached" EventPageFrameNavigated MethodType = "Page.frameNavigated" EventPageFrameDetached MethodType = "Page.frameDetached" @@ -102,6 +104,7 @@ const ( CommandPageGetLayoutMetrics MethodType = "Page.getLayoutMetrics" CommandPageCreateIsolatedWorld MethodType = "Page.createIsolatedWorld" CommandPageBringToFront MethodType = "Page.bringToFront" + CommandPageSetDownloadBehavior MethodType = "Page.setDownloadBehavior" EventOverlayNodeHighlightRequested MethodType = "Overlay.nodeHighlightRequested" EventOverlayInspectNodeRequested MethodType = "Overlay.inspectNodeRequested" EventOverlayScreenshotRequested MethodType = "Overlay.screenshotRequested" @@ -507,6 +510,8 @@ func (t *MethodType) UnmarshalEasyJSON(in *jlexer.Lexer) { *t = CommandInspectorDisable case CommandMemoryGetDOMCounters: *t = CommandMemoryGetDOMCounters + case CommandMemoryPrepareForLeakDetection: + *t = CommandMemoryPrepareForLeakDetection case CommandMemorySetPressureNotificationsSuppressed: *t = CommandMemorySetPressureNotificationsSuppressed case CommandMemorySimulatePressureNotification: @@ -523,6 +528,8 @@ func (t *MethodType) UnmarshalEasyJSON(in *jlexer.Lexer) { *t = EventPageDomContentEventFired case EventPageLoadEventFired: *t = EventPageLoadEventFired + case EventPageLifecycleEvent: + *t = EventPageLifecycleEvent case EventPageFrameAttached: *t = EventPageFrameAttached case EventPageFrameNavigated: @@ -603,6 +610,8 @@ func (t *MethodType) UnmarshalEasyJSON(in *jlexer.Lexer) { *t = CommandPageCreateIsolatedWorld case CommandPageBringToFront: *t = CommandPageBringToFront + case CommandPageSetDownloadBehavior: + *t = CommandPageSetDownloadBehavior case EventOverlayNodeHighlightRequested: *t = EventOverlayNodeHighlightRequested case EventOverlayInspectNodeRequested: diff --git a/cdp/cdputil/cdputil.go b/cdp/cdputil/cdputil.go index 10c0ec1..179f34f 100644 --- a/cdp/cdputil/cdputil.go +++ b/cdp/cdputil/cdputil.go @@ -67,6 +67,9 @@ func UnmarshalMessage(msg *cdp.Message) (interface{}, error) { case cdp.CommandMemoryGetDOMCounters: v = new(memory.GetDOMCountersReturns) + case cdp.CommandMemoryPrepareForLeakDetection: + return emptyVal, nil + case cdp.CommandMemorySetPressureNotificationsSuppressed: return emptyVal, nil @@ -163,12 +166,18 @@ func UnmarshalMessage(msg *cdp.Message) (interface{}, error) { case cdp.CommandPageBringToFront: return emptyVal, nil + case cdp.CommandPageSetDownloadBehavior: + return emptyVal, nil + case cdp.EventPageDomContentEventFired: v = new(page.EventDomContentEventFired) case cdp.EventPageLoadEventFired: v = new(page.EventLoadEventFired) + case cdp.EventPageLifecycleEvent: + v = new(page.EventLifecycleEvent) + case cdp.EventPageFrameAttached: v = new(page.EventFrameAttached) diff --git a/cdp/memory/easyjson.go b/cdp/memory/easyjson.go index a589211..2ec8232 100644 --- a/cdp/memory/easyjson.go +++ b/cdp/memory/easyjson.go @@ -151,7 +151,66 @@ func (v *SetPressureNotificationsSuppressedParams) UnmarshalJSON(data []byte) er func (v *SetPressureNotificationsSuppressedParams) UnmarshalEasyJSON(l *jlexer.Lexer) { easyjsonC5a4559bDecodeGithubComKnqChromedpCdpMemory1(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpMemory2(in *jlexer.Lexer, out *GetDOMCountersReturns) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpMemory2(in *jlexer.Lexer, out *PrepareForLeakDetectionParams) { + isTopLevel := in.IsStart() + if in.IsNull() { + if isTopLevel { + in.Consumed() + } + in.Skip() + return + } + in.Delim('{') + for !in.IsDelim('}') { + key := in.UnsafeString() + in.WantColon() + if in.IsNull() { + in.Skip() + in.WantComma() + continue + } + switch key { + default: + in.SkipRecursive() + } + in.WantComma() + } + in.Delim('}') + if isTopLevel { + in.Consumed() + } +} +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpMemory2(out *jwriter.Writer, in PrepareForLeakDetectionParams) { + out.RawByte('{') + first := true + _ = first + out.RawByte('}') +} + +// MarshalJSON supports json.Marshaler interface +func (v PrepareForLeakDetectionParams) MarshalJSON() ([]byte, error) { + w := jwriter.Writer{} + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpMemory2(&w, v) + return w.Buffer.BuildBytes(), w.Error +} + +// MarshalEasyJSON supports easyjson.Marshaler interface +func (v PrepareForLeakDetectionParams) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpMemory2(w, v) +} + +// UnmarshalJSON supports json.Unmarshaler interface +func (v *PrepareForLeakDetectionParams) UnmarshalJSON(data []byte) error { + r := jlexer.Lexer{Data: data} + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpMemory2(&r, v) + return r.Error() +} + +// UnmarshalEasyJSON supports easyjson.Unmarshaler interface +func (v *PrepareForLeakDetectionParams) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpMemory2(l, v) +} +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpMemory3(in *jlexer.Lexer, out *GetDOMCountersReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -186,7 +245,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpMemory2(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpMemory2(out *jwriter.Writer, in GetDOMCountersReturns) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpMemory3(out *jwriter.Writer, in GetDOMCountersReturns) { out.RawByte('{') first := true _ = first @@ -220,27 +279,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpMemory2(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v GetDOMCountersReturns) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpMemory2(&w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpMemory3(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetDOMCountersReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpMemory2(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpMemory3(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetDOMCountersReturns) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpMemory2(&r, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpMemory3(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetDOMCountersReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpMemory2(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpMemory3(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpMemory3(in *jlexer.Lexer, out *GetDOMCountersParams) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpMemory4(in *jlexer.Lexer, out *GetDOMCountersParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -269,7 +328,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpMemory3(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpMemory3(out *jwriter.Writer, in GetDOMCountersParams) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpMemory4(out *jwriter.Writer, in GetDOMCountersParams) { out.RawByte('{') first := true _ = first @@ -279,23 +338,23 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpMemory3(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v GetDOMCountersParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpMemory3(&w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpMemory4(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetDOMCountersParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpMemory3(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpMemory4(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetDOMCountersParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpMemory3(&r, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpMemory4(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetDOMCountersParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpMemory3(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpMemory4(l, v) } diff --git a/cdp/memory/memory.go b/cdp/memory/memory.go index e26eac6..4cb3d64 100644 --- a/cdp/memory/memory.go +++ b/cdp/memory/memory.go @@ -45,6 +45,20 @@ func (p *GetDOMCountersParams) Do(ctxt context.Context, h cdp.Handler) (document return res.Documents, res.Nodes, res.JsEventListeners, nil } +// PrepareForLeakDetectionParams [no description]. +type PrepareForLeakDetectionParams struct{} + +// PrepareForLeakDetection [no description]. +func PrepareForLeakDetection() *PrepareForLeakDetectionParams { + return &PrepareForLeakDetectionParams{} +} + +// Do executes Memory.prepareForLeakDetection against the provided context and +// target handler. +func (p *PrepareForLeakDetectionParams) Do(ctxt context.Context, h cdp.Handler) (err error) { + return h.Execute(ctxt, cdp.CommandMemoryPrepareForLeakDetection, nil, nil) +} + // SetPressureNotificationsSuppressedParams enable/disable suppressing memory // pressure notifications in all processes. type SetPressureNotificationsSuppressedParams struct { diff --git a/cdp/network/easyjson.go b/cdp/network/easyjson.go index 73cbfc3..4c20421 100644 --- a/cdp/network/easyjson.go +++ b/cdp/network/easyjson.go @@ -641,6 +641,29 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpNetwork5(in *jlexer.Lexer, out switch key { case "enabled": out.Enabled = bool(in.Bool()) + case "patterns": + if in.IsNull() { + in.Skip() + out.Patterns = nil + } else { + in.Delim('[') + if out.Patterns == nil { + if !in.IsDelim(']') { + out.Patterns = make([]string, 0, 4) + } else { + out.Patterns = []string{} + } + } else { + out.Patterns = (out.Patterns)[:0] + } + for !in.IsDelim(']') { + var v7 string + v7 = string(in.String()) + out.Patterns = append(out.Patterns, v7) + in.WantComma() + } + in.Delim(']') + } default: in.SkipRecursive() } @@ -661,6 +684,25 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpNetwork5(out *jwriter.Writer, first = false out.RawString("\"enabled\":") out.Bool(bool(in.Enabled)) + if len(in.Patterns) != 0 { + if !first { + out.RawByte(',') + } + first = false + out.RawString("\"patterns\":") + if in.Patterns == nil && (out.Flags&jwriter.NilSliceAsEmpty) == 0 { + out.RawString("null") + } else { + out.RawByte('[') + for v8, v9 := range in.Patterns { + if v8 > 0 { + out.RawByte(',') + } + out.String(string(v9)) + } + out.RawByte(']') + } + } out.RawByte('}') } @@ -719,15 +761,15 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpNetwork6(in *jlexer.Lexer, out for !in.IsDelim('}') { key := string(in.String()) in.WantColon() - var v7 interface{} - if m, ok := v7.(easyjson.Unmarshaler); ok { + var v10 interface{} + if m, ok := v10.(easyjson.Unmarshaler); ok { m.UnmarshalEasyJSON(in) - } else if m, ok := v7.(json.Unmarshaler); ok { + } else if m, ok := v10.(json.Unmarshaler); ok { _ = m.UnmarshalJSON(in.Raw()) } else { - v7 = in.Interface() + v10 = in.Interface() } - (out.Headers)[key] = v7 + (out.Headers)[key] = v10 in.WantComma() } in.Delim('}') @@ -755,20 +797,20 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpNetwork6(out *jwriter.Writer, out.RawString(`null`) } else { out.RawByte('{') - v8First := true - for v8Name, v8Value := range in.Headers { - if !v8First { + v11First := true + for v11Name, v11Value := range in.Headers { + if !v11First { out.RawByte(',') } - v8First = false - out.String(string(v8Name)) + v11First = false + out.String(string(v11Name)) out.RawByte(':') - if m, ok := v8Value.(easyjson.Marshaler); ok { + if m, ok := v11Value.(easyjson.Marshaler); ok { m.MarshalEasyJSON(out) - } else if m, ok := v8Value.(json.Marshaler); ok { + } else if m, ok := v11Value.(json.Marshaler); ok { out.Raw(m.MarshalJSON()) } else { - out.Raw(json.Marshal(v8Value)) + out.Raw(json.Marshal(v11Value)) } } out.RawByte('}') @@ -909,17 +951,17 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpNetwork8(in *jlexer.Lexer, out out.Cookies = (out.Cookies)[:0] } for !in.IsDelim(']') { - var v9 *CookieParam + var v12 *CookieParam if in.IsNull() { in.Skip() - v9 = nil + v12 = nil } else { - if v9 == nil { - v9 = new(CookieParam) + if v12 == nil { + v12 = new(CookieParam) } - (*v9).UnmarshalEasyJSON(in) + (*v12).UnmarshalEasyJSON(in) } - out.Cookies = append(out.Cookies, v9) + out.Cookies = append(out.Cookies, v12) in.WantComma() } in.Delim(']') @@ -947,14 +989,14 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpNetwork8(out *jwriter.Writer, out.RawString("null") } else { out.RawByte('[') - for v10, v11 := range in.Cookies { - if v10 > 0 { + for v13, v14 := range in.Cookies { + if v13 > 0 { out.RawByte(',') } - if v11 == nil { + if v14 == nil { out.RawString("null") } else { - (*v11).MarshalEasyJSON(out) + (*v14).MarshalEasyJSON(out) } } out.RawByte(']') @@ -1380,9 +1422,9 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpNetwork13(in *jlexer.Lexer, ou out.Urls = (out.Urls)[:0] } for !in.IsDelim(']') { - var v12 string - v12 = string(in.String()) - out.Urls = append(out.Urls, v12) + var v15 string + v15 = string(in.String()) + out.Urls = append(out.Urls, v15) in.WantComma() } in.Delim(']') @@ -1410,11 +1452,11 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpNetwork13(out *jwriter.Writer, out.RawString("null") } else { out.RawByte('[') - for v13, v14 := range in.Urls { - if v13 > 0 { + for v16, v17 := range in.Urls { + if v16 > 0 { out.RawByte(',') } - out.String(string(v14)) + out.String(string(v17)) } out.RawByte(']') } @@ -1493,9 +1535,9 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpNetwork14(in *jlexer.Lexer, ou out.SanList = (out.SanList)[:0] } for !in.IsDelim(']') { - var v15 string - v15 = string(in.String()) - out.SanList = append(out.SanList, v15) + var v18 string + v18 = string(in.String()) + out.SanList = append(out.SanList, v18) in.WantComma() } in.Delim(']') @@ -1538,17 +1580,17 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpNetwork14(in *jlexer.Lexer, ou out.SignedCertificateTimestampList = (out.SignedCertificateTimestampList)[:0] } for !in.IsDelim(']') { - var v16 *SignedCertificateTimestamp + var v19 *SignedCertificateTimestamp if in.IsNull() { in.Skip() - v16 = nil + v19 = nil } else { - if v16 == nil { - v16 = new(SignedCertificateTimestamp) + if v19 == nil { + v19 = new(SignedCertificateTimestamp) } - (*v16).UnmarshalEasyJSON(in) + (*v19).UnmarshalEasyJSON(in) } - out.SignedCertificateTimestampList = append(out.SignedCertificateTimestampList, v16) + out.SignedCertificateTimestampList = append(out.SignedCertificateTimestampList, v19) in.WantComma() } in.Delim(']') @@ -1622,11 +1664,11 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpNetwork14(out *jwriter.Writer, out.RawString("null") } else { out.RawByte('[') - for v17, v18 := range in.SanList { - if v17 > 0 { + for v20, v21 := range in.SanList { + if v20 > 0 { out.RawByte(',') } - out.String(string(v18)) + out.String(string(v21)) } out.RawByte(']') } @@ -1665,14 +1707,14 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpNetwork14(out *jwriter.Writer, out.RawString("null") } else { out.RawByte('[') - for v19, v20 := range in.SignedCertificateTimestampList { - if v19 > 0 { + for v22, v23 := range in.SignedCertificateTimestampList { + if v22 > 0 { out.RawByte(',') } - if v20 == nil { + if v23 == nil { out.RawString("null") } else { - (*v20).MarshalEasyJSON(out) + (*v23).MarshalEasyJSON(out) } } out.RawByte(']') @@ -1741,15 +1783,15 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpNetwork15(in *jlexer.Lexer, ou for !in.IsDelim('}') { key := string(in.String()) in.WantColon() - var v21 interface{} - if m, ok := v21.(easyjson.Unmarshaler); ok { + var v24 interface{} + if m, ok := v24.(easyjson.Unmarshaler); ok { m.UnmarshalEasyJSON(in) - } else if m, ok := v21.(json.Unmarshaler); ok { + } else if m, ok := v24.(json.Unmarshaler); ok { _ = m.UnmarshalJSON(in.Raw()) } else { - v21 = in.Interface() + v24 = in.Interface() } - (out.Headers)[key] = v21 + (out.Headers)[key] = v24 in.WantComma() } in.Delim('}') @@ -1771,15 +1813,15 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpNetwork15(in *jlexer.Lexer, ou for !in.IsDelim('}') { key := string(in.String()) in.WantColon() - var v22 interface{} - if m, ok := v22.(easyjson.Unmarshaler); ok { + var v25 interface{} + if m, ok := v25.(easyjson.Unmarshaler); ok { m.UnmarshalEasyJSON(in) - } else if m, ok := v22.(json.Unmarshaler); ok { + } else if m, ok := v25.(json.Unmarshaler); ok { _ = m.UnmarshalJSON(in.Raw()) } else { - v22 = in.Interface() + v25 = in.Interface() } - (out.RequestHeaders)[key] = v22 + (out.RequestHeaders)[key] = v25 in.WantComma() } in.Delim('}') @@ -1865,20 +1907,20 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpNetwork15(out *jwriter.Writer, out.RawString(`null`) } else { out.RawByte('{') - v23First := true - for v23Name, v23Value := range in.Headers { - if !v23First { + v26First := true + for v26Name, v26Value := range in.Headers { + if !v26First { out.RawByte(',') } - v23First = false - out.String(string(v23Name)) + v26First = false + out.String(string(v26Name)) out.RawByte(':') - if m, ok := v23Value.(easyjson.Marshaler); ok { + if m, ok := v26Value.(easyjson.Marshaler); ok { m.MarshalEasyJSON(out) - } else if m, ok := v23Value.(json.Marshaler); ok { + } else if m, ok := v26Value.(json.Marshaler); ok { out.Raw(m.MarshalJSON()) } else { - out.Raw(json.Marshal(v23Value)) + out.Raw(json.Marshal(v26Value)) } } out.RawByte('}') @@ -1907,20 +1949,20 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpNetwork15(out *jwriter.Writer, out.RawString(`null`) } else { out.RawByte('{') - v24First := true - for v24Name, v24Value := range in.RequestHeaders { - if !v24First { + v27First := true + for v27Name, v27Value := range in.RequestHeaders { + if !v27First { out.RawByte(',') } - v24First = false - out.String(string(v24Name)) + v27First = false + out.String(string(v27Name)) out.RawByte(':') - if m, ok := v24Value.(easyjson.Marshaler); ok { + if m, ok := v27Value.(easyjson.Marshaler); ok { m.MarshalEasyJSON(out) - } else if m, ok := v24Value.(json.Marshaler); ok { + } else if m, ok := v27Value.(json.Marshaler); ok { out.Raw(m.MarshalJSON()) } else { - out.Raw(json.Marshal(v24Value)) + out.Raw(json.Marshal(v27Value)) } } out.RawByte('}') @@ -2271,15 +2313,15 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpNetwork17(in *jlexer.Lexer, ou for !in.IsDelim('}') { key := string(in.String()) in.WantColon() - var v25 interface{} - if m, ok := v25.(easyjson.Unmarshaler); ok { + var v28 interface{} + if m, ok := v28.(easyjson.Unmarshaler); ok { m.UnmarshalEasyJSON(in) - } else if m, ok := v25.(json.Unmarshaler); ok { + } else if m, ok := v28.(json.Unmarshaler); ok { _ = m.UnmarshalJSON(in.Raw()) } else { - v25 = in.Interface() + v28 = in.Interface() } - (out.Headers)[key] = v25 + (out.Headers)[key] = v28 in.WantComma() } in.Delim('}') @@ -2329,20 +2371,20 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpNetwork17(out *jwriter.Writer, out.RawString(`null`) } else { out.RawByte('{') - v26First := true - for v26Name, v26Value := range in.Headers { - if !v26First { + v29First := true + for v29Name, v29Value := range in.Headers { + if !v29First { out.RawByte(',') } - v26First = false - out.String(string(v26Name)) + v29First = false + out.String(string(v29Name)) out.RawByte(':') - if m, ok := v26Value.(easyjson.Marshaler); ok { + if m, ok := v29Value.(easyjson.Marshaler); ok { m.MarshalEasyJSON(out) - } else if m, ok := v26Value.(json.Marshaler); ok { + } else if m, ok := v29Value.(json.Marshaler); ok { out.Raw(m.MarshalJSON()) } else { - out.Raw(json.Marshal(v26Value)) + out.Raw(json.Marshal(v29Value)) } } out.RawByte('}') @@ -2766,17 +2808,17 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpNetwork22(in *jlexer.Lexer, ou out.Cookies = (out.Cookies)[:0] } for !in.IsDelim(']') { - var v27 *Cookie + var v30 *Cookie if in.IsNull() { in.Skip() - v27 = nil + v30 = nil } else { - if v27 == nil { - v27 = new(Cookie) + if v30 == nil { + v30 = new(Cookie) } - (*v27).UnmarshalEasyJSON(in) + (*v30).UnmarshalEasyJSON(in) } - out.Cookies = append(out.Cookies, v27) + out.Cookies = append(out.Cookies, v30) in.WantComma() } in.Delim(']') @@ -2805,14 +2847,14 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpNetwork22(out *jwriter.Writer, out.RawString("null") } else { out.RawByte('[') - for v28, v29 := range in.Cookies { - if v28 > 0 { + for v31, v32 := range in.Cookies { + if v31 > 0 { out.RawByte(',') } - if v29 == nil { + if v32 == nil { out.RawString("null") } else { - (*v29).MarshalEasyJSON(out) + (*v32).MarshalEasyJSON(out) } } out.RawByte(']') @@ -2879,9 +2921,9 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpNetwork23(in *jlexer.Lexer, ou out.Urls = (out.Urls)[:0] } for !in.IsDelim(']') { - var v30 string - v30 = string(in.String()) - out.Urls = append(out.Urls, v30) + var v33 string + v33 = string(in.String()) + out.Urls = append(out.Urls, v33) in.WantComma() } in.Delim(']') @@ -2910,11 +2952,11 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpNetwork23(out *jwriter.Writer, out.RawString("null") } else { out.RawByte('[') - for v31, v32 := range in.Urls { - if v31 > 0 { + for v34, v35 := range in.Urls { + if v34 > 0 { out.RawByte(',') } - out.String(string(v32)) + out.String(string(v35)) } out.RawByte(']') } @@ -2980,9 +3022,9 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpNetwork24(in *jlexer.Lexer, ou out.TableNames = (out.TableNames)[:0] } for !in.IsDelim(']') { - var v33 string - v33 = string(in.String()) - out.TableNames = append(out.TableNames, v33) + var v36 string + v36 = string(in.String()) + out.TableNames = append(out.TableNames, v36) in.WantComma() } in.Delim(']') @@ -3011,11 +3053,11 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpNetwork24(out *jwriter.Writer, out.RawString("null") } else { out.RawByte('[') - for v34, v35 := range in.TableNames { - if v34 > 0 { + for v37, v38 := range in.TableNames { + if v37 > 0 { out.RawByte(',') } - out.String(string(v35)) + out.String(string(v38)) } out.RawByte(']') } @@ -3148,17 +3190,17 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpNetwork26(in *jlexer.Lexer, ou out.Cookies = (out.Cookies)[:0] } for !in.IsDelim(']') { - var v36 *Cookie + var v39 *Cookie if in.IsNull() { in.Skip() - v36 = nil + v39 = nil } else { - if v36 == nil { - v36 = new(Cookie) + if v39 == nil { + v39 = new(Cookie) } - (*v36).UnmarshalEasyJSON(in) + (*v39).UnmarshalEasyJSON(in) } - out.Cookies = append(out.Cookies, v36) + out.Cookies = append(out.Cookies, v39) in.WantComma() } in.Delim(']') @@ -3187,14 +3229,14 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpNetwork26(out *jwriter.Writer, out.RawString("null") } else { out.RawByte('[') - for v37, v38 := range in.Cookies { - if v37 > 0 { + for v40, v41 := range in.Cookies { + if v40 > 0 { out.RawByte(',') } - if v38 == nil { + if v41 == nil { out.RawString("null") } else { - (*v38).MarshalEasyJSON(out) + (*v41).MarshalEasyJSON(out) } } out.RawByte(']') @@ -4560,15 +4602,15 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpNetwork39(in *jlexer.Lexer, ou for !in.IsDelim('}') { key := string(in.String()) in.WantColon() - var v39 interface{} - if m, ok := v39.(easyjson.Unmarshaler); ok { + var v42 interface{} + if m, ok := v42.(easyjson.Unmarshaler); ok { m.UnmarshalEasyJSON(in) - } else if m, ok := v39.(json.Unmarshaler); ok { + } else if m, ok := v42.(json.Unmarshaler); ok { _ = m.UnmarshalJSON(in.Raw()) } else { - v39 = in.Interface() + v42 = in.Interface() } - (out.RedirectHeaders)[key] = v39 + (out.RedirectHeaders)[key] = v42 in.WantComma() } in.Delim('}') @@ -4639,20 +4681,20 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpNetwork39(out *jwriter.Writer, out.RawString(`null`) } else { out.RawByte('{') - v40First := true - for v40Name, v40Value := range in.RedirectHeaders { - if !v40First { + v43First := true + for v43Name, v43Value := range in.RedirectHeaders { + if !v43First { out.RawByte(',') } - v40First = false - out.String(string(v40Name)) + v43First = false + out.String(string(v43Name)) out.RawByte(':') - if m, ok := v40Value.(easyjson.Marshaler); ok { + if m, ok := v43Value.(easyjson.Marshaler); ok { m.MarshalEasyJSON(out) - } else if m, ok := v40Value.(json.Marshaler); ok { + } else if m, ok := v43Value.(json.Marshaler); ok { out.Raw(m.MarshalJSON()) } else { - out.Raw(json.Marshal(v40Value)) + out.Raw(json.Marshal(v43Value)) } } out.RawByte('}') @@ -5822,15 +5864,15 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpNetwork50(in *jlexer.Lexer, ou for !in.IsDelim('}') { key := string(in.String()) in.WantColon() - var v41 interface{} - if m, ok := v41.(easyjson.Unmarshaler); ok { + var v44 interface{} + if m, ok := v44.(easyjson.Unmarshaler); ok { m.UnmarshalEasyJSON(in) - } else if m, ok := v41.(json.Unmarshaler); ok { + } else if m, ok := v44.(json.Unmarshaler); ok { _ = m.UnmarshalJSON(in.Raw()) } else { - v41 = in.Interface() + v44 = in.Interface() } - (out.Headers)[key] = v41 + (out.Headers)[key] = v44 in.WantComma() } in.Delim('}') @@ -5915,20 +5957,20 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpNetwork50(out *jwriter.Writer, out.RawString(`null`) } else { out.RawByte('{') - v42First := true - for v42Name, v42Value := range in.Headers { - if !v42First { + v45First := true + for v45Name, v45Value := range in.Headers { + if !v45First { out.RawByte(',') } - v42First = false - out.String(string(v42Name)) + v45First = false + out.String(string(v45Name)) out.RawByte(':') - if m, ok := v42Value.(easyjson.Marshaler); ok { + if m, ok := v45Value.(easyjson.Marshaler); ok { m.MarshalEasyJSON(out) - } else if m, ok := v42Value.(json.Marshaler); ok { + } else if m, ok := v45Value.(json.Marshaler); ok { out.Raw(m.MarshalJSON()) } else { - out.Raw(json.Marshal(v42Value)) + out.Raw(json.Marshal(v45Value)) } } out.RawByte('}') diff --git a/cdp/network/network.go b/cdp/network/network.go index ab05a74..05e9a17 100644 --- a/cdp/network/network.go +++ b/cdp/network/network.go @@ -702,21 +702,33 @@ func (p *GetCertificateParams) Do(ctxt context.Context, h cdp.Handler) (tableNam return res.TableNames, nil } -// SetRequestInterceptionEnabledParams [no description]. +// SetRequestInterceptionEnabledParams sets the requests to intercept that +// match a the provided patterns. type SetRequestInterceptionEnabledParams struct { - Enabled bool `json:"enabled"` // Whether or not HTTP requests should be intercepted and Network.requestIntercepted events sent. + Enabled bool `json:"enabled"` // Whether requests should be intercepted. If patterns is not set, matches all and resets any previously set patterns. Other parameters are ignored if false. + Patterns []string `json:"patterns,omitempty"` // URLs matching any of these patterns will be forwarded and wait for the corresponding continueInterceptedRequest call. Wildcards ('*' -> zero or more, '?' -> exactly one) are allowed. Escape character is backslash. If omitted equivalent to ['*'] (intercept all). } -// SetRequestInterceptionEnabled [no description]. +// SetRequestInterceptionEnabled sets the requests to intercept that match a +// the provided patterns. // // parameters: -// enabled - Whether or not HTTP requests should be intercepted and Network.requestIntercepted events sent. +// enabled - Whether requests should be intercepted. If patterns is not set, matches all and resets any previously set patterns. Other parameters are ignored if false. func SetRequestInterceptionEnabled(enabled bool) *SetRequestInterceptionEnabledParams { return &SetRequestInterceptionEnabledParams{ Enabled: enabled, } } +// WithPatterns uRLs matching any of these patterns will be forwarded and +// wait for the corresponding continueInterceptedRequest call. Wildcards ('*' -> +// zero or more, '?' -> exactly one) are allowed. Escape character is backslash. +// If omitted equivalent to ['*'] (intercept all). +func (p SetRequestInterceptionEnabledParams) WithPatterns(patterns []string) *SetRequestInterceptionEnabledParams { + p.Patterns = patterns + return &p +} + // Do executes Network.setRequestInterceptionEnabled against the provided context and // target handler. func (p *SetRequestInterceptionEnabledParams) Do(ctxt context.Context, h cdp.Handler) (err error) { diff --git a/cdp/page/easyjson.go b/cdp/page/easyjson.go index 93cd059..ea94855 100644 --- a/cdp/page/easyjson.go +++ b/cdp/page/easyjson.go @@ -462,7 +462,84 @@ func (v *StartScreencastParams) UnmarshalJSON(data []byte) error { func (v *StartScreencastParams) UnmarshalEasyJSON(l *jlexer.Lexer) { easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage4(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage5(in *jlexer.Lexer, out *SetDocumentContentParams) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage5(in *jlexer.Lexer, out *SetDownloadBehaviorParams) { + isTopLevel := in.IsStart() + if in.IsNull() { + if isTopLevel { + in.Consumed() + } + in.Skip() + return + } + in.Delim('{') + for !in.IsDelim('}') { + key := in.UnsafeString() + in.WantColon() + if in.IsNull() { + in.Skip() + in.WantComma() + continue + } + switch key { + case "behavior": + (out.Behavior).UnmarshalEasyJSON(in) + case "downloadPath": + out.DownloadPath = string(in.String()) + default: + in.SkipRecursive() + } + in.WantComma() + } + in.Delim('}') + if isTopLevel { + in.Consumed() + } +} +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage5(out *jwriter.Writer, in SetDownloadBehaviorParams) { + out.RawByte('{') + first := true + _ = first + if !first { + out.RawByte(',') + } + first = false + out.RawString("\"behavior\":") + (in.Behavior).MarshalEasyJSON(out) + if in.DownloadPath != "" { + if !first { + out.RawByte(',') + } + first = false + out.RawString("\"downloadPath\":") + out.String(string(in.DownloadPath)) + } + out.RawByte('}') +} + +// MarshalJSON supports json.Marshaler interface +func (v SetDownloadBehaviorParams) MarshalJSON() ([]byte, error) { + w := jwriter.Writer{} + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage5(&w, v) + return w.Buffer.BuildBytes(), w.Error +} + +// MarshalEasyJSON supports easyjson.Marshaler interface +func (v SetDownloadBehaviorParams) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage5(w, v) +} + +// UnmarshalJSON supports json.Unmarshaler interface +func (v *SetDownloadBehaviorParams) UnmarshalJSON(data []byte) error { + r := jlexer.Lexer{Data: data} + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage5(&r, v) + return r.Error() +} + +// UnmarshalEasyJSON supports easyjson.Unmarshaler interface +func (v *SetDownloadBehaviorParams) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage5(l, v) +} +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage6(in *jlexer.Lexer, out *SetDocumentContentParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -495,7 +572,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage5(in *jlexer.Lexer, out *S in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage5(out *jwriter.Writer, in SetDocumentContentParams) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage6(out *jwriter.Writer, in SetDocumentContentParams) { out.RawByte('{') first := true _ = first @@ -517,27 +594,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage5(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v SetDocumentContentParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage5(&w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage6(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v SetDocumentContentParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage5(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage6(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *SetDocumentContentParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage5(&r, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage6(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *SetDocumentContentParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage5(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage6(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage6(in *jlexer.Lexer, out *SetAutoAttachToCreatedPagesParams) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage7(in *jlexer.Lexer, out *SetAutoAttachToCreatedPagesParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -568,7 +645,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage6(in *jlexer.Lexer, out *S in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage6(out *jwriter.Writer, in SetAutoAttachToCreatedPagesParams) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage7(out *jwriter.Writer, in SetAutoAttachToCreatedPagesParams) { out.RawByte('{') first := true _ = first @@ -584,27 +661,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage6(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v SetAutoAttachToCreatedPagesParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage6(&w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage7(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v SetAutoAttachToCreatedPagesParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage6(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage7(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *SetAutoAttachToCreatedPagesParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage6(&r, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage7(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *SetAutoAttachToCreatedPagesParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage6(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage7(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage7(in *jlexer.Lexer, out *SetAdBlockingEnabledParams) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage8(in *jlexer.Lexer, out *SetAdBlockingEnabledParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -635,7 +712,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage7(in *jlexer.Lexer, out *S in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage7(out *jwriter.Writer, in SetAdBlockingEnabledParams) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage8(out *jwriter.Writer, in SetAdBlockingEnabledParams) { out.RawByte('{') first := true _ = first @@ -651,27 +728,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage7(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v SetAdBlockingEnabledParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage7(&w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage8(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v SetAdBlockingEnabledParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage7(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage8(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *SetAdBlockingEnabledParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage7(&r, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage8(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *SetAdBlockingEnabledParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage7(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage8(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage8(in *jlexer.Lexer, out *SearchInResourceReturns) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage9(in *jlexer.Lexer, out *SearchInResourceReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -731,7 +808,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage8(in *jlexer.Lexer, out *S in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage8(out *jwriter.Writer, in SearchInResourceReturns) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage9(out *jwriter.Writer, in SearchInResourceReturns) { out.RawByte('{') first := true _ = first @@ -764,27 +841,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage8(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v SearchInResourceReturns) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage8(&w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage9(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v SearchInResourceReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage8(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage9(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *SearchInResourceReturns) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage8(&r, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage9(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *SearchInResourceReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage8(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage9(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage9(in *jlexer.Lexer, out *SearchInResourceParams) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage10(in *jlexer.Lexer, out *SearchInResourceParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -823,7 +900,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage9(in *jlexer.Lexer, out *S in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage9(out *jwriter.Writer, in SearchInResourceParams) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage10(out *jwriter.Writer, in SearchInResourceParams) { out.RawByte('{') first := true _ = first @@ -867,27 +944,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage9(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v SearchInResourceParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage9(&w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage10(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v SearchInResourceParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage9(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage10(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *SearchInResourceParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage9(&r, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage10(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *SearchInResourceParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage9(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage10(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage10(in *jlexer.Lexer, out *ScreencastFrameMetadata) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage11(in *jlexer.Lexer, out *ScreencastFrameMetadata) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -938,7 +1015,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage10(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage10(out *jwriter.Writer, in ScreencastFrameMetadata) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage11(out *jwriter.Writer, in ScreencastFrameMetadata) { out.RawByte('{') first := true _ = first @@ -996,27 +1073,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage10(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v ScreencastFrameMetadata) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage10(&w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage11(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v ScreencastFrameMetadata) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage10(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage11(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *ScreencastFrameMetadata) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage10(&r, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage11(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *ScreencastFrameMetadata) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage10(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage11(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage11(in *jlexer.Lexer, out *ScreencastFrameAckParams) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage12(in *jlexer.Lexer, out *ScreencastFrameAckParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1047,7 +1124,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage11(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage11(out *jwriter.Writer, in ScreencastFrameAckParams) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage12(out *jwriter.Writer, in ScreencastFrameAckParams) { out.RawByte('{') first := true _ = first @@ -1063,27 +1140,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage11(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v ScreencastFrameAckParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage11(&w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage12(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v ScreencastFrameAckParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage11(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage12(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *ScreencastFrameAckParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage11(&r, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage12(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *ScreencastFrameAckParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage11(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage12(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage12(in *jlexer.Lexer, out *RequestAppBannerParams) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage13(in *jlexer.Lexer, out *RequestAppBannerParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1112,7 +1189,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage12(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage12(out *jwriter.Writer, in RequestAppBannerParams) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage13(out *jwriter.Writer, in RequestAppBannerParams) { out.RawByte('{') first := true _ = first @@ -1122,27 +1199,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage12(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v RequestAppBannerParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage12(&w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage13(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v RequestAppBannerParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage12(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage13(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *RequestAppBannerParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage12(&r, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage13(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *RequestAppBannerParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage12(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage13(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage13(in *jlexer.Lexer, out *RemoveScriptToEvaluateOnNewDocumentParams) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage14(in *jlexer.Lexer, out *RemoveScriptToEvaluateOnNewDocumentParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1173,7 +1250,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage13(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage13(out *jwriter.Writer, in RemoveScriptToEvaluateOnNewDocumentParams) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage14(out *jwriter.Writer, in RemoveScriptToEvaluateOnNewDocumentParams) { out.RawByte('{') first := true _ = first @@ -1189,27 +1266,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage13(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v RemoveScriptToEvaluateOnNewDocumentParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage13(&w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage14(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v RemoveScriptToEvaluateOnNewDocumentParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage13(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage14(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *RemoveScriptToEvaluateOnNewDocumentParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage13(&r, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage14(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *RemoveScriptToEvaluateOnNewDocumentParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage13(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage14(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage14(in *jlexer.Lexer, out *ReloadParams) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage15(in *jlexer.Lexer, out *ReloadParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1242,7 +1319,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage14(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage14(out *jwriter.Writer, in ReloadParams) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage15(out *jwriter.Writer, in ReloadParams) { out.RawByte('{') first := true _ = first @@ -1268,27 +1345,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage14(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v ReloadParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage14(&w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage15(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v ReloadParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage14(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage15(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *ReloadParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage14(&r, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage15(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *ReloadParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage14(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage15(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage15(in *jlexer.Lexer, out *PrintToPDFReturns) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage16(in *jlexer.Lexer, out *PrintToPDFReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1319,7 +1396,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage15(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage15(out *jwriter.Writer, in PrintToPDFReturns) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage16(out *jwriter.Writer, in PrintToPDFReturns) { out.RawByte('{') first := true _ = first @@ -1337,27 +1414,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage15(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v PrintToPDFReturns) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage15(&w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage16(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v PrintToPDFReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage15(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage16(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *PrintToPDFReturns) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage15(&r, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage16(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *PrintToPDFReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage15(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage16(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage16(in *jlexer.Lexer, out *PrintToPDFParams) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage17(in *jlexer.Lexer, out *PrintToPDFParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1410,7 +1487,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage16(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage16(out *jwriter.Writer, in PrintToPDFParams) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage17(out *jwriter.Writer, in PrintToPDFParams) { out.RawByte('{') first := true _ = first @@ -1516,27 +1593,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage16(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v PrintToPDFParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage16(&w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage17(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v PrintToPDFParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage16(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage17(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *PrintToPDFParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage16(&r, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage17(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *PrintToPDFParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage16(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage17(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage17(in *jlexer.Lexer, out *NavigationEntry) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage18(in *jlexer.Lexer, out *NavigationEntry) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1575,7 +1652,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage17(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage17(out *jwriter.Writer, in NavigationEntry) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage18(out *jwriter.Writer, in NavigationEntry) { out.RawByte('{') first := true _ = first @@ -1615,27 +1692,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage17(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v NavigationEntry) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage17(&w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage18(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v NavigationEntry) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage17(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage18(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *NavigationEntry) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage17(&r, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage18(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *NavigationEntry) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage17(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage18(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage18(in *jlexer.Lexer, out *NavigateToHistoryEntryParams) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage19(in *jlexer.Lexer, out *NavigateToHistoryEntryParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1666,7 +1743,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage18(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage18(out *jwriter.Writer, in NavigateToHistoryEntryParams) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage19(out *jwriter.Writer, in NavigateToHistoryEntryParams) { out.RawByte('{') first := true _ = first @@ -1682,27 +1759,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage18(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v NavigateToHistoryEntryParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage18(&w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage19(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v NavigateToHistoryEntryParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage18(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage19(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *NavigateToHistoryEntryParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage18(&r, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage19(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *NavigateToHistoryEntryParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage18(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage19(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage19(in *jlexer.Lexer, out *NavigateReturns) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage20(in *jlexer.Lexer, out *NavigateReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1733,7 +1810,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage19(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage19(out *jwriter.Writer, in NavigateReturns) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage20(out *jwriter.Writer, in NavigateReturns) { out.RawByte('{') first := true _ = first @@ -1751,27 +1828,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage19(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v NavigateReturns) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage19(&w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage20(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v NavigateReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage19(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage20(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *NavigateReturns) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage19(&r, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage20(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *NavigateReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage19(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage20(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage20(in *jlexer.Lexer, out *NavigateParams) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage21(in *jlexer.Lexer, out *NavigateParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1806,7 +1883,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage20(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage20(out *jwriter.Writer, in NavigateParams) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage21(out *jwriter.Writer, in NavigateParams) { out.RawByte('{') first := true _ = first @@ -1838,27 +1915,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage20(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v NavigateParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage20(&w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage21(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v NavigateParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage20(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage21(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *NavigateParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage20(&r, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage21(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *NavigateParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage20(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage21(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage21(in *jlexer.Lexer, out *LayoutViewport) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage22(in *jlexer.Lexer, out *LayoutViewport) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1895,7 +1972,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage21(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage21(out *jwriter.Writer, in LayoutViewport) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage22(out *jwriter.Writer, in LayoutViewport) { out.RawByte('{') first := true _ = first @@ -1929,27 +2006,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage21(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v LayoutViewport) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage21(&w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage22(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v LayoutViewport) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage21(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage22(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *LayoutViewport) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage21(&r, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage22(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *LayoutViewport) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage21(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage22(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage22(in *jlexer.Lexer, out *HandleJavaScriptDialogParams) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage23(in *jlexer.Lexer, out *HandleJavaScriptDialogParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1982,7 +2059,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage22(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage22(out *jwriter.Writer, in HandleJavaScriptDialogParams) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage23(out *jwriter.Writer, in HandleJavaScriptDialogParams) { out.RawByte('{') first := true _ = first @@ -2006,27 +2083,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage22(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v HandleJavaScriptDialogParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage22(&w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage23(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v HandleJavaScriptDialogParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage22(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage23(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *HandleJavaScriptDialogParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage22(&r, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage23(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *HandleJavaScriptDialogParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage22(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage23(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage23(in *jlexer.Lexer, out *GetResourceTreeReturns) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage24(in *jlexer.Lexer, out *GetResourceTreeReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2065,7 +2142,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage23(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage23(out *jwriter.Writer, in GetResourceTreeReturns) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage24(out *jwriter.Writer, in GetResourceTreeReturns) { out.RawByte('{') first := true _ = first @@ -2087,27 +2164,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage23(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v GetResourceTreeReturns) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage23(&w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage24(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetResourceTreeReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage23(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage24(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetResourceTreeReturns) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage23(&r, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage24(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetResourceTreeReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage23(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage24(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage24(in *jlexer.Lexer, out *GetResourceTreeParams) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage25(in *jlexer.Lexer, out *GetResourceTreeParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2136,7 +2213,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage24(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage24(out *jwriter.Writer, in GetResourceTreeParams) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage25(out *jwriter.Writer, in GetResourceTreeParams) { out.RawByte('{') first := true _ = first @@ -2146,27 +2223,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage24(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v GetResourceTreeParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage24(&w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage25(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetResourceTreeParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage24(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage25(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetResourceTreeParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage24(&r, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage25(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetResourceTreeParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage24(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage25(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage25(in *jlexer.Lexer, out *GetResourceContentReturns) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage26(in *jlexer.Lexer, out *GetResourceContentReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2199,7 +2276,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage25(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage25(out *jwriter.Writer, in GetResourceContentReturns) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage26(out *jwriter.Writer, in GetResourceContentReturns) { out.RawByte('{') first := true _ = first @@ -2225,27 +2302,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage25(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v GetResourceContentReturns) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage25(&w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage26(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetResourceContentReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage25(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage26(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetResourceContentReturns) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage25(&r, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage26(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetResourceContentReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage25(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage26(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage26(in *jlexer.Lexer, out *GetResourceContentParams) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage27(in *jlexer.Lexer, out *GetResourceContentParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2278,7 +2355,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage26(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage26(out *jwriter.Writer, in GetResourceContentParams) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage27(out *jwriter.Writer, in GetResourceContentParams) { out.RawByte('{') first := true _ = first @@ -2300,27 +2377,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage26(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v GetResourceContentParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage26(&w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage27(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetResourceContentParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage26(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage27(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetResourceContentParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage26(&r, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage27(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetResourceContentParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage26(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage27(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage27(in *jlexer.Lexer, out *GetNavigationHistoryReturns) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage28(in *jlexer.Lexer, out *GetNavigationHistoryReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2382,7 +2459,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage27(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage27(out *jwriter.Writer, in GetNavigationHistoryReturns) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage28(out *jwriter.Writer, in GetNavigationHistoryReturns) { out.RawByte('{') first := true _ = first @@ -2423,27 +2500,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage27(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v GetNavigationHistoryReturns) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage27(&w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage28(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetNavigationHistoryReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage27(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage28(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetNavigationHistoryReturns) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage27(&r, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage28(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetNavigationHistoryReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage27(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage28(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage28(in *jlexer.Lexer, out *GetNavigationHistoryParams) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage29(in *jlexer.Lexer, out *GetNavigationHistoryParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2472,7 +2549,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage28(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage28(out *jwriter.Writer, in GetNavigationHistoryParams) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage29(out *jwriter.Writer, in GetNavigationHistoryParams) { out.RawByte('{') first := true _ = first @@ -2482,27 +2559,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage28(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v GetNavigationHistoryParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage28(&w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage29(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetNavigationHistoryParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage28(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage29(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetNavigationHistoryParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage28(&r, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage29(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetNavigationHistoryParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage28(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage29(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage29(in *jlexer.Lexer, out *GetLayoutMetricsReturns) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage30(in *jlexer.Lexer, out *GetLayoutMetricsReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2561,7 +2638,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage29(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage29(out *jwriter.Writer, in GetLayoutMetricsReturns) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage30(out *jwriter.Writer, in GetLayoutMetricsReturns) { out.RawByte('{') first := true _ = first @@ -2607,27 +2684,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage29(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v GetLayoutMetricsReturns) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage29(&w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage30(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetLayoutMetricsReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage29(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage30(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetLayoutMetricsReturns) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage29(&r, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage30(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetLayoutMetricsReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage29(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage30(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage30(in *jlexer.Lexer, out *GetLayoutMetricsParams) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage31(in *jlexer.Lexer, out *GetLayoutMetricsParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2656,7 +2733,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage30(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage30(out *jwriter.Writer, in GetLayoutMetricsParams) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage31(out *jwriter.Writer, in GetLayoutMetricsParams) { out.RawByte('{') first := true _ = first @@ -2666,27 +2743,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage30(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v GetLayoutMetricsParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage30(&w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage31(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetLayoutMetricsParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage30(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage31(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetLayoutMetricsParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage30(&r, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage31(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetLayoutMetricsParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage30(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage31(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage31(in *jlexer.Lexer, out *GetAppManifestReturns) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage32(in *jlexer.Lexer, out *GetAppManifestReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2750,7 +2827,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage31(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage31(out *jwriter.Writer, in GetAppManifestReturns) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage32(out *jwriter.Writer, in GetAppManifestReturns) { out.RawByte('{') first := true _ = first @@ -2799,27 +2876,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage31(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v GetAppManifestReturns) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage31(&w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage32(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetAppManifestReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage31(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage32(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetAppManifestReturns) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage31(&r, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage32(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetAppManifestReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage31(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage32(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage32(in *jlexer.Lexer, out *GetAppManifestParams) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage33(in *jlexer.Lexer, out *GetAppManifestParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2848,7 +2925,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage32(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage32(out *jwriter.Writer, in GetAppManifestParams) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage33(out *jwriter.Writer, in GetAppManifestParams) { out.RawByte('{') first := true _ = first @@ -2858,27 +2935,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage32(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v GetAppManifestParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage32(&w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage33(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetAppManifestParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage32(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage33(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetAppManifestParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage32(&r, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage33(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetAppManifestParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage32(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage33(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage33(in *jlexer.Lexer, out *FrameResourceTree) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage34(in *jlexer.Lexer, out *FrameResourceTree) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2979,7 +3056,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage33(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage33(out *jwriter.Writer, in FrameResourceTree) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage34(out *jwriter.Writer, in FrameResourceTree) { out.RawByte('{') first := true _ = first @@ -3043,27 +3120,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage33(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v FrameResourceTree) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage33(&w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage34(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v FrameResourceTree) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage33(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage34(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *FrameResourceTree) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage33(&r, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage34(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *FrameResourceTree) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage33(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage34(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage34(in *jlexer.Lexer, out *FrameResource) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage35(in *jlexer.Lexer, out *FrameResource) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -3114,7 +3191,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage34(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage34(out *jwriter.Writer, in FrameResource) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage35(out *jwriter.Writer, in FrameResource) { out.RawByte('{') first := true _ = first @@ -3178,27 +3255,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage34(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v FrameResource) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage34(&w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage35(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v FrameResource) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage34(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage35(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *FrameResource) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage34(&r, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage35(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *FrameResource) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage34(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage35(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage35(in *jlexer.Lexer, out *EventScreencastVisibilityChanged) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage36(in *jlexer.Lexer, out *EventScreencastVisibilityChanged) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -3229,7 +3306,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage35(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage35(out *jwriter.Writer, in EventScreencastVisibilityChanged) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage36(out *jwriter.Writer, in EventScreencastVisibilityChanged) { out.RawByte('{') first := true _ = first @@ -3245,27 +3322,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage35(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v EventScreencastVisibilityChanged) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage35(&w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage36(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventScreencastVisibilityChanged) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage35(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage36(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventScreencastVisibilityChanged) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage35(&r, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage36(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventScreencastVisibilityChanged) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage35(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage36(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage36(in *jlexer.Lexer, out *EventScreencastFrame) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage37(in *jlexer.Lexer, out *EventScreencastFrame) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -3308,7 +3385,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage36(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage36(out *jwriter.Writer, in EventScreencastFrame) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage37(out *jwriter.Writer, in EventScreencastFrame) { out.RawByte('{') first := true _ = first @@ -3340,27 +3417,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage36(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v EventScreencastFrame) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage36(&w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage37(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventScreencastFrame) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage36(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage37(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventScreencastFrame) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage36(&r, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage37(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventScreencastFrame) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage36(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage37(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage37(in *jlexer.Lexer, out *EventLoadEventFired) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage38(in *jlexer.Lexer, out *EventLoadEventFired) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -3399,7 +3476,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage37(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage37(out *jwriter.Writer, in EventLoadEventFired) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage38(out *jwriter.Writer, in EventLoadEventFired) { out.RawByte('{') first := true _ = first @@ -3419,27 +3496,114 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage37(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v EventLoadEventFired) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage37(&w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage38(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventLoadEventFired) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage37(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage38(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventLoadEventFired) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage37(&r, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage38(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventLoadEventFired) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage37(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage38(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage38(in *jlexer.Lexer, out *EventJavascriptDialogOpening) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage39(in *jlexer.Lexer, out *EventLifecycleEvent) { + isTopLevel := in.IsStart() + if in.IsNull() { + if isTopLevel { + in.Consumed() + } + in.Skip() + return + } + in.Delim('{') + for !in.IsDelim('}') { + key := in.UnsafeString() + in.WantColon() + if in.IsNull() { + in.Skip() + in.WantComma() + continue + } + switch key { + case "name": + out.Name = string(in.String()) + case "timestamp": + if in.IsNull() { + in.Skip() + out.Timestamp = nil + } else { + if out.Timestamp == nil { + out.Timestamp = new(cdp.MonotonicTime) + } + (*out.Timestamp).UnmarshalEasyJSON(in) + } + default: + in.SkipRecursive() + } + in.WantComma() + } + in.Delim('}') + if isTopLevel { + in.Consumed() + } +} +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage39(out *jwriter.Writer, in EventLifecycleEvent) { + out.RawByte('{') + first := true + _ = first + if !first { + out.RawByte(',') + } + first = false + out.RawString("\"name\":") + out.String(string(in.Name)) + if !first { + out.RawByte(',') + } + first = false + out.RawString("\"timestamp\":") + if in.Timestamp == nil { + out.RawString("null") + } else { + (*in.Timestamp).MarshalEasyJSON(out) + } + out.RawByte('}') +} + +// MarshalJSON supports json.Marshaler interface +func (v EventLifecycleEvent) MarshalJSON() ([]byte, error) { + w := jwriter.Writer{} + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage39(&w, v) + return w.Buffer.BuildBytes(), w.Error +} + +// MarshalEasyJSON supports easyjson.Marshaler interface +func (v EventLifecycleEvent) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage39(w, v) +} + +// UnmarshalJSON supports json.Unmarshaler interface +func (v *EventLifecycleEvent) UnmarshalJSON(data []byte) error { + r := jlexer.Lexer{Data: data} + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage39(&r, v) + return r.Error() +} + +// UnmarshalEasyJSON supports easyjson.Unmarshaler interface +func (v *EventLifecycleEvent) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage39(l, v) +} +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage40(in *jlexer.Lexer, out *EventJavascriptDialogOpening) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -3476,7 +3640,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage38(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage38(out *jwriter.Writer, in EventJavascriptDialogOpening) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage40(out *jwriter.Writer, in EventJavascriptDialogOpening) { out.RawByte('{') first := true _ = first @@ -3512,27 +3676,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage38(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v EventJavascriptDialogOpening) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage38(&w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage40(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventJavascriptDialogOpening) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage38(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage40(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventJavascriptDialogOpening) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage38(&r, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage40(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventJavascriptDialogOpening) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage38(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage40(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage39(in *jlexer.Lexer, out *EventJavascriptDialogClosed) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage41(in *jlexer.Lexer, out *EventJavascriptDialogClosed) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -3565,7 +3729,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage39(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage39(out *jwriter.Writer, in EventJavascriptDialogClosed) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage41(out *jwriter.Writer, in EventJavascriptDialogClosed) { out.RawByte('{') first := true _ = first @@ -3587,27 +3751,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage39(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v EventJavascriptDialogClosed) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage39(&w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage41(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventJavascriptDialogClosed) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage39(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage41(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventJavascriptDialogClosed) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage39(&r, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage41(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventJavascriptDialogClosed) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage39(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage41(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage40(in *jlexer.Lexer, out *EventInterstitialShown) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage42(in *jlexer.Lexer, out *EventInterstitialShown) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -3636,7 +3800,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage40(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage40(out *jwriter.Writer, in EventInterstitialShown) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage42(out *jwriter.Writer, in EventInterstitialShown) { out.RawByte('{') first := true _ = first @@ -3646,27 +3810,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage40(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v EventInterstitialShown) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage40(&w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage42(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventInterstitialShown) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage40(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage42(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventInterstitialShown) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage40(&r, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage42(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventInterstitialShown) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage40(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage42(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage41(in *jlexer.Lexer, out *EventInterstitialHidden) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage43(in *jlexer.Lexer, out *EventInterstitialHidden) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -3695,7 +3859,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage41(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage41(out *jwriter.Writer, in EventInterstitialHidden) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage43(out *jwriter.Writer, in EventInterstitialHidden) { out.RawByte('{') first := true _ = first @@ -3705,27 +3869,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage41(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v EventInterstitialHidden) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage41(&w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage43(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventInterstitialHidden) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage41(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage43(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventInterstitialHidden) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage41(&r, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage43(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventInterstitialHidden) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage41(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage43(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage42(in *jlexer.Lexer, out *EventFrameStoppedLoading) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage44(in *jlexer.Lexer, out *EventFrameStoppedLoading) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -3756,7 +3920,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage42(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage42(out *jwriter.Writer, in EventFrameStoppedLoading) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage44(out *jwriter.Writer, in EventFrameStoppedLoading) { out.RawByte('{') first := true _ = first @@ -3772,27 +3936,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage42(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v EventFrameStoppedLoading) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage42(&w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage44(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventFrameStoppedLoading) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage42(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage44(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventFrameStoppedLoading) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage42(&r, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage44(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventFrameStoppedLoading) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage42(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage44(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage43(in *jlexer.Lexer, out *EventFrameStartedLoading) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage45(in *jlexer.Lexer, out *EventFrameStartedLoading) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -3823,7 +3987,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage43(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage43(out *jwriter.Writer, in EventFrameStartedLoading) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage45(out *jwriter.Writer, in EventFrameStartedLoading) { out.RawByte('{') first := true _ = first @@ -3839,27 +4003,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage43(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v EventFrameStartedLoading) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage43(&w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage45(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventFrameStartedLoading) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage43(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage45(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventFrameStartedLoading) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage43(&r, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage45(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventFrameStartedLoading) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage43(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage45(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage44(in *jlexer.Lexer, out *EventFrameScheduledNavigation) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage46(in *jlexer.Lexer, out *EventFrameScheduledNavigation) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -3896,7 +4060,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage44(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage44(out *jwriter.Writer, in EventFrameScheduledNavigation) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage46(out *jwriter.Writer, in EventFrameScheduledNavigation) { out.RawByte('{') first := true _ = first @@ -3930,27 +4094,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage44(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v EventFrameScheduledNavigation) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage44(&w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage46(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventFrameScheduledNavigation) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage44(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage46(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventFrameScheduledNavigation) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage44(&r, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage46(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventFrameScheduledNavigation) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage44(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage46(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage45(in *jlexer.Lexer, out *EventFrameResized) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage47(in *jlexer.Lexer, out *EventFrameResized) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -3979,7 +4143,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage45(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage45(out *jwriter.Writer, in EventFrameResized) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage47(out *jwriter.Writer, in EventFrameResized) { out.RawByte('{') first := true _ = first @@ -3989,27 +4153,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage45(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v EventFrameResized) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage45(&w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage47(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventFrameResized) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage45(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage47(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventFrameResized) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage45(&r, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage47(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventFrameResized) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage45(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage47(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage46(in *jlexer.Lexer, out *EventFrameNavigated) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage48(in *jlexer.Lexer, out *EventFrameNavigated) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -4048,7 +4212,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage46(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage46(out *jwriter.Writer, in EventFrameNavigated) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage48(out *jwriter.Writer, in EventFrameNavigated) { out.RawByte('{') first := true _ = first @@ -4068,27 +4232,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage46(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v EventFrameNavigated) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage46(&w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage48(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventFrameNavigated) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage46(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage48(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventFrameNavigated) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage46(&r, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage48(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventFrameNavigated) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage46(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage48(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage47(in *jlexer.Lexer, out *EventFrameDetached) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage49(in *jlexer.Lexer, out *EventFrameDetached) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -4119,7 +4283,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage47(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage47(out *jwriter.Writer, in EventFrameDetached) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage49(out *jwriter.Writer, in EventFrameDetached) { out.RawByte('{') first := true _ = first @@ -4135,27 +4299,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage47(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v EventFrameDetached) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage47(&w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage49(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventFrameDetached) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage47(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage49(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventFrameDetached) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage47(&r, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage49(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventFrameDetached) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage47(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage49(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage48(in *jlexer.Lexer, out *EventFrameClearedScheduledNavigation) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage50(in *jlexer.Lexer, out *EventFrameClearedScheduledNavigation) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -4186,7 +4350,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage48(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage48(out *jwriter.Writer, in EventFrameClearedScheduledNavigation) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage50(out *jwriter.Writer, in EventFrameClearedScheduledNavigation) { out.RawByte('{') first := true _ = first @@ -4202,27 +4366,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage48(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v EventFrameClearedScheduledNavigation) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage48(&w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage50(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventFrameClearedScheduledNavigation) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage48(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage50(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventFrameClearedScheduledNavigation) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage48(&r, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage50(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventFrameClearedScheduledNavigation) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage48(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage50(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage49(in *jlexer.Lexer, out *EventFrameAttached) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage51(in *jlexer.Lexer, out *EventFrameAttached) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -4265,7 +4429,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage49(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage49(out *jwriter.Writer, in EventFrameAttached) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage51(out *jwriter.Writer, in EventFrameAttached) { out.RawByte('{') first := true _ = first @@ -4299,27 +4463,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage49(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v EventFrameAttached) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage49(&w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage51(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventFrameAttached) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage49(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage51(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventFrameAttached) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage49(&r, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage51(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventFrameAttached) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage49(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage51(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage50(in *jlexer.Lexer, out *EventDomContentEventFired) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage52(in *jlexer.Lexer, out *EventDomContentEventFired) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -4358,7 +4522,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage50(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage50(out *jwriter.Writer, in EventDomContentEventFired) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage52(out *jwriter.Writer, in EventDomContentEventFired) { out.RawByte('{') first := true _ = first @@ -4378,27 +4542,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage50(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v EventDomContentEventFired) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage50(&w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage52(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventDomContentEventFired) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage50(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage52(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventDomContentEventFired) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage50(&r, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage52(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventDomContentEventFired) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage50(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage52(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage51(in *jlexer.Lexer, out *EnableParams) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage53(in *jlexer.Lexer, out *EnableParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -4427,7 +4591,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage51(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage51(out *jwriter.Writer, in EnableParams) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage53(out *jwriter.Writer, in EnableParams) { out.RawByte('{') first := true _ = first @@ -4437,27 +4601,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage51(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v EnableParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage51(&w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage53(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EnableParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage51(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage53(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EnableParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage51(&r, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage53(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EnableParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage51(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage53(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage52(in *jlexer.Lexer, out *DisableParams) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage54(in *jlexer.Lexer, out *DisableParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -4486,7 +4650,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage52(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage52(out *jwriter.Writer, in DisableParams) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage54(out *jwriter.Writer, in DisableParams) { out.RawByte('{') first := true _ = first @@ -4496,27 +4660,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage52(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v DisableParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage52(&w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage54(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v DisableParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage52(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage54(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *DisableParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage52(&r, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage54(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *DisableParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage52(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage54(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage53(in *jlexer.Lexer, out *CreateIsolatedWorldReturns) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage55(in *jlexer.Lexer, out *CreateIsolatedWorldReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -4547,7 +4711,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage53(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage53(out *jwriter.Writer, in CreateIsolatedWorldReturns) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage55(out *jwriter.Writer, in CreateIsolatedWorldReturns) { out.RawByte('{') first := true _ = first @@ -4565,27 +4729,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage53(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v CreateIsolatedWorldReturns) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage53(&w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage55(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v CreateIsolatedWorldReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage53(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage55(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *CreateIsolatedWorldReturns) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage53(&r, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage55(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *CreateIsolatedWorldReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage53(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage55(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage54(in *jlexer.Lexer, out *CreateIsolatedWorldParams) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage56(in *jlexer.Lexer, out *CreateIsolatedWorldParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -4620,7 +4784,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage54(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage54(out *jwriter.Writer, in CreateIsolatedWorldParams) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage56(out *jwriter.Writer, in CreateIsolatedWorldParams) { out.RawByte('{') first := true _ = first @@ -4652,27 +4816,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage54(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v CreateIsolatedWorldParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage54(&w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage56(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v CreateIsolatedWorldParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage54(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage56(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *CreateIsolatedWorldParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage54(&r, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage56(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *CreateIsolatedWorldParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage54(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage56(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage55(in *jlexer.Lexer, out *CaptureScreenshotReturns) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage57(in *jlexer.Lexer, out *CaptureScreenshotReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -4703,7 +4867,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage55(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage55(out *jwriter.Writer, in CaptureScreenshotReturns) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage57(out *jwriter.Writer, in CaptureScreenshotReturns) { out.RawByte('{') first := true _ = first @@ -4721,27 +4885,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage55(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v CaptureScreenshotReturns) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage55(&w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage57(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v CaptureScreenshotReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage55(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage57(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *CaptureScreenshotReturns) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage55(&r, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage57(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *CaptureScreenshotReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage55(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage57(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage56(in *jlexer.Lexer, out *CaptureScreenshotParams) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage58(in *jlexer.Lexer, out *CaptureScreenshotParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -4786,7 +4950,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage56(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage56(out *jwriter.Writer, in CaptureScreenshotParams) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage58(out *jwriter.Writer, in CaptureScreenshotParams) { out.RawByte('{') first := true _ = first @@ -4832,27 +4996,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage56(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v CaptureScreenshotParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage56(&w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage58(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v CaptureScreenshotParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage56(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage58(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *CaptureScreenshotParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage56(&r, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage58(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *CaptureScreenshotParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage56(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage58(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage57(in *jlexer.Lexer, out *BringToFrontParams) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage59(in *jlexer.Lexer, out *BringToFrontParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -4881,7 +5045,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage57(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage57(out *jwriter.Writer, in BringToFrontParams) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage59(out *jwriter.Writer, in BringToFrontParams) { out.RawByte('{') first := true _ = first @@ -4891,27 +5055,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage57(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v BringToFrontParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage57(&w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage59(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v BringToFrontParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage57(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage59(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *BringToFrontParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage57(&r, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage59(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *BringToFrontParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage57(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage59(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage58(in *jlexer.Lexer, out *AppManifestError) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage60(in *jlexer.Lexer, out *AppManifestError) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -4948,7 +5112,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage58(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage58(out *jwriter.Writer, in AppManifestError) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage60(out *jwriter.Writer, in AppManifestError) { out.RawByte('{') first := true _ = first @@ -4982,27 +5146,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage58(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v AppManifestError) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage58(&w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage60(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v AppManifestError) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage58(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage60(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *AppManifestError) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage58(&r, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage60(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *AppManifestError) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage58(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage60(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage59(in *jlexer.Lexer, out *AddScriptToEvaluateOnNewDocumentReturns) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage61(in *jlexer.Lexer, out *AddScriptToEvaluateOnNewDocumentReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -5033,7 +5197,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage59(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage59(out *jwriter.Writer, in AddScriptToEvaluateOnNewDocumentReturns) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage61(out *jwriter.Writer, in AddScriptToEvaluateOnNewDocumentReturns) { out.RawByte('{') first := true _ = first @@ -5051,27 +5215,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage59(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v AddScriptToEvaluateOnNewDocumentReturns) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage59(&w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage61(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v AddScriptToEvaluateOnNewDocumentReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage59(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage61(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *AddScriptToEvaluateOnNewDocumentReturns) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage59(&r, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage61(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *AddScriptToEvaluateOnNewDocumentReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage59(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage61(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage60(in *jlexer.Lexer, out *AddScriptToEvaluateOnNewDocumentParams) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage62(in *jlexer.Lexer, out *AddScriptToEvaluateOnNewDocumentParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -5102,7 +5266,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage60(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage60(out *jwriter.Writer, in AddScriptToEvaluateOnNewDocumentParams) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage62(out *jwriter.Writer, in AddScriptToEvaluateOnNewDocumentParams) { out.RawByte('{') first := true _ = first @@ -5118,23 +5282,23 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage60(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v AddScriptToEvaluateOnNewDocumentParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage60(&w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage62(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v AddScriptToEvaluateOnNewDocumentParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage60(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage62(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *AddScriptToEvaluateOnNewDocumentParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage60(&r, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage62(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *AddScriptToEvaluateOnNewDocumentParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage60(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage62(l, v) } diff --git a/cdp/page/events.go b/cdp/page/events.go index b380186..17b26b1 100644 --- a/cdp/page/events.go +++ b/cdp/page/events.go @@ -17,6 +17,13 @@ type EventLoadEventFired struct { Timestamp *cdp.MonotonicTime `json:"timestamp"` } +// EventLifecycleEvent fired for top level page lifecycle events such as +// navigation, load, paint, etc. +type EventLifecycleEvent struct { + Name string `json:"name"` + Timestamp *cdp.MonotonicTime `json:"timestamp"` +} + // EventFrameAttached fired when frame has been attached to its parent. type EventFrameAttached struct { FrameID cdp.FrameID `json:"frameId"` // Id of the frame that has been attached. @@ -103,6 +110,7 @@ type EventInterstitialHidden struct{} var EventTypes = []cdp.MethodType{ cdp.EventPageDomContentEventFired, cdp.EventPageLoadEventFired, + cdp.EventPageLifecycleEvent, cdp.EventPageFrameAttached, cdp.EventPageFrameNavigated, cdp.EventPageFrameDetached, diff --git a/cdp/page/page.go b/cdp/page/page.go index 418f199..d70e647 100644 --- a/cdp/page/page.go +++ b/cdp/page/page.go @@ -922,3 +922,32 @@ func BringToFront() *BringToFrontParams { func (p *BringToFrontParams) Do(ctxt context.Context, h cdp.Handler) (err error) { return h.Execute(ctxt, cdp.CommandPageBringToFront, nil, nil) } + +// SetDownloadBehaviorParams set the behavior when downloading a file. +type SetDownloadBehaviorParams struct { + Behavior SetDownloadBehaviorBehavior `json:"behavior"` // Whether to allow all or deny all download requests, or use default Chrome behavior if available (otherwise deny). + DownloadPath string `json:"downloadPath,omitempty"` // The default path to save downloaded files to. This is required if behavior is set to 'allow' +} + +// SetDownloadBehavior set the behavior when downloading a file. +// +// parameters: +// behavior - Whether to allow all or deny all download requests, or use default Chrome behavior if available (otherwise deny). +func SetDownloadBehavior(behavior SetDownloadBehaviorBehavior) *SetDownloadBehaviorParams { + return &SetDownloadBehaviorParams{ + Behavior: behavior, + } +} + +// WithDownloadPath the default path to save downloaded files to. This is +// required if behavior is set to 'allow'. +func (p SetDownloadBehaviorParams) WithDownloadPath(downloadPath string) *SetDownloadBehaviorParams { + p.DownloadPath = downloadPath + return &p +} + +// Do executes Page.setDownloadBehavior against the provided context and +// target handler. +func (p *SetDownloadBehaviorParams) Do(ctxt context.Context, h cdp.Handler) (err error) { + return h.Execute(ctxt, cdp.CommandPageSetDownloadBehavior, p, nil) +} diff --git a/cdp/page/types.go b/cdp/page/types.go index 8853402..9c9142e 100644 --- a/cdp/page/types.go +++ b/cdp/page/types.go @@ -473,3 +473,49 @@ func (t *ScreencastFormat) UnmarshalEasyJSON(in *jlexer.Lexer) { func (t *ScreencastFormat) UnmarshalJSON(buf []byte) error { return easyjson.Unmarshal(buf, t) } + +// SetDownloadBehaviorBehavior whether to allow all or deny all download +// requests, or use default Chrome behavior if available (otherwise deny). +type SetDownloadBehaviorBehavior string + +// String returns the SetDownloadBehaviorBehavior as string value. +func (t SetDownloadBehaviorBehavior) String() string { + return string(t) +} + +// SetDownloadBehaviorBehavior values. +const ( + SetDownloadBehaviorBehaviorDeny SetDownloadBehaviorBehavior = "deny" + SetDownloadBehaviorBehaviorAllow SetDownloadBehaviorBehavior = "allow" + SetDownloadBehaviorBehaviorDefault SetDownloadBehaviorBehavior = "default" +) + +// MarshalEasyJSON satisfies easyjson.Marshaler. +func (t SetDownloadBehaviorBehavior) MarshalEasyJSON(out *jwriter.Writer) { + out.String(string(t)) +} + +// MarshalJSON satisfies json.Marshaler. +func (t SetDownloadBehaviorBehavior) MarshalJSON() ([]byte, error) { + return easyjson.Marshal(t) +} + +// UnmarshalEasyJSON satisfies easyjson.Unmarshaler. +func (t *SetDownloadBehaviorBehavior) UnmarshalEasyJSON(in *jlexer.Lexer) { + switch SetDownloadBehaviorBehavior(in.String()) { + case SetDownloadBehaviorBehaviorDeny: + *t = SetDownloadBehaviorBehaviorDeny + case SetDownloadBehaviorBehaviorAllow: + *t = SetDownloadBehaviorBehaviorAllow + case SetDownloadBehaviorBehaviorDefault: + *t = SetDownloadBehaviorBehaviorDefault + + default: + in.AddError(errors.New("unknown SetDownloadBehaviorBehavior value")) + } +} + +// UnmarshalJSON satisfies json.Unmarshaler. +func (t *SetDownloadBehaviorBehavior) UnmarshalJSON(buf []byte) error { + return easyjson.Unmarshal(buf, t) +} diff --git a/cdp/profiler/easyjson.go b/cdp/profiler/easyjson.go index d1421dd..1496faf 100644 --- a/cdp/profiler/easyjson.go +++ b/cdp/profiler/easyjson.go @@ -411,6 +411,8 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpProfiler5(in *jlexer.Lexer, ou switch key { case "callCount": out.CallCount = bool(in.Bool()) + case "detailed": + out.Detailed = bool(in.Bool()) default: in.SkipRecursive() } @@ -433,6 +435,14 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpProfiler5(out *jwriter.Writer, out.RawString("\"callCount\":") out.Bool(bool(in.CallCount)) } + if in.Detailed { + if !first { + out.RawByte(',') + } + first = false + out.RawString("\"detailed\":") + out.Bool(bool(in.Detailed)) + } out.RawByte('}') } diff --git a/cdp/profiler/profiler.go b/cdp/profiler/profiler.go index cc718bb..209a527 100644 --- a/cdp/profiler/profiler.go +++ b/cdp/profiler/profiler.go @@ -111,6 +111,7 @@ func (p *StopParams) Do(ctxt context.Context, h cdp.Handler) (profile *Profile, // Enabling prevents running optimized code and resets execution counters. type StartPreciseCoverageParams struct { CallCount bool `json:"callCount,omitempty"` // Collect accurate call counts beyond simple 'covered' or 'not covered'. + Detailed bool `json:"detailed,omitempty"` // Collect block-based coverage. } // StartPreciseCoverage enable precise code coverage. Coverage data for @@ -129,6 +130,12 @@ func (p StartPreciseCoverageParams) WithCallCount(callCount bool) *StartPreciseC return &p } +// WithDetailed collect block-based coverage. +func (p StartPreciseCoverageParams) WithDetailed(detailed bool) *StartPreciseCoverageParams { + p.Detailed = detailed + return &p +} + // Do executes Profiler.startPreciseCoverage against the provided context and // target handler. func (p *StartPreciseCoverageParams) Do(ctxt context.Context, h cdp.Handler) (err error) { diff --git a/cdp/runtime/easyjson.go b/cdp/runtime/easyjson.go index 1078b67..4eb9bad 100644 --- a/cdp/runtime/easyjson.go +++ b/cdp/runtime/easyjson.go @@ -953,8 +953,8 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpRuntime9(in *jlexer.Lexer, out continue } switch key { - case "constructorObjectId": - out.ConstructorObjectID = RemoteObjectID(in.String()) + case "prototypeObjectId": + out.PrototypeObjectID = RemoteObjectID(in.String()) default: in.SkipRecursive() } @@ -973,8 +973,8 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpRuntime9(out *jwriter.Writer, out.RawByte(',') } first = false - out.RawString("\"constructorObjectId\":") - out.String(string(in.ConstructorObjectID)) + out.RawString("\"prototypeObjectId\":") + out.String(string(in.PrototypeObjectID)) out.RawByte('}') } diff --git a/cdp/runtime/runtime.go b/cdp/runtime/runtime.go index df023dc..64e34c3 100644 --- a/cdp/runtime/runtime.go +++ b/cdp/runtime/runtime.go @@ -606,16 +606,16 @@ func (p *RunScriptParams) Do(ctxt context.Context, h cdp.Handler) (result *Remot // QueryObjectsParams [no description]. type QueryObjectsParams struct { - ConstructorObjectID RemoteObjectID `json:"constructorObjectId"` // Identifier of the constructor to return objects for. + PrototypeObjectID RemoteObjectID `json:"prototypeObjectId"` // Identifier of the prototype to return objects for. } // QueryObjects [no description]. // // parameters: -// constructorObjectID - Identifier of the constructor to return objects for. -func QueryObjects(constructorObjectID RemoteObjectID) *QueryObjectsParams { +// prototypeObjectID - Identifier of the prototype to return objects for. +func QueryObjects(prototypeObjectID RemoteObjectID) *QueryObjectsParams { return &QueryObjectsParams{ - ConstructorObjectID: constructorObjectID, + PrototypeObjectID: prototypeObjectID, } } diff --git a/cdp/runtime/types.go b/cdp/runtime/types.go index 800af0e..073db81 100644 --- a/cdp/runtime/types.go +++ b/cdp/runtime/types.go @@ -149,7 +149,7 @@ type InternalPropertyDescriptor struct { // objectId, primitive value, unserializable primitive value or neither of (for // undefined) them should be specified. type CallArgument struct { - Value easyjson.RawMessage `json:"value,omitempty"` // Primitive value. + Value easyjson.RawMessage `json:"value,omitempty"` // Primitive value or serializable javascript object. UnserializableValue UnserializableValue `json:"unserializableValue,omitempty"` // Primitive value which can not be JSON-stringified. ObjectID RemoteObjectID `json:"objectId,omitempty"` // Remote object handle. } diff --git a/cdp/security/types.go b/cdp/security/types.go index 19c350d..182e3ba 100644 --- a/cdp/security/types.go +++ b/cdp/security/types.go @@ -77,7 +77,6 @@ const ( StateUnknown State = "unknown" StateNeutral State = "neutral" StateInsecure State = "insecure" - StateWarning State = "warning" StateSecure State = "secure" StateInfo State = "info" ) @@ -101,8 +100,6 @@ func (t *State) UnmarshalEasyJSON(in *jlexer.Lexer) { *t = StateNeutral case StateInsecure: *t = StateInsecure - case StateWarning: - *t = StateWarning case StateSecure: *t = StateSecure case StateInfo: diff --git a/cmd/chromedp-gen/protocol.json b/cmd/chromedp-gen/protocol.json index 5a9bf03..cf19f4d 100644 --- a/cmd/chromedp-gen/protocol.json +++ b/cmd/chromedp-gen/protocol.json @@ -68,6 +68,9 @@ } ] }, + { + "name": "prepareForLeakDetection" + }, { "name": "setPressureNotificationsSuppressed", "description": "Enable/disable suppressing memory pressure notifications in all processes.", @@ -1352,6 +1355,29 @@ { "name": "bringToFront", "description": "Brings page to front (activates tab)." + }, + { + "name": "setDownloadBehavior", + "description": "Set the behavior when downloading a file.", + "experimental": true, + "parameters": [ + { + "name": "behavior", + "type": "string", + "enum": [ + "deny", + "allow", + "default" + ], + "description": "Whether to allow all or deny all download requests, or use default Chrome behavior if available (otherwise deny)." + }, + { + "name": "downloadPath", + "type": "string", + "optional": true, + "description": "The default path to save downloaded files to. This is requred if behavior is set to 'allow'" + } + ] } ], "events": [ @@ -1373,6 +1399,20 @@ } ] }, + { + "name": "lifecycleEvent", + "parameters": [ + { + "name": "name", + "type": "string" + }, + { + "name": "timestamp", + "$ref": "Network.MonotonicTime" + } + ], + "description": "Fired for top level page lifecycle events such as navigation, load, paint, etc." + }, { "name": "frameAttached", "description": "Fired when frame has been attached to its parent.", @@ -2295,7 +2335,6 @@ "unknown", "neutral", "insecure", - "warning", "secure", "info" ], @@ -3751,11 +3790,21 @@ }, { "name": "setRequestInterceptionEnabled", + "description": "Sets the requests to intercept that match a the provided patterns.", "parameters": [ { "name": "enabled", "type": "boolean", - "description": "Whether or not HTTP requests should be intercepted and Network.requestIntercepted events sent." + "description": "Whether requests should be intercepted. If patterns is not set, matches all and resets any previously set patterns. Other parameters are ignored if false." + }, + { + "name": "patterns", + "type": "array", + "optional": true, + "items": { + "type": "string" + }, + "description": "URLs matching any of these patterns will be forwarded and wait for the corresponding continueInterceptedRequest call. Wildcards ('*' -> zero or more, '?' -> exactly one) are allowed. Escape character is backslash. If omitted equivalent to ['*'] (intercept all)." } ], "experimental": true @@ -12033,7 +12082,7 @@ "name": "value", "type": "any", "optional": true, - "description": "Primitive value." + "description": "Primitive value or serializable javascript object." }, { "name": "unserializableValue", @@ -12608,9 +12657,9 @@ "name": "queryObjects", "parameters": [ { - "name": "constructorObjectId", + "name": "prototypeObjectId", "$ref": "RemoteObjectId", - "description": "Identifier of the constructor to return objects for." + "description": "Identifier of the prototype to return objects for." } ], "returns": [ @@ -14033,6 +14082,12 @@ "type": "boolean", "optional": true, "description": "Collect accurate call counts beyond simple 'covered' or 'not covered'." + }, + { + "name": "detailed", + "type": "boolean", + "optional": true, + "description": "Collect block-based coverage." } ], "description": "Enable precise code coverage. Coverage data for JavaScript executed before enabling precise code coverage may be incomplete. Enabling prevents running optimized code and resets execution counters.",