diff --git a/animation/easyjson.go b/animation/easyjson.go index bf13d09..740b710 100644 --- a/animation/easyjson.go +++ b/animation/easyjson.go @@ -1183,7 +1183,7 @@ func (v *GetCurrentTimeParams) UnmarshalJSON(data []byte) error { func (v *GetCurrentTimeParams) UnmarshalEasyJSON(l *jlexer.Lexer) { easyjsonC5a4559bDecodeGithubComChromedpCdprotoAnimation13(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAnimation14(in *jlexer.Lexer, out *EventAnimationStarted) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAnimation14(in *jlexer.Lexer, out *EventAnimationUpdated) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1222,7 +1222,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAnimation14(in *jlexer.Lexer, in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAnimation14(out *jwriter.Writer, in EventAnimationStarted) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAnimation14(out *jwriter.Writer, in EventAnimationUpdated) { out.RawByte('{') first := true _ = first @@ -1239,29 +1239,107 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAnimation14(out *jwriter.Writ } // MarshalJSON supports json.Marshaler interface -func (v EventAnimationStarted) MarshalJSON() ([]byte, error) { +func (v EventAnimationUpdated) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} easyjsonC5a4559bEncodeGithubComChromedpCdprotoAnimation14(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface -func (v EventAnimationStarted) MarshalEasyJSON(w *jwriter.Writer) { +func (v EventAnimationUpdated) MarshalEasyJSON(w *jwriter.Writer) { easyjsonC5a4559bEncodeGithubComChromedpCdprotoAnimation14(w, v) } // UnmarshalJSON supports json.Unmarshaler interface -func (v *EventAnimationStarted) UnmarshalJSON(data []byte) error { +func (v *EventAnimationUpdated) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} easyjsonC5a4559bDecodeGithubComChromedpCdprotoAnimation14(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface -func (v *EventAnimationStarted) UnmarshalEasyJSON(l *jlexer.Lexer) { +func (v *EventAnimationUpdated) UnmarshalEasyJSON(l *jlexer.Lexer) { easyjsonC5a4559bDecodeGithubComChromedpCdprotoAnimation14(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAnimation15(in *jlexer.Lexer, out *EventAnimationCreated) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAnimation15(in *jlexer.Lexer, out *EventAnimationStarted) { + isTopLevel := in.IsStart() + if in.IsNull() { + if isTopLevel { + in.Consumed() + } + in.Skip() + return + } + in.Delim('{') + for !in.IsDelim('}') { + key := in.UnsafeFieldName(false) + in.WantColon() + if in.IsNull() { + in.Skip() + in.WantComma() + continue + } + switch key { + case "animation": + if in.IsNull() { + in.Skip() + out.Animation = nil + } else { + if out.Animation == nil { + out.Animation = new(Animation) + } + (*out.Animation).UnmarshalEasyJSON(in) + } + default: + in.SkipRecursive() + } + in.WantComma() + } + in.Delim('}') + if isTopLevel { + in.Consumed() + } +} +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAnimation15(out *jwriter.Writer, in EventAnimationStarted) { + out.RawByte('{') + first := true + _ = first + { + const prefix string = ",\"animation\":" + out.RawString(prefix[1:]) + if in.Animation == nil { + out.RawString("null") + } else { + (*in.Animation).MarshalEasyJSON(out) + } + } + out.RawByte('}') +} + +// MarshalJSON supports json.Marshaler interface +func (v EventAnimationStarted) MarshalJSON() ([]byte, error) { + w := jwriter.Writer{} + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAnimation15(&w, v) + return w.Buffer.BuildBytes(), w.Error +} + +// MarshalEasyJSON supports easyjson.Marshaler interface +func (v EventAnimationStarted) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAnimation15(w, v) +} + +// UnmarshalJSON supports json.Unmarshaler interface +func (v *EventAnimationStarted) UnmarshalJSON(data []byte) error { + r := jlexer.Lexer{Data: data} + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAnimation15(&r, v) + return r.Error() +} + +// UnmarshalEasyJSON supports easyjson.Unmarshaler interface +func (v *EventAnimationStarted) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAnimation15(l, v) +} +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAnimation16(in *jlexer.Lexer, out *EventAnimationCreated) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1292,7 +1370,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAnimation15(in *jlexer.Lexer, in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAnimation15(out *jwriter.Writer, in EventAnimationCreated) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAnimation16(out *jwriter.Writer, in EventAnimationCreated) { out.RawByte('{') first := true _ = first @@ -1307,27 +1385,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAnimation15(out *jwriter.Writ // MarshalJSON supports json.Marshaler interface func (v EventAnimationCreated) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAnimation15(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAnimation16(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventAnimationCreated) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAnimation15(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAnimation16(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventAnimationCreated) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAnimation15(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAnimation16(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventAnimationCreated) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAnimation15(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAnimation16(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAnimation16(in *jlexer.Lexer, out *EventAnimationCanceled) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAnimation17(in *jlexer.Lexer, out *EventAnimationCanceled) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1358,7 +1436,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAnimation16(in *jlexer.Lexer, in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAnimation16(out *jwriter.Writer, in EventAnimationCanceled) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAnimation17(out *jwriter.Writer, in EventAnimationCanceled) { out.RawByte('{') first := true _ = first @@ -1373,27 +1451,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAnimation16(out *jwriter.Writ // MarshalJSON supports json.Marshaler interface func (v EventAnimationCanceled) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAnimation16(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAnimation17(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventAnimationCanceled) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAnimation16(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAnimation17(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventAnimationCanceled) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAnimation16(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAnimation17(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventAnimationCanceled) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAnimation16(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAnimation17(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAnimation17(in *jlexer.Lexer, out *EnableParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAnimation18(in *jlexer.Lexer, out *EnableParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1422,7 +1500,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAnimation17(in *jlexer.Lexer, in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAnimation17(out *jwriter.Writer, in EnableParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAnimation18(out *jwriter.Writer, in EnableParams) { out.RawByte('{') first := true _ = first @@ -1432,27 +1510,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAnimation17(out *jwriter.Writ // MarshalJSON supports json.Marshaler interface func (v EnableParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAnimation17(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAnimation18(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EnableParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAnimation17(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAnimation18(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EnableParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAnimation17(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAnimation18(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EnableParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAnimation17(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAnimation18(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAnimation18(in *jlexer.Lexer, out *Effect) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAnimation19(in *jlexer.Lexer, out *Effect) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1509,7 +1587,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAnimation18(in *jlexer.Lexer, in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAnimation18(out *jwriter.Writer, in Effect) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAnimation19(out *jwriter.Writer, in Effect) { out.RawByte('{') first := true _ = first @@ -1569,27 +1647,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAnimation18(out *jwriter.Writ // MarshalJSON supports json.Marshaler interface func (v Effect) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAnimation18(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAnimation19(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v Effect) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAnimation18(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAnimation19(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *Effect) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAnimation18(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAnimation19(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *Effect) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAnimation18(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAnimation19(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAnimation19(in *jlexer.Lexer, out *DisableParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAnimation20(in *jlexer.Lexer, out *DisableParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1618,7 +1696,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAnimation19(in *jlexer.Lexer, in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAnimation19(out *jwriter.Writer, in DisableParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAnimation20(out *jwriter.Writer, in DisableParams) { out.RawByte('{') first := true _ = first @@ -1628,27 +1706,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAnimation19(out *jwriter.Writ // MarshalJSON supports json.Marshaler interface func (v DisableParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAnimation19(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAnimation20(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v DisableParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAnimation19(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAnimation20(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *DisableParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAnimation19(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAnimation20(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *DisableParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAnimation19(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAnimation20(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAnimation20(in *jlexer.Lexer, out *Animation) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAnimation21(in *jlexer.Lexer, out *Animation) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1715,7 +1793,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAnimation20(in *jlexer.Lexer, in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAnimation20(out *jwriter.Writer, in Animation) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAnimation21(out *jwriter.Writer, in Animation) { out.RawByte('{') first := true _ = first @@ -1780,23 +1858,23 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAnimation20(out *jwriter.Writ // MarshalJSON supports json.Marshaler interface func (v Animation) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAnimation20(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAnimation21(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v Animation) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAnimation20(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAnimation21(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *Animation) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAnimation20(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAnimation21(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *Animation) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAnimation20(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAnimation21(l, v) } diff --git a/animation/events.go b/animation/events.go index d85b034..c631985 100644 --- a/animation/events.go +++ b/animation/events.go @@ -22,3 +22,10 @@ type EventAnimationCreated struct { type EventAnimationStarted struct { Animation *Animation `json:"animation"` // Animation that was started. } + +// EventAnimationUpdated event for animation that has been updated. +// +// See: https://chromedevtools.github.io/devtools-protocol/tot/Animation#event-animationUpdated +type EventAnimationUpdated struct { + Animation *Animation `json:"animation"` // Animation that was updated. +} diff --git a/audits/types.go b/audits/types.go index 3089aed..f1e8200 100644 --- a/audits/types.go +++ b/audits/types.go @@ -1109,6 +1109,8 @@ const ( FederatedAuthRequestIssueReasonSilentMediationFailure FederatedAuthRequestIssueReason = "SilentMediationFailure" FederatedAuthRequestIssueReasonThirdPartyCookiesBlocked FederatedAuthRequestIssueReason = "ThirdPartyCookiesBlocked" FederatedAuthRequestIssueReasonNotSignedInWithIdp FederatedAuthRequestIssueReason = "NotSignedInWithIdp" + FederatedAuthRequestIssueReasonMissingTransientUserActivation FederatedAuthRequestIssueReason = "MissingTransientUserActivation" + FederatedAuthRequestIssueReasonReplacedByButtonMode FederatedAuthRequestIssueReason = "ReplacedByButtonMode" ) // MarshalEasyJSON satisfies easyjson.Marshaler. @@ -1201,6 +1203,10 @@ func (t *FederatedAuthRequestIssueReason) UnmarshalEasyJSON(in *jlexer.Lexer) { *t = FederatedAuthRequestIssueReasonThirdPartyCookiesBlocked case FederatedAuthRequestIssueReasonNotSignedInWithIdp: *t = FederatedAuthRequestIssueReasonNotSignedInWithIdp + case FederatedAuthRequestIssueReasonMissingTransientUserActivation: + *t = FederatedAuthRequestIssueReasonMissingTransientUserActivation + case FederatedAuthRequestIssueReasonReplacedByButtonMode: + *t = FederatedAuthRequestIssueReasonReplacedByButtonMode default: in.AddError(fmt.Errorf("unknown FederatedAuthRequestIssueReason value: %v", v)) diff --git a/cdp/types.go b/cdp/types.go index 59d9bde..e9ee49b 100644 --- a/cdp/types.go +++ b/cdp/types.go @@ -180,6 +180,8 @@ const ( PseudoTypeGrammarError PseudoType = "grammar-error" PseudoTypeHighlight PseudoType = "highlight" PseudoTypeFirstLineInherited PseudoType = "first-line-inherited" + PseudoTypeScrollMarker PseudoType = "scroll-marker" + PseudoTypeScrollMarkers PseudoType = "scroll-markers" PseudoTypeScrollbar PseudoType = "scrollbar" PseudoTypeScrollbarThumb PseudoType = "scrollbar-thumb" PseudoTypeScrollbarButton PseudoType = "scrollbar-button" @@ -233,6 +235,10 @@ func (t *PseudoType) UnmarshalEasyJSON(in *jlexer.Lexer) { *t = PseudoTypeHighlight case PseudoTypeFirstLineInherited: *t = PseudoTypeFirstLineInherited + case PseudoTypeScrollMarker: + *t = PseudoTypeScrollMarker + case PseudoTypeScrollMarkers: + *t = PseudoTypeScrollMarkers case PseudoTypeScrollbar: *t = PseudoTypeScrollbar case PseudoTypeScrollbarThumb: diff --git a/cdproto.go b/cdproto.go index 7c8a17c..404c326 100644 --- a/cdproto.go +++ b/cdproto.go @@ -51,6 +51,7 @@ import ( "github.com/chromedp/cdproto/performancetimeline" "github.com/chromedp/cdproto/preload" "github.com/chromedp/cdproto/profiler" + "github.com/chromedp/cdproto/pwa" "github.com/chromedp/cdproto/runtime" "github.com/chromedp/cdproto/security" "github.com/chromedp/cdproto/serviceworker" @@ -103,6 +104,7 @@ const ( EventAnimationAnimationCanceled = "Animation.animationCanceled" EventAnimationAnimationCreated = "Animation.animationCreated" EventAnimationAnimationStarted = "Animation.animationStarted" + EventAnimationAnimationUpdated = "Animation.animationUpdated" CommandAuditsGetEncodedResponse = audits.CommandGetEncodedResponse CommandAuditsDisable = audits.CommandDisable CommandAuditsEnable = audits.CommandEnable @@ -325,6 +327,8 @@ const ( CommandEmulationSetCPUThrottlingRate = emulation.CommandSetCPUThrottlingRate CommandEmulationSetDefaultBackgroundColorOverride = emulation.CommandSetDefaultBackgroundColorOverride CommandEmulationSetDeviceMetricsOverride = emulation.CommandSetDeviceMetricsOverride + CommandEmulationSetDevicePostureOverride = emulation.CommandSetDevicePostureOverride + CommandEmulationClearDevicePostureOverride = emulation.CommandClearDevicePostureOverride CommandEmulationSetScrollbarsHidden = emulation.CommandSetScrollbarsHidden CommandEmulationSetDocumentCookieDisabled = emulation.CommandSetDocumentCookieDisabled CommandEmulationSetEmitTouchEventsForMouse = emulation.CommandSetEmitTouchEventsForMouse @@ -501,6 +505,7 @@ const ( EventNetworkWebTransportClosed = "Network.webTransportClosed" EventNetworkRequestWillBeSentExtraInfo = "Network.requestWillBeSentExtraInfo" EventNetworkResponseReceivedExtraInfo = "Network.responseReceivedExtraInfo" + EventNetworkResponseReceivedEarlyHints = "Network.responseReceivedEarlyHints" EventNetworkTrustTokenOperationDone = "Network.trustTokenOperationDone" EventNetworkSubresourceWebBundleMetadataReceived = "Network.subresourceWebBundleMetadataReceived" EventNetworkSubresourceWebBundleMetadataError = "Network.subresourceWebBundleMetadataError" @@ -540,6 +545,7 @@ const ( EventOverlayNodeHighlightRequested = "Overlay.nodeHighlightRequested" EventOverlayScreenshotRequested = "Overlay.screenshotRequested" EventOverlayInspectModeCanceled = "Overlay.inspectModeCanceled" + CommandPWAGetOsAppState = pwa.CommandGetOsAppState CommandPageAddScriptToEvaluateOnNewDocument = page.CommandAddScriptToEvaluateOnNewDocument CommandPageBringToFront = page.CommandBringToFront CommandPageCaptureScreenshot = page.CommandCaptureScreenshot @@ -902,6 +908,9 @@ func UnmarshalMessage(msg *Message) (interface{}, error) { case EventAnimationAnimationStarted: v = new(animation.EventAnimationStarted) + case EventAnimationAnimationUpdated: + v = new(animation.EventAnimationUpdated) + case CommandAuditsGetEncodedResponse: v = new(audits.GetEncodedResponseReturns) @@ -1568,6 +1577,12 @@ func UnmarshalMessage(msg *Message) (interface{}, error) { case CommandEmulationSetDeviceMetricsOverride: return emptyVal, nil + case CommandEmulationSetDevicePostureOverride: + return emptyVal, nil + + case CommandEmulationClearDevicePostureOverride: + return emptyVal, nil + case CommandEmulationSetScrollbarsHidden: return emptyVal, nil @@ -2096,6 +2111,9 @@ func UnmarshalMessage(msg *Message) (interface{}, error) { case EventNetworkResponseReceivedExtraInfo: v = new(network.EventResponseReceivedExtraInfo) + case EventNetworkResponseReceivedEarlyHints: + v = new(network.EventResponseReceivedEarlyHints) + case EventNetworkTrustTokenOperationDone: v = new(network.EventTrustTokenOperationDone) @@ -2213,6 +2231,9 @@ func UnmarshalMessage(msg *Message) (interface{}, error) { case EventOverlayInspectModeCanceled: v = new(overlay.EventInspectModeCanceled) + case CommandPWAGetOsAppState: + v = new(pwa.GetOsAppStateReturns) + case CommandPageAddScriptToEvaluateOnNewDocument: v = new(page.AddScriptToEvaluateOnNewDocumentReturns) diff --git a/emulation/easyjson.go b/emulation/easyjson.go index 4f9ad98..e662918 100644 --- a/emulation/easyjson.go +++ b/emulation/easyjson.go @@ -1863,7 +1863,85 @@ func (v *SetDisabledImageTypesParams) UnmarshalJSON(data []byte) error { func (v *SetDisabledImageTypesParams) UnmarshalEasyJSON(l *jlexer.Lexer) { easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation21(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation22(in *jlexer.Lexer, out *SetDeviceMetricsOverrideParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation22(in *jlexer.Lexer, out *SetDevicePostureOverrideParams) { + isTopLevel := in.IsStart() + if in.IsNull() { + if isTopLevel { + in.Consumed() + } + in.Skip() + return + } + in.Delim('{') + for !in.IsDelim('}') { + key := in.UnsafeFieldName(false) + in.WantColon() + if in.IsNull() { + in.Skip() + in.WantComma() + continue + } + switch key { + case "posture": + if in.IsNull() { + in.Skip() + out.Posture = nil + } else { + if out.Posture == nil { + out.Posture = new(DevicePosture) + } + (*out.Posture).UnmarshalEasyJSON(in) + } + default: + in.SkipRecursive() + } + in.WantComma() + } + in.Delim('}') + if isTopLevel { + in.Consumed() + } +} +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation22(out *jwriter.Writer, in SetDevicePostureOverrideParams) { + out.RawByte('{') + first := true + _ = first + { + const prefix string = ",\"posture\":" + out.RawString(prefix[1:]) + if in.Posture == nil { + out.RawString("null") + } else { + (*in.Posture).MarshalEasyJSON(out) + } + } + out.RawByte('}') +} + +// MarshalJSON supports json.Marshaler interface +func (v SetDevicePostureOverrideParams) MarshalJSON() ([]byte, error) { + w := jwriter.Writer{} + easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation22(&w, v) + return w.Buffer.BuildBytes(), w.Error +} + +// MarshalEasyJSON supports easyjson.Marshaler interface +func (v SetDevicePostureOverrideParams) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation22(w, v) +} + +// UnmarshalJSON supports json.Unmarshaler interface +func (v *SetDevicePostureOverrideParams) UnmarshalJSON(data []byte) error { + r := jlexer.Lexer{Data: data} + easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation22(&r, v) + return r.Error() +} + +// UnmarshalEasyJSON supports easyjson.Unmarshaler interface +func (v *SetDevicePostureOverrideParams) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation22(l, v) +} +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation23(in *jlexer.Lexer, out *SetDeviceMetricsOverrideParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1932,16 +2010,6 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation22(in *jlexer.Lexer, } (*out.DisplayFeature).UnmarshalEasyJSON(in) } - case "devicePosture": - if in.IsNull() { - in.Skip() - out.DevicePosture = nil - } else { - if out.DevicePosture == nil { - out.DevicePosture = new(DevicePosture) - } - (*out.DevicePosture).UnmarshalEasyJSON(in) - } default: in.SkipRecursive() } @@ -1952,7 +2020,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation22(in *jlexer.Lexer, in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation22(out *jwriter.Writer, in SetDeviceMetricsOverrideParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation23(out *jwriter.Writer, in SetDeviceMetricsOverrideParams) { out.RawByte('{') first := true _ = first @@ -2021,38 +2089,33 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation22(out *jwriter.Writ out.RawString(prefix) (*in.DisplayFeature).MarshalEasyJSON(out) } - if in.DevicePosture != nil { - const prefix string = ",\"devicePosture\":" - out.RawString(prefix) - (*in.DevicePosture).MarshalEasyJSON(out) - } out.RawByte('}') } // MarshalJSON supports json.Marshaler interface func (v SetDeviceMetricsOverrideParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation22(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation23(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v SetDeviceMetricsOverrideParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation22(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation23(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *SetDeviceMetricsOverrideParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation22(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation23(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *SetDeviceMetricsOverrideParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation22(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation23(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation23(in *jlexer.Lexer, out *SetDefaultBackgroundColorOverrideParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation24(in *jlexer.Lexer, out *SetDefaultBackgroundColorOverrideParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2091,7 +2154,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation23(in *jlexer.Lexer, in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation23(out *jwriter.Writer, in SetDefaultBackgroundColorOverrideParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation24(out *jwriter.Writer, in SetDefaultBackgroundColorOverrideParams) { out.RawByte('{') first := true _ = first @@ -2107,27 +2170,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation23(out *jwriter.Writ // MarshalJSON supports json.Marshaler interface func (v SetDefaultBackgroundColorOverrideParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation23(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation24(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v SetDefaultBackgroundColorOverrideParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation23(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation24(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *SetDefaultBackgroundColorOverrideParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation23(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation24(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *SetDefaultBackgroundColorOverrideParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation23(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation24(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation24(in *jlexer.Lexer, out *SetCPUThrottlingRateParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation25(in *jlexer.Lexer, out *SetCPUThrottlingRateParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2158,7 +2221,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation24(in *jlexer.Lexer, in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation24(out *jwriter.Writer, in SetCPUThrottlingRateParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation25(out *jwriter.Writer, in SetCPUThrottlingRateParams) { out.RawByte('{') first := true _ = first @@ -2173,27 +2236,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation24(out *jwriter.Writ // MarshalJSON supports json.Marshaler interface func (v SetCPUThrottlingRateParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation24(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation25(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v SetCPUThrottlingRateParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation24(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation25(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *SetCPUThrottlingRateParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation24(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation25(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *SetCPUThrottlingRateParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation24(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation25(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation25(in *jlexer.Lexer, out *SetAutomationOverrideParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation26(in *jlexer.Lexer, out *SetAutomationOverrideParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2224,7 +2287,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation25(in *jlexer.Lexer, in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation25(out *jwriter.Writer, in SetAutomationOverrideParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation26(out *jwriter.Writer, in SetAutomationOverrideParams) { out.RawByte('{') first := true _ = first @@ -2239,27 +2302,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation25(out *jwriter.Writ // MarshalJSON supports json.Marshaler interface func (v SetAutomationOverrideParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation25(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation26(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v SetAutomationOverrideParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation25(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation26(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *SetAutomationOverrideParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation25(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation26(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *SetAutomationOverrideParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation25(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation26(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation26(in *jlexer.Lexer, out *SetAutoDarkModeOverrideParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation27(in *jlexer.Lexer, out *SetAutoDarkModeOverrideParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2290,7 +2353,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation26(in *jlexer.Lexer, in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation26(out *jwriter.Writer, in SetAutoDarkModeOverrideParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation27(out *jwriter.Writer, in SetAutoDarkModeOverrideParams) { out.RawByte('{') first := true _ = first @@ -2306,27 +2369,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation26(out *jwriter.Writ // MarshalJSON supports json.Marshaler interface func (v SetAutoDarkModeOverrideParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation26(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation27(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v SetAutoDarkModeOverrideParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation26(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation27(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *SetAutoDarkModeOverrideParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation26(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation27(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *SetAutoDarkModeOverrideParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation26(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation27(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation27(in *jlexer.Lexer, out *SensorReadingXYZ) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation28(in *jlexer.Lexer, out *SensorReadingXYZ) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2361,7 +2424,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation27(in *jlexer.Lexer, in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation27(out *jwriter.Writer, in SensorReadingXYZ) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation28(out *jwriter.Writer, in SensorReadingXYZ) { out.RawByte('{') first := true _ = first @@ -2386,27 +2449,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation27(out *jwriter.Writ // MarshalJSON supports json.Marshaler interface func (v SensorReadingXYZ) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation27(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation28(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v SensorReadingXYZ) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation27(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation28(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *SensorReadingXYZ) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation27(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation28(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *SensorReadingXYZ) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation27(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation28(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation28(in *jlexer.Lexer, out *SensorReadingSingle) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation29(in *jlexer.Lexer, out *SensorReadingSingle) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2437,7 +2500,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation28(in *jlexer.Lexer, in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation28(out *jwriter.Writer, in SensorReadingSingle) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation29(out *jwriter.Writer, in SensorReadingSingle) { out.RawByte('{') first := true _ = first @@ -2452,27 +2515,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation28(out *jwriter.Writ // MarshalJSON supports json.Marshaler interface func (v SensorReadingSingle) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation28(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation29(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v SensorReadingSingle) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation28(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation29(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *SensorReadingSingle) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation28(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation29(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *SensorReadingSingle) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation28(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation29(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation29(in *jlexer.Lexer, out *SensorReadingQuaternion) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation30(in *jlexer.Lexer, out *SensorReadingQuaternion) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2509,7 +2572,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation29(in *jlexer.Lexer, in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation29(out *jwriter.Writer, in SensorReadingQuaternion) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation30(out *jwriter.Writer, in SensorReadingQuaternion) { out.RawByte('{') first := true _ = first @@ -2539,27 +2602,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation29(out *jwriter.Writ // MarshalJSON supports json.Marshaler interface func (v SensorReadingQuaternion) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation29(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation30(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v SensorReadingQuaternion) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation29(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation30(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *SensorReadingQuaternion) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation29(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation30(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *SensorReadingQuaternion) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation29(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation30(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation30(in *jlexer.Lexer, out *SensorReading) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation31(in *jlexer.Lexer, out *SensorReading) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2618,7 +2681,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation30(in *jlexer.Lexer, in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation30(out *jwriter.Writer, in SensorReading) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation31(out *jwriter.Writer, in SensorReading) { out.RawByte('{') first := true _ = first @@ -2654,27 +2717,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation30(out *jwriter.Writ // MarshalJSON supports json.Marshaler interface func (v SensorReading) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation30(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation31(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v SensorReading) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation30(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation31(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *SensorReading) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation30(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation31(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *SensorReading) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation30(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation31(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation31(in *jlexer.Lexer, out *SensorMetadata) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation32(in *jlexer.Lexer, out *SensorMetadata) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2709,7 +2772,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation31(in *jlexer.Lexer, in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation31(out *jwriter.Writer, in SensorMetadata) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation32(out *jwriter.Writer, in SensorMetadata) { out.RawByte('{') first := true _ = first @@ -2745,27 +2808,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation31(out *jwriter.Writ // MarshalJSON supports json.Marshaler interface func (v SensorMetadata) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation31(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation32(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v SensorMetadata) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation31(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation32(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *SensorMetadata) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation31(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation32(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *SensorMetadata) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation31(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation32(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation32(in *jlexer.Lexer, out *ScreenOrientation) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation33(in *jlexer.Lexer, out *ScreenOrientation) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2798,7 +2861,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation32(in *jlexer.Lexer, in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation32(out *jwriter.Writer, in ScreenOrientation) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation33(out *jwriter.Writer, in ScreenOrientation) { out.RawByte('{') first := true _ = first @@ -2818,27 +2881,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation32(out *jwriter.Writ // MarshalJSON supports json.Marshaler interface func (v ScreenOrientation) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation32(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation33(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v ScreenOrientation) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation32(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation33(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *ScreenOrientation) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation32(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation33(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *ScreenOrientation) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation32(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation33(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation33(in *jlexer.Lexer, out *ResetPageScaleFactorParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation34(in *jlexer.Lexer, out *ResetPageScaleFactorParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2867,7 +2930,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation33(in *jlexer.Lexer, in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation33(out *jwriter.Writer, in ResetPageScaleFactorParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation34(out *jwriter.Writer, in ResetPageScaleFactorParams) { out.RawByte('{') first := true _ = first @@ -2877,27 +2940,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation33(out *jwriter.Writ // MarshalJSON supports json.Marshaler interface func (v ResetPageScaleFactorParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation33(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation34(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v ResetPageScaleFactorParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation33(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation34(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *ResetPageScaleFactorParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation33(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation34(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *ResetPageScaleFactorParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation33(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation34(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation34(in *jlexer.Lexer, out *MediaFeature) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation35(in *jlexer.Lexer, out *MediaFeature) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2930,7 +2993,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation34(in *jlexer.Lexer, in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation34(out *jwriter.Writer, in MediaFeature) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation35(out *jwriter.Writer, in MediaFeature) { out.RawByte('{') first := true _ = first @@ -2950,27 +3013,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation34(out *jwriter.Writ // MarshalJSON supports json.Marshaler interface func (v MediaFeature) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation34(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation35(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v MediaFeature) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation34(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation35(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *MediaFeature) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation34(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation35(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *MediaFeature) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation34(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation35(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation35(in *jlexer.Lexer, out *GetOverriddenSensorInformationReturns) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation36(in *jlexer.Lexer, out *GetOverriddenSensorInformationReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -3001,7 +3064,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation35(in *jlexer.Lexer, in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation35(out *jwriter.Writer, in GetOverriddenSensorInformationReturns) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation36(out *jwriter.Writer, in GetOverriddenSensorInformationReturns) { out.RawByte('{') first := true _ = first @@ -3017,27 +3080,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation35(out *jwriter.Writ // MarshalJSON supports json.Marshaler interface func (v GetOverriddenSensorInformationReturns) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation35(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation36(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetOverriddenSensorInformationReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation35(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation36(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetOverriddenSensorInformationReturns) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation35(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation36(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetOverriddenSensorInformationReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation35(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation36(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation36(in *jlexer.Lexer, out *GetOverriddenSensorInformationParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation37(in *jlexer.Lexer, out *GetOverriddenSensorInformationParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -3068,7 +3131,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation36(in *jlexer.Lexer, in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation36(out *jwriter.Writer, in GetOverriddenSensorInformationParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation37(out *jwriter.Writer, in GetOverriddenSensorInformationParams) { out.RawByte('{') first := true _ = first @@ -3083,27 +3146,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation36(out *jwriter.Writ // MarshalJSON supports json.Marshaler interface func (v GetOverriddenSensorInformationParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation36(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation37(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetOverriddenSensorInformationParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation36(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation37(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetOverriddenSensorInformationParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation36(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation37(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetOverriddenSensorInformationParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation36(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation37(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation37(in *jlexer.Lexer, out *EventVirtualTimeBudgetExpired) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation38(in *jlexer.Lexer, out *EventVirtualTimeBudgetExpired) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -3132,7 +3195,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation37(in *jlexer.Lexer, in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation37(out *jwriter.Writer, in EventVirtualTimeBudgetExpired) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation38(out *jwriter.Writer, in EventVirtualTimeBudgetExpired) { out.RawByte('{') first := true _ = first @@ -3142,27 +3205,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation37(out *jwriter.Writ // MarshalJSON supports json.Marshaler interface func (v EventVirtualTimeBudgetExpired) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation37(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation38(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventVirtualTimeBudgetExpired) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation37(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation38(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventVirtualTimeBudgetExpired) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation37(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation38(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventVirtualTimeBudgetExpired) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation37(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation38(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation38(in *jlexer.Lexer, out *DisplayFeature) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation39(in *jlexer.Lexer, out *DisplayFeature) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -3197,7 +3260,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation38(in *jlexer.Lexer, in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation38(out *jwriter.Writer, in DisplayFeature) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation39(out *jwriter.Writer, in DisplayFeature) { out.RawByte('{') first := true _ = first @@ -3222,27 +3285,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation38(out *jwriter.Writ // MarshalJSON supports json.Marshaler interface func (v DisplayFeature) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation38(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation39(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v DisplayFeature) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation38(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation39(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *DisplayFeature) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation38(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation39(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *DisplayFeature) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation38(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation39(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation39(in *jlexer.Lexer, out *DevicePosture) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation40(in *jlexer.Lexer, out *DevicePosture) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -3273,7 +3336,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation39(in *jlexer.Lexer, in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation39(out *jwriter.Writer, in DevicePosture) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation40(out *jwriter.Writer, in DevicePosture) { out.RawByte('{') first := true _ = first @@ -3288,27 +3351,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation39(out *jwriter.Writ // MarshalJSON supports json.Marshaler interface func (v DevicePosture) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation39(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation40(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v DevicePosture) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation39(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation40(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *DevicePosture) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation39(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation40(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *DevicePosture) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation39(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation40(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation40(in *jlexer.Lexer, out *ClearIdleOverrideParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation41(in *jlexer.Lexer, out *ClearIdleOverrideParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -3337,7 +3400,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation40(in *jlexer.Lexer, in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation40(out *jwriter.Writer, in ClearIdleOverrideParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation41(out *jwriter.Writer, in ClearIdleOverrideParams) { out.RawByte('{') first := true _ = first @@ -3347,27 +3410,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation40(out *jwriter.Writ // MarshalJSON supports json.Marshaler interface func (v ClearIdleOverrideParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation40(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation41(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v ClearIdleOverrideParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation40(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation41(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *ClearIdleOverrideParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation40(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation41(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *ClearIdleOverrideParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation40(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation41(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation41(in *jlexer.Lexer, out *ClearGeolocationOverrideParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation42(in *jlexer.Lexer, out *ClearGeolocationOverrideParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -3396,7 +3459,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation41(in *jlexer.Lexer, in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation41(out *jwriter.Writer, in ClearGeolocationOverrideParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation42(out *jwriter.Writer, in ClearGeolocationOverrideParams) { out.RawByte('{') first := true _ = first @@ -3406,27 +3469,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation41(out *jwriter.Writ // MarshalJSON supports json.Marshaler interface func (v ClearGeolocationOverrideParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation41(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation42(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v ClearGeolocationOverrideParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation41(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation42(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *ClearGeolocationOverrideParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation41(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation42(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *ClearGeolocationOverrideParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation41(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation42(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation42(in *jlexer.Lexer, out *ClearDeviceMetricsOverrideParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation43(in *jlexer.Lexer, out *ClearDevicePostureOverrideParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -3455,7 +3518,66 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation42(in *jlexer.Lexer, in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation42(out *jwriter.Writer, in ClearDeviceMetricsOverrideParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation43(out *jwriter.Writer, in ClearDevicePostureOverrideParams) { + out.RawByte('{') + first := true + _ = first + out.RawByte('}') +} + +// MarshalJSON supports json.Marshaler interface +func (v ClearDevicePostureOverrideParams) MarshalJSON() ([]byte, error) { + w := jwriter.Writer{} + easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation43(&w, v) + return w.Buffer.BuildBytes(), w.Error +} + +// MarshalEasyJSON supports easyjson.Marshaler interface +func (v ClearDevicePostureOverrideParams) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation43(w, v) +} + +// UnmarshalJSON supports json.Unmarshaler interface +func (v *ClearDevicePostureOverrideParams) UnmarshalJSON(data []byte) error { + r := jlexer.Lexer{Data: data} + easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation43(&r, v) + return r.Error() +} + +// UnmarshalEasyJSON supports easyjson.Unmarshaler interface +func (v *ClearDevicePostureOverrideParams) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation43(l, v) +} +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation44(in *jlexer.Lexer, out *ClearDeviceMetricsOverrideParams) { + isTopLevel := in.IsStart() + if in.IsNull() { + if isTopLevel { + in.Consumed() + } + in.Skip() + return + } + in.Delim('{') + for !in.IsDelim('}') { + key := in.UnsafeFieldName(false) + in.WantColon() + if in.IsNull() { + in.Skip() + in.WantComma() + continue + } + switch key { + default: + in.SkipRecursive() + } + in.WantComma() + } + in.Delim('}') + if isTopLevel { + in.Consumed() + } +} +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation44(out *jwriter.Writer, in ClearDeviceMetricsOverrideParams) { out.RawByte('{') first := true _ = first @@ -3465,23 +3587,23 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation42(out *jwriter.Writ // MarshalJSON supports json.Marshaler interface func (v ClearDeviceMetricsOverrideParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation42(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation44(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v ClearDeviceMetricsOverrideParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation42(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoEmulation44(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *ClearDeviceMetricsOverrideParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation42(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation44(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *ClearDeviceMetricsOverrideParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation42(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoEmulation44(l, v) } diff --git a/emulation/emulation.go b/emulation/emulation.go index 0701b35..5e1a47c 100644 --- a/emulation/emulation.go +++ b/emulation/emulation.go @@ -188,7 +188,6 @@ type SetDeviceMetricsOverrideParams struct { ScreenOrientation *ScreenOrientation `json:"screenOrientation,omitempty"` // Screen orientation override. Viewport *page.Viewport `json:"viewport,omitempty"` // If set, the visible area of the page will be overridden to this viewport. This viewport change is not observed by the page, e.g. viewport-relative elements do not change positions. DisplayFeature *DisplayFeature `json:"displayFeature,omitempty"` // If set, the display feature of a multi-segment screen. If not set, multi-segment support is turned-off. - DevicePosture *DevicePosture `json:"devicePosture,omitempty"` // If set, the posture of a foldable device. If not set the posture is set to continuous. } // SetDeviceMetricsOverride overrides the values of device screen dimensions @@ -275,18 +274,59 @@ func (p SetDeviceMetricsOverrideParams) WithDisplayFeature(displayFeature *Displ return &p } -// WithDevicePosture if set, the posture of a foldable device. If not set the -// posture is set to continuous. -func (p SetDeviceMetricsOverrideParams) WithDevicePosture(devicePosture *DevicePosture) *SetDeviceMetricsOverrideParams { - p.DevicePosture = devicePosture - return &p -} - // Do executes Emulation.setDeviceMetricsOverride against the provided context. func (p *SetDeviceMetricsOverrideParams) Do(ctx context.Context) (err error) { return cdp.Execute(ctx, CommandSetDeviceMetricsOverride, p, nil) } +// SetDevicePostureOverrideParams start reporting the given posture value to +// the Device Posture API. This override can also be set in +// setDeviceMetricsOverride(). +type SetDevicePostureOverrideParams struct { + Posture *DevicePosture `json:"posture"` +} + +// SetDevicePostureOverride start reporting the given posture value to the +// Device Posture API. This override can also be set in +// setDeviceMetricsOverride(). +// +// See: https://chromedevtools.github.io/devtools-protocol/tot/Emulation#method-setDevicePostureOverride +// +// parameters: +// +// posture +func SetDevicePostureOverride(posture *DevicePosture) *SetDevicePostureOverrideParams { + return &SetDevicePostureOverrideParams{ + Posture: posture, + } +} + +// Do executes Emulation.setDevicePostureOverride against the provided context. +func (p *SetDevicePostureOverrideParams) Do(ctx context.Context) (err error) { + return cdp.Execute(ctx, CommandSetDevicePostureOverride, p, nil) +} + +// ClearDevicePostureOverrideParams clears a device posture override set with +// either setDeviceMetricsOverride() or setDevicePostureOverride() and starts +// using posture information from the platform again. Does nothing if no +// override is set. +type ClearDevicePostureOverrideParams struct{} + +// ClearDevicePostureOverride clears a device posture override set with +// either setDeviceMetricsOverride() or setDevicePostureOverride() and starts +// using posture information from the platform again. Does nothing if no +// override is set. +// +// See: https://chromedevtools.github.io/devtools-protocol/tot/Emulation#method-clearDevicePostureOverride +func ClearDevicePostureOverride() *ClearDevicePostureOverrideParams { + return &ClearDevicePostureOverrideParams{} +} + +// Do executes Emulation.clearDevicePostureOverride against the provided context. +func (p *ClearDevicePostureOverrideParams) Do(ctx context.Context) (err error) { + return cdp.Execute(ctx, CommandClearDevicePostureOverride, nil, nil) +} + // SetScrollbarsHiddenParams [no description]. type SetScrollbarsHiddenParams struct { Hidden bool `json:"hidden"` // Whether scrollbars should be always hidden. @@ -936,6 +976,8 @@ const ( CommandSetCPUThrottlingRate = "Emulation.setCPUThrottlingRate" CommandSetDefaultBackgroundColorOverride = "Emulation.setDefaultBackgroundColorOverride" CommandSetDeviceMetricsOverride = "Emulation.setDeviceMetricsOverride" + CommandSetDevicePostureOverride = "Emulation.setDevicePostureOverride" + CommandClearDevicePostureOverride = "Emulation.clearDevicePostureOverride" CommandSetScrollbarsHidden = "Emulation.setScrollbarsHidden" CommandSetDocumentCookieDisabled = "Emulation.setDocumentCookieDisabled" CommandSetEmitTouchEventsForMouse = "Emulation.setEmitTouchEventsForMouse" diff --git a/network/easyjson.go b/network/easyjson.go index 2af649a..988de72 100644 --- a/network/easyjson.go +++ b/network/easyjson.go @@ -3007,6 +3007,8 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork26(in *jlexer.Lexer, o out.FromServiceWorker = bool(in.Bool()) case "fromPrefetchCache": out.FromPrefetchCache = bool(in.Bool()) + case "fromEarlyHints": + out.FromEarlyHints = bool(in.Bool()) case "serviceWorkerRouterInfo": if in.IsNull() { in.Skip() @@ -3185,6 +3187,11 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork26(out *jwriter.Writer out.RawString(prefix) out.Bool(bool(in.FromPrefetchCache)) } + if in.FromEarlyHints { + const prefix string = ",\"fromEarlyHints\":" + out.RawString(prefix) + out.Bool(bool(in.FromEarlyHints)) + } if in.ServiceWorkerRouterInfo != nil { const prefix string = ",\"serviceWorkerRouterInfo\":" out.RawString(prefix) @@ -5574,6 +5581,8 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork51(in *jlexer.Lexer, o switch key { case "exemptionReason": (out.ExemptionReason).UnmarshalEasyJSON(in) + case "cookieLine": + out.CookieLine = string(in.String()) case "cookie": if in.IsNull() { in.Skip() @@ -5603,6 +5612,11 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork51(out *jwriter.Writer out.RawString(prefix[1:]) (in.ExemptionReason).MarshalEasyJSON(out) } + { + const prefix string = ",\"cookieLine\":" + out.RawString(prefix) + out.String(string(in.CookieLine)) + } { const prefix string = ",\"cookie\":" out.RawString(prefix) @@ -7396,7 +7410,122 @@ func (v *EventResponseReceivedExtraInfo) UnmarshalJSON(data []byte) error { func (v *EventResponseReceivedExtraInfo) UnmarshalEasyJSON(l *jlexer.Lexer) { easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork68(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork69(in *jlexer.Lexer, out *EventResponseReceived) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork69(in *jlexer.Lexer, out *EventResponseReceivedEarlyHints) { + isTopLevel := in.IsStart() + if in.IsNull() { + if isTopLevel { + in.Consumed() + } + in.Skip() + return + } + in.Delim('{') + for !in.IsDelim('}') { + key := in.UnsafeFieldName(false) + in.WantColon() + if in.IsNull() { + in.Skip() + in.WantComma() + continue + } + switch key { + case "requestId": + out.RequestID = RequestID(in.String()) + case "headers": + if in.IsNull() { + in.Skip() + } else { + in.Delim('{') + out.Headers = make(Headers) + for !in.IsDelim('}') { + key := string(in.String()) + in.WantColon() + var v75 interface{} + if m, ok := v75.(easyjson.Unmarshaler); ok { + m.UnmarshalEasyJSON(in) + } else if m, ok := v75.(json.Unmarshaler); ok { + _ = m.UnmarshalJSON(in.Raw()) + } else { + v75 = in.Interface() + } + (out.Headers)[key] = v75 + in.WantComma() + } + in.Delim('}') + } + default: + in.SkipRecursive() + } + in.WantComma() + } + in.Delim('}') + if isTopLevel { + in.Consumed() + } +} +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork69(out *jwriter.Writer, in EventResponseReceivedEarlyHints) { + out.RawByte('{') + first := true + _ = first + { + const prefix string = ",\"requestId\":" + out.RawString(prefix[1:]) + out.String(string(in.RequestID)) + } + { + const prefix string = ",\"headers\":" + out.RawString(prefix) + if in.Headers == nil && (out.Flags&jwriter.NilMapAsEmpty) == 0 { + out.RawString(`null`) + } else { + out.RawByte('{') + v76First := true + for v76Name, v76Value := range in.Headers { + if v76First { + v76First = false + } else { + out.RawByte(',') + } + out.String(string(v76Name)) + out.RawByte(':') + if m, ok := v76Value.(easyjson.Marshaler); ok { + m.MarshalEasyJSON(out) + } else if m, ok := v76Value.(json.Marshaler); ok { + out.Raw(m.MarshalJSON()) + } else { + out.Raw(json.Marshal(v76Value)) + } + } + out.RawByte('}') + } + } + out.RawByte('}') +} + +// MarshalJSON supports json.Marshaler interface +func (v EventResponseReceivedEarlyHints) MarshalJSON() ([]byte, error) { + w := jwriter.Writer{} + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork69(&w, v) + return w.Buffer.BuildBytes(), w.Error +} + +// MarshalEasyJSON supports easyjson.Marshaler interface +func (v EventResponseReceivedEarlyHints) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork69(w, v) +} + +// UnmarshalJSON supports json.Unmarshaler interface +func (v *EventResponseReceivedEarlyHints) UnmarshalJSON(data []byte) error { + r := jlexer.Lexer{Data: data} + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork69(&r, v) + return r.Error() +} + +// UnmarshalEasyJSON supports easyjson.Unmarshaler interface +func (v *EventResponseReceivedEarlyHints) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork69(l, v) +} +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork70(in *jlexer.Lexer, out *EventResponseReceived) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -7455,7 +7584,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork69(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork69(out *jwriter.Writer, in EventResponseReceived) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork70(out *jwriter.Writer, in EventResponseReceived) { out.RawByte('{') first := true _ = first @@ -7508,27 +7637,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork69(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v EventResponseReceived) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork69(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork70(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventResponseReceived) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork69(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork70(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventResponseReceived) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork69(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork70(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventResponseReceived) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork69(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork70(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork70(in *jlexer.Lexer, out *EventResourceChangedPriority) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork71(in *jlexer.Lexer, out *EventResourceChangedPriority) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -7571,7 +7700,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork70(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork70(out *jwriter.Writer, in EventResourceChangedPriority) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork71(out *jwriter.Writer, in EventResourceChangedPriority) { out.RawByte('{') first := true _ = first @@ -7600,27 +7729,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork70(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v EventResourceChangedPriority) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork70(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork71(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventResourceChangedPriority) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork70(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork71(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventResourceChangedPriority) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork70(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork71(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventResourceChangedPriority) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork70(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork71(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork71(in *jlexer.Lexer, out *EventRequestWillBeSentExtraInfo) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork72(in *jlexer.Lexer, out *EventRequestWillBeSentExtraInfo) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -7657,17 +7786,17 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork71(in *jlexer.Lexer, o out.AssociatedCookies = (out.AssociatedCookies)[:0] } for !in.IsDelim(']') { - var v75 *AssociatedCookie + var v77 *AssociatedCookie if in.IsNull() { in.Skip() - v75 = nil + v77 = nil } else { - if v75 == nil { - v75 = new(AssociatedCookie) + if v77 == nil { + v77 = new(AssociatedCookie) } - (*v75).UnmarshalEasyJSON(in) + (*v77).UnmarshalEasyJSON(in) } - out.AssociatedCookies = append(out.AssociatedCookies, v75) + out.AssociatedCookies = append(out.AssociatedCookies, v77) in.WantComma() } in.Delim(']') @@ -7681,15 +7810,15 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork71(in *jlexer.Lexer, o for !in.IsDelim('}') { key := string(in.String()) in.WantColon() - var v76 interface{} - if m, ok := v76.(easyjson.Unmarshaler); ok { + var v78 interface{} + if m, ok := v78.(easyjson.Unmarshaler); ok { m.UnmarshalEasyJSON(in) - } else if m, ok := v76.(json.Unmarshaler); ok { + } else if m, ok := v78.(json.Unmarshaler); ok { _ = m.UnmarshalJSON(in.Raw()) } else { - v76 = in.Interface() + v78 = in.Interface() } - (out.Headers)[key] = v76 + (out.Headers)[key] = v78 in.WantComma() } in.Delim('}') @@ -7726,7 +7855,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork71(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork71(out *jwriter.Writer, in EventRequestWillBeSentExtraInfo) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork72(out *jwriter.Writer, in EventRequestWillBeSentExtraInfo) { out.RawByte('{') first := true _ = first @@ -7742,14 +7871,14 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork71(out *jwriter.Writer out.RawString("null") } else { out.RawByte('[') - for v77, v78 := range in.AssociatedCookies { - if v77 > 0 { + for v79, v80 := range in.AssociatedCookies { + if v79 > 0 { out.RawByte(',') } - if v78 == nil { + if v80 == nil { out.RawString("null") } else { - (*v78).MarshalEasyJSON(out) + (*v80).MarshalEasyJSON(out) } } out.RawByte(']') @@ -7762,21 +7891,21 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork71(out *jwriter.Writer out.RawString(`null`) } else { out.RawByte('{') - v79First := true - for v79Name, v79Value := range in.Headers { - if v79First { - v79First = false + v81First := true + for v81Name, v81Value := range in.Headers { + if v81First { + v81First = false } else { out.RawByte(',') } - out.String(string(v79Name)) + out.String(string(v81Name)) out.RawByte(':') - if m, ok := v79Value.(easyjson.Marshaler); ok { + if m, ok := v81Value.(easyjson.Marshaler); ok { m.MarshalEasyJSON(out) - } else if m, ok := v79Value.(json.Marshaler); ok { + } else if m, ok := v81Value.(json.Marshaler); ok { out.Raw(m.MarshalJSON()) } else { - out.Raw(json.Marshal(v79Value)) + out.Raw(json.Marshal(v81Value)) } } out.RawByte('}') @@ -7807,27 +7936,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork71(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v EventRequestWillBeSentExtraInfo) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork71(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork72(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventRequestWillBeSentExtraInfo) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork71(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork72(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventRequestWillBeSentExtraInfo) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork71(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork72(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventRequestWillBeSentExtraInfo) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork71(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork72(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork72(in *jlexer.Lexer, out *EventRequestWillBeSent) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork73(in *jlexer.Lexer, out *EventRequestWillBeSent) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -7920,7 +8049,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork72(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork72(out *jwriter.Writer, in EventRequestWillBeSent) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork73(out *jwriter.Writer, in EventRequestWillBeSent) { out.RawByte('{') first := true _ = first @@ -8006,27 +8135,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork72(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v EventRequestWillBeSent) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork72(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork73(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventRequestWillBeSent) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork72(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork73(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventRequestWillBeSent) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork72(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork73(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventRequestWillBeSent) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork72(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork73(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork73(in *jlexer.Lexer, out *EventRequestServedFromCache) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork74(in *jlexer.Lexer, out *EventRequestServedFromCache) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -8057,7 +8186,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork73(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork73(out *jwriter.Writer, in EventRequestServedFromCache) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork74(out *jwriter.Writer, in EventRequestServedFromCache) { out.RawByte('{') first := true _ = first @@ -8072,27 +8201,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork73(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v EventRequestServedFromCache) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork73(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork74(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventRequestServedFromCache) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork73(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork74(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventRequestServedFromCache) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork73(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork74(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventRequestServedFromCache) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork73(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork74(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork74(in *jlexer.Lexer, out *EventReportingAPIReportUpdated) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork75(in *jlexer.Lexer, out *EventReportingAPIReportUpdated) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -8131,7 +8260,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork74(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork74(out *jwriter.Writer, in EventReportingAPIReportUpdated) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork75(out *jwriter.Writer, in EventReportingAPIReportUpdated) { out.RawByte('{') first := true _ = first @@ -8150,27 +8279,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork74(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v EventReportingAPIReportUpdated) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork74(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork75(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventReportingAPIReportUpdated) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork74(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork75(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventReportingAPIReportUpdated) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork74(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork75(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventReportingAPIReportUpdated) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork74(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork75(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork75(in *jlexer.Lexer, out *EventReportingAPIReportAdded) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork76(in *jlexer.Lexer, out *EventReportingAPIReportAdded) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -8209,7 +8338,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork75(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork75(out *jwriter.Writer, in EventReportingAPIReportAdded) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork76(out *jwriter.Writer, in EventReportingAPIReportAdded) { out.RawByte('{') first := true _ = first @@ -8228,27 +8357,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork75(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v EventReportingAPIReportAdded) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork75(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork76(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventReportingAPIReportAdded) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork75(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork76(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventReportingAPIReportAdded) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork75(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork76(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventReportingAPIReportAdded) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork75(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork76(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork76(in *jlexer.Lexer, out *EventReportingAPIEndpointsChangedForOrigin) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork77(in *jlexer.Lexer, out *EventReportingAPIEndpointsChangedForOrigin) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -8285,17 +8414,17 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork76(in *jlexer.Lexer, o out.Endpoints = (out.Endpoints)[:0] } for !in.IsDelim(']') { - var v80 *ReportingAPIEndpoint + var v82 *ReportingAPIEndpoint if in.IsNull() { in.Skip() - v80 = nil + v82 = nil } else { - if v80 == nil { - v80 = new(ReportingAPIEndpoint) + if v82 == nil { + v82 = new(ReportingAPIEndpoint) } - (*v80).UnmarshalEasyJSON(in) + (*v82).UnmarshalEasyJSON(in) } - out.Endpoints = append(out.Endpoints, v80) + out.Endpoints = append(out.Endpoints, v82) in.WantComma() } in.Delim(']') @@ -8310,7 +8439,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork76(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork76(out *jwriter.Writer, in EventReportingAPIEndpointsChangedForOrigin) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork77(out *jwriter.Writer, in EventReportingAPIEndpointsChangedForOrigin) { out.RawByte('{') first := true _ = first @@ -8326,14 +8455,14 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork76(out *jwriter.Writer out.RawString("null") } else { out.RawByte('[') - for v81, v82 := range in.Endpoints { - if v81 > 0 { + for v83, v84 := range in.Endpoints { + if v83 > 0 { out.RawByte(',') } - if v82 == nil { + if v84 == nil { out.RawString("null") } else { - (*v82).MarshalEasyJSON(out) + (*v84).MarshalEasyJSON(out) } } out.RawByte(']') @@ -8345,27 +8474,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork76(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v EventReportingAPIEndpointsChangedForOrigin) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork76(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork77(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventReportingAPIEndpointsChangedForOrigin) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork76(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork77(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventReportingAPIEndpointsChangedForOrigin) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork76(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork77(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventReportingAPIEndpointsChangedForOrigin) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork76(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork77(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork77(in *jlexer.Lexer, out *EventLoadingFinished) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork78(in *jlexer.Lexer, out *EventLoadingFinished) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -8408,7 +8537,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork77(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork77(out *jwriter.Writer, in EventLoadingFinished) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork78(out *jwriter.Writer, in EventLoadingFinished) { out.RawByte('{') first := true _ = first @@ -8437,27 +8566,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork77(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v EventLoadingFinished) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork77(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork78(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventLoadingFinished) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork77(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork78(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventLoadingFinished) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork77(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork78(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventLoadingFinished) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork77(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork78(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork78(in *jlexer.Lexer, out *EventLoadingFailed) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork79(in *jlexer.Lexer, out *EventLoadingFailed) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -8516,7 +8645,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork78(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork78(out *jwriter.Writer, in EventLoadingFailed) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork79(out *jwriter.Writer, in EventLoadingFailed) { out.RawByte('{') first := true _ = first @@ -8565,27 +8694,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork78(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v EventLoadingFailed) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork78(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork79(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventLoadingFailed) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork78(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork79(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventLoadingFailed) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork78(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork79(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventLoadingFailed) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork78(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork79(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork79(in *jlexer.Lexer, out *EventEventSourceMessageReceived) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork80(in *jlexer.Lexer, out *EventEventSourceMessageReceived) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -8632,7 +8761,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork79(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork79(out *jwriter.Writer, in EventEventSourceMessageReceived) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork80(out *jwriter.Writer, in EventEventSourceMessageReceived) { out.RawByte('{') first := true _ = first @@ -8671,27 +8800,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork79(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v EventEventSourceMessageReceived) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork79(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork80(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventEventSourceMessageReceived) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork79(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork80(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventEventSourceMessageReceived) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork79(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork80(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventEventSourceMessageReceived) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork79(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork80(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork80(in *jlexer.Lexer, out *EventDataReceived) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork81(in *jlexer.Lexer, out *EventDataReceived) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -8738,7 +8867,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork80(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork80(out *jwriter.Writer, in EventDataReceived) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork81(out *jwriter.Writer, in EventDataReceived) { out.RawByte('{') first := true _ = first @@ -8777,27 +8906,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork80(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v EventDataReceived) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork80(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork81(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventDataReceived) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork80(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork81(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventDataReceived) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork80(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork81(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventDataReceived) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork80(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork81(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork81(in *jlexer.Lexer, out *EnableReportingAPIParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork82(in *jlexer.Lexer, out *EnableReportingAPIParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -8828,7 +8957,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork81(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork81(out *jwriter.Writer, in EnableReportingAPIParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork82(out *jwriter.Writer, in EnableReportingAPIParams) { out.RawByte('{') first := true _ = first @@ -8843,27 +8972,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork81(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v EnableReportingAPIParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork81(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork82(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EnableReportingAPIParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork81(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork82(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EnableReportingAPIParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork81(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork82(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EnableReportingAPIParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork81(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork82(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork82(in *jlexer.Lexer, out *EnableParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork83(in *jlexer.Lexer, out *EnableParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -8898,7 +9027,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork82(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork82(out *jwriter.Writer, in EnableParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork83(out *jwriter.Writer, in EnableParams) { out.RawByte('{') first := true _ = first @@ -8934,27 +9063,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork82(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v EnableParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork82(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork83(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EnableParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork82(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork83(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EnableParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork82(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork83(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EnableParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork82(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork83(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork83(in *jlexer.Lexer, out *EmulateNetworkConditionsParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork84(in *jlexer.Lexer, out *EmulateNetworkConditionsParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -8999,7 +9128,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork83(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork83(out *jwriter.Writer, in EmulateNetworkConditionsParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork84(out *jwriter.Writer, in EmulateNetworkConditionsParams) { out.RawByte('{') first := true _ = first @@ -9049,27 +9178,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork83(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v EmulateNetworkConditionsParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork83(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork84(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EmulateNetworkConditionsParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork83(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork84(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EmulateNetworkConditionsParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork83(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork84(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EmulateNetworkConditionsParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork83(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork84(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork84(in *jlexer.Lexer, out *DisableParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork85(in *jlexer.Lexer, out *DisableParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -9098,7 +9227,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork84(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork84(out *jwriter.Writer, in DisableParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork85(out *jwriter.Writer, in DisableParams) { out.RawByte('{') first := true _ = first @@ -9108,27 +9237,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork84(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v DisableParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork84(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork85(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v DisableParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork84(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork85(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *DisableParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork84(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork85(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *DisableParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork84(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork85(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork85(in *jlexer.Lexer, out *DeleteCookiesParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork86(in *jlexer.Lexer, out *DeleteCookiesParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -9167,7 +9296,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork85(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork85(out *jwriter.Writer, in DeleteCookiesParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork86(out *jwriter.Writer, in DeleteCookiesParams) { out.RawByte('{') first := true _ = first @@ -9202,27 +9331,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork85(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v DeleteCookiesParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork85(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork86(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v DeleteCookiesParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork85(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork86(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *DeleteCookiesParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork85(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork86(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *DeleteCookiesParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork85(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork86(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork86(in *jlexer.Lexer, out *CrossOriginOpenerPolicyStatus) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork87(in *jlexer.Lexer, out *CrossOriginOpenerPolicyStatus) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -9259,7 +9388,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork86(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork86(out *jwriter.Writer, in CrossOriginOpenerPolicyStatus) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork87(out *jwriter.Writer, in CrossOriginOpenerPolicyStatus) { out.RawByte('{') first := true _ = first @@ -9289,27 +9418,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork86(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v CrossOriginOpenerPolicyStatus) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork86(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork87(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v CrossOriginOpenerPolicyStatus) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork86(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork87(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *CrossOriginOpenerPolicyStatus) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork86(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork87(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *CrossOriginOpenerPolicyStatus) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork86(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork87(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork87(in *jlexer.Lexer, out *CrossOriginEmbedderPolicyStatus) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork88(in *jlexer.Lexer, out *CrossOriginEmbedderPolicyStatus) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -9346,7 +9475,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork87(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork87(out *jwriter.Writer, in CrossOriginEmbedderPolicyStatus) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork88(out *jwriter.Writer, in CrossOriginEmbedderPolicyStatus) { out.RawByte('{') first := true _ = first @@ -9376,27 +9505,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork87(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v CrossOriginEmbedderPolicyStatus) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork87(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork88(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v CrossOriginEmbedderPolicyStatus) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork87(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork88(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *CrossOriginEmbedderPolicyStatus) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork87(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork88(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *CrossOriginEmbedderPolicyStatus) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork87(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork88(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork88(in *jlexer.Lexer, out *CorsErrorStatus) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork89(in *jlexer.Lexer, out *CorsErrorStatus) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -9429,7 +9558,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork88(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork88(out *jwriter.Writer, in CorsErrorStatus) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork89(out *jwriter.Writer, in CorsErrorStatus) { out.RawByte('{') first := true _ = first @@ -9449,27 +9578,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork88(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v CorsErrorStatus) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork88(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork89(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v CorsErrorStatus) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork88(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork89(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *CorsErrorStatus) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork88(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork89(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *CorsErrorStatus) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork88(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork89(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork89(in *jlexer.Lexer, out *CookieParam) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork90(in *jlexer.Lexer, out *CookieParam) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -9534,7 +9663,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork89(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork89(out *jwriter.Writer, in CookieParam) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork90(out *jwriter.Writer, in CookieParam) { out.RawByte('{') first := true _ = first @@ -9614,27 +9743,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork89(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v CookieParam) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork89(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork90(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v CookieParam) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork89(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork90(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *CookieParam) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork89(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork90(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *CookieParam) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork89(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork90(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork90(in *jlexer.Lexer, out *Cookie) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork91(in *jlexer.Lexer, out *Cookie) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -9693,7 +9822,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork90(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork90(out *jwriter.Writer, in Cookie) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork91(out *jwriter.Writer, in Cookie) { out.RawByte('{') first := true _ = first @@ -9778,27 +9907,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork90(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v Cookie) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork90(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork91(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v Cookie) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork90(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork91(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *Cookie) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork90(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork91(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *Cookie) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork90(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork91(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork91(in *jlexer.Lexer, out *ContentSecurityPolicyStatus) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork92(in *jlexer.Lexer, out *ContentSecurityPolicyStatus) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -9833,7 +9962,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork91(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork91(out *jwriter.Writer, in ContentSecurityPolicyStatus) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork92(out *jwriter.Writer, in ContentSecurityPolicyStatus) { out.RawByte('{') first := true _ = first @@ -9858,27 +9987,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork91(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v ContentSecurityPolicyStatus) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork91(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork92(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v ContentSecurityPolicyStatus) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork91(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork92(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *ContentSecurityPolicyStatus) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork91(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork92(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *ContentSecurityPolicyStatus) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork91(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork92(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork92(in *jlexer.Lexer, out *ConnectTiming) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork93(in *jlexer.Lexer, out *ConnectTiming) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -9909,7 +10038,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork92(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork92(out *jwriter.Writer, in ConnectTiming) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork93(out *jwriter.Writer, in ConnectTiming) { out.RawByte('{') first := true _ = first @@ -9924,27 +10053,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork92(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v ConnectTiming) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork92(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork93(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v ConnectTiming) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork92(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork93(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *ConnectTiming) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork92(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork93(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *ConnectTiming) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork92(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork93(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork93(in *jlexer.Lexer, out *ClientSecurityState) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork94(in *jlexer.Lexer, out *ClientSecurityState) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -9979,7 +10108,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork93(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork93(out *jwriter.Writer, in ClientSecurityState) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork94(out *jwriter.Writer, in ClientSecurityState) { out.RawByte('{') first := true _ = first @@ -10004,27 +10133,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork93(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v ClientSecurityState) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork93(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork94(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v ClientSecurityState) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork93(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork94(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *ClientSecurityState) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork93(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork94(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *ClientSecurityState) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork93(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork94(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork94(in *jlexer.Lexer, out *ClearBrowserCookiesParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork95(in *jlexer.Lexer, out *ClearBrowserCookiesParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -10053,7 +10182,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork94(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork94(out *jwriter.Writer, in ClearBrowserCookiesParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork95(out *jwriter.Writer, in ClearBrowserCookiesParams) { out.RawByte('{') first := true _ = first @@ -10063,27 +10192,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork94(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v ClearBrowserCookiesParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork94(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork95(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v ClearBrowserCookiesParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork94(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork95(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *ClearBrowserCookiesParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork94(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork95(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *ClearBrowserCookiesParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork94(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork95(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork95(in *jlexer.Lexer, out *ClearBrowserCacheParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork96(in *jlexer.Lexer, out *ClearBrowserCacheParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -10112,7 +10241,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork95(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork95(out *jwriter.Writer, in ClearBrowserCacheParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork96(out *jwriter.Writer, in ClearBrowserCacheParams) { out.RawByte('{') first := true _ = first @@ -10122,27 +10251,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork95(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v ClearBrowserCacheParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork95(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork96(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v ClearBrowserCacheParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork95(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork96(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *ClearBrowserCacheParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork95(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork96(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *ClearBrowserCacheParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork95(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork96(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork96(in *jlexer.Lexer, out *ClearAcceptedEncodingsOverrideParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork97(in *jlexer.Lexer, out *ClearAcceptedEncodingsOverrideParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -10171,7 +10300,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork96(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork96(out *jwriter.Writer, in ClearAcceptedEncodingsOverrideParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork97(out *jwriter.Writer, in ClearAcceptedEncodingsOverrideParams) { out.RawByte('{') first := true _ = first @@ -10181,27 +10310,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork96(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v ClearAcceptedEncodingsOverrideParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork96(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork97(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v ClearAcceptedEncodingsOverrideParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork96(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork97(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *ClearAcceptedEncodingsOverrideParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork96(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork97(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *ClearAcceptedEncodingsOverrideParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork96(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork97(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork97(in *jlexer.Lexer, out *CachedResource) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork98(in *jlexer.Lexer, out *CachedResource) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -10246,7 +10375,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork97(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork97(out *jwriter.Writer, in CachedResource) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork98(out *jwriter.Writer, in CachedResource) { out.RawByte('{') first := true _ = first @@ -10276,27 +10405,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork97(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v CachedResource) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork97(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork98(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v CachedResource) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork97(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork98(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *CachedResource) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork97(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork98(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *CachedResource) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork97(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork98(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork98(in *jlexer.Lexer, out *BlockedSetCookieWithReason) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork99(in *jlexer.Lexer, out *BlockedSetCookieWithReason) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -10331,9 +10460,9 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork98(in *jlexer.Lexer, o out.BlockedReasons = (out.BlockedReasons)[:0] } for !in.IsDelim(']') { - var v83 SetCookieBlockedReason - (v83).UnmarshalEasyJSON(in) - out.BlockedReasons = append(out.BlockedReasons, v83) + var v85 SetCookieBlockedReason + (v85).UnmarshalEasyJSON(in) + out.BlockedReasons = append(out.BlockedReasons, v85) in.WantComma() } in.Delim(']') @@ -10360,7 +10489,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork98(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork98(out *jwriter.Writer, in BlockedSetCookieWithReason) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork99(out *jwriter.Writer, in BlockedSetCookieWithReason) { out.RawByte('{') first := true _ = first @@ -10371,11 +10500,11 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork98(out *jwriter.Writer out.RawString("null") } else { out.RawByte('[') - for v84, v85 := range in.BlockedReasons { - if v84 > 0 { + for v86, v87 := range in.BlockedReasons { + if v86 > 0 { out.RawByte(',') } - (v85).MarshalEasyJSON(out) + (v87).MarshalEasyJSON(out) } out.RawByte(']') } @@ -10396,27 +10525,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork98(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v BlockedSetCookieWithReason) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork98(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork99(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v BlockedSetCookieWithReason) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork98(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork99(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *BlockedSetCookieWithReason) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork98(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork99(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *BlockedSetCookieWithReason) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork98(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork99(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork99(in *jlexer.Lexer, out *AuthChallengeResponse) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork100(in *jlexer.Lexer, out *AuthChallengeResponse) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -10451,7 +10580,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork99(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork99(out *jwriter.Writer, in AuthChallengeResponse) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork100(out *jwriter.Writer, in AuthChallengeResponse) { out.RawByte('{') first := true _ = first @@ -10476,27 +10605,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork99(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v AuthChallengeResponse) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork99(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork100(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v AuthChallengeResponse) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork99(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork100(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *AuthChallengeResponse) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork99(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork100(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *AuthChallengeResponse) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork99(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork100(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork100(in *jlexer.Lexer, out *AuthChallenge) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork101(in *jlexer.Lexer, out *AuthChallenge) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -10533,7 +10662,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork100(in *jlexer.Lexer, in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork100(out *jwriter.Writer, in AuthChallenge) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork101(out *jwriter.Writer, in AuthChallenge) { out.RawByte('{') first := true _ = first @@ -10569,27 +10698,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork100(out *jwriter.Write // MarshalJSON supports json.Marshaler interface func (v AuthChallenge) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork100(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork101(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v AuthChallenge) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork100(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork101(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *AuthChallenge) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork100(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork101(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *AuthChallenge) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork100(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork101(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork101(in *jlexer.Lexer, out *AssociatedCookie) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork102(in *jlexer.Lexer, out *AssociatedCookie) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -10634,9 +10763,9 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork101(in *jlexer.Lexer, out.BlockedReasons = (out.BlockedReasons)[:0] } for !in.IsDelim(']') { - var v86 CookieBlockedReason - (v86).UnmarshalEasyJSON(in) - out.BlockedReasons = append(out.BlockedReasons, v86) + var v88 CookieBlockedReason + (v88).UnmarshalEasyJSON(in) + out.BlockedReasons = append(out.BlockedReasons, v88) in.WantComma() } in.Delim(']') @@ -10653,7 +10782,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork101(in *jlexer.Lexer, in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork101(out *jwriter.Writer, in AssociatedCookie) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork102(out *jwriter.Writer, in AssociatedCookie) { out.RawByte('{') first := true _ = first @@ -10673,11 +10802,11 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork101(out *jwriter.Write out.RawString("null") } else { out.RawByte('[') - for v87, v88 := range in.BlockedReasons { - if v87 > 0 { + for v89, v90 := range in.BlockedReasons { + if v89 > 0 { out.RawByte(',') } - (v88).MarshalEasyJSON(out) + (v90).MarshalEasyJSON(out) } out.RawByte(']') } @@ -10693,23 +10822,23 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork101(out *jwriter.Write // MarshalJSON supports json.Marshaler interface func (v AssociatedCookie) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork101(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork102(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v AssociatedCookie) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork101(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork102(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *AssociatedCookie) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork101(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork102(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *AssociatedCookie) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork101(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork102(l, v) } diff --git a/network/events.go b/network/events.go index cbfd2bf..ead8c53 100644 --- a/network/events.go +++ b/network/events.go @@ -235,6 +235,17 @@ type EventResponseReceivedExtraInfo struct { ExemptedCookies []*ExemptedSetCookieWithReason `json:"exemptedCookies,omitempty"` // A list of cookies which should have been blocked by 3PCD but are exempted and stored from the response with the corresponding reason. } +// EventResponseReceivedEarlyHints fired when 103 Early Hints headers is +// received in addition to the common response. Not every responseReceived event +// will have an responseReceivedEarlyHints fired. Only one +// responseReceivedEarlyHints may be fired for eached responseReceived event. +// +// See: https://chromedevtools.github.io/devtools-protocol/tot/Network#event-responseReceivedEarlyHints +type EventResponseReceivedEarlyHints struct { + RequestID RequestID `json:"requestId"` // Request identifier. Used to match this information to another responseReceived event. + Headers Headers `json:"headers"` // Raw response headers as they were received over the wire. +} + // EventTrustTokenOperationDone fired exactly once for each Trust Token // operation. Depending on the type of the operation and whether the operation // succeeded or failed, the event is fired before the corresponding request was diff --git a/network/types.go b/network/types.go index e5ee09e..c334fb1 100644 --- a/network/types.go +++ b/network/types.go @@ -1093,6 +1093,7 @@ type Response struct { FromDiskCache bool `json:"fromDiskCache,omitempty"` // Specifies that the request was served from the disk cache. FromServiceWorker bool `json:"fromServiceWorker,omitempty"` // Specifies that the request was served from the ServiceWorker. FromPrefetchCache bool `json:"fromPrefetchCache,omitempty"` // Specifies that the request was served from the prefetch cache. + FromEarlyHints bool `json:"fromEarlyHints,omitempty"` // Specifies that the request was served from the prefetch cache. ServiceWorkerRouterInfo *ServiceWorkerRouterInfo `json:"serviceWorkerRouterInfo,omitempty"` // Information about how Service Worker Static Router was used. EncodedDataLength float64 `json:"encodedDataLength"` // Total number of bytes received for this request so far. Timing *ResourceTiming `json:"timing,omitempty"` // Timing information for the given request. @@ -1455,6 +1456,7 @@ type BlockedSetCookieWithReason struct { // See: https://chromedevtools.github.io/devtools-protocol/tot/Network#type-ExemptedSetCookieWithReason type ExemptedSetCookieWithReason struct { ExemptionReason CookieExemptionReason `json:"exemptionReason"` // The reason the cookie was exempted. + CookieLine string `json:"cookieLine"` // The string representing this individual cookie as it would appear in the header. Cookie *Cookie `json:"cookie"` // The cookie object representing the cookie. } diff --git a/page/easyjson.go b/page/easyjson.go index 4f6e49b..15008ee 100644 --- a/page/easyjson.go +++ b/page/easyjson.go @@ -22,7 +22,1005 @@ var ( _ easyjson.Marshaler ) -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage(in *jlexer.Lexer, out *WaitForDebuggerParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage(in *jlexer.Lexer, out *WebAppManifest) { + isTopLevel := in.IsStart() + if in.IsNull() { + if isTopLevel { + in.Consumed() + } + in.Skip() + return + } + in.Delim('{') + for !in.IsDelim('}') { + key := in.UnsafeFieldName(false) + in.WantColon() + if in.IsNull() { + in.Skip() + in.WantComma() + continue + } + switch key { + case "backgroundColor": + out.BackgroundColor = string(in.String()) + case "description": + out.Description = string(in.String()) + case "dir": + out.Dir = string(in.String()) + case "display": + out.Display = string(in.String()) + case "displayOverrides": + if in.IsNull() { + in.Skip() + out.DisplayOverrides = nil + } else { + in.Delim('[') + if out.DisplayOverrides == nil { + if !in.IsDelim(']') { + out.DisplayOverrides = make([]string, 0, 4) + } else { + out.DisplayOverrides = []string{} + } + } else { + out.DisplayOverrides = (out.DisplayOverrides)[:0] + } + for !in.IsDelim(']') { + var v1 string + v1 = string(in.String()) + out.DisplayOverrides = append(out.DisplayOverrides, v1) + in.WantComma() + } + in.Delim(']') + } + case "fileHandlers": + if in.IsNull() { + in.Skip() + out.FileHandlers = nil + } else { + in.Delim('[') + if out.FileHandlers == nil { + if !in.IsDelim(']') { + out.FileHandlers = make([]*FileHandler, 0, 8) + } else { + out.FileHandlers = []*FileHandler{} + } + } else { + out.FileHandlers = (out.FileHandlers)[:0] + } + for !in.IsDelim(']') { + var v2 *FileHandler + if in.IsNull() { + in.Skip() + v2 = nil + } else { + if v2 == nil { + v2 = new(FileHandler) + } + (*v2).UnmarshalEasyJSON(in) + } + out.FileHandlers = append(out.FileHandlers, v2) + in.WantComma() + } + in.Delim(']') + } + case "icons": + if in.IsNull() { + in.Skip() + out.Icons = nil + } else { + in.Delim('[') + if out.Icons == nil { + if !in.IsDelim(']') { + out.Icons = make([]*ImageResource, 0, 8) + } else { + out.Icons = []*ImageResource{} + } + } else { + out.Icons = (out.Icons)[:0] + } + for !in.IsDelim(']') { + var v3 *ImageResource + if in.IsNull() { + in.Skip() + v3 = nil + } else { + if v3 == nil { + v3 = new(ImageResource) + } + (*v3).UnmarshalEasyJSON(in) + } + out.Icons = append(out.Icons, v3) + in.WantComma() + } + in.Delim(']') + } + case "id": + out.ID = string(in.String()) + case "lang": + out.Lang = string(in.String()) + case "launchHandler": + if in.IsNull() { + in.Skip() + out.LaunchHandler = nil + } else { + if out.LaunchHandler == nil { + out.LaunchHandler = new(LaunchHandler) + } + (*out.LaunchHandler).UnmarshalEasyJSON(in) + } + case "name": + out.Name = string(in.String()) + case "orientation": + out.Orientation = string(in.String()) + case "preferRelatedApplications": + out.PreferRelatedApplications = bool(in.Bool()) + case "protocolHandlers": + if in.IsNull() { + in.Skip() + out.ProtocolHandlers = nil + } else { + in.Delim('[') + if out.ProtocolHandlers == nil { + if !in.IsDelim(']') { + out.ProtocolHandlers = make([]*ProtocolHandler, 0, 8) + } else { + out.ProtocolHandlers = []*ProtocolHandler{} + } + } else { + out.ProtocolHandlers = (out.ProtocolHandlers)[:0] + } + for !in.IsDelim(']') { + var v4 *ProtocolHandler + if in.IsNull() { + in.Skip() + v4 = nil + } else { + if v4 == nil { + v4 = new(ProtocolHandler) + } + (*v4).UnmarshalEasyJSON(in) + } + out.ProtocolHandlers = append(out.ProtocolHandlers, v4) + in.WantComma() + } + in.Delim(']') + } + case "relatedApplications": + if in.IsNull() { + in.Skip() + out.RelatedApplications = nil + } else { + in.Delim('[') + if out.RelatedApplications == nil { + if !in.IsDelim(']') { + out.RelatedApplications = make([]*RelatedApplication, 0, 8) + } else { + out.RelatedApplications = []*RelatedApplication{} + } + } else { + out.RelatedApplications = (out.RelatedApplications)[:0] + } + for !in.IsDelim(']') { + var v5 *RelatedApplication + if in.IsNull() { + in.Skip() + v5 = nil + } else { + if v5 == nil { + v5 = new(RelatedApplication) + } + (*v5).UnmarshalEasyJSON(in) + } + out.RelatedApplications = append(out.RelatedApplications, v5) + in.WantComma() + } + in.Delim(']') + } + case "scope": + out.Scope = string(in.String()) + case "scopeExtensions": + if in.IsNull() { + in.Skip() + out.ScopeExtensions = nil + } else { + in.Delim('[') + if out.ScopeExtensions == nil { + if !in.IsDelim(']') { + out.ScopeExtensions = make([]*ScopeExtension, 0, 8) + } else { + out.ScopeExtensions = []*ScopeExtension{} + } + } else { + out.ScopeExtensions = (out.ScopeExtensions)[:0] + } + for !in.IsDelim(']') { + var v6 *ScopeExtension + if in.IsNull() { + in.Skip() + v6 = nil + } else { + if v6 == nil { + v6 = new(ScopeExtension) + } + (*v6).UnmarshalEasyJSON(in) + } + out.ScopeExtensions = append(out.ScopeExtensions, v6) + in.WantComma() + } + in.Delim(']') + } + case "screenshots": + if in.IsNull() { + in.Skip() + out.Screenshots = nil + } else { + in.Delim('[') + if out.Screenshots == nil { + if !in.IsDelim(']') { + out.Screenshots = make([]*Screenshot, 0, 8) + } else { + out.Screenshots = []*Screenshot{} + } + } else { + out.Screenshots = (out.Screenshots)[:0] + } + for !in.IsDelim(']') { + var v7 *Screenshot + if in.IsNull() { + in.Skip() + v7 = nil + } else { + if v7 == nil { + v7 = new(Screenshot) + } + (*v7).UnmarshalEasyJSON(in) + } + out.Screenshots = append(out.Screenshots, v7) + in.WantComma() + } + in.Delim(']') + } + case "shareTarget": + if in.IsNull() { + in.Skip() + out.ShareTarget = nil + } else { + if out.ShareTarget == nil { + out.ShareTarget = new(ShareTarget) + } + (*out.ShareTarget).UnmarshalEasyJSON(in) + } + case "shortName": + out.ShortName = string(in.String()) + case "shortcuts": + if in.IsNull() { + in.Skip() + out.Shortcuts = nil + } else { + in.Delim('[') + if out.Shortcuts == nil { + if !in.IsDelim(']') { + out.Shortcuts = make([]*Shortcut, 0, 8) + } else { + out.Shortcuts = []*Shortcut{} + } + } else { + out.Shortcuts = (out.Shortcuts)[:0] + } + for !in.IsDelim(']') { + var v8 *Shortcut + if in.IsNull() { + in.Skip() + v8 = nil + } else { + if v8 == nil { + v8 = new(Shortcut) + } + (*v8).UnmarshalEasyJSON(in) + } + out.Shortcuts = append(out.Shortcuts, v8) + in.WantComma() + } + in.Delim(']') + } + case "startUrl": + out.StartURL = string(in.String()) + case "themeColor": + out.ThemeColor = string(in.String()) + default: + in.SkipRecursive() + } + in.WantComma() + } + in.Delim('}') + if isTopLevel { + in.Consumed() + } +} +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage(out *jwriter.Writer, in WebAppManifest) { + out.RawByte('{') + first := true + _ = first + if in.BackgroundColor != "" { + const prefix string = ",\"backgroundColor\":" + first = false + out.RawString(prefix[1:]) + out.String(string(in.BackgroundColor)) + } + if in.Description != "" { + const prefix string = ",\"description\":" + if first { + first = false + out.RawString(prefix[1:]) + } else { + out.RawString(prefix) + } + out.String(string(in.Description)) + } + if in.Dir != "" { + const prefix string = ",\"dir\":" + if first { + first = false + out.RawString(prefix[1:]) + } else { + out.RawString(prefix) + } + out.String(string(in.Dir)) + } + if in.Display != "" { + const prefix string = ",\"display\":" + if first { + first = false + out.RawString(prefix[1:]) + } else { + out.RawString(prefix) + } + out.String(string(in.Display)) + } + if len(in.DisplayOverrides) != 0 { + const prefix string = ",\"displayOverrides\":" + if first { + first = false + out.RawString(prefix[1:]) + } else { + out.RawString(prefix) + } + { + out.RawByte('[') + for v9, v10 := range in.DisplayOverrides { + if v9 > 0 { + out.RawByte(',') + } + out.String(string(v10)) + } + out.RawByte(']') + } + } + if len(in.FileHandlers) != 0 { + const prefix string = ",\"fileHandlers\":" + if first { + first = false + out.RawString(prefix[1:]) + } else { + out.RawString(prefix) + } + { + out.RawByte('[') + for v11, v12 := range in.FileHandlers { + if v11 > 0 { + out.RawByte(',') + } + if v12 == nil { + out.RawString("null") + } else { + (*v12).MarshalEasyJSON(out) + } + } + out.RawByte(']') + } + } + if len(in.Icons) != 0 { + const prefix string = ",\"icons\":" + if first { + first = false + out.RawString(prefix[1:]) + } else { + out.RawString(prefix) + } + { + out.RawByte('[') + for v13, v14 := range in.Icons { + if v13 > 0 { + out.RawByte(',') + } + if v14 == nil { + out.RawString("null") + } else { + (*v14).MarshalEasyJSON(out) + } + } + out.RawByte(']') + } + } + if in.ID != "" { + const prefix string = ",\"id\":" + if first { + first = false + out.RawString(prefix[1:]) + } else { + out.RawString(prefix) + } + out.String(string(in.ID)) + } + if in.Lang != "" { + const prefix string = ",\"lang\":" + if first { + first = false + out.RawString(prefix[1:]) + } else { + out.RawString(prefix) + } + out.String(string(in.Lang)) + } + if in.LaunchHandler != nil { + const prefix string = ",\"launchHandler\":" + if first { + first = false + out.RawString(prefix[1:]) + } else { + out.RawString(prefix) + } + (*in.LaunchHandler).MarshalEasyJSON(out) + } + if in.Name != "" { + const prefix string = ",\"name\":" + if first { + first = false + out.RawString(prefix[1:]) + } else { + out.RawString(prefix) + } + out.String(string(in.Name)) + } + if in.Orientation != "" { + const prefix string = ",\"orientation\":" + if first { + first = false + out.RawString(prefix[1:]) + } else { + out.RawString(prefix) + } + out.String(string(in.Orientation)) + } + if in.PreferRelatedApplications { + const prefix string = ",\"preferRelatedApplications\":" + if first { + first = false + out.RawString(prefix[1:]) + } else { + out.RawString(prefix) + } + out.Bool(bool(in.PreferRelatedApplications)) + } + if len(in.ProtocolHandlers) != 0 { + const prefix string = ",\"protocolHandlers\":" + if first { + first = false + out.RawString(prefix[1:]) + } else { + out.RawString(prefix) + } + { + out.RawByte('[') + for v15, v16 := range in.ProtocolHandlers { + if v15 > 0 { + out.RawByte(',') + } + if v16 == nil { + out.RawString("null") + } else { + (*v16).MarshalEasyJSON(out) + } + } + out.RawByte(']') + } + } + if len(in.RelatedApplications) != 0 { + const prefix string = ",\"relatedApplications\":" + if first { + first = false + out.RawString(prefix[1:]) + } else { + out.RawString(prefix) + } + { + out.RawByte('[') + for v17, v18 := range in.RelatedApplications { + if v17 > 0 { + out.RawByte(',') + } + if v18 == nil { + out.RawString("null") + } else { + (*v18).MarshalEasyJSON(out) + } + } + out.RawByte(']') + } + } + if in.Scope != "" { + const prefix string = ",\"scope\":" + if first { + first = false + out.RawString(prefix[1:]) + } else { + out.RawString(prefix) + } + out.String(string(in.Scope)) + } + if len(in.ScopeExtensions) != 0 { + const prefix string = ",\"scopeExtensions\":" + if first { + first = false + out.RawString(prefix[1:]) + } else { + out.RawString(prefix) + } + { + out.RawByte('[') + for v19, v20 := range in.ScopeExtensions { + if v19 > 0 { + out.RawByte(',') + } + if v20 == nil { + out.RawString("null") + } else { + (*v20).MarshalEasyJSON(out) + } + } + out.RawByte(']') + } + } + if len(in.Screenshots) != 0 { + const prefix string = ",\"screenshots\":" + if first { + first = false + out.RawString(prefix[1:]) + } else { + out.RawString(prefix) + } + { + out.RawByte('[') + for v21, v22 := range in.Screenshots { + if v21 > 0 { + out.RawByte(',') + } + if v22 == nil { + out.RawString("null") + } else { + (*v22).MarshalEasyJSON(out) + } + } + out.RawByte(']') + } + } + if in.ShareTarget != nil { + const prefix string = ",\"shareTarget\":" + if first { + first = false + out.RawString(prefix[1:]) + } else { + out.RawString(prefix) + } + (*in.ShareTarget).MarshalEasyJSON(out) + } + if in.ShortName != "" { + const prefix string = ",\"shortName\":" + if first { + first = false + out.RawString(prefix[1:]) + } else { + out.RawString(prefix) + } + out.String(string(in.ShortName)) + } + if len(in.Shortcuts) != 0 { + const prefix string = ",\"shortcuts\":" + if first { + first = false + out.RawString(prefix[1:]) + } else { + out.RawString(prefix) + } + { + out.RawByte('[') + for v23, v24 := range in.Shortcuts { + if v23 > 0 { + out.RawByte(',') + } + if v24 == nil { + out.RawString("null") + } else { + (*v24).MarshalEasyJSON(out) + } + } + out.RawByte(']') + } + } + if in.StartURL != "" { + const prefix string = ",\"startUrl\":" + if first { + first = false + out.RawString(prefix[1:]) + } else { + out.RawString(prefix) + } + out.String(string(in.StartURL)) + } + if in.ThemeColor != "" { + const prefix string = ",\"themeColor\":" + if first { + first = false + out.RawString(prefix[1:]) + } else { + out.RawString(prefix) + } + out.String(string(in.ThemeColor)) + } + out.RawByte('}') +} + +// MarshalJSON supports json.Marshaler interface +func (v WebAppManifest) MarshalJSON() ([]byte, error) { + w := jwriter.Writer{} + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage(&w, v) + return w.Buffer.BuildBytes(), w.Error +} + +// MarshalEasyJSON supports easyjson.Marshaler interface +func (v WebAppManifest) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage(w, v) +} + +// UnmarshalJSON supports json.Unmarshaler interface +func (v *WebAppManifest) UnmarshalJSON(data []byte) error { + r := jlexer.Lexer{Data: data} + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage(&r, v) + return r.Error() +} + +// UnmarshalEasyJSON supports easyjson.Unmarshaler interface +func (v *WebAppManifest) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage(l, v) +} +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage1(in *jlexer.Lexer, out *WaitForDebuggerParams) { + isTopLevel := in.IsStart() + if in.IsNull() { + if isTopLevel { + in.Consumed() + } + in.Skip() + return + } + in.Delim('{') + for !in.IsDelim('}') { + key := in.UnsafeFieldName(false) + in.WantColon() + if in.IsNull() { + in.Skip() + in.WantComma() + continue + } + switch key { + default: + in.SkipRecursive() + } + in.WantComma() + } + in.Delim('}') + if isTopLevel { + in.Consumed() + } +} +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage1(out *jwriter.Writer, in WaitForDebuggerParams) { + out.RawByte('{') + first := true + _ = first + out.RawByte('}') +} + +// MarshalJSON supports json.Marshaler interface +func (v WaitForDebuggerParams) MarshalJSON() ([]byte, error) { + w := jwriter.Writer{} + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage1(&w, v) + return w.Buffer.BuildBytes(), w.Error +} + +// MarshalEasyJSON supports easyjson.Marshaler interface +func (v WaitForDebuggerParams) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage1(w, v) +} + +// UnmarshalJSON supports json.Unmarshaler interface +func (v *WaitForDebuggerParams) UnmarshalJSON(data []byte) error { + r := jlexer.Lexer{Data: data} + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage1(&r, v) + return r.Error() +} + +// UnmarshalEasyJSON supports easyjson.Unmarshaler interface +func (v *WaitForDebuggerParams) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage1(l, v) +} +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage2(in *jlexer.Lexer, out *VisualViewport) { + isTopLevel := in.IsStart() + if in.IsNull() { + if isTopLevel { + in.Consumed() + } + in.Skip() + return + } + in.Delim('{') + for !in.IsDelim('}') { + key := in.UnsafeFieldName(false) + in.WantColon() + if in.IsNull() { + in.Skip() + in.WantComma() + continue + } + switch key { + case "offsetX": + out.OffsetX = float64(in.Float64()) + case "offsetY": + out.OffsetY = float64(in.Float64()) + case "pageX": + out.PageX = float64(in.Float64()) + case "pageY": + out.PageY = float64(in.Float64()) + case "clientWidth": + out.ClientWidth = float64(in.Float64()) + case "clientHeight": + out.ClientHeight = float64(in.Float64()) + case "scale": + out.Scale = float64(in.Float64()) + case "zoom": + out.Zoom = float64(in.Float64()) + default: + in.SkipRecursive() + } + in.WantComma() + } + in.Delim('}') + if isTopLevel { + in.Consumed() + } +} +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage2(out *jwriter.Writer, in VisualViewport) { + out.RawByte('{') + first := true + _ = first + { + const prefix string = ",\"offsetX\":" + out.RawString(prefix[1:]) + out.Float64(float64(in.OffsetX)) + } + { + const prefix string = ",\"offsetY\":" + out.RawString(prefix) + out.Float64(float64(in.OffsetY)) + } + { + const prefix string = ",\"pageX\":" + out.RawString(prefix) + out.Float64(float64(in.PageX)) + } + { + const prefix string = ",\"pageY\":" + out.RawString(prefix) + out.Float64(float64(in.PageY)) + } + { + const prefix string = ",\"clientWidth\":" + out.RawString(prefix) + out.Float64(float64(in.ClientWidth)) + } + { + const prefix string = ",\"clientHeight\":" + out.RawString(prefix) + out.Float64(float64(in.ClientHeight)) + } + { + const prefix string = ",\"scale\":" + out.RawString(prefix) + out.Float64(float64(in.Scale)) + } + if in.Zoom != 0 { + const prefix string = ",\"zoom\":" + out.RawString(prefix) + out.Float64(float64(in.Zoom)) + } + out.RawByte('}') +} + +// MarshalJSON supports json.Marshaler interface +func (v VisualViewport) MarshalJSON() ([]byte, error) { + w := jwriter.Writer{} + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage2(&w, v) + return w.Buffer.BuildBytes(), w.Error +} + +// MarshalEasyJSON supports easyjson.Marshaler interface +func (v VisualViewport) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage2(w, v) +} + +// UnmarshalJSON supports json.Unmarshaler interface +func (v *VisualViewport) UnmarshalJSON(data []byte) error { + r := jlexer.Lexer{Data: data} + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage2(&r, v) + return r.Error() +} + +// UnmarshalEasyJSON supports easyjson.Unmarshaler interface +func (v *VisualViewport) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage2(l, v) +} +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage3(in *jlexer.Lexer, out *Viewport) { + isTopLevel := in.IsStart() + if in.IsNull() { + if isTopLevel { + in.Consumed() + } + in.Skip() + return + } + in.Delim('{') + for !in.IsDelim('}') { + key := in.UnsafeFieldName(false) + in.WantColon() + if in.IsNull() { + in.Skip() + in.WantComma() + continue + } + switch key { + case "x": + out.X = float64(in.Float64()) + case "y": + out.Y = float64(in.Float64()) + case "width": + out.Width = float64(in.Float64()) + case "height": + out.Height = float64(in.Float64()) + case "scale": + out.Scale = float64(in.Float64()) + default: + in.SkipRecursive() + } + in.WantComma() + } + in.Delim('}') + if isTopLevel { + in.Consumed() + } +} +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage3(out *jwriter.Writer, in Viewport) { + out.RawByte('{') + first := true + _ = first + { + const prefix string = ",\"x\":" + out.RawString(prefix[1:]) + out.Float64(float64(in.X)) + } + { + const prefix string = ",\"y\":" + out.RawString(prefix) + out.Float64(float64(in.Y)) + } + { + const prefix string = ",\"width\":" + out.RawString(prefix) + out.Float64(float64(in.Width)) + } + { + const prefix string = ",\"height\":" + out.RawString(prefix) + out.Float64(float64(in.Height)) + } + { + const prefix string = ",\"scale\":" + out.RawString(prefix) + out.Float64(float64(in.Scale)) + } + out.RawByte('}') +} + +// MarshalJSON supports json.Marshaler interface +func (v Viewport) MarshalJSON() ([]byte, error) { + w := jwriter.Writer{} + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage3(&w, v) + return w.Buffer.BuildBytes(), w.Error +} + +// MarshalEasyJSON supports easyjson.Marshaler interface +func (v Viewport) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage3(w, v) +} + +// UnmarshalJSON supports json.Unmarshaler interface +func (v *Viewport) UnmarshalJSON(data []byte) error { + r := jlexer.Lexer{Data: data} + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage3(&r, v) + return r.Error() +} + +// UnmarshalEasyJSON supports easyjson.Unmarshaler interface +func (v *Viewport) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage3(l, v) +} +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage4(in *jlexer.Lexer, out *StopScreencastParams) { + isTopLevel := in.IsStart() + if in.IsNull() { + if isTopLevel { + in.Consumed() + } + in.Skip() + return + } + in.Delim('{') + for !in.IsDelim('}') { + key := in.UnsafeFieldName(false) + in.WantColon() + if in.IsNull() { + in.Skip() + in.WantComma() + continue + } + switch key { + default: + in.SkipRecursive() + } + in.WantComma() + } + in.Delim('}') + if isTopLevel { + in.Consumed() + } +} +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage4(out *jwriter.Writer, in StopScreencastParams) { + out.RawByte('{') + first := true + _ = first + out.RawByte('}') +} + +// MarshalJSON supports json.Marshaler interface +func (v StopScreencastParams) MarshalJSON() ([]byte, error) { + w := jwriter.Writer{} + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage4(&w, v) + return w.Buffer.BuildBytes(), w.Error +} + +// MarshalEasyJSON supports easyjson.Marshaler interface +func (v StopScreencastParams) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage4(w, v) +} + +// UnmarshalJSON supports json.Unmarshaler interface +func (v *StopScreencastParams) UnmarshalJSON(data []byte) error { + r := jlexer.Lexer{Data: data} + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage4(&r, v) + return r.Error() +} + +// UnmarshalEasyJSON supports easyjson.Unmarshaler interface +func (v *StopScreencastParams) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage4(l, v) +} +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage5(in *jlexer.Lexer, out *StopLoadingParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -51,7 +1049,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage(in *jlexer.Lexer, out *W in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage(out *jwriter.Writer, in WaitForDebuggerParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage5(out *jwriter.Writer, in StopLoadingParams) { out.RawByte('{') first := true _ = first @@ -59,29 +1057,29 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage(out *jwriter.Writer, in } // MarshalJSON supports json.Marshaler interface -func (v WaitForDebuggerParams) MarshalJSON() ([]byte, error) { +func (v StopLoadingParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage5(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface -func (v WaitForDebuggerParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage(w, v) +func (v StopLoadingParams) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage5(w, v) } // UnmarshalJSON supports json.Unmarshaler interface -func (v *WaitForDebuggerParams) UnmarshalJSON(data []byte) error { +func (v *StopLoadingParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage5(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface -func (v *WaitForDebuggerParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage(l, v) +func (v *StopLoadingParams) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage5(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage1(in *jlexer.Lexer, out *VisualViewport) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage6(in *jlexer.Lexer, out *StartScreencastParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -100,22 +1098,237 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage1(in *jlexer.Lexer, out * continue } switch key { - case "offsetX": - out.OffsetX = float64(in.Float64()) - case "offsetY": - out.OffsetY = float64(in.Float64()) - case "pageX": - out.PageX = float64(in.Float64()) - case "pageY": - out.PageY = float64(in.Float64()) - case "clientWidth": - out.ClientWidth = float64(in.Float64()) - case "clientHeight": - out.ClientHeight = float64(in.Float64()) - case "scale": - out.Scale = float64(in.Float64()) - case "zoom": - out.Zoom = float64(in.Float64()) + case "format": + (out.Format).UnmarshalEasyJSON(in) + case "quality": + out.Quality = int64(in.Int64()) + case "maxWidth": + out.MaxWidth = int64(in.Int64()) + case "maxHeight": + out.MaxHeight = int64(in.Int64()) + case "everyNthFrame": + out.EveryNthFrame = int64(in.Int64()) + default: + in.SkipRecursive() + } + in.WantComma() + } + in.Delim('}') + if isTopLevel { + in.Consumed() + } +} +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage6(out *jwriter.Writer, in StartScreencastParams) { + out.RawByte('{') + first := true + _ = first + if in.Format != "" { + const prefix string = ",\"format\":" + first = false + out.RawString(prefix[1:]) + (in.Format).MarshalEasyJSON(out) + } + if in.Quality != 0 { + const prefix string = ",\"quality\":" + if first { + first = false + out.RawString(prefix[1:]) + } else { + out.RawString(prefix) + } + out.Int64(int64(in.Quality)) + } + if in.MaxWidth != 0 { + const prefix string = ",\"maxWidth\":" + if first { + first = false + out.RawString(prefix[1:]) + } else { + out.RawString(prefix) + } + out.Int64(int64(in.MaxWidth)) + } + if in.MaxHeight != 0 { + const prefix string = ",\"maxHeight\":" + if first { + first = false + out.RawString(prefix[1:]) + } else { + out.RawString(prefix) + } + out.Int64(int64(in.MaxHeight)) + } + if in.EveryNthFrame != 0 { + const prefix string = ",\"everyNthFrame\":" + if first { + first = false + out.RawString(prefix[1:]) + } else { + out.RawString(prefix) + } + out.Int64(int64(in.EveryNthFrame)) + } + out.RawByte('}') +} + +// MarshalJSON supports json.Marshaler interface +func (v StartScreencastParams) MarshalJSON() ([]byte, error) { + w := jwriter.Writer{} + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage6(&w, v) + return w.Buffer.BuildBytes(), w.Error +} + +// MarshalEasyJSON supports easyjson.Marshaler interface +func (v StartScreencastParams) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage6(w, v) +} + +// UnmarshalJSON supports json.Unmarshaler interface +func (v *StartScreencastParams) UnmarshalJSON(data []byte) error { + r := jlexer.Lexer{Data: data} + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage6(&r, v) + return r.Error() +} + +// UnmarshalEasyJSON supports easyjson.Unmarshaler interface +func (v *StartScreencastParams) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage6(l, v) +} +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage7(in *jlexer.Lexer, out *Shortcut) { + isTopLevel := in.IsStart() + if in.IsNull() { + if isTopLevel { + in.Consumed() + } + in.Skip() + return + } + in.Delim('{') + for !in.IsDelim('}') { + key := in.UnsafeFieldName(false) + in.WantColon() + if in.IsNull() { + in.Skip() + in.WantComma() + continue + } + switch key { + case "name": + out.Name = string(in.String()) + case "url": + out.URL = string(in.String()) + default: + in.SkipRecursive() + } + in.WantComma() + } + in.Delim('}') + if isTopLevel { + in.Consumed() + } +} +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage7(out *jwriter.Writer, in Shortcut) { + out.RawByte('{') + first := true + _ = first + { + const prefix string = ",\"name\":" + out.RawString(prefix[1:]) + out.String(string(in.Name)) + } + { + const prefix string = ",\"url\":" + out.RawString(prefix) + out.String(string(in.URL)) + } + out.RawByte('}') +} + +// MarshalJSON supports json.Marshaler interface +func (v Shortcut) MarshalJSON() ([]byte, error) { + w := jwriter.Writer{} + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage7(&w, v) + return w.Buffer.BuildBytes(), w.Error +} + +// MarshalEasyJSON supports easyjson.Marshaler interface +func (v Shortcut) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage7(w, v) +} + +// UnmarshalJSON supports json.Unmarshaler interface +func (v *Shortcut) UnmarshalJSON(data []byte) error { + r := jlexer.Lexer{Data: data} + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage7(&r, v) + return r.Error() +} + +// UnmarshalEasyJSON supports easyjson.Unmarshaler interface +func (v *Shortcut) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage7(l, v) +} +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage8(in *jlexer.Lexer, out *ShareTarget) { + isTopLevel := in.IsStart() + if in.IsNull() { + if isTopLevel { + in.Consumed() + } + in.Skip() + return + } + in.Delim('{') + for !in.IsDelim('}') { + key := in.UnsafeFieldName(false) + in.WantColon() + if in.IsNull() { + in.Skip() + in.WantComma() + continue + } + switch key { + case "action": + out.Action = string(in.String()) + case "method": + out.Method = string(in.String()) + case "enctype": + out.Enctype = string(in.String()) + case "title": + out.Title = string(in.String()) + case "text": + out.Text = string(in.String()) + case "url": + out.URL = string(in.String()) + case "files": + if in.IsNull() { + in.Skip() + out.Files = nil + } else { + in.Delim('[') + if out.Files == nil { + if !in.IsDelim(']') { + out.Files = make([]*FileFilter, 0, 8) + } else { + out.Files = []*FileFilter{} + } + } else { + out.Files = (out.Files)[:0] + } + for !in.IsDelim(']') { + var v25 *FileFilter + if in.IsNull() { + in.Skip() + v25 = nil + } else { + if v25 == nil { + v25 = new(FileFilter) + } + (*v25).UnmarshalEasyJSON(in) + } + out.Files = append(out.Files, v25) + in.WantComma() + } + in.Delim(']') + } default: in.SkipRecursive() } @@ -126,77 +1339,85 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage1(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage1(out *jwriter.Writer, in VisualViewport) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage8(out *jwriter.Writer, in ShareTarget) { out.RawByte('{') first := true _ = first { - const prefix string = ",\"offsetX\":" + const prefix string = ",\"action\":" out.RawString(prefix[1:]) - out.Float64(float64(in.OffsetX)) - } - { - const prefix string = ",\"offsetY\":" - out.RawString(prefix) - out.Float64(float64(in.OffsetY)) + out.String(string(in.Action)) } { - const prefix string = ",\"pageX\":" + const prefix string = ",\"method\":" out.RawString(prefix) - out.Float64(float64(in.PageX)) + out.String(string(in.Method)) } { - const prefix string = ",\"pageY\":" + const prefix string = ",\"enctype\":" out.RawString(prefix) - out.Float64(float64(in.PageY)) + out.String(string(in.Enctype)) } - { - const prefix string = ",\"clientWidth\":" + if in.Title != "" { + const prefix string = ",\"title\":" out.RawString(prefix) - out.Float64(float64(in.ClientWidth)) + out.String(string(in.Title)) } - { - const prefix string = ",\"clientHeight\":" + if in.Text != "" { + const prefix string = ",\"text\":" out.RawString(prefix) - out.Float64(float64(in.ClientHeight)) + out.String(string(in.Text)) } - { - const prefix string = ",\"scale\":" + if in.URL != "" { + const prefix string = ",\"url\":" out.RawString(prefix) - out.Float64(float64(in.Scale)) + out.String(string(in.URL)) } - if in.Zoom != 0 { - const prefix string = ",\"zoom\":" + if len(in.Files) != 0 { + const prefix string = ",\"files\":" out.RawString(prefix) - out.Float64(float64(in.Zoom)) + { + out.RawByte('[') + for v26, v27 := range in.Files { + if v26 > 0 { + out.RawByte(',') + } + if v27 == nil { + out.RawString("null") + } else { + (*v27).MarshalEasyJSON(out) + } + } + out.RawByte(']') + } } out.RawByte('}') } // MarshalJSON supports json.Marshaler interface -func (v VisualViewport) MarshalJSON() ([]byte, error) { +func (v ShareTarget) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage1(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage8(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface -func (v VisualViewport) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage1(w, v) +func (v ShareTarget) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage8(w, v) } // UnmarshalJSON supports json.Unmarshaler interface -func (v *VisualViewport) UnmarshalJSON(data []byte) error { +func (v *ShareTarget) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage1(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage8(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface -func (v *VisualViewport) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage1(l, v) +func (v *ShareTarget) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage8(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage2(in *jlexer.Lexer, out *Viewport) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage9(in *jlexer.Lexer, out *SetWebLifecycleStateParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -215,16 +1436,8 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage2(in *jlexer.Lexer, out * continue } switch key { - case "x": - out.X = float64(in.Float64()) - case "y": - out.Y = float64(in.Float64()) - case "width": - out.Width = float64(in.Float64()) - case "height": - out.Height = float64(in.Float64()) - case "scale": - out.Scale = float64(in.Float64()) + case "state": + (out.State).UnmarshalEasyJSON(in) default: in.SkipRecursive() } @@ -235,62 +1448,42 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage2(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage2(out *jwriter.Writer, in Viewport) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage9(out *jwriter.Writer, in SetWebLifecycleStateParams) { out.RawByte('{') first := true _ = first { - const prefix string = ",\"x\":" + const prefix string = ",\"state\":" out.RawString(prefix[1:]) - out.Float64(float64(in.X)) - } - { - const prefix string = ",\"y\":" - out.RawString(prefix) - out.Float64(float64(in.Y)) - } - { - const prefix string = ",\"width\":" - out.RawString(prefix) - out.Float64(float64(in.Width)) - } - { - const prefix string = ",\"height\":" - out.RawString(prefix) - out.Float64(float64(in.Height)) - } - { - const prefix string = ",\"scale\":" - out.RawString(prefix) - out.Float64(float64(in.Scale)) + (in.State).MarshalEasyJSON(out) } out.RawByte('}') } // MarshalJSON supports json.Marshaler interface -func (v Viewport) MarshalJSON() ([]byte, error) { +func (v SetWebLifecycleStateParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage2(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage9(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface -func (v Viewport) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage2(w, v) +func (v SetWebLifecycleStateParams) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage9(w, v) } // UnmarshalJSON supports json.Unmarshaler interface -func (v *Viewport) UnmarshalJSON(data []byte) error { +func (v *SetWebLifecycleStateParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage2(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage9(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface -func (v *Viewport) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage2(l, v) +func (v *SetWebLifecycleStateParams) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage9(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage3(in *jlexer.Lexer, out *StopScreencastParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage10(in *jlexer.Lexer, out *SetSPCTransactionModeParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -309,6 +1502,8 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage3(in *jlexer.Lexer, out * continue } switch key { + case "mode": + (out.Mode).UnmarshalEasyJSON(in) default: in.SkipRecursive() } @@ -319,37 +1514,42 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage3(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage3(out *jwriter.Writer, in StopScreencastParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage10(out *jwriter.Writer, in SetSPCTransactionModeParams) { out.RawByte('{') first := true _ = first + { + const prefix string = ",\"mode\":" + out.RawString(prefix[1:]) + (in.Mode).MarshalEasyJSON(out) + } out.RawByte('}') } // MarshalJSON supports json.Marshaler interface -func (v StopScreencastParams) MarshalJSON() ([]byte, error) { +func (v SetSPCTransactionModeParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage3(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage10(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface -func (v StopScreencastParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage3(w, v) +func (v SetSPCTransactionModeParams) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage10(w, v) } // UnmarshalJSON supports json.Unmarshaler interface -func (v *StopScreencastParams) UnmarshalJSON(data []byte) error { +func (v *SetSPCTransactionModeParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage3(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage10(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface -func (v *StopScreencastParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage3(l, v) +func (v *SetSPCTransactionModeParams) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage10(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage4(in *jlexer.Lexer, out *StopLoadingParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage11(in *jlexer.Lexer, out *SetRPHRegistrationModeParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -368,6 +1568,8 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage4(in *jlexer.Lexer, out * continue } switch key { + case "mode": + (out.Mode).UnmarshalEasyJSON(in) default: in.SkipRecursive() } @@ -378,37 +1580,42 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage4(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage4(out *jwriter.Writer, in StopLoadingParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage11(out *jwriter.Writer, in SetRPHRegistrationModeParams) { out.RawByte('{') first := true _ = first + { + const prefix string = ",\"mode\":" + out.RawString(prefix[1:]) + (in.Mode).MarshalEasyJSON(out) + } out.RawByte('}') } // MarshalJSON supports json.Marshaler interface -func (v StopLoadingParams) MarshalJSON() ([]byte, error) { +func (v SetRPHRegistrationModeParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage4(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage11(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface -func (v StopLoadingParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage4(w, v) +func (v SetRPHRegistrationModeParams) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage11(w, v) } // UnmarshalJSON supports json.Unmarshaler interface -func (v *StopLoadingParams) UnmarshalJSON(data []byte) error { +func (v *SetRPHRegistrationModeParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage4(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage11(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface -func (v *StopLoadingParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage4(l, v) +func (v *SetRPHRegistrationModeParams) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage11(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage5(in *jlexer.Lexer, out *StartScreencastParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage12(in *jlexer.Lexer, out *SetPrerenderingAllowedParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -427,16 +1634,8 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage5(in *jlexer.Lexer, out * continue } switch key { - case "format": - (out.Format).UnmarshalEasyJSON(in) - case "quality": - out.Quality = int64(in.Int64()) - case "maxWidth": - out.MaxWidth = int64(in.Int64()) - case "maxHeight": - out.MaxHeight = int64(in.Int64()) - case "everyNthFrame": - out.EveryNthFrame = int64(in.Int64()) + case "isAllowed": + out.IsAllowed = bool(in.Bool()) default: in.SkipRecursive() } @@ -447,83 +1646,42 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage5(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage5(out *jwriter.Writer, in StartScreencastParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage12(out *jwriter.Writer, in SetPrerenderingAllowedParams) { out.RawByte('{') first := true _ = first - if in.Format != "" { - const prefix string = ",\"format\":" - first = false + { + const prefix string = ",\"isAllowed\":" out.RawString(prefix[1:]) - (in.Format).MarshalEasyJSON(out) - } - if in.Quality != 0 { - const prefix string = ",\"quality\":" - if first { - first = false - out.RawString(prefix[1:]) - } else { - out.RawString(prefix) - } - out.Int64(int64(in.Quality)) - } - if in.MaxWidth != 0 { - const prefix string = ",\"maxWidth\":" - if first { - first = false - out.RawString(prefix[1:]) - } else { - out.RawString(prefix) - } - out.Int64(int64(in.MaxWidth)) - } - if in.MaxHeight != 0 { - const prefix string = ",\"maxHeight\":" - if first { - first = false - out.RawString(prefix[1:]) - } else { - out.RawString(prefix) - } - out.Int64(int64(in.MaxHeight)) - } - if in.EveryNthFrame != 0 { - const prefix string = ",\"everyNthFrame\":" - if first { - first = false - out.RawString(prefix[1:]) - } else { - out.RawString(prefix) - } - out.Int64(int64(in.EveryNthFrame)) + out.Bool(bool(in.IsAllowed)) } out.RawByte('}') } // MarshalJSON supports json.Marshaler interface -func (v StartScreencastParams) MarshalJSON() ([]byte, error) { +func (v SetPrerenderingAllowedParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage5(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage12(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface -func (v StartScreencastParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage5(w, v) +func (v SetPrerenderingAllowedParams) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage12(w, v) } // UnmarshalJSON supports json.Unmarshaler interface -func (v *StartScreencastParams) UnmarshalJSON(data []byte) error { +func (v *SetPrerenderingAllowedParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage5(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage12(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface -func (v *StartScreencastParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage5(l, v) +func (v *SetPrerenderingAllowedParams) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage12(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage6(in *jlexer.Lexer, out *SetWebLifecycleStateParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage13(in *jlexer.Lexer, out *SetLifecycleEventsEnabledParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -542,8 +1700,8 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage6(in *jlexer.Lexer, out * continue } switch key { - case "state": - (out.State).UnmarshalEasyJSON(in) + case "enabled": + out.Enabled = bool(in.Bool()) default: in.SkipRecursive() } @@ -554,42 +1712,42 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage6(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage6(out *jwriter.Writer, in SetWebLifecycleStateParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage13(out *jwriter.Writer, in SetLifecycleEventsEnabledParams) { out.RawByte('{') first := true _ = first { - const prefix string = ",\"state\":" + const prefix string = ",\"enabled\":" out.RawString(prefix[1:]) - (in.State).MarshalEasyJSON(out) + out.Bool(bool(in.Enabled)) } out.RawByte('}') } // MarshalJSON supports json.Marshaler interface -func (v SetWebLifecycleStateParams) MarshalJSON() ([]byte, error) { +func (v SetLifecycleEventsEnabledParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage6(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage13(&w, v) return w.Buffer.BuildBytes(), w.Error } -// MarshalEasyJSON supports easyjson.Marshaler interface -func (v SetWebLifecycleStateParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage6(w, v) +// MarshalEasyJSON supports easyjson.Marshaler interface +func (v SetLifecycleEventsEnabledParams) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage13(w, v) } // UnmarshalJSON supports json.Unmarshaler interface -func (v *SetWebLifecycleStateParams) UnmarshalJSON(data []byte) error { +func (v *SetLifecycleEventsEnabledParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage6(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage13(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface -func (v *SetWebLifecycleStateParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage6(l, v) +func (v *SetLifecycleEventsEnabledParams) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage13(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage7(in *jlexer.Lexer, out *SetSPCTransactionModeParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage14(in *jlexer.Lexer, out *SetInterceptFileChooserDialogParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -608,8 +1766,8 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage7(in *jlexer.Lexer, out * continue } switch key { - case "mode": - (out.Mode).UnmarshalEasyJSON(in) + case "enabled": + out.Enabled = bool(in.Bool()) default: in.SkipRecursive() } @@ -620,42 +1778,42 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage7(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage7(out *jwriter.Writer, in SetSPCTransactionModeParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage14(out *jwriter.Writer, in SetInterceptFileChooserDialogParams) { out.RawByte('{') first := true _ = first { - const prefix string = ",\"mode\":" + const prefix string = ",\"enabled\":" out.RawString(prefix[1:]) - (in.Mode).MarshalEasyJSON(out) + out.Bool(bool(in.Enabled)) } out.RawByte('}') } // MarshalJSON supports json.Marshaler interface -func (v SetSPCTransactionModeParams) MarshalJSON() ([]byte, error) { +func (v SetInterceptFileChooserDialogParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage7(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage14(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface -func (v SetSPCTransactionModeParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage7(w, v) +func (v SetInterceptFileChooserDialogParams) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage14(w, v) } // UnmarshalJSON supports json.Unmarshaler interface -func (v *SetSPCTransactionModeParams) UnmarshalJSON(data []byte) error { +func (v *SetInterceptFileChooserDialogParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage7(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage14(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface -func (v *SetSPCTransactionModeParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage7(l, v) +func (v *SetInterceptFileChooserDialogParams) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage14(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage8(in *jlexer.Lexer, out *SetRPHRegistrationModeParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage15(in *jlexer.Lexer, out *SetFontSizesParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -674,8 +1832,16 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage8(in *jlexer.Lexer, out * continue } switch key { - case "mode": - (out.Mode).UnmarshalEasyJSON(in) + case "fontSizes": + if in.IsNull() { + in.Skip() + out.FontSizes = nil + } else { + if out.FontSizes == nil { + out.FontSizes = new(FontSizes) + } + (*out.FontSizes).UnmarshalEasyJSON(in) + } default: in.SkipRecursive() } @@ -686,42 +1852,46 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage8(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage8(out *jwriter.Writer, in SetRPHRegistrationModeParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage15(out *jwriter.Writer, in SetFontSizesParams) { out.RawByte('{') first := true _ = first { - const prefix string = ",\"mode\":" + const prefix string = ",\"fontSizes\":" out.RawString(prefix[1:]) - (in.Mode).MarshalEasyJSON(out) + if in.FontSizes == nil { + out.RawString("null") + } else { + (*in.FontSizes).MarshalEasyJSON(out) + } } out.RawByte('}') } // MarshalJSON supports json.Marshaler interface -func (v SetRPHRegistrationModeParams) MarshalJSON() ([]byte, error) { +func (v SetFontSizesParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage8(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage15(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface -func (v SetRPHRegistrationModeParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage8(w, v) +func (v SetFontSizesParams) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage15(w, v) } // UnmarshalJSON supports json.Unmarshaler interface -func (v *SetRPHRegistrationModeParams) UnmarshalJSON(data []byte) error { +func (v *SetFontSizesParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage8(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage15(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface -func (v *SetRPHRegistrationModeParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage8(l, v) +func (v *SetFontSizesParams) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage15(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage9(in *jlexer.Lexer, out *SetPrerenderingAllowedParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage16(in *jlexer.Lexer, out *SetFontFamiliesParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -740,8 +1910,47 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage9(in *jlexer.Lexer, out * continue } switch key { - case "isAllowed": - out.IsAllowed = bool(in.Bool()) + case "fontFamilies": + if in.IsNull() { + in.Skip() + out.FontFamilies = nil + } else { + if out.FontFamilies == nil { + out.FontFamilies = new(FontFamilies) + } + (*out.FontFamilies).UnmarshalEasyJSON(in) + } + case "forScripts": + if in.IsNull() { + in.Skip() + out.ForScripts = nil + } else { + in.Delim('[') + if out.ForScripts == nil { + if !in.IsDelim(']') { + out.ForScripts = make([]*ScriptFontFamilies, 0, 8) + } else { + out.ForScripts = []*ScriptFontFamilies{} + } + } else { + out.ForScripts = (out.ForScripts)[:0] + } + for !in.IsDelim(']') { + var v28 *ScriptFontFamilies + if in.IsNull() { + in.Skip() + v28 = nil + } else { + if v28 == nil { + v28 = new(ScriptFontFamilies) + } + (*v28).UnmarshalEasyJSON(in) + } + out.ForScripts = append(out.ForScripts, v28) + in.WantComma() + } + in.Delim(']') + } default: in.SkipRecursive() } @@ -752,42 +1961,64 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage9(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage9(out *jwriter.Writer, in SetPrerenderingAllowedParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage16(out *jwriter.Writer, in SetFontFamiliesParams) { out.RawByte('{') first := true _ = first { - const prefix string = ",\"isAllowed\":" + const prefix string = ",\"fontFamilies\":" out.RawString(prefix[1:]) - out.Bool(bool(in.IsAllowed)) + if in.FontFamilies == nil { + out.RawString("null") + } else { + (*in.FontFamilies).MarshalEasyJSON(out) + } + } + if len(in.ForScripts) != 0 { + const prefix string = ",\"forScripts\":" + out.RawString(prefix) + { + out.RawByte('[') + for v29, v30 := range in.ForScripts { + if v29 > 0 { + out.RawByte(',') + } + if v30 == nil { + out.RawString("null") + } else { + (*v30).MarshalEasyJSON(out) + } + } + out.RawByte(']') + } } out.RawByte('}') } // MarshalJSON supports json.Marshaler interface -func (v SetPrerenderingAllowedParams) MarshalJSON() ([]byte, error) { +func (v SetFontFamiliesParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage9(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage16(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface -func (v SetPrerenderingAllowedParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage9(w, v) +func (v SetFontFamiliesParams) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage16(w, v) } // UnmarshalJSON supports json.Unmarshaler interface -func (v *SetPrerenderingAllowedParams) UnmarshalJSON(data []byte) error { +func (v *SetFontFamiliesParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage9(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage16(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface -func (v *SetPrerenderingAllowedParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage9(l, v) +func (v *SetFontFamiliesParams) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage16(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage10(in *jlexer.Lexer, out *SetLifecycleEventsEnabledParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage17(in *jlexer.Lexer, out *SetDocumentContentParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -806,8 +2037,10 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage10(in *jlexer.Lexer, out continue } switch key { - case "enabled": - out.Enabled = bool(in.Bool()) + case "frameId": + (out.FrameID).UnmarshalEasyJSON(in) + case "html": + out.HTML = string(in.String()) default: in.SkipRecursive() } @@ -818,42 +2051,47 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage10(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage10(out *jwriter.Writer, in SetLifecycleEventsEnabledParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage17(out *jwriter.Writer, in SetDocumentContentParams) { out.RawByte('{') first := true _ = first { - const prefix string = ",\"enabled\":" + const prefix string = ",\"frameId\":" out.RawString(prefix[1:]) - out.Bool(bool(in.Enabled)) + out.String(string(in.FrameID)) + } + { + const prefix string = ",\"html\":" + out.RawString(prefix) + out.String(string(in.HTML)) } out.RawByte('}') } // MarshalJSON supports json.Marshaler interface -func (v SetLifecycleEventsEnabledParams) MarshalJSON() ([]byte, error) { +func (v SetDocumentContentParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage10(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage17(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface -func (v SetLifecycleEventsEnabledParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage10(w, v) +func (v SetDocumentContentParams) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage17(w, v) } // UnmarshalJSON supports json.Unmarshaler interface -func (v *SetLifecycleEventsEnabledParams) UnmarshalJSON(data []byte) error { +func (v *SetDocumentContentParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage10(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage17(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface -func (v *SetLifecycleEventsEnabledParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage10(l, v) +func (v *SetDocumentContentParams) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage17(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage11(in *jlexer.Lexer, out *SetInterceptFileChooserDialogParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage18(in *jlexer.Lexer, out *SetBypassCSPParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -884,7 +2122,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage11(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage11(out *jwriter.Writer, in SetInterceptFileChooserDialogParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage18(out *jwriter.Writer, in SetBypassCSPParams) { out.RawByte('{') first := true _ = first @@ -897,29 +2135,29 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage11(out *jwriter.Writer, i } // MarshalJSON supports json.Marshaler interface -func (v SetInterceptFileChooserDialogParams) MarshalJSON() ([]byte, error) { +func (v SetBypassCSPParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage11(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage18(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface -func (v SetInterceptFileChooserDialogParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage11(w, v) +func (v SetBypassCSPParams) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage18(w, v) } // UnmarshalJSON supports json.Unmarshaler interface -func (v *SetInterceptFileChooserDialogParams) UnmarshalJSON(data []byte) error { +func (v *SetBypassCSPParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage11(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage18(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface -func (v *SetInterceptFileChooserDialogParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage11(l, v) +func (v *SetBypassCSPParams) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage18(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage12(in *jlexer.Lexer, out *SetFontSizesParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage19(in *jlexer.Lexer, out *SetAdBlockingEnabledParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -938,16 +2176,8 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage12(in *jlexer.Lexer, out continue } switch key { - case "fontSizes": - if in.IsNull() { - in.Skip() - out.FontSizes = nil - } else { - if out.FontSizes == nil { - out.FontSizes = new(FontSizes) - } - (*out.FontSizes).UnmarshalEasyJSON(in) - } + case "enabled": + out.Enabled = bool(in.Bool()) default: in.SkipRecursive() } @@ -958,46 +2188,42 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage12(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage12(out *jwriter.Writer, in SetFontSizesParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage19(out *jwriter.Writer, in SetAdBlockingEnabledParams) { out.RawByte('{') first := true _ = first { - const prefix string = ",\"fontSizes\":" + const prefix string = ",\"enabled\":" out.RawString(prefix[1:]) - if in.FontSizes == nil { - out.RawString("null") - } else { - (*in.FontSizes).MarshalEasyJSON(out) - } + out.Bool(bool(in.Enabled)) } out.RawByte('}') } // MarshalJSON supports json.Marshaler interface -func (v SetFontSizesParams) MarshalJSON() ([]byte, error) { +func (v SetAdBlockingEnabledParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage12(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage19(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface -func (v SetFontSizesParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage12(w, v) +func (v SetAdBlockingEnabledParams) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage19(w, v) } // UnmarshalJSON supports json.Unmarshaler interface -func (v *SetFontSizesParams) UnmarshalJSON(data []byte) error { +func (v *SetAdBlockingEnabledParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage12(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage19(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface -func (v *SetFontSizesParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage12(l, v) +func (v *SetAdBlockingEnabledParams) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage19(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage13(in *jlexer.Lexer, out *SetFontFamiliesParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage20(in *jlexer.Lexer, out *SearchInResourceReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1006,53 +2232,43 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage13(in *jlexer.Lexer, out in.Skip() return } - in.Delim('{') - for !in.IsDelim('}') { - key := in.UnsafeFieldName(false) - in.WantColon() - if in.IsNull() { - in.Skip() - in.WantComma() - continue - } - switch key { - case "fontFamilies": - if in.IsNull() { - in.Skip() - out.FontFamilies = nil - } else { - if out.FontFamilies == nil { - out.FontFamilies = new(FontFamilies) - } - (*out.FontFamilies).UnmarshalEasyJSON(in) - } - case "forScripts": + in.Delim('{') + for !in.IsDelim('}') { + key := in.UnsafeFieldName(false) + in.WantColon() + if in.IsNull() { + in.Skip() + in.WantComma() + continue + } + switch key { + case "result": if in.IsNull() { in.Skip() - out.ForScripts = nil + out.Result = nil } else { in.Delim('[') - if out.ForScripts == nil { + if out.Result == nil { if !in.IsDelim(']') { - out.ForScripts = make([]*ScriptFontFamilies, 0, 8) + out.Result = make([]*debugger.SearchMatch, 0, 8) } else { - out.ForScripts = []*ScriptFontFamilies{} + out.Result = []*debugger.SearchMatch{} } } else { - out.ForScripts = (out.ForScripts)[:0] + out.Result = (out.Result)[:0] } for !in.IsDelim(']') { - var v1 *ScriptFontFamilies + var v31 *debugger.SearchMatch if in.IsNull() { in.Skip() - v1 = nil + v31 = nil } else { - if v1 == nil { - v1 = new(ScriptFontFamilies) + if v31 == nil { + v31 = new(debugger.SearchMatch) } - (*v1).UnmarshalEasyJSON(in) + (*v31).UnmarshalEasyJSON(in) } - out.ForScripts = append(out.ForScripts, v1) + out.Result = append(out.Result, v31) in.WantComma() } in.Delim(']') @@ -1067,32 +2283,24 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage13(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage13(out *jwriter.Writer, in SetFontFamiliesParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage20(out *jwriter.Writer, in SearchInResourceReturns) { out.RawByte('{') first := true _ = first - { - const prefix string = ",\"fontFamilies\":" + if len(in.Result) != 0 { + const prefix string = ",\"result\":" + first = false out.RawString(prefix[1:]) - if in.FontFamilies == nil { - out.RawString("null") - } else { - (*in.FontFamilies).MarshalEasyJSON(out) - } - } - if len(in.ForScripts) != 0 { - const prefix string = ",\"forScripts\":" - out.RawString(prefix) { out.RawByte('[') - for v2, v3 := range in.ForScripts { - if v2 > 0 { + for v32, v33 := range in.Result { + if v32 > 0 { out.RawByte(',') } - if v3 == nil { + if v33 == nil { out.RawString("null") } else { - (*v3).MarshalEasyJSON(out) + (*v33).MarshalEasyJSON(out) } } out.RawByte(']') @@ -1102,29 +2310,29 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage13(out *jwriter.Writer, i } // MarshalJSON supports json.Marshaler interface -func (v SetFontFamiliesParams) MarshalJSON() ([]byte, error) { +func (v SearchInResourceReturns) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage13(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage20(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface -func (v SetFontFamiliesParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage13(w, v) +func (v SearchInResourceReturns) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage20(w, v) } // UnmarshalJSON supports json.Unmarshaler interface -func (v *SetFontFamiliesParams) UnmarshalJSON(data []byte) error { +func (v *SearchInResourceReturns) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage13(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage20(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface -func (v *SetFontFamiliesParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage13(l, v) +func (v *SearchInResourceReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage20(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage14(in *jlexer.Lexer, out *SetDocumentContentParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage21(in *jlexer.Lexer, out *SearchInResourceParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1145,8 +2353,14 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage14(in *jlexer.Lexer, out switch key { case "frameId": (out.FrameID).UnmarshalEasyJSON(in) - case "html": - out.HTML = string(in.String()) + case "url": + out.URL = string(in.String()) + case "query": + out.Query = string(in.String()) + case "caseSensitive": + out.CaseSensitive = bool(in.Bool()) + case "isRegex": + out.IsRegex = bool(in.Bool()) default: in.SkipRecursive() } @@ -1157,7 +2371,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage14(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage14(out *jwriter.Writer, in SetDocumentContentParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage21(out *jwriter.Writer, in SearchInResourceParams) { out.RawByte('{') first := true _ = first @@ -1167,37 +2381,52 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage14(out *jwriter.Writer, i out.String(string(in.FrameID)) } { - const prefix string = ",\"html\":" + const prefix string = ",\"url\":" out.RawString(prefix) - out.String(string(in.HTML)) + out.String(string(in.URL)) + } + { + const prefix string = ",\"query\":" + out.RawString(prefix) + out.String(string(in.Query)) + } + if in.CaseSensitive { + const prefix string = ",\"caseSensitive\":" + out.RawString(prefix) + out.Bool(bool(in.CaseSensitive)) + } + if in.IsRegex { + const prefix string = ",\"isRegex\":" + out.RawString(prefix) + out.Bool(bool(in.IsRegex)) } out.RawByte('}') } // MarshalJSON supports json.Marshaler interface -func (v SetDocumentContentParams) MarshalJSON() ([]byte, error) { +func (v SearchInResourceParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage14(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage21(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface -func (v SetDocumentContentParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage14(w, v) +func (v SearchInResourceParams) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage21(w, v) } // UnmarshalJSON supports json.Unmarshaler interface -func (v *SetDocumentContentParams) UnmarshalJSON(data []byte) error { +func (v *SearchInResourceParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage14(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage21(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface -func (v *SetDocumentContentParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage14(l, v) +func (v *SearchInResourceParams) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage21(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage15(in *jlexer.Lexer, out *SetBypassCSPParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage22(in *jlexer.Lexer, out *ScriptFontFamilies) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1216,8 +2445,18 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage15(in *jlexer.Lexer, out continue } switch key { - case "enabled": - out.Enabled = bool(in.Bool()) + case "script": + out.Script = string(in.String()) + case "fontFamilies": + if in.IsNull() { + in.Skip() + out.FontFamilies = nil + } else { + if out.FontFamilies == nil { + out.FontFamilies = new(FontFamilies) + } + (*out.FontFamilies).UnmarshalEasyJSON(in) + } default: in.SkipRecursive() } @@ -1228,42 +2467,51 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage15(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage15(out *jwriter.Writer, in SetBypassCSPParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage22(out *jwriter.Writer, in ScriptFontFamilies) { out.RawByte('{') first := true _ = first { - const prefix string = ",\"enabled\":" + const prefix string = ",\"script\":" out.RawString(prefix[1:]) - out.Bool(bool(in.Enabled)) + out.String(string(in.Script)) + } + { + const prefix string = ",\"fontFamilies\":" + out.RawString(prefix) + if in.FontFamilies == nil { + out.RawString("null") + } else { + (*in.FontFamilies).MarshalEasyJSON(out) + } } out.RawByte('}') } // MarshalJSON supports json.Marshaler interface -func (v SetBypassCSPParams) MarshalJSON() ([]byte, error) { +func (v ScriptFontFamilies) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage15(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage22(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface -func (v SetBypassCSPParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage15(w, v) +func (v ScriptFontFamilies) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage22(w, v) } // UnmarshalJSON supports json.Unmarshaler interface -func (v *SetBypassCSPParams) UnmarshalJSON(data []byte) error { +func (v *ScriptFontFamilies) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage15(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage22(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface -func (v *SetBypassCSPParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage15(l, v) +func (v *ScriptFontFamilies) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage22(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage16(in *jlexer.Lexer, out *SetAdBlockingEnabledParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage23(in *jlexer.Lexer, out *Screenshot) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1282,8 +2530,20 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage16(in *jlexer.Lexer, out continue } switch key { - case "enabled": - out.Enabled = bool(in.Bool()) + case "image": + if in.IsNull() { + in.Skip() + out.Image = nil + } else { + if out.Image == nil { + out.Image = new(ImageResource) + } + (*out.Image).UnmarshalEasyJSON(in) + } + case "formFactor": + out.FormFactor = string(in.String()) + case "label": + out.Label = string(in.String()) default: in.SkipRecursive() } @@ -1294,42 +2554,56 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage16(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage16(out *jwriter.Writer, in SetAdBlockingEnabledParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage23(out *jwriter.Writer, in Screenshot) { out.RawByte('{') first := true _ = first { - const prefix string = ",\"enabled\":" + const prefix string = ",\"image\":" out.RawString(prefix[1:]) - out.Bool(bool(in.Enabled)) + if in.Image == nil { + out.RawString("null") + } else { + (*in.Image).MarshalEasyJSON(out) + } + } + { + const prefix string = ",\"formFactor\":" + out.RawString(prefix) + out.String(string(in.FormFactor)) + } + if in.Label != "" { + const prefix string = ",\"label\":" + out.RawString(prefix) + out.String(string(in.Label)) } out.RawByte('}') } // MarshalJSON supports json.Marshaler interface -func (v SetAdBlockingEnabledParams) MarshalJSON() ([]byte, error) { +func (v Screenshot) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage16(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage23(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface -func (v SetAdBlockingEnabledParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage16(w, v) +func (v Screenshot) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage23(w, v) } // UnmarshalJSON supports json.Unmarshaler interface -func (v *SetAdBlockingEnabledParams) UnmarshalJSON(data []byte) error { +func (v *Screenshot) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage16(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage23(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface -func (v *SetAdBlockingEnabledParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage16(l, v) +func (v *Screenshot) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage23(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage17(in *jlexer.Lexer, out *SearchInResourceReturns) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage24(in *jlexer.Lexer, out *ScreencastFrameMetadata) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1348,36 +2622,27 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage17(in *jlexer.Lexer, out continue } switch key { - case "result": + case "offsetTop": + out.OffsetTop = float64(in.Float64()) + case "pageScaleFactor": + out.PageScaleFactor = float64(in.Float64()) + case "deviceWidth": + out.DeviceWidth = float64(in.Float64()) + case "deviceHeight": + out.DeviceHeight = float64(in.Float64()) + case "scrollOffsetX": + out.ScrollOffsetX = float64(in.Float64()) + case "scrollOffsetY": + out.ScrollOffsetY = float64(in.Float64()) + case "timestamp": if in.IsNull() { in.Skip() - out.Result = nil + out.Timestamp = nil } else { - in.Delim('[') - if out.Result == nil { - if !in.IsDelim(']') { - out.Result = make([]*debugger.SearchMatch, 0, 8) - } else { - out.Result = []*debugger.SearchMatch{} - } - } else { - out.Result = (out.Result)[:0] - } - for !in.IsDelim(']') { - var v4 *debugger.SearchMatch - if in.IsNull() { - in.Skip() - v4 = nil - } else { - if v4 == nil { - v4 = new(debugger.SearchMatch) - } - (*v4).UnmarshalEasyJSON(in) - } - out.Result = append(out.Result, v4) - in.WantComma() + if out.Timestamp == nil { + out.Timestamp = new(cdp.TimeSinceEpoch) } - in.Delim(']') + (*out.Timestamp).UnmarshalEasyJSON(in) } default: in.SkipRecursive() @@ -1389,56 +2654,72 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage17(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage17(out *jwriter.Writer, in SearchInResourceReturns) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage24(out *jwriter.Writer, in ScreencastFrameMetadata) { out.RawByte('{') first := true _ = first - if len(in.Result) != 0 { - const prefix string = ",\"result\":" - first = false + { + const prefix string = ",\"offsetTop\":" out.RawString(prefix[1:]) - { - out.RawByte('[') - for v5, v6 := range in.Result { - if v5 > 0 { - out.RawByte(',') - } - if v6 == nil { - out.RawString("null") - } else { - (*v6).MarshalEasyJSON(out) - } - } - out.RawByte(']') - } + out.Float64(float64(in.OffsetTop)) + } + { + const prefix string = ",\"pageScaleFactor\":" + out.RawString(prefix) + out.Float64(float64(in.PageScaleFactor)) + } + { + const prefix string = ",\"deviceWidth\":" + out.RawString(prefix) + out.Float64(float64(in.DeviceWidth)) + } + { + const prefix string = ",\"deviceHeight\":" + out.RawString(prefix) + out.Float64(float64(in.DeviceHeight)) + } + { + const prefix string = ",\"scrollOffsetX\":" + out.RawString(prefix) + out.Float64(float64(in.ScrollOffsetX)) + } + { + const prefix string = ",\"scrollOffsetY\":" + out.RawString(prefix) + out.Float64(float64(in.ScrollOffsetY)) + } + if in.Timestamp != nil { + const prefix string = ",\"timestamp\":" + out.RawString(prefix) + (*in.Timestamp).MarshalEasyJSON(out) } out.RawByte('}') } // MarshalJSON supports json.Marshaler interface -func (v SearchInResourceReturns) MarshalJSON() ([]byte, error) { +func (v ScreencastFrameMetadata) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage17(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage24(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface -func (v SearchInResourceReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage17(w, v) +func (v ScreencastFrameMetadata) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage24(w, v) } // UnmarshalJSON supports json.Unmarshaler interface -func (v *SearchInResourceReturns) UnmarshalJSON(data []byte) error { +func (v *ScreencastFrameMetadata) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage17(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage24(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface -func (v *SearchInResourceReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage17(l, v) +func (v *ScreencastFrameMetadata) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage24(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage18(in *jlexer.Lexer, out *SearchInResourceParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage25(in *jlexer.Lexer, out *ScreencastFrameAckParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1457,16 +2738,8 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage18(in *jlexer.Lexer, out continue } switch key { - case "frameId": - (out.FrameID).UnmarshalEasyJSON(in) - case "url": - out.URL = string(in.String()) - case "query": - out.Query = string(in.String()) - case "caseSensitive": - out.CaseSensitive = bool(in.Bool()) - case "isRegex": - out.IsRegex = bool(in.Bool()) + case "sessionId": + out.SessionID = int64(in.Int64()) default: in.SkipRecursive() } @@ -1477,62 +2750,42 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage18(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage18(out *jwriter.Writer, in SearchInResourceParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage25(out *jwriter.Writer, in ScreencastFrameAckParams) { out.RawByte('{') first := true _ = first { - const prefix string = ",\"frameId\":" + const prefix string = ",\"sessionId\":" out.RawString(prefix[1:]) - out.String(string(in.FrameID)) - } - { - const prefix string = ",\"url\":" - out.RawString(prefix) - out.String(string(in.URL)) - } - { - const prefix string = ",\"query\":" - out.RawString(prefix) - out.String(string(in.Query)) - } - if in.CaseSensitive { - const prefix string = ",\"caseSensitive\":" - out.RawString(prefix) - out.Bool(bool(in.CaseSensitive)) - } - if in.IsRegex { - const prefix string = ",\"isRegex\":" - out.RawString(prefix) - out.Bool(bool(in.IsRegex)) + out.Int64(int64(in.SessionID)) } out.RawByte('}') } // MarshalJSON supports json.Marshaler interface -func (v SearchInResourceParams) MarshalJSON() ([]byte, error) { +func (v ScreencastFrameAckParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage18(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage25(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface -func (v SearchInResourceParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage18(w, v) +func (v ScreencastFrameAckParams) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage25(w, v) } // UnmarshalJSON supports json.Unmarshaler interface -func (v *SearchInResourceParams) UnmarshalJSON(data []byte) error { +func (v *ScreencastFrameAckParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage18(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage25(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface -func (v *SearchInResourceParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage18(l, v) +func (v *ScreencastFrameAckParams) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage25(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage19(in *jlexer.Lexer, out *ScriptFontFamilies) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage26(in *jlexer.Lexer, out *ScopeExtension) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1551,18 +2804,10 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage19(in *jlexer.Lexer, out continue } switch key { - case "script": - out.Script = string(in.String()) - case "fontFamilies": - if in.IsNull() { - in.Skip() - out.FontFamilies = nil - } else { - if out.FontFamilies == nil { - out.FontFamilies = new(FontFamilies) - } - (*out.FontFamilies).UnmarshalEasyJSON(in) - } + case "origin": + out.Origin = string(in.String()) + case "hasOriginWildcard": + out.HasOriginWildcard = bool(in.Bool()) default: in.SkipRecursive() } @@ -1573,51 +2818,47 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage19(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage19(out *jwriter.Writer, in ScriptFontFamilies) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage26(out *jwriter.Writer, in ScopeExtension) { out.RawByte('{') first := true _ = first { - const prefix string = ",\"script\":" + const prefix string = ",\"origin\":" out.RawString(prefix[1:]) - out.String(string(in.Script)) + out.String(string(in.Origin)) } { - const prefix string = ",\"fontFamilies\":" + const prefix string = ",\"hasOriginWildcard\":" out.RawString(prefix) - if in.FontFamilies == nil { - out.RawString("null") - } else { - (*in.FontFamilies).MarshalEasyJSON(out) - } + out.Bool(bool(in.HasOriginWildcard)) } out.RawByte('}') } // MarshalJSON supports json.Marshaler interface -func (v ScriptFontFamilies) MarshalJSON() ([]byte, error) { +func (v ScopeExtension) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage19(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage26(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface -func (v ScriptFontFamilies) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage19(w, v) +func (v ScopeExtension) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage26(w, v) } // UnmarshalJSON supports json.Unmarshaler interface -func (v *ScriptFontFamilies) UnmarshalJSON(data []byte) error { +func (v *ScopeExtension) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage19(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage26(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface -func (v *ScriptFontFamilies) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage19(l, v) +func (v *ScopeExtension) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage26(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage20(in *jlexer.Lexer, out *ScreencastFrameMetadata) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage27(in *jlexer.Lexer, out *ResetNavigationHistoryParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1636,28 +2877,6 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage20(in *jlexer.Lexer, out continue } switch key { - case "offsetTop": - out.OffsetTop = float64(in.Float64()) - case "pageScaleFactor": - out.PageScaleFactor = float64(in.Float64()) - case "deviceWidth": - out.DeviceWidth = float64(in.Float64()) - case "deviceHeight": - out.DeviceHeight = float64(in.Float64()) - case "scrollOffsetX": - out.ScrollOffsetX = float64(in.Float64()) - case "scrollOffsetY": - out.ScrollOffsetY = float64(in.Float64()) - case "timestamp": - if in.IsNull() { - in.Skip() - out.Timestamp = nil - } else { - if out.Timestamp == nil { - out.Timestamp = new(cdp.TimeSinceEpoch) - } - (*out.Timestamp).UnmarshalEasyJSON(in) - } default: in.SkipRecursive() } @@ -1668,72 +2887,37 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage20(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage20(out *jwriter.Writer, in ScreencastFrameMetadata) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage27(out *jwriter.Writer, in ResetNavigationHistoryParams) { out.RawByte('{') first := true _ = first - { - const prefix string = ",\"offsetTop\":" - out.RawString(prefix[1:]) - out.Float64(float64(in.OffsetTop)) - } - { - const prefix string = ",\"pageScaleFactor\":" - out.RawString(prefix) - out.Float64(float64(in.PageScaleFactor)) - } - { - const prefix string = ",\"deviceWidth\":" - out.RawString(prefix) - out.Float64(float64(in.DeviceWidth)) - } - { - const prefix string = ",\"deviceHeight\":" - out.RawString(prefix) - out.Float64(float64(in.DeviceHeight)) - } - { - const prefix string = ",\"scrollOffsetX\":" - out.RawString(prefix) - out.Float64(float64(in.ScrollOffsetX)) - } - { - const prefix string = ",\"scrollOffsetY\":" - out.RawString(prefix) - out.Float64(float64(in.ScrollOffsetY)) - } - if in.Timestamp != nil { - const prefix string = ",\"timestamp\":" - out.RawString(prefix) - (*in.Timestamp).MarshalEasyJSON(out) - } out.RawByte('}') } // MarshalJSON supports json.Marshaler interface -func (v ScreencastFrameMetadata) MarshalJSON() ([]byte, error) { +func (v ResetNavigationHistoryParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage20(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage27(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface -func (v ScreencastFrameMetadata) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage20(w, v) +func (v ResetNavigationHistoryParams) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage27(w, v) } // UnmarshalJSON supports json.Unmarshaler interface -func (v *ScreencastFrameMetadata) UnmarshalJSON(data []byte) error { +func (v *ResetNavigationHistoryParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage20(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage27(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface -func (v *ScreencastFrameMetadata) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage20(l, v) +func (v *ResetNavigationHistoryParams) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage27(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage21(in *jlexer.Lexer, out *ScreencastFrameAckParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage28(in *jlexer.Lexer, out *RemoveScriptToEvaluateOnNewDocumentParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1752,8 +2936,8 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage21(in *jlexer.Lexer, out continue } switch key { - case "sessionId": - out.SessionID = int64(in.Int64()) + case "identifier": + out.Identifier = ScriptIdentifier(in.String()) default: in.SkipRecursive() } @@ -1764,42 +2948,42 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage21(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage21(out *jwriter.Writer, in ScreencastFrameAckParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage28(out *jwriter.Writer, in RemoveScriptToEvaluateOnNewDocumentParams) { out.RawByte('{') first := true _ = first { - const prefix string = ",\"sessionId\":" + const prefix string = ",\"identifier\":" out.RawString(prefix[1:]) - out.Int64(int64(in.SessionID)) + out.String(string(in.Identifier)) } out.RawByte('}') } // MarshalJSON supports json.Marshaler interface -func (v ScreencastFrameAckParams) MarshalJSON() ([]byte, error) { +func (v RemoveScriptToEvaluateOnNewDocumentParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage21(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage28(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface -func (v ScreencastFrameAckParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage21(w, v) +func (v RemoveScriptToEvaluateOnNewDocumentParams) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage28(w, v) } // UnmarshalJSON supports json.Unmarshaler interface -func (v *ScreencastFrameAckParams) UnmarshalJSON(data []byte) error { +func (v *RemoveScriptToEvaluateOnNewDocumentParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage21(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage28(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface -func (v *ScreencastFrameAckParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage21(l, v) +func (v *RemoveScriptToEvaluateOnNewDocumentParams) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage28(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage22(in *jlexer.Lexer, out *ResetNavigationHistoryParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage29(in *jlexer.Lexer, out *ReloadParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1818,6 +3002,10 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage22(in *jlexer.Lexer, out continue } switch key { + case "ignoreCache": + out.IgnoreCache = bool(in.Bool()) + case "scriptToEvaluateOnLoad": + out.ScriptToEvaluateOnLoad = string(in.String()) default: in.SkipRecursive() } @@ -1828,37 +3016,53 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage22(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage22(out *jwriter.Writer, in ResetNavigationHistoryParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage29(out *jwriter.Writer, in ReloadParams) { out.RawByte('{') first := true _ = first + if in.IgnoreCache { + const prefix string = ",\"ignoreCache\":" + first = false + out.RawString(prefix[1:]) + out.Bool(bool(in.IgnoreCache)) + } + if in.ScriptToEvaluateOnLoad != "" { + const prefix string = ",\"scriptToEvaluateOnLoad\":" + if first { + first = false + out.RawString(prefix[1:]) + } else { + out.RawString(prefix) + } + out.String(string(in.ScriptToEvaluateOnLoad)) + } out.RawByte('}') } // MarshalJSON supports json.Marshaler interface -func (v ResetNavigationHistoryParams) MarshalJSON() ([]byte, error) { +func (v ReloadParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage22(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage29(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface -func (v ResetNavigationHistoryParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage22(w, v) +func (v ReloadParams) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage29(w, v) } // UnmarshalJSON supports json.Unmarshaler interface -func (v *ResetNavigationHistoryParams) UnmarshalJSON(data []byte) error { +func (v *ReloadParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage22(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage29(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface -func (v *ResetNavigationHistoryParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage22(l, v) +func (v *ReloadParams) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage29(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage23(in *jlexer.Lexer, out *RemoveScriptToEvaluateOnNewDocumentParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage30(in *jlexer.Lexer, out *RelatedApplication) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1877,8 +3081,10 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage23(in *jlexer.Lexer, out continue } switch key { - case "identifier": - out.Identifier = ScriptIdentifier(in.String()) + case "id": + out.ID = string(in.String()) + case "url": + out.URL = string(in.String()) default: in.SkipRecursive() } @@ -1889,42 +3095,53 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage23(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage23(out *jwriter.Writer, in RemoveScriptToEvaluateOnNewDocumentParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage30(out *jwriter.Writer, in RelatedApplication) { out.RawByte('{') first := true _ = first - { - const prefix string = ",\"identifier\":" + if in.ID != "" { + const prefix string = ",\"id\":" + first = false out.RawString(prefix[1:]) - out.String(string(in.Identifier)) + out.String(string(in.ID)) + } + { + const prefix string = ",\"url\":" + if first { + first = false + out.RawString(prefix[1:]) + } else { + out.RawString(prefix) + } + out.String(string(in.URL)) } out.RawByte('}') } // MarshalJSON supports json.Marshaler interface -func (v RemoveScriptToEvaluateOnNewDocumentParams) MarshalJSON() ([]byte, error) { +func (v RelatedApplication) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage23(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage30(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface -func (v RemoveScriptToEvaluateOnNewDocumentParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage23(w, v) +func (v RelatedApplication) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage30(w, v) } // UnmarshalJSON supports json.Unmarshaler interface -func (v *RemoveScriptToEvaluateOnNewDocumentParams) UnmarshalJSON(data []byte) error { +func (v *RelatedApplication) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage23(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage30(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface -func (v *RemoveScriptToEvaluateOnNewDocumentParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage23(l, v) +func (v *RelatedApplication) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage30(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage24(in *jlexer.Lexer, out *ReloadParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage31(in *jlexer.Lexer, out *ProtocolHandler) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1943,10 +3160,10 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage24(in *jlexer.Lexer, out continue } switch key { - case "ignoreCache": - out.IgnoreCache = bool(in.Bool()) - case "scriptToEvaluateOnLoad": - out.ScriptToEvaluateOnLoad = string(in.String()) + case "protocol": + out.Protocol = string(in.String()) + case "url": + out.URL = string(in.String()) default: in.SkipRecursive() } @@ -1957,53 +3174,47 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage24(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage24(out *jwriter.Writer, in ReloadParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage31(out *jwriter.Writer, in ProtocolHandler) { out.RawByte('{') first := true _ = first - if in.IgnoreCache { - const prefix string = ",\"ignoreCache\":" - first = false + { + const prefix string = ",\"protocol\":" out.RawString(prefix[1:]) - out.Bool(bool(in.IgnoreCache)) + out.String(string(in.Protocol)) } - if in.ScriptToEvaluateOnLoad != "" { - const prefix string = ",\"scriptToEvaluateOnLoad\":" - if first { - first = false - out.RawString(prefix[1:]) - } else { - out.RawString(prefix) - } - out.String(string(in.ScriptToEvaluateOnLoad)) + { + const prefix string = ",\"url\":" + out.RawString(prefix) + out.String(string(in.URL)) } out.RawByte('}') } // MarshalJSON supports json.Marshaler interface -func (v ReloadParams) MarshalJSON() ([]byte, error) { +func (v ProtocolHandler) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage24(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage31(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface -func (v ReloadParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage24(w, v) +func (v ProtocolHandler) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage31(w, v) } // UnmarshalJSON supports json.Unmarshaler interface -func (v *ReloadParams) UnmarshalJSON(data []byte) error { +func (v *ProtocolHandler) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage24(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage31(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface -func (v *ReloadParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage24(l, v) +func (v *ProtocolHandler) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage31(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage25(in *jlexer.Lexer, out *ProduceCompilationCacheParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage32(in *jlexer.Lexer, out *ProduceCompilationCacheParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2038,17 +3249,17 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage25(in *jlexer.Lexer, out out.Scripts = (out.Scripts)[:0] } for !in.IsDelim(']') { - var v7 *CompilationCacheParams + var v34 *CompilationCacheParams if in.IsNull() { in.Skip() - v7 = nil + v34 = nil } else { - if v7 == nil { - v7 = new(CompilationCacheParams) + if v34 == nil { + v34 = new(CompilationCacheParams) } - (*v7).UnmarshalEasyJSON(in) + (*v34).UnmarshalEasyJSON(in) } - out.Scripts = append(out.Scripts, v7) + out.Scripts = append(out.Scripts, v34) in.WantComma() } in.Delim(']') @@ -2063,7 +3274,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage25(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage25(out *jwriter.Writer, in ProduceCompilationCacheParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage32(out *jwriter.Writer, in ProduceCompilationCacheParams) { out.RawByte('{') first := true _ = first @@ -2074,14 +3285,14 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage25(out *jwriter.Writer, i out.RawString("null") } else { out.RawByte('[') - for v8, v9 := range in.Scripts { - if v8 > 0 { + for v35, v36 := range in.Scripts { + if v35 > 0 { out.RawByte(',') } - if v9 == nil { + if v36 == nil { out.RawString("null") } else { - (*v9).MarshalEasyJSON(out) + (*v36).MarshalEasyJSON(out) } } out.RawByte(']') @@ -2093,27 +3304,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage25(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v ProduceCompilationCacheParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage25(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage32(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v ProduceCompilationCacheParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage25(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage32(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *ProduceCompilationCacheParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage25(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage32(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *ProduceCompilationCacheParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage25(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage32(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage26(in *jlexer.Lexer, out *PrintToPDFReturns) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage33(in *jlexer.Lexer, out *PrintToPDFReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2146,7 +3357,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage26(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage26(out *jwriter.Writer, in PrintToPDFReturns) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage33(out *jwriter.Writer, in PrintToPDFReturns) { out.RawByte('{') first := true _ = first @@ -2172,27 +3383,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage26(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v PrintToPDFReturns) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage26(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage33(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v PrintToPDFReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage26(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage33(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *PrintToPDFReturns) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage26(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage33(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *PrintToPDFReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage26(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage33(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage27(in *jlexer.Lexer, out *PrintToPDFParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage34(in *jlexer.Lexer, out *PrintToPDFParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2255,7 +3466,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage27(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage27(out *jwriter.Writer, in PrintToPDFParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage34(out *jwriter.Writer, in PrintToPDFParams) { out.RawByte('{') first := true _ = first @@ -2381,27 +3592,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage27(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v PrintToPDFParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage27(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage34(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v PrintToPDFParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage27(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage34(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *PrintToPDFParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage27(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage34(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *PrintToPDFParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage27(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage34(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage28(in *jlexer.Lexer, out *PermissionsPolicyFeatureState) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage35(in *jlexer.Lexer, out *PermissionsPolicyFeatureState) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2444,7 +3655,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage28(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage28(out *jwriter.Writer, in PermissionsPolicyFeatureState) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage35(out *jwriter.Writer, in PermissionsPolicyFeatureState) { out.RawByte('{') first := true _ = first @@ -2469,27 +3680,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage28(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v PermissionsPolicyFeatureState) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage28(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage35(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v PermissionsPolicyFeatureState) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage28(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage35(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *PermissionsPolicyFeatureState) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage28(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage35(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *PermissionsPolicyFeatureState) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage28(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage35(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage29(in *jlexer.Lexer, out *PermissionsPolicyBlockLocator) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage36(in *jlexer.Lexer, out *PermissionsPolicyBlockLocator) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2522,7 +3733,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage29(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage29(out *jwriter.Writer, in PermissionsPolicyBlockLocator) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage36(out *jwriter.Writer, in PermissionsPolicyBlockLocator) { out.RawByte('{') first := true _ = first @@ -2542,27 +3753,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage29(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v PermissionsPolicyBlockLocator) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage29(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage36(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v PermissionsPolicyBlockLocator) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage29(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage36(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *PermissionsPolicyBlockLocator) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage29(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage36(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *PermissionsPolicyBlockLocator) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage29(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage36(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage30(in *jlexer.Lexer, out *NavigationEntry) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage37(in *jlexer.Lexer, out *NavigationEntry) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2601,7 +3812,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage30(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage30(out *jwriter.Writer, in NavigationEntry) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage37(out *jwriter.Writer, in NavigationEntry) { out.RawByte('{') first := true _ = first @@ -2636,27 +3847,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage30(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v NavigationEntry) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage30(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage37(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v NavigationEntry) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage30(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage37(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *NavigationEntry) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage30(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage37(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *NavigationEntry) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage30(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage37(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage31(in *jlexer.Lexer, out *NavigateToHistoryEntryParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage38(in *jlexer.Lexer, out *NavigateToHistoryEntryParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2687,7 +3898,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage31(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage31(out *jwriter.Writer, in NavigateToHistoryEntryParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage38(out *jwriter.Writer, in NavigateToHistoryEntryParams) { out.RawByte('{') first := true _ = first @@ -2702,27 +3913,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage31(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v NavigateToHistoryEntryParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage31(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage38(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v NavigateToHistoryEntryParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage31(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage38(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *NavigateToHistoryEntryParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage31(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage38(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *NavigateToHistoryEntryParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage31(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage38(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage32(in *jlexer.Lexer, out *NavigateReturns) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage39(in *jlexer.Lexer, out *NavigateReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2757,7 +3968,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage32(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage32(out *jwriter.Writer, in NavigateReturns) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage39(out *jwriter.Writer, in NavigateReturns) { out.RawByte('{') first := true _ = first @@ -2793,27 +4004,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage32(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v NavigateReturns) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage32(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage39(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v NavigateReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage32(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage39(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *NavigateReturns) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage32(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage39(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *NavigateReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage32(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage39(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage33(in *jlexer.Lexer, out *NavigateParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage40(in *jlexer.Lexer, out *NavigateParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2852,7 +4063,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage33(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage33(out *jwriter.Writer, in NavigateParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage40(out *jwriter.Writer, in NavigateParams) { out.RawByte('{') first := true _ = first @@ -2887,27 +4098,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage33(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v NavigateParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage33(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage40(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v NavigateParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage33(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage40(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *NavigateParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage33(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage40(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *NavigateParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage33(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage40(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage34(in *jlexer.Lexer, out *LayoutViewport) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage41(in *jlexer.Lexer, out *LayoutViewport) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2944,7 +4155,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage34(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage34(out *jwriter.Writer, in LayoutViewport) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage41(out *jwriter.Writer, in LayoutViewport) { out.RawByte('{') first := true _ = first @@ -2974,27 +4185,93 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage34(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v LayoutViewport) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage34(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage41(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v LayoutViewport) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage34(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage41(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *LayoutViewport) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage34(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage41(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *LayoutViewport) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage34(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage41(l, v) +} +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage42(in *jlexer.Lexer, out *LaunchHandler) { + isTopLevel := in.IsStart() + if in.IsNull() { + if isTopLevel { + in.Consumed() + } + in.Skip() + return + } + in.Delim('{') + for !in.IsDelim('}') { + key := in.UnsafeFieldName(false) + in.WantColon() + if in.IsNull() { + in.Skip() + in.WantComma() + continue + } + switch key { + case "clientMode": + out.ClientMode = string(in.String()) + default: + in.SkipRecursive() + } + in.WantComma() + } + in.Delim('}') + if isTopLevel { + in.Consumed() + } } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage35(in *jlexer.Lexer, out *InstallabilityErrorArgument) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage42(out *jwriter.Writer, in LaunchHandler) { + out.RawByte('{') + first := true + _ = first + { + const prefix string = ",\"clientMode\":" + out.RawString(prefix[1:]) + out.String(string(in.ClientMode)) + } + out.RawByte('}') +} + +// MarshalJSON supports json.Marshaler interface +func (v LaunchHandler) MarshalJSON() ([]byte, error) { + w := jwriter.Writer{} + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage42(&w, v) + return w.Buffer.BuildBytes(), w.Error +} + +// MarshalEasyJSON supports easyjson.Marshaler interface +func (v LaunchHandler) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage42(w, v) +} + +// UnmarshalJSON supports json.Unmarshaler interface +func (v *LaunchHandler) UnmarshalJSON(data []byte) error { + r := jlexer.Lexer{Data: data} + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage42(&r, v) + return r.Error() +} + +// UnmarshalEasyJSON supports easyjson.Unmarshaler interface +func (v *LaunchHandler) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage42(l, v) +} +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage43(in *jlexer.Lexer, out *InstallabilityErrorArgument) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -3027,7 +4304,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage35(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage35(out *jwriter.Writer, in InstallabilityErrorArgument) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage43(out *jwriter.Writer, in InstallabilityErrorArgument) { out.RawByte('{') first := true _ = first @@ -3047,27 +4324,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage35(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v InstallabilityErrorArgument) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage35(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage43(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v InstallabilityErrorArgument) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage35(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage43(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *InstallabilityErrorArgument) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage35(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage43(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *InstallabilityErrorArgument) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage35(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage43(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage36(in *jlexer.Lexer, out *InstallabilityError) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage44(in *jlexer.Lexer, out *InstallabilityError) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -3104,17 +4381,17 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage36(in *jlexer.Lexer, out out.ErrorArguments = (out.ErrorArguments)[:0] } for !in.IsDelim(']') { - var v10 *InstallabilityErrorArgument + var v37 *InstallabilityErrorArgument if in.IsNull() { in.Skip() - v10 = nil + v37 = nil } else { - if v10 == nil { - v10 = new(InstallabilityErrorArgument) + if v37 == nil { + v37 = new(InstallabilityErrorArgument) } - (*v10).UnmarshalEasyJSON(in) + (*v37).UnmarshalEasyJSON(in) } - out.ErrorArguments = append(out.ErrorArguments, v10) + out.ErrorArguments = append(out.ErrorArguments, v37) in.WantComma() } in.Delim(']') @@ -3129,7 +4406,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage36(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage36(out *jwriter.Writer, in InstallabilityError) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage44(out *jwriter.Writer, in InstallabilityError) { out.RawByte('{') first := true _ = first @@ -3145,14 +4422,14 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage36(out *jwriter.Writer, i out.RawString("null") } else { out.RawByte('[') - for v11, v12 := range in.ErrorArguments { - if v11 > 0 { + for v38, v39 := range in.ErrorArguments { + if v38 > 0 { out.RawByte(',') } - if v12 == nil { + if v39 == nil { out.RawString("null") } else { - (*v12).MarshalEasyJSON(out) + (*v39).MarshalEasyJSON(out) } } out.RawByte(']') @@ -3162,29 +4439,109 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage36(out *jwriter.Writer, i } // MarshalJSON supports json.Marshaler interface -func (v InstallabilityError) MarshalJSON() ([]byte, error) { +func (v InstallabilityError) MarshalJSON() ([]byte, error) { + w := jwriter.Writer{} + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage44(&w, v) + return w.Buffer.BuildBytes(), w.Error +} + +// MarshalEasyJSON supports easyjson.Marshaler interface +func (v InstallabilityError) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage44(w, v) +} + +// UnmarshalJSON supports json.Unmarshaler interface +func (v *InstallabilityError) UnmarshalJSON(data []byte) error { + r := jlexer.Lexer{Data: data} + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage44(&r, v) + return r.Error() +} + +// UnmarshalEasyJSON supports easyjson.Unmarshaler interface +func (v *InstallabilityError) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage44(l, v) +} +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage45(in *jlexer.Lexer, out *ImageResource) { + isTopLevel := in.IsStart() + if in.IsNull() { + if isTopLevel { + in.Consumed() + } + in.Skip() + return + } + in.Delim('{') + for !in.IsDelim('}') { + key := in.UnsafeFieldName(false) + in.WantColon() + if in.IsNull() { + in.Skip() + in.WantComma() + continue + } + switch key { + case "url": + out.URL = string(in.String()) + case "sizes": + out.Sizes = string(in.String()) + case "type": + out.Type = string(in.String()) + default: + in.SkipRecursive() + } + in.WantComma() + } + in.Delim('}') + if isTopLevel { + in.Consumed() + } +} +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage45(out *jwriter.Writer, in ImageResource) { + out.RawByte('{') + first := true + _ = first + { + const prefix string = ",\"url\":" + out.RawString(prefix[1:]) + out.String(string(in.URL)) + } + if in.Sizes != "" { + const prefix string = ",\"sizes\":" + out.RawString(prefix) + out.String(string(in.Sizes)) + } + if in.Type != "" { + const prefix string = ",\"type\":" + out.RawString(prefix) + out.String(string(in.Type)) + } + out.RawByte('}') +} + +// MarshalJSON supports json.Marshaler interface +func (v ImageResource) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage36(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage45(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface -func (v InstallabilityError) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage36(w, v) +func (v ImageResource) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage45(w, v) } // UnmarshalJSON supports json.Unmarshaler interface -func (v *InstallabilityError) UnmarshalJSON(data []byte) error { +func (v *ImageResource) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage36(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage45(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface -func (v *InstallabilityError) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage36(l, v) +func (v *ImageResource) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage45(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage37(in *jlexer.Lexer, out *HandleJavaScriptDialogParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage46(in *jlexer.Lexer, out *HandleJavaScriptDialogParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -3217,7 +4574,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage37(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage37(out *jwriter.Writer, in HandleJavaScriptDialogParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage46(out *jwriter.Writer, in HandleJavaScriptDialogParams) { out.RawByte('{') first := true _ = first @@ -3237,27 +4594,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage37(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v HandleJavaScriptDialogParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage37(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage46(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v HandleJavaScriptDialogParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage37(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage46(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *HandleJavaScriptDialogParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage37(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage46(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *HandleJavaScriptDialogParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage37(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage46(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage38(in *jlexer.Lexer, out *GetResourceTreeReturns) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage47(in *jlexer.Lexer, out *GetResourceTreeReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -3296,7 +4653,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage38(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage38(out *jwriter.Writer, in GetResourceTreeReturns) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage47(out *jwriter.Writer, in GetResourceTreeReturns) { out.RawByte('{') first := true _ = first @@ -3312,27 +4669,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage38(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v GetResourceTreeReturns) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage38(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage47(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetResourceTreeReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage38(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage47(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetResourceTreeReturns) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage38(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage47(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetResourceTreeReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage38(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage47(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage39(in *jlexer.Lexer, out *GetResourceTreeParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage48(in *jlexer.Lexer, out *GetResourceTreeParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -3361,7 +4718,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage39(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage39(out *jwriter.Writer, in GetResourceTreeParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage48(out *jwriter.Writer, in GetResourceTreeParams) { out.RawByte('{') first := true _ = first @@ -3371,27 +4728,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage39(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v GetResourceTreeParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage39(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage48(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetResourceTreeParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage39(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage48(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetResourceTreeParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage39(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage48(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetResourceTreeParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage39(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage48(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage40(in *jlexer.Lexer, out *GetResourceContentReturns) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage49(in *jlexer.Lexer, out *GetResourceContentReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -3424,7 +4781,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage40(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage40(out *jwriter.Writer, in GetResourceContentReturns) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage49(out *jwriter.Writer, in GetResourceContentReturns) { out.RawByte('{') first := true _ = first @@ -3450,27 +4807,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage40(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v GetResourceContentReturns) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage40(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage49(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetResourceContentReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage40(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage49(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetResourceContentReturns) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage40(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage49(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetResourceContentReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage40(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage49(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage41(in *jlexer.Lexer, out *GetResourceContentParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage50(in *jlexer.Lexer, out *GetResourceContentParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -3503,7 +4860,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage41(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage41(out *jwriter.Writer, in GetResourceContentParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage50(out *jwriter.Writer, in GetResourceContentParams) { out.RawByte('{') first := true _ = first @@ -3523,27 +4880,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage41(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v GetResourceContentParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage41(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage50(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetResourceContentParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage41(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage50(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetResourceContentParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage41(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage50(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetResourceContentParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage41(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage50(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage42(in *jlexer.Lexer, out *GetPermissionsPolicyStateReturns) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage51(in *jlexer.Lexer, out *GetPermissionsPolicyStateReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -3578,17 +4935,17 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage42(in *jlexer.Lexer, out out.States = (out.States)[:0] } for !in.IsDelim(']') { - var v13 *PermissionsPolicyFeatureState + var v40 *PermissionsPolicyFeatureState if in.IsNull() { in.Skip() - v13 = nil + v40 = nil } else { - if v13 == nil { - v13 = new(PermissionsPolicyFeatureState) + if v40 == nil { + v40 = new(PermissionsPolicyFeatureState) } - (*v13).UnmarshalEasyJSON(in) + (*v40).UnmarshalEasyJSON(in) } - out.States = append(out.States, v13) + out.States = append(out.States, v40) in.WantComma() } in.Delim(']') @@ -3603,7 +4960,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage42(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage42(out *jwriter.Writer, in GetPermissionsPolicyStateReturns) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage51(out *jwriter.Writer, in GetPermissionsPolicyStateReturns) { out.RawByte('{') first := true _ = first @@ -3613,14 +4970,14 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage42(out *jwriter.Writer, i out.RawString(prefix[1:]) { out.RawByte('[') - for v14, v15 := range in.States { - if v14 > 0 { + for v41, v42 := range in.States { + if v41 > 0 { out.RawByte(',') } - if v15 == nil { + if v42 == nil { out.RawString("null") } else { - (*v15).MarshalEasyJSON(out) + (*v42).MarshalEasyJSON(out) } } out.RawByte(']') @@ -3632,27 +4989,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage42(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v GetPermissionsPolicyStateReturns) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage42(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage51(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetPermissionsPolicyStateReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage42(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage51(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetPermissionsPolicyStateReturns) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage42(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage51(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetPermissionsPolicyStateReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage42(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage51(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage43(in *jlexer.Lexer, out *GetPermissionsPolicyStateParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage52(in *jlexer.Lexer, out *GetPermissionsPolicyStateParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -3683,7 +5040,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage43(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage43(out *jwriter.Writer, in GetPermissionsPolicyStateParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage52(out *jwriter.Writer, in GetPermissionsPolicyStateParams) { out.RawByte('{') first := true _ = first @@ -3698,27 +5055,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage43(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v GetPermissionsPolicyStateParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage43(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage52(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetPermissionsPolicyStateParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage43(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage52(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetPermissionsPolicyStateParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage43(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage52(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetPermissionsPolicyStateParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage43(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage52(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage44(in *jlexer.Lexer, out *GetOriginTrialsReturns) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage53(in *jlexer.Lexer, out *GetOriginTrialsReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -3753,17 +5110,17 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage44(in *jlexer.Lexer, out out.OriginTrials = (out.OriginTrials)[:0] } for !in.IsDelim(']') { - var v16 *cdp.OriginTrial + var v43 *cdp.OriginTrial if in.IsNull() { in.Skip() - v16 = nil + v43 = nil } else { - if v16 == nil { - v16 = new(cdp.OriginTrial) + if v43 == nil { + v43 = new(cdp.OriginTrial) } - (*v16).UnmarshalEasyJSON(in) + (*v43).UnmarshalEasyJSON(in) } - out.OriginTrials = append(out.OriginTrials, v16) + out.OriginTrials = append(out.OriginTrials, v43) in.WantComma() } in.Delim(']') @@ -3778,7 +5135,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage44(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage44(out *jwriter.Writer, in GetOriginTrialsReturns) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage53(out *jwriter.Writer, in GetOriginTrialsReturns) { out.RawByte('{') first := true _ = first @@ -3788,14 +5145,14 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage44(out *jwriter.Writer, i out.RawString(prefix[1:]) { out.RawByte('[') - for v17, v18 := range in.OriginTrials { - if v17 > 0 { + for v44, v45 := range in.OriginTrials { + if v44 > 0 { out.RawByte(',') } - if v18 == nil { + if v45 == nil { out.RawString("null") } else { - (*v18).MarshalEasyJSON(out) + (*v45).MarshalEasyJSON(out) } } out.RawByte(']') @@ -3807,27 +5164,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage44(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v GetOriginTrialsReturns) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage44(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage53(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetOriginTrialsReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage44(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage53(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetOriginTrialsReturns) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage44(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage53(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetOriginTrialsReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage44(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage53(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage45(in *jlexer.Lexer, out *GetOriginTrialsParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage54(in *jlexer.Lexer, out *GetOriginTrialsParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -3858,7 +5215,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage45(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage45(out *jwriter.Writer, in GetOriginTrialsParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage54(out *jwriter.Writer, in GetOriginTrialsParams) { out.RawByte('{') first := true _ = first @@ -3873,27 +5230,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage45(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v GetOriginTrialsParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage45(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage54(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetOriginTrialsParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage45(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage54(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetOriginTrialsParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage45(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage54(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetOriginTrialsParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage45(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage54(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage46(in *jlexer.Lexer, out *GetNavigationHistoryReturns) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage55(in *jlexer.Lexer, out *GetNavigationHistoryReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -3930,17 +5287,17 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage46(in *jlexer.Lexer, out out.Entries = (out.Entries)[:0] } for !in.IsDelim(']') { - var v19 *NavigationEntry + var v46 *NavigationEntry if in.IsNull() { in.Skip() - v19 = nil + v46 = nil } else { - if v19 == nil { - v19 = new(NavigationEntry) + if v46 == nil { + v46 = new(NavigationEntry) } - (*v19).UnmarshalEasyJSON(in) + (*v46).UnmarshalEasyJSON(in) } - out.Entries = append(out.Entries, v19) + out.Entries = append(out.Entries, v46) in.WantComma() } in.Delim(']') @@ -3955,7 +5312,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage46(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage46(out *jwriter.Writer, in GetNavigationHistoryReturns) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage55(out *jwriter.Writer, in GetNavigationHistoryReturns) { out.RawByte('{') first := true _ = first @@ -3975,14 +5332,14 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage46(out *jwriter.Writer, i } { out.RawByte('[') - for v20, v21 := range in.Entries { - if v20 > 0 { + for v47, v48 := range in.Entries { + if v47 > 0 { out.RawByte(',') } - if v21 == nil { + if v48 == nil { out.RawString("null") } else { - (*v21).MarshalEasyJSON(out) + (*v48).MarshalEasyJSON(out) } } out.RawByte(']') @@ -3994,27 +5351,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage46(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v GetNavigationHistoryReturns) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage46(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage55(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetNavigationHistoryReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage46(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage55(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetNavigationHistoryReturns) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage46(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage55(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetNavigationHistoryReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage46(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage55(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage47(in *jlexer.Lexer, out *GetNavigationHistoryParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage56(in *jlexer.Lexer, out *GetNavigationHistoryParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -4043,7 +5400,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage47(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage47(out *jwriter.Writer, in GetNavigationHistoryParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage56(out *jwriter.Writer, in GetNavigationHistoryParams) { out.RawByte('{') first := true _ = first @@ -4053,27 +5410,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage47(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v GetNavigationHistoryParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage47(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage56(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetNavigationHistoryParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage47(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage56(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetNavigationHistoryParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage47(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage56(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetNavigationHistoryParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage47(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage56(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage48(in *jlexer.Lexer, out *GetLayoutMetricsReturns) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage57(in *jlexer.Lexer, out *GetLayoutMetricsReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -4162,7 +5519,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage48(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage48(out *jwriter.Writer, in GetLayoutMetricsReturns) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage57(out *jwriter.Writer, in GetLayoutMetricsReturns) { out.RawByte('{') first := true _ = first @@ -4226,27 +5583,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage48(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v GetLayoutMetricsReturns) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage48(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage57(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetLayoutMetricsReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage48(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage57(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetLayoutMetricsReturns) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage48(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage57(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetLayoutMetricsReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage48(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage57(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage49(in *jlexer.Lexer, out *GetLayoutMetricsParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage58(in *jlexer.Lexer, out *GetLayoutMetricsParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -4275,7 +5632,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage49(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage49(out *jwriter.Writer, in GetLayoutMetricsParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage58(out *jwriter.Writer, in GetLayoutMetricsParams) { out.RawByte('{') first := true _ = first @@ -4285,27 +5642,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage49(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v GetLayoutMetricsParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage49(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage58(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetLayoutMetricsParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage49(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage58(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetLayoutMetricsParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage49(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage58(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetLayoutMetricsParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage49(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage58(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage50(in *jlexer.Lexer, out *GetInstallabilityErrorsReturns) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage59(in *jlexer.Lexer, out *GetInstallabilityErrorsReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -4340,17 +5697,17 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage50(in *jlexer.Lexer, out out.InstallabilityErrors = (out.InstallabilityErrors)[:0] } for !in.IsDelim(']') { - var v22 *InstallabilityError + var v49 *InstallabilityError if in.IsNull() { in.Skip() - v22 = nil + v49 = nil } else { - if v22 == nil { - v22 = new(InstallabilityError) + if v49 == nil { + v49 = new(InstallabilityError) } - (*v22).UnmarshalEasyJSON(in) + (*v49).UnmarshalEasyJSON(in) } - out.InstallabilityErrors = append(out.InstallabilityErrors, v22) + out.InstallabilityErrors = append(out.InstallabilityErrors, v49) in.WantComma() } in.Delim(']') @@ -4365,7 +5722,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage50(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage50(out *jwriter.Writer, in GetInstallabilityErrorsReturns) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage59(out *jwriter.Writer, in GetInstallabilityErrorsReturns) { out.RawByte('{') first := true _ = first @@ -4375,14 +5732,14 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage50(out *jwriter.Writer, i out.RawString(prefix[1:]) { out.RawByte('[') - for v23, v24 := range in.InstallabilityErrors { - if v23 > 0 { + for v50, v51 := range in.InstallabilityErrors { + if v50 > 0 { out.RawByte(',') } - if v24 == nil { + if v51 == nil { out.RawString("null") } else { - (*v24).MarshalEasyJSON(out) + (*v51).MarshalEasyJSON(out) } } out.RawByte(']') @@ -4394,27 +5751,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage50(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v GetInstallabilityErrorsReturns) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage50(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage59(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetInstallabilityErrorsReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage50(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage59(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetInstallabilityErrorsReturns) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage50(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage59(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetInstallabilityErrorsReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage50(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage59(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage51(in *jlexer.Lexer, out *GetInstallabilityErrorsParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage60(in *jlexer.Lexer, out *GetInstallabilityErrorsParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -4443,7 +5800,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage51(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage51(out *jwriter.Writer, in GetInstallabilityErrorsParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage60(out *jwriter.Writer, in GetInstallabilityErrorsParams) { out.RawByte('{') first := true _ = first @@ -4453,27 +5810,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage51(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v GetInstallabilityErrorsParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage51(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage60(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetInstallabilityErrorsParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage51(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage60(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetInstallabilityErrorsParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage51(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage60(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetInstallabilityErrorsParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage51(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage60(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage52(in *jlexer.Lexer, out *GetFrameTreeReturns) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage61(in *jlexer.Lexer, out *GetFrameTreeReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -4512,7 +5869,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage52(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage52(out *jwriter.Writer, in GetFrameTreeReturns) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage61(out *jwriter.Writer, in GetFrameTreeReturns) { out.RawByte('{') first := true _ = first @@ -4528,27 +5885,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage52(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v GetFrameTreeReturns) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage52(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage61(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetFrameTreeReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage52(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage61(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetFrameTreeReturns) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage52(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage61(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetFrameTreeReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage52(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage61(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage53(in *jlexer.Lexer, out *GetFrameTreeParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage62(in *jlexer.Lexer, out *GetFrameTreeParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -4577,7 +5934,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage53(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage53(out *jwriter.Writer, in GetFrameTreeParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage62(out *jwriter.Writer, in GetFrameTreeParams) { out.RawByte('{') first := true _ = first @@ -4587,27 +5944,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage53(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v GetFrameTreeParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage53(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage62(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetFrameTreeParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage53(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage62(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetFrameTreeParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage53(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage62(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetFrameTreeParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage53(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage62(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage54(in *jlexer.Lexer, out *GetAppManifestReturns) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage63(in *jlexer.Lexer, out *GetAppManifestReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -4644,32 +6001,32 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage54(in *jlexer.Lexer, out out.Errors = (out.Errors)[:0] } for !in.IsDelim(']') { - var v25 *AppManifestError + var v52 *AppManifestError if in.IsNull() { in.Skip() - v25 = nil + v52 = nil } else { - if v25 == nil { - v25 = new(AppManifestError) + if v52 == nil { + v52 = new(AppManifestError) } - (*v25).UnmarshalEasyJSON(in) + (*v52).UnmarshalEasyJSON(in) } - out.Errors = append(out.Errors, v25) + out.Errors = append(out.Errors, v52) in.WantComma() } in.Delim(']') } case "data": out.Data = string(in.String()) - case "parsed": + case "manifest": if in.IsNull() { in.Skip() - out.Parsed = nil + out.Manifest = nil } else { - if out.Parsed == nil { - out.Parsed = new(AppManifestParsedProperties) + if out.Manifest == nil { + out.Manifest = new(WebAppManifest) } - (*out.Parsed).UnmarshalEasyJSON(in) + (*out.Manifest).UnmarshalEasyJSON(in) } default: in.SkipRecursive() @@ -4681,7 +6038,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage54(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage54(out *jwriter.Writer, in GetAppManifestReturns) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage63(out *jwriter.Writer, in GetAppManifestReturns) { out.RawByte('{') first := true _ = first @@ -4701,14 +6058,14 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage54(out *jwriter.Writer, i } { out.RawByte('[') - for v26, v27 := range in.Errors { - if v26 > 0 { + for v53, v54 := range in.Errors { + if v53 > 0 { out.RawByte(',') } - if v27 == nil { + if v54 == nil { out.RawString("null") } else { - (*v27).MarshalEasyJSON(out) + (*v54).MarshalEasyJSON(out) } } out.RawByte(']') @@ -4724,15 +6081,15 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage54(out *jwriter.Writer, i } out.String(string(in.Data)) } - if in.Parsed != nil { - const prefix string = ",\"parsed\":" + if in.Manifest != nil { + const prefix string = ",\"manifest\":" if first { first = false out.RawString(prefix[1:]) } else { out.RawString(prefix) } - (*in.Parsed).MarshalEasyJSON(out) + (*in.Manifest).MarshalEasyJSON(out) } out.RawByte('}') } @@ -4740,27 +6097,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage54(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v GetAppManifestReturns) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage54(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage63(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetAppManifestReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage54(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage63(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetAppManifestReturns) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage54(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage63(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetAppManifestReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage54(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage63(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage55(in *jlexer.Lexer, out *GetAppManifestParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage64(in *jlexer.Lexer, out *GetAppManifestParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -4779,6 +6136,8 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage55(in *jlexer.Lexer, out continue } switch key { + case "manifestId": + out.ManifestID = string(in.String()) default: in.SkipRecursive() } @@ -4789,37 +6148,43 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage55(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage55(out *jwriter.Writer, in GetAppManifestParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage64(out *jwriter.Writer, in GetAppManifestParams) { out.RawByte('{') first := true _ = first + if in.ManifestID != "" { + const prefix string = ",\"manifestId\":" + first = false + out.RawString(prefix[1:]) + out.String(string(in.ManifestID)) + } out.RawByte('}') } // MarshalJSON supports json.Marshaler interface func (v GetAppManifestParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage55(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage64(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetAppManifestParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage55(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage64(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetAppManifestParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage55(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage64(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetAppManifestParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage55(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage64(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage56(in *jlexer.Lexer, out *GetAppIDReturns) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage65(in *jlexer.Lexer, out *GetAppIDReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -4852,7 +6217,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage56(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage56(out *jwriter.Writer, in GetAppIDReturns) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage65(out *jwriter.Writer, in GetAppIDReturns) { out.RawByte('{') first := true _ = first @@ -4878,27 +6243,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage56(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v GetAppIDReturns) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage56(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage65(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetAppIDReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage56(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage65(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetAppIDReturns) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage56(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage65(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetAppIDReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage56(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage65(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage57(in *jlexer.Lexer, out *GetAppIDParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage66(in *jlexer.Lexer, out *GetAppIDParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -4927,7 +6292,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage57(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage57(out *jwriter.Writer, in GetAppIDParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage66(out *jwriter.Writer, in GetAppIDParams) { out.RawByte('{') first := true _ = first @@ -4937,27 +6302,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage57(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v GetAppIDParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage57(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage66(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetAppIDParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage57(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage66(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetAppIDParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage57(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage66(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetAppIDParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage57(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage66(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage58(in *jlexer.Lexer, out *GetAdScriptIDReturns) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage67(in *jlexer.Lexer, out *GetAdScriptIDReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -4996,7 +6361,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage58(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage58(out *jwriter.Writer, in GetAdScriptIDReturns) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage67(out *jwriter.Writer, in GetAdScriptIDReturns) { out.RawByte('{') first := true _ = first @@ -5012,27 +6377,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage58(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v GetAdScriptIDReturns) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage58(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage67(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetAdScriptIDReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage58(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage67(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetAdScriptIDReturns) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage58(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage67(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetAdScriptIDReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage58(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage67(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage59(in *jlexer.Lexer, out *GetAdScriptIDParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage68(in *jlexer.Lexer, out *GetAdScriptIDParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -5063,7 +6428,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage59(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage59(out *jwriter.Writer, in GetAdScriptIDParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage68(out *jwriter.Writer, in GetAdScriptIDParams) { out.RawByte('{') first := true _ = first @@ -5078,27 +6443,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage59(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v GetAdScriptIDParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage59(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage68(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetAdScriptIDParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage59(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage68(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetAdScriptIDParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage59(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage68(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetAdScriptIDParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage59(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage68(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage60(in *jlexer.Lexer, out *GenerateTestReportParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage69(in *jlexer.Lexer, out *GenerateTestReportParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -5131,7 +6496,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage60(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage60(out *jwriter.Writer, in GenerateTestReportParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage69(out *jwriter.Writer, in GenerateTestReportParams) { out.RawByte('{') first := true _ = first @@ -5151,27 +6516,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage60(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v GenerateTestReportParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage60(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage69(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GenerateTestReportParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage60(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage69(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GenerateTestReportParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage60(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage69(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GenerateTestReportParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage60(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage69(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage61(in *jlexer.Lexer, out *FrameTree) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage70(in *jlexer.Lexer, out *FrameTree) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -5216,17 +6581,17 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage61(in *jlexer.Lexer, out out.ChildFrames = (out.ChildFrames)[:0] } for !in.IsDelim(']') { - var v28 *FrameTree + var v55 *FrameTree if in.IsNull() { in.Skip() - v28 = nil + v55 = nil } else { - if v28 == nil { - v28 = new(FrameTree) + if v55 == nil { + v55 = new(FrameTree) } - (*v28).UnmarshalEasyJSON(in) + (*v55).UnmarshalEasyJSON(in) } - out.ChildFrames = append(out.ChildFrames, v28) + out.ChildFrames = append(out.ChildFrames, v55) in.WantComma() } in.Delim(']') @@ -5241,7 +6606,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage61(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage61(out *jwriter.Writer, in FrameTree) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage70(out *jwriter.Writer, in FrameTree) { out.RawByte('{') first := true _ = first @@ -5259,14 +6624,14 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage61(out *jwriter.Writer, i out.RawString(prefix) { out.RawByte('[') - for v29, v30 := range in.ChildFrames { - if v29 > 0 { + for v56, v57 := range in.ChildFrames { + if v56 > 0 { out.RawByte(',') } - if v30 == nil { + if v57 == nil { out.RawString("null") } else { - (*v30).MarshalEasyJSON(out) + (*v57).MarshalEasyJSON(out) } } out.RawByte(']') @@ -5278,27 +6643,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage61(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v FrameTree) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage61(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage70(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v FrameTree) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage61(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage70(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *FrameTree) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage61(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage70(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *FrameTree) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage61(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage70(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage62(in *jlexer.Lexer, out *FrameResourceTree) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage71(in *jlexer.Lexer, out *FrameResourceTree) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -5343,17 +6708,17 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage62(in *jlexer.Lexer, out out.ChildFrames = (out.ChildFrames)[:0] } for !in.IsDelim(']') { - var v31 *FrameResourceTree + var v58 *FrameResourceTree if in.IsNull() { in.Skip() - v31 = nil + v58 = nil } else { - if v31 == nil { - v31 = new(FrameResourceTree) + if v58 == nil { + v58 = new(FrameResourceTree) } - (*v31).UnmarshalEasyJSON(in) + (*v58).UnmarshalEasyJSON(in) } - out.ChildFrames = append(out.ChildFrames, v31) + out.ChildFrames = append(out.ChildFrames, v58) in.WantComma() } in.Delim(']') @@ -5374,17 +6739,17 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage62(in *jlexer.Lexer, out out.Resources = (out.Resources)[:0] } for !in.IsDelim(']') { - var v32 *FrameResource + var v59 *FrameResource if in.IsNull() { in.Skip() - v32 = nil + v59 = nil } else { - if v32 == nil { - v32 = new(FrameResource) + if v59 == nil { + v59 = new(FrameResource) } - (*v32).UnmarshalEasyJSON(in) + (*v59).UnmarshalEasyJSON(in) } - out.Resources = append(out.Resources, v32) + out.Resources = append(out.Resources, v59) in.WantComma() } in.Delim(']') @@ -5399,7 +6764,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage62(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage62(out *jwriter.Writer, in FrameResourceTree) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage71(out *jwriter.Writer, in FrameResourceTree) { out.RawByte('{') first := true _ = first @@ -5417,14 +6782,14 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage62(out *jwriter.Writer, i out.RawString(prefix) { out.RawByte('[') - for v33, v34 := range in.ChildFrames { - if v33 > 0 { + for v60, v61 := range in.ChildFrames { + if v60 > 0 { out.RawByte(',') } - if v34 == nil { + if v61 == nil { out.RawString("null") } else { - (*v34).MarshalEasyJSON(out) + (*v61).MarshalEasyJSON(out) } } out.RawByte(']') @@ -5437,14 +6802,14 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage62(out *jwriter.Writer, i out.RawString("null") } else { out.RawByte('[') - for v35, v36 := range in.Resources { - if v35 > 0 { + for v62, v63 := range in.Resources { + if v62 > 0 { out.RawByte(',') } - if v36 == nil { + if v63 == nil { out.RawString("null") } else { - (*v36).MarshalEasyJSON(out) + (*v63).MarshalEasyJSON(out) } } out.RawByte(']') @@ -5456,27 +6821,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage62(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v FrameResourceTree) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage62(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage71(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v FrameResourceTree) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage62(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage71(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *FrameResourceTree) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage62(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage71(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *FrameResourceTree) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage62(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage71(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage63(in *jlexer.Lexer, out *FrameResource) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage72(in *jlexer.Lexer, out *FrameResource) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -5527,7 +6892,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage63(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage63(out *jwriter.Writer, in FrameResource) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage72(out *jwriter.Writer, in FrameResource) { out.RawByte('{') first := true _ = first @@ -5572,27 +6937,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage63(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v FrameResource) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage63(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage72(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v FrameResource) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage63(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage72(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *FrameResource) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage63(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage72(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *FrameResource) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage63(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage72(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage64(in *jlexer.Lexer, out *FontSizes) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage73(in *jlexer.Lexer, out *FontSizes) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -5625,53 +6990,370 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage64(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage64(out *jwriter.Writer, in FontSizes) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage73(out *jwriter.Writer, in FontSizes) { + out.RawByte('{') + first := true + _ = first + if in.Standard != 0 { + const prefix string = ",\"standard\":" + first = false + out.RawString(prefix[1:]) + out.Int64(int64(in.Standard)) + } + if in.Fixed != 0 { + const prefix string = ",\"fixed\":" + if first { + first = false + out.RawString(prefix[1:]) + } else { + out.RawString(prefix) + } + out.Int64(int64(in.Fixed)) + } + out.RawByte('}') +} + +// MarshalJSON supports json.Marshaler interface +func (v FontSizes) MarshalJSON() ([]byte, error) { + w := jwriter.Writer{} + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage73(&w, v) + return w.Buffer.BuildBytes(), w.Error +} + +// MarshalEasyJSON supports easyjson.Marshaler interface +func (v FontSizes) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage73(w, v) +} + +// UnmarshalJSON supports json.Unmarshaler interface +func (v *FontSizes) UnmarshalJSON(data []byte) error { + r := jlexer.Lexer{Data: data} + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage73(&r, v) + return r.Error() +} + +// UnmarshalEasyJSON supports easyjson.Unmarshaler interface +func (v *FontSizes) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage73(l, v) +} +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage74(in *jlexer.Lexer, out *FontFamilies) { + isTopLevel := in.IsStart() + if in.IsNull() { + if isTopLevel { + in.Consumed() + } + in.Skip() + return + } + in.Delim('{') + for !in.IsDelim('}') { + key := in.UnsafeFieldName(false) + in.WantColon() + if in.IsNull() { + in.Skip() + in.WantComma() + continue + } + switch key { + case "standard": + out.Standard = string(in.String()) + case "fixed": + out.Fixed = string(in.String()) + case "serif": + out.Serif = string(in.String()) + case "sansSerif": + out.SansSerif = string(in.String()) + case "cursive": + out.Cursive = string(in.String()) + case "fantasy": + out.Fantasy = string(in.String()) + case "math": + out.Math = string(in.String()) + default: + in.SkipRecursive() + } + in.WantComma() + } + in.Delim('}') + if isTopLevel { + in.Consumed() + } +} +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage74(out *jwriter.Writer, in FontFamilies) { + out.RawByte('{') + first := true + _ = first + if in.Standard != "" { + const prefix string = ",\"standard\":" + first = false + out.RawString(prefix[1:]) + out.String(string(in.Standard)) + } + if in.Fixed != "" { + const prefix string = ",\"fixed\":" + if first { + first = false + out.RawString(prefix[1:]) + } else { + out.RawString(prefix) + } + out.String(string(in.Fixed)) + } + if in.Serif != "" { + const prefix string = ",\"serif\":" + if first { + first = false + out.RawString(prefix[1:]) + } else { + out.RawString(prefix) + } + out.String(string(in.Serif)) + } + if in.SansSerif != "" { + const prefix string = ",\"sansSerif\":" + if first { + first = false + out.RawString(prefix[1:]) + } else { + out.RawString(prefix) + } + out.String(string(in.SansSerif)) + } + if in.Cursive != "" { + const prefix string = ",\"cursive\":" + if first { + first = false + out.RawString(prefix[1:]) + } else { + out.RawString(prefix) + } + out.String(string(in.Cursive)) + } + if in.Fantasy != "" { + const prefix string = ",\"fantasy\":" + if first { + first = false + out.RawString(prefix[1:]) + } else { + out.RawString(prefix) + } + out.String(string(in.Fantasy)) + } + if in.Math != "" { + const prefix string = ",\"math\":" + if first { + first = false + out.RawString(prefix[1:]) + } else { + out.RawString(prefix) + } + out.String(string(in.Math)) + } + out.RawByte('}') +} + +// MarshalJSON supports json.Marshaler interface +func (v FontFamilies) MarshalJSON() ([]byte, error) { + w := jwriter.Writer{} + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage74(&w, v) + return w.Buffer.BuildBytes(), w.Error +} + +// MarshalEasyJSON supports easyjson.Marshaler interface +func (v FontFamilies) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage74(w, v) +} + +// UnmarshalJSON supports json.Unmarshaler interface +func (v *FontFamilies) UnmarshalJSON(data []byte) error { + r := jlexer.Lexer{Data: data} + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage74(&r, v) + return r.Error() +} + +// UnmarshalEasyJSON supports easyjson.Unmarshaler interface +func (v *FontFamilies) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage74(l, v) +} +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage75(in *jlexer.Lexer, out *FileHandler) { + isTopLevel := in.IsStart() + if in.IsNull() { + if isTopLevel { + in.Consumed() + } + in.Skip() + return + } + in.Delim('{') + for !in.IsDelim('}') { + key := in.UnsafeFieldName(false) + in.WantColon() + if in.IsNull() { + in.Skip() + in.WantComma() + continue + } + switch key { + case "action": + out.Action = string(in.String()) + case "name": + out.Name = string(in.String()) + case "icons": + if in.IsNull() { + in.Skip() + out.Icons = nil + } else { + in.Delim('[') + if out.Icons == nil { + if !in.IsDelim(']') { + out.Icons = make([]*ImageResource, 0, 8) + } else { + out.Icons = []*ImageResource{} + } + } else { + out.Icons = (out.Icons)[:0] + } + for !in.IsDelim(']') { + var v64 *ImageResource + if in.IsNull() { + in.Skip() + v64 = nil + } else { + if v64 == nil { + v64 = new(ImageResource) + } + (*v64).UnmarshalEasyJSON(in) + } + out.Icons = append(out.Icons, v64) + in.WantComma() + } + in.Delim(']') + } + case "accepts": + if in.IsNull() { + in.Skip() + out.Accepts = nil + } else { + in.Delim('[') + if out.Accepts == nil { + if !in.IsDelim(']') { + out.Accepts = make([]*FileFilter, 0, 8) + } else { + out.Accepts = []*FileFilter{} + } + } else { + out.Accepts = (out.Accepts)[:0] + } + for !in.IsDelim(']') { + var v65 *FileFilter + if in.IsNull() { + in.Skip() + v65 = nil + } else { + if v65 == nil { + v65 = new(FileFilter) + } + (*v65).UnmarshalEasyJSON(in) + } + out.Accepts = append(out.Accepts, v65) + in.WantComma() + } + in.Delim(']') + } + case "launchType": + out.LaunchType = string(in.String()) + default: + in.SkipRecursive() + } + in.WantComma() + } + in.Delim('}') + if isTopLevel { + in.Consumed() + } +} +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage75(out *jwriter.Writer, in FileHandler) { out.RawByte('{') first := true _ = first - if in.Standard != 0 { - const prefix string = ",\"standard\":" - first = false + { + const prefix string = ",\"action\":" out.RawString(prefix[1:]) - out.Int64(int64(in.Standard)) + out.String(string(in.Action)) } - if in.Fixed != 0 { - const prefix string = ",\"fixed\":" - if first { - first = false - out.RawString(prefix[1:]) - } else { - out.RawString(prefix) + { + const prefix string = ",\"name\":" + out.RawString(prefix) + out.String(string(in.Name)) + } + if len(in.Icons) != 0 { + const prefix string = ",\"icons\":" + out.RawString(prefix) + { + out.RawByte('[') + for v66, v67 := range in.Icons { + if v66 > 0 { + out.RawByte(',') + } + if v67 == nil { + out.RawString("null") + } else { + (*v67).MarshalEasyJSON(out) + } + } + out.RawByte(']') } - out.Int64(int64(in.Fixed)) + } + if len(in.Accepts) != 0 { + const prefix string = ",\"accepts\":" + out.RawString(prefix) + { + out.RawByte('[') + for v68, v69 := range in.Accepts { + if v68 > 0 { + out.RawByte(',') + } + if v69 == nil { + out.RawString("null") + } else { + (*v69).MarshalEasyJSON(out) + } + } + out.RawByte(']') + } + } + { + const prefix string = ",\"launchType\":" + out.RawString(prefix) + out.String(string(in.LaunchType)) } out.RawByte('}') } // MarshalJSON supports json.Marshaler interface -func (v FontSizes) MarshalJSON() ([]byte, error) { +func (v FileHandler) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage64(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage75(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface -func (v FontSizes) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage64(w, v) +func (v FileHandler) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage75(w, v) } // UnmarshalJSON supports json.Unmarshaler interface -func (v *FontSizes) UnmarshalJSON(data []byte) error { +func (v *FileHandler) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage64(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage75(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface -func (v *FontSizes) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage64(l, v) +func (v *FileHandler) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage75(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage65(in *jlexer.Lexer, out *FontFamilies) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage76(in *jlexer.Lexer, out *FileFilter) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -5690,20 +7372,31 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage65(in *jlexer.Lexer, out continue } switch key { - case "standard": - out.Standard = string(in.String()) - case "fixed": - out.Fixed = string(in.String()) - case "serif": - out.Serif = string(in.String()) - case "sansSerif": - out.SansSerif = string(in.String()) - case "cursive": - out.Cursive = string(in.String()) - case "fantasy": - out.Fantasy = string(in.String()) - case "math": - out.Math = string(in.String()) + case "name": + out.Name = string(in.String()) + case "accepts": + if in.IsNull() { + in.Skip() + out.Accepts = nil + } else { + in.Delim('[') + if out.Accepts == nil { + if !in.IsDelim(']') { + out.Accepts = make([]string, 0, 4) + } else { + out.Accepts = []string{} + } + } else { + out.Accepts = (out.Accepts)[:0] + } + for !in.IsDelim(']') { + var v70 string + v70 = string(in.String()) + out.Accepts = append(out.Accepts, v70) + in.WantComma() + } + in.Delim(']') + } default: in.SkipRecursive() } @@ -5714,103 +7407,62 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage65(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage65(out *jwriter.Writer, in FontFamilies) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage76(out *jwriter.Writer, in FileFilter) { out.RawByte('{') first := true _ = first - if in.Standard != "" { - const prefix string = ",\"standard\":" + if in.Name != "" { + const prefix string = ",\"name\":" first = false out.RawString(prefix[1:]) - out.String(string(in.Standard)) - } - if in.Fixed != "" { - const prefix string = ",\"fixed\":" - if first { - first = false - out.RawString(prefix[1:]) - } else { - out.RawString(prefix) - } - out.String(string(in.Fixed)) - } - if in.Serif != "" { - const prefix string = ",\"serif\":" - if first { - first = false - out.RawString(prefix[1:]) - } else { - out.RawString(prefix) - } - out.String(string(in.Serif)) - } - if in.SansSerif != "" { - const prefix string = ",\"sansSerif\":" - if first { - first = false - out.RawString(prefix[1:]) - } else { - out.RawString(prefix) - } - out.String(string(in.SansSerif)) - } - if in.Cursive != "" { - const prefix string = ",\"cursive\":" - if first { - first = false - out.RawString(prefix[1:]) - } else { - out.RawString(prefix) - } - out.String(string(in.Cursive)) + out.String(string(in.Name)) } - if in.Fantasy != "" { - const prefix string = ",\"fantasy\":" + if len(in.Accepts) != 0 { + const prefix string = ",\"accepts\":" if first { first = false out.RawString(prefix[1:]) } else { out.RawString(prefix) } - out.String(string(in.Fantasy)) - } - if in.Math != "" { - const prefix string = ",\"math\":" - if first { - first = false - out.RawString(prefix[1:]) - } else { - out.RawString(prefix) + { + out.RawByte('[') + for v71, v72 := range in.Accepts { + if v71 > 0 { + out.RawByte(',') + } + out.String(string(v72)) + } + out.RawByte(']') } - out.String(string(in.Math)) } out.RawByte('}') } // MarshalJSON supports json.Marshaler interface -func (v FontFamilies) MarshalJSON() ([]byte, error) { +func (v FileFilter) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage65(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage76(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface -func (v FontFamilies) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage65(w, v) +func (v FileFilter) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage76(w, v) } // UnmarshalJSON supports json.Unmarshaler interface -func (v *FontFamilies) UnmarshalJSON(data []byte) error { +func (v *FileFilter) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage65(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage76(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface -func (v *FontFamilies) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage65(l, v) +func (v *FileFilter) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage76(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage66(in *jlexer.Lexer, out *EventWindowOpen) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage77(in *jlexer.Lexer, out *EventWindowOpen) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -5849,9 +7501,9 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage66(in *jlexer.Lexer, out out.WindowFeatures = (out.WindowFeatures)[:0] } for !in.IsDelim(']') { - var v37 string - v37 = string(in.String()) - out.WindowFeatures = append(out.WindowFeatures, v37) + var v73 string + v73 = string(in.String()) + out.WindowFeatures = append(out.WindowFeatures, v73) in.WantComma() } in.Delim(']') @@ -5868,7 +7520,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage66(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage66(out *jwriter.Writer, in EventWindowOpen) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage77(out *jwriter.Writer, in EventWindowOpen) { out.RawByte('{') first := true _ = first @@ -5889,11 +7541,11 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage66(out *jwriter.Writer, i out.RawString("null") } else { out.RawByte('[') - for v38, v39 := range in.WindowFeatures { - if v38 > 0 { + for v74, v75 := range in.WindowFeatures { + if v74 > 0 { out.RawByte(',') } - out.String(string(v39)) + out.String(string(v75)) } out.RawByte(']') } @@ -5909,27 +7561,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage66(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v EventWindowOpen) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage66(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage77(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventWindowOpen) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage66(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage77(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventWindowOpen) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage66(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage77(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventWindowOpen) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage66(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage77(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage67(in *jlexer.Lexer, out *EventScreencastVisibilityChanged) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage78(in *jlexer.Lexer, out *EventScreencastVisibilityChanged) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -5960,7 +7612,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage67(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage67(out *jwriter.Writer, in EventScreencastVisibilityChanged) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage78(out *jwriter.Writer, in EventScreencastVisibilityChanged) { out.RawByte('{') first := true _ = first @@ -5975,27 +7627,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage67(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v EventScreencastVisibilityChanged) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage67(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage78(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventScreencastVisibilityChanged) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage67(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage78(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventScreencastVisibilityChanged) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage67(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage78(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventScreencastVisibilityChanged) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage67(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage78(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage68(in *jlexer.Lexer, out *EventScreencastFrame) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage79(in *jlexer.Lexer, out *EventScreencastFrame) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -6038,7 +7690,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage68(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage68(out *jwriter.Writer, in EventScreencastFrame) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage79(out *jwriter.Writer, in EventScreencastFrame) { out.RawByte('{') first := true _ = first @@ -6067,27 +7719,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage68(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v EventScreencastFrame) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage68(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage79(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventScreencastFrame) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage68(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage79(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventScreencastFrame) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage68(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage79(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventScreencastFrame) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage68(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage79(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage69(in *jlexer.Lexer, out *EventNavigatedWithinDocument) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage80(in *jlexer.Lexer, out *EventNavigatedWithinDocument) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -6120,7 +7772,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage69(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage69(out *jwriter.Writer, in EventNavigatedWithinDocument) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage80(out *jwriter.Writer, in EventNavigatedWithinDocument) { out.RawByte('{') first := true _ = first @@ -6140,27 +7792,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage69(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v EventNavigatedWithinDocument) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage69(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage80(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventNavigatedWithinDocument) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage69(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage80(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventNavigatedWithinDocument) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage69(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage80(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventNavigatedWithinDocument) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage69(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage80(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage70(in *jlexer.Lexer, out *EventLoadEventFired) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage81(in *jlexer.Lexer, out *EventLoadEventFired) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -6199,7 +7851,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage70(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage70(out *jwriter.Writer, in EventLoadEventFired) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage81(out *jwriter.Writer, in EventLoadEventFired) { out.RawByte('{') first := true _ = first @@ -6218,27 +7870,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage70(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v EventLoadEventFired) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage70(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage81(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventLoadEventFired) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage70(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage81(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventLoadEventFired) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage70(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage81(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventLoadEventFired) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage70(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage81(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage71(in *jlexer.Lexer, out *EventLifecycleEvent) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage82(in *jlexer.Lexer, out *EventLifecycleEvent) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -6283,7 +7935,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage71(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage71(out *jwriter.Writer, in EventLifecycleEvent) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage82(out *jwriter.Writer, in EventLifecycleEvent) { out.RawByte('{') first := true _ = first @@ -6317,27 +7969,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage71(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v EventLifecycleEvent) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage71(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage82(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventLifecycleEvent) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage71(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage82(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventLifecycleEvent) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage71(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage82(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventLifecycleEvent) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage71(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage82(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage72(in *jlexer.Lexer, out *EventJavascriptDialogOpening) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage83(in *jlexer.Lexer, out *EventJavascriptDialogOpening) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -6376,7 +8028,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage72(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage72(out *jwriter.Writer, in EventJavascriptDialogOpening) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage83(out *jwriter.Writer, in EventJavascriptDialogOpening) { out.RawByte('{') first := true _ = first @@ -6411,27 +8063,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage72(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v EventJavascriptDialogOpening) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage72(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage83(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventJavascriptDialogOpening) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage72(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage83(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventJavascriptDialogOpening) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage72(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage83(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventJavascriptDialogOpening) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage72(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage83(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage73(in *jlexer.Lexer, out *EventJavascriptDialogClosed) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage84(in *jlexer.Lexer, out *EventJavascriptDialogClosed) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -6464,7 +8116,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage73(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage73(out *jwriter.Writer, in EventJavascriptDialogClosed) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage84(out *jwriter.Writer, in EventJavascriptDialogClosed) { out.RawByte('{') first := true _ = first @@ -6484,27 +8136,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage73(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v EventJavascriptDialogClosed) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage73(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage84(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventJavascriptDialogClosed) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage73(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage84(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventJavascriptDialogClosed) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage73(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage84(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventJavascriptDialogClosed) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage73(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage84(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage74(in *jlexer.Lexer, out *EventInterstitialShown) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage85(in *jlexer.Lexer, out *EventInterstitialShown) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -6533,7 +8185,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage74(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage74(out *jwriter.Writer, in EventInterstitialShown) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage85(out *jwriter.Writer, in EventInterstitialShown) { out.RawByte('{') first := true _ = first @@ -6543,27 +8195,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage74(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v EventInterstitialShown) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage74(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage85(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventInterstitialShown) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage74(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage85(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventInterstitialShown) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage74(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage85(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventInterstitialShown) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage74(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage85(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage75(in *jlexer.Lexer, out *EventInterstitialHidden) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage86(in *jlexer.Lexer, out *EventInterstitialHidden) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -6592,7 +8244,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage75(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage75(out *jwriter.Writer, in EventInterstitialHidden) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage86(out *jwriter.Writer, in EventInterstitialHidden) { out.RawByte('{') first := true _ = first @@ -6602,27 +8254,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage75(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v EventInterstitialHidden) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage75(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage86(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventInterstitialHidden) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage75(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage86(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventInterstitialHidden) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage75(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage86(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventInterstitialHidden) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage75(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage86(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage76(in *jlexer.Lexer, out *EventFrameStoppedLoading) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage87(in *jlexer.Lexer, out *EventFrameStoppedLoading) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -6653,7 +8305,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage76(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage76(out *jwriter.Writer, in EventFrameStoppedLoading) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage87(out *jwriter.Writer, in EventFrameStoppedLoading) { out.RawByte('{') first := true _ = first @@ -6668,27 +8320,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage76(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v EventFrameStoppedLoading) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage76(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage87(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventFrameStoppedLoading) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage76(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage87(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventFrameStoppedLoading) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage76(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage87(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventFrameStoppedLoading) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage76(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage87(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage77(in *jlexer.Lexer, out *EventFrameStartedLoading) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage88(in *jlexer.Lexer, out *EventFrameStartedLoading) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -6719,7 +8371,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage77(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage77(out *jwriter.Writer, in EventFrameStartedLoading) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage88(out *jwriter.Writer, in EventFrameStartedLoading) { out.RawByte('{') first := true _ = first @@ -6734,27 +8386,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage77(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v EventFrameStartedLoading) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage77(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage88(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventFrameStartedLoading) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage77(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage88(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventFrameStartedLoading) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage77(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage88(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventFrameStartedLoading) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage77(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage88(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage78(in *jlexer.Lexer, out *EventFrameResized) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage89(in *jlexer.Lexer, out *EventFrameResized) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -6783,7 +8435,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage78(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage78(out *jwriter.Writer, in EventFrameResized) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage89(out *jwriter.Writer, in EventFrameResized) { out.RawByte('{') first := true _ = first @@ -6793,27 +8445,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage78(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v EventFrameResized) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage78(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage89(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventFrameResized) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage78(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage89(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventFrameResized) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage78(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage89(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventFrameResized) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage78(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage89(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage79(in *jlexer.Lexer, out *EventFrameRequestedNavigation) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage90(in *jlexer.Lexer, out *EventFrameRequestedNavigation) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -6850,7 +8502,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage79(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage79(out *jwriter.Writer, in EventFrameRequestedNavigation) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage90(out *jwriter.Writer, in EventFrameRequestedNavigation) { out.RawByte('{') first := true _ = first @@ -6880,27 +8532,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage79(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v EventFrameRequestedNavigation) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage79(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage90(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventFrameRequestedNavigation) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage79(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage90(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventFrameRequestedNavigation) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage79(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage90(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventFrameRequestedNavigation) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage79(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage90(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage80(in *jlexer.Lexer, out *EventFrameNavigated) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage91(in *jlexer.Lexer, out *EventFrameNavigated) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -6941,7 +8593,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage80(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage80(out *jwriter.Writer, in EventFrameNavigated) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage91(out *jwriter.Writer, in EventFrameNavigated) { out.RawByte('{') first := true _ = first @@ -6965,27 +8617,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage80(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v EventFrameNavigated) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage80(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage91(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventFrameNavigated) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage80(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage91(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventFrameNavigated) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage80(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage91(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventFrameNavigated) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage80(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage91(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage81(in *jlexer.Lexer, out *EventFrameDetached) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage92(in *jlexer.Lexer, out *EventFrameDetached) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -7018,7 +8670,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage81(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage81(out *jwriter.Writer, in EventFrameDetached) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage92(out *jwriter.Writer, in EventFrameDetached) { out.RawByte('{') first := true _ = first @@ -7038,27 +8690,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage81(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v EventFrameDetached) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage81(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage92(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventFrameDetached) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage81(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage92(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventFrameDetached) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage81(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage92(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventFrameDetached) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage81(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage92(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage82(in *jlexer.Lexer, out *EventFrameAttached) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage93(in *jlexer.Lexer, out *EventFrameAttached) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -7101,7 +8753,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage82(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage82(out *jwriter.Writer, in EventFrameAttached) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage93(out *jwriter.Writer, in EventFrameAttached) { out.RawByte('{') first := true _ = first @@ -7126,27 +8778,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage82(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v EventFrameAttached) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage82(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage93(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventFrameAttached) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage82(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage93(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventFrameAttached) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage82(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage93(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventFrameAttached) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage82(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage93(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage83(in *jlexer.Lexer, out *EventFileChooserOpened) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage94(in *jlexer.Lexer, out *EventFileChooserOpened) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -7181,7 +8833,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage83(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage83(out *jwriter.Writer, in EventFileChooserOpened) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage94(out *jwriter.Writer, in EventFileChooserOpened) { out.RawByte('{') first := true _ = first @@ -7206,27 +8858,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage83(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v EventFileChooserOpened) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage83(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage94(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventFileChooserOpened) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage83(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage94(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventFileChooserOpened) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage83(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage94(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventFileChooserOpened) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage83(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage94(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage84(in *jlexer.Lexer, out *EventDomContentEventFired) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage95(in *jlexer.Lexer, out *EventDomContentEventFired) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -7265,7 +8917,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage84(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage84(out *jwriter.Writer, in EventDomContentEventFired) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage95(out *jwriter.Writer, in EventDomContentEventFired) { out.RawByte('{') first := true _ = first @@ -7284,27 +8936,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage84(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v EventDomContentEventFired) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage84(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage95(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventDomContentEventFired) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage84(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage95(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventDomContentEventFired) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage84(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage95(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventDomContentEventFired) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage84(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage95(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage85(in *jlexer.Lexer, out *EventDocumentOpened) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage96(in *jlexer.Lexer, out *EventDocumentOpened) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -7343,7 +8995,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage85(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage85(out *jwriter.Writer, in EventDocumentOpened) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage96(out *jwriter.Writer, in EventDocumentOpened) { out.RawByte('{') first := true _ = first @@ -7362,27 +9014,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage85(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v EventDocumentOpened) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage85(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage96(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventDocumentOpened) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage85(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage96(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventDocumentOpened) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage85(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage96(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventDocumentOpened) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage85(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage96(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage86(in *jlexer.Lexer, out *EventCompilationCacheProduced) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage97(in *jlexer.Lexer, out *EventCompilationCacheProduced) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -7415,7 +9067,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage86(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage86(out *jwriter.Writer, in EventCompilationCacheProduced) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage97(out *jwriter.Writer, in EventCompilationCacheProduced) { out.RawByte('{') first := true _ = first @@ -7435,27 +9087,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage86(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v EventCompilationCacheProduced) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage86(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage97(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventCompilationCacheProduced) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage86(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage97(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventCompilationCacheProduced) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage86(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage97(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventCompilationCacheProduced) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage86(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage97(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage87(in *jlexer.Lexer, out *EventBackForwardCacheNotUsed) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage98(in *jlexer.Lexer, out *EventBackForwardCacheNotUsed) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -7494,17 +9146,17 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage87(in *jlexer.Lexer, out out.NotRestoredExplanations = (out.NotRestoredExplanations)[:0] } for !in.IsDelim(']') { - var v40 *BackForwardCacheNotRestoredExplanation + var v76 *BackForwardCacheNotRestoredExplanation if in.IsNull() { in.Skip() - v40 = nil + v76 = nil } else { - if v40 == nil { - v40 = new(BackForwardCacheNotRestoredExplanation) + if v76 == nil { + v76 = new(BackForwardCacheNotRestoredExplanation) } - (*v40).UnmarshalEasyJSON(in) + (*v76).UnmarshalEasyJSON(in) } - out.NotRestoredExplanations = append(out.NotRestoredExplanations, v40) + out.NotRestoredExplanations = append(out.NotRestoredExplanations, v76) in.WantComma() } in.Delim(']') @@ -7529,7 +9181,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage87(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage87(out *jwriter.Writer, in EventBackForwardCacheNotUsed) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage98(out *jwriter.Writer, in EventBackForwardCacheNotUsed) { out.RawByte('{') first := true _ = first @@ -7550,14 +9202,14 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage87(out *jwriter.Writer, i out.RawString("null") } else { out.RawByte('[') - for v41, v42 := range in.NotRestoredExplanations { - if v41 > 0 { + for v77, v78 := range in.NotRestoredExplanations { + if v77 > 0 { out.RawByte(',') } - if v42 == nil { + if v78 == nil { out.RawString("null") } else { - (*v42).MarshalEasyJSON(out) + (*v78).MarshalEasyJSON(out) } } out.RawByte(']') @@ -7574,27 +9226,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage87(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v EventBackForwardCacheNotUsed) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage87(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage98(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventBackForwardCacheNotUsed) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage87(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage98(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventBackForwardCacheNotUsed) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage87(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage98(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventBackForwardCacheNotUsed) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage87(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage98(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage88(in *jlexer.Lexer, out *EnableParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage99(in *jlexer.Lexer, out *EnableParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -7623,7 +9275,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage88(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage88(out *jwriter.Writer, in EnableParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage99(out *jwriter.Writer, in EnableParams) { out.RawByte('{') first := true _ = first @@ -7633,27 +9285,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage88(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v EnableParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage88(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage99(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EnableParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage88(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage99(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EnableParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage88(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage99(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EnableParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage88(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage99(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage89(in *jlexer.Lexer, out *DisableParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage100(in *jlexer.Lexer, out *DisableParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -7682,7 +9334,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage89(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage89(out *jwriter.Writer, in DisableParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage100(out *jwriter.Writer, in DisableParams) { out.RawByte('{') first := true _ = first @@ -7692,27 +9344,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage89(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v DisableParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage89(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage100(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v DisableParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage89(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage100(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *DisableParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage89(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage100(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *DisableParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage89(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage100(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage90(in *jlexer.Lexer, out *CreateIsolatedWorldReturns) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage101(in *jlexer.Lexer, out *CreateIsolatedWorldReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -7743,7 +9395,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage90(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage90(out *jwriter.Writer, in CreateIsolatedWorldReturns) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage101(out *jwriter.Writer, in CreateIsolatedWorldReturns) { out.RawByte('{') first := true _ = first @@ -7759,27 +9411,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage90(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v CreateIsolatedWorldReturns) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage90(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage101(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v CreateIsolatedWorldReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage90(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage101(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *CreateIsolatedWorldReturns) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage90(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage101(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *CreateIsolatedWorldReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage90(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage101(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage91(in *jlexer.Lexer, out *CreateIsolatedWorldParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage102(in *jlexer.Lexer, out *CreateIsolatedWorldParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -7814,7 +9466,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage91(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage91(out *jwriter.Writer, in CreateIsolatedWorldParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage102(out *jwriter.Writer, in CreateIsolatedWorldParams) { out.RawByte('{') first := true _ = first @@ -7839,27 +9491,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage91(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v CreateIsolatedWorldParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage91(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage102(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v CreateIsolatedWorldParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage91(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage102(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *CreateIsolatedWorldParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage91(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage102(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *CreateIsolatedWorldParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage91(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage102(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage92(in *jlexer.Lexer, out *CrashParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage103(in *jlexer.Lexer, out *CrashParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -7888,7 +9540,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage92(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage92(out *jwriter.Writer, in CrashParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage103(out *jwriter.Writer, in CrashParams) { out.RawByte('{') first := true _ = first @@ -7898,27 +9550,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage92(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v CrashParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage92(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage103(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v CrashParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage92(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage103(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *CrashParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage92(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage103(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *CrashParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage92(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage103(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage93(in *jlexer.Lexer, out *CompilationCacheParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage104(in *jlexer.Lexer, out *CompilationCacheParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -7951,7 +9603,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage93(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage93(out *jwriter.Writer, in CompilationCacheParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage104(out *jwriter.Writer, in CompilationCacheParams) { out.RawByte('{') first := true _ = first @@ -7971,27 +9623,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage93(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v CompilationCacheParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage93(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage104(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v CompilationCacheParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage93(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage104(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *CompilationCacheParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage93(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage104(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *CompilationCacheParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage93(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage104(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage94(in *jlexer.Lexer, out *CloseParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage105(in *jlexer.Lexer, out *CloseParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -8020,7 +9672,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage94(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage94(out *jwriter.Writer, in CloseParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage105(out *jwriter.Writer, in CloseParams) { out.RawByte('{') first := true _ = first @@ -8030,27 +9682,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage94(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v CloseParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage94(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage105(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v CloseParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage94(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage105(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *CloseParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage94(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage105(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *CloseParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage94(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage105(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage95(in *jlexer.Lexer, out *ClearCompilationCacheParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage106(in *jlexer.Lexer, out *ClearCompilationCacheParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -8079,7 +9731,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage95(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage95(out *jwriter.Writer, in ClearCompilationCacheParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage106(out *jwriter.Writer, in ClearCompilationCacheParams) { out.RawByte('{') first := true _ = first @@ -8089,27 +9741,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage95(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v ClearCompilationCacheParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage95(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage106(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v ClearCompilationCacheParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage95(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage106(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *ClearCompilationCacheParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage95(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage106(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *ClearCompilationCacheParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage95(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage106(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage96(in *jlexer.Lexer, out *CaptureSnapshotReturns) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage107(in *jlexer.Lexer, out *CaptureSnapshotReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -8140,7 +9792,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage96(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage96(out *jwriter.Writer, in CaptureSnapshotReturns) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage107(out *jwriter.Writer, in CaptureSnapshotReturns) { out.RawByte('{') first := true _ = first @@ -8156,27 +9808,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage96(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v CaptureSnapshotReturns) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage96(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage107(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v CaptureSnapshotReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage96(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage107(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *CaptureSnapshotReturns) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage96(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage107(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *CaptureSnapshotReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage96(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage107(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage97(in *jlexer.Lexer, out *CaptureSnapshotParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage108(in *jlexer.Lexer, out *CaptureSnapshotParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -8207,7 +9859,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage97(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage97(out *jwriter.Writer, in CaptureSnapshotParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage108(out *jwriter.Writer, in CaptureSnapshotParams) { out.RawByte('{') first := true _ = first @@ -8223,27 +9875,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage97(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v CaptureSnapshotParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage97(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage108(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v CaptureSnapshotParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage97(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage108(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *CaptureSnapshotParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage97(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage108(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *CaptureSnapshotParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage97(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage108(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage98(in *jlexer.Lexer, out *CaptureScreenshotReturns) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage109(in *jlexer.Lexer, out *CaptureScreenshotReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -8274,7 +9926,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage98(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage98(out *jwriter.Writer, in CaptureScreenshotReturns) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage109(out *jwriter.Writer, in CaptureScreenshotReturns) { out.RawByte('{') first := true _ = first @@ -8290,27 +9942,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage98(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v CaptureScreenshotReturns) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage98(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage109(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v CaptureScreenshotReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage98(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage109(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *CaptureScreenshotReturns) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage98(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage109(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *CaptureScreenshotReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage98(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage109(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage99(in *jlexer.Lexer, out *CaptureScreenshotParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage110(in *jlexer.Lexer, out *CaptureScreenshotParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -8359,7 +10011,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage99(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage99(out *jwriter.Writer, in CaptureScreenshotParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage110(out *jwriter.Writer, in CaptureScreenshotParams) { out.RawByte('{') first := true _ = first @@ -8425,27 +10077,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage99(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v CaptureScreenshotParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage99(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage110(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v CaptureScreenshotParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage99(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage110(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *CaptureScreenshotParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage99(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage110(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *CaptureScreenshotParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage99(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage110(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage100(in *jlexer.Lexer, out *BringToFrontParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage111(in *jlexer.Lexer, out *BringToFrontParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -8474,7 +10126,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage100(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage100(out *jwriter.Writer, in BringToFrontParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage111(out *jwriter.Writer, in BringToFrontParams) { out.RawByte('{') first := true _ = first @@ -8484,27 +10136,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage100(out *jwriter.Writer, // MarshalJSON supports json.Marshaler interface func (v BringToFrontParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage100(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage111(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v BringToFrontParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage100(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage111(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *BringToFrontParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage100(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage111(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *BringToFrontParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage100(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage111(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage101(in *jlexer.Lexer, out *BackForwardCacheNotRestoredExplanationTree) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage112(in *jlexer.Lexer, out *BackForwardCacheNotRestoredExplanationTree) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -8541,17 +10193,17 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage101(in *jlexer.Lexer, out out.Explanations = (out.Explanations)[:0] } for !in.IsDelim(']') { - var v43 *BackForwardCacheNotRestoredExplanation + var v79 *BackForwardCacheNotRestoredExplanation if in.IsNull() { in.Skip() - v43 = nil + v79 = nil } else { - if v43 == nil { - v43 = new(BackForwardCacheNotRestoredExplanation) + if v79 == nil { + v79 = new(BackForwardCacheNotRestoredExplanation) } - (*v43).UnmarshalEasyJSON(in) + (*v79).UnmarshalEasyJSON(in) } - out.Explanations = append(out.Explanations, v43) + out.Explanations = append(out.Explanations, v79) in.WantComma() } in.Delim(']') @@ -8572,17 +10224,17 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage101(in *jlexer.Lexer, out out.Children = (out.Children)[:0] } for !in.IsDelim(']') { - var v44 *BackForwardCacheNotRestoredExplanationTree + var v80 *BackForwardCacheNotRestoredExplanationTree if in.IsNull() { in.Skip() - v44 = nil + v80 = nil } else { - if v44 == nil { - v44 = new(BackForwardCacheNotRestoredExplanationTree) + if v80 == nil { + v80 = new(BackForwardCacheNotRestoredExplanationTree) } - (*v44).UnmarshalEasyJSON(in) + (*v80).UnmarshalEasyJSON(in) } - out.Children = append(out.Children, v44) + out.Children = append(out.Children, v80) in.WantComma() } in.Delim(']') @@ -8597,7 +10249,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage101(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage101(out *jwriter.Writer, in BackForwardCacheNotRestoredExplanationTree) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage112(out *jwriter.Writer, in BackForwardCacheNotRestoredExplanationTree) { out.RawByte('{') first := true _ = first @@ -8613,14 +10265,14 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage101(out *jwriter.Writer, out.RawString("null") } else { out.RawByte('[') - for v45, v46 := range in.Explanations { - if v45 > 0 { + for v81, v82 := range in.Explanations { + if v81 > 0 { out.RawByte(',') } - if v46 == nil { + if v82 == nil { out.RawString("null") } else { - (*v46).MarshalEasyJSON(out) + (*v82).MarshalEasyJSON(out) } } out.RawByte(']') @@ -8633,14 +10285,14 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage101(out *jwriter.Writer, out.RawString("null") } else { out.RawByte('[') - for v47, v48 := range in.Children { - if v47 > 0 { + for v83, v84 := range in.Children { + if v83 > 0 { out.RawByte(',') } - if v48 == nil { + if v84 == nil { out.RawString("null") } else { - (*v48).MarshalEasyJSON(out) + (*v84).MarshalEasyJSON(out) } } out.RawByte(']') @@ -8652,27 +10304,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage101(out *jwriter.Writer, // MarshalJSON supports json.Marshaler interface func (v BackForwardCacheNotRestoredExplanationTree) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage101(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage112(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v BackForwardCacheNotRestoredExplanationTree) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage101(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage112(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *BackForwardCacheNotRestoredExplanationTree) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage101(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage112(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *BackForwardCacheNotRestoredExplanationTree) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage101(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage112(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage102(in *jlexer.Lexer, out *BackForwardCacheNotRestoredExplanation) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage113(in *jlexer.Lexer, out *BackForwardCacheNotRestoredExplanation) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -8713,17 +10365,17 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage102(in *jlexer.Lexer, out out.Details = (out.Details)[:0] } for !in.IsDelim(']') { - var v49 *BackForwardCacheBlockingDetails + var v85 *BackForwardCacheBlockingDetails if in.IsNull() { in.Skip() - v49 = nil + v85 = nil } else { - if v49 == nil { - v49 = new(BackForwardCacheBlockingDetails) + if v85 == nil { + v85 = new(BackForwardCacheBlockingDetails) } - (*v49).UnmarshalEasyJSON(in) + (*v85).UnmarshalEasyJSON(in) } - out.Details = append(out.Details, v49) + out.Details = append(out.Details, v85) in.WantComma() } in.Delim(']') @@ -8738,7 +10390,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage102(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage102(out *jwriter.Writer, in BackForwardCacheNotRestoredExplanation) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage113(out *jwriter.Writer, in BackForwardCacheNotRestoredExplanation) { out.RawByte('{') first := true _ = first @@ -8762,14 +10414,14 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage102(out *jwriter.Writer, out.RawString(prefix) { out.RawByte('[') - for v50, v51 := range in.Details { - if v50 > 0 { + for v86, v87 := range in.Details { + if v86 > 0 { out.RawByte(',') } - if v51 == nil { + if v87 == nil { out.RawString("null") } else { - (*v51).MarshalEasyJSON(out) + (*v87).MarshalEasyJSON(out) } } out.RawByte(']') @@ -8781,27 +10433,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage102(out *jwriter.Writer, // MarshalJSON supports json.Marshaler interface func (v BackForwardCacheNotRestoredExplanation) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage102(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage113(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v BackForwardCacheNotRestoredExplanation) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage102(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage113(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *BackForwardCacheNotRestoredExplanation) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage102(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage113(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *BackForwardCacheNotRestoredExplanation) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage102(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage113(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage103(in *jlexer.Lexer, out *BackForwardCacheBlockingDetails) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage114(in *jlexer.Lexer, out *BackForwardCacheBlockingDetails) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -8838,7 +10490,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage103(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage103(out *jwriter.Writer, in BackForwardCacheBlockingDetails) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage114(out *jwriter.Writer, in BackForwardCacheBlockingDetails) { out.RawByte('{') first := true _ = first @@ -8879,27 +10531,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage103(out *jwriter.Writer, // MarshalJSON supports json.Marshaler interface func (v BackForwardCacheBlockingDetails) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage103(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage114(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v BackForwardCacheBlockingDetails) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage103(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage114(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *BackForwardCacheBlockingDetails) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage103(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage114(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *BackForwardCacheBlockingDetails) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage103(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage114(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage104(in *jlexer.Lexer, out *AppManifestParsedProperties) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage115(in *jlexer.Lexer, out *AppManifestParsedProperties) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -8930,7 +10582,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage104(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage104(out *jwriter.Writer, in AppManifestParsedProperties) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage115(out *jwriter.Writer, in AppManifestParsedProperties) { out.RawByte('{') first := true _ = first @@ -8945,27 +10597,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage104(out *jwriter.Writer, // MarshalJSON supports json.Marshaler interface func (v AppManifestParsedProperties) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage104(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage115(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v AppManifestParsedProperties) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage104(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage115(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *AppManifestParsedProperties) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage104(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage115(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *AppManifestParsedProperties) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage104(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage115(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage105(in *jlexer.Lexer, out *AppManifestError) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage116(in *jlexer.Lexer, out *AppManifestError) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -9002,7 +10654,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage105(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage105(out *jwriter.Writer, in AppManifestError) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage116(out *jwriter.Writer, in AppManifestError) { out.RawByte('{') first := true _ = first @@ -9032,27 +10684,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage105(out *jwriter.Writer, // MarshalJSON supports json.Marshaler interface func (v AppManifestError) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage105(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage116(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v AppManifestError) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage105(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage116(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *AppManifestError) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage105(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage116(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *AppManifestError) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage105(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage116(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage106(in *jlexer.Lexer, out *AddScriptToEvaluateOnNewDocumentReturns) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage117(in *jlexer.Lexer, out *AddScriptToEvaluateOnNewDocumentReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -9083,7 +10735,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage106(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage106(out *jwriter.Writer, in AddScriptToEvaluateOnNewDocumentReturns) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage117(out *jwriter.Writer, in AddScriptToEvaluateOnNewDocumentReturns) { out.RawByte('{') first := true _ = first @@ -9099,27 +10751,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage106(out *jwriter.Writer, // MarshalJSON supports json.Marshaler interface func (v AddScriptToEvaluateOnNewDocumentReturns) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage106(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage117(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v AddScriptToEvaluateOnNewDocumentReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage106(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage117(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *AddScriptToEvaluateOnNewDocumentReturns) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage106(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage117(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *AddScriptToEvaluateOnNewDocumentReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage106(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage117(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage107(in *jlexer.Lexer, out *AddScriptToEvaluateOnNewDocumentParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage118(in *jlexer.Lexer, out *AddScriptToEvaluateOnNewDocumentParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -9156,7 +10808,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage107(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage107(out *jwriter.Writer, in AddScriptToEvaluateOnNewDocumentParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage118(out *jwriter.Writer, in AddScriptToEvaluateOnNewDocumentParams) { out.RawByte('{') first := true _ = first @@ -9186,27 +10838,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage107(out *jwriter.Writer, // MarshalJSON supports json.Marshaler interface func (v AddScriptToEvaluateOnNewDocumentParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage107(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage118(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v AddScriptToEvaluateOnNewDocumentParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage107(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage118(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *AddScriptToEvaluateOnNewDocumentParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage107(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage118(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *AddScriptToEvaluateOnNewDocumentParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage107(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage118(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage108(in *jlexer.Lexer, out *AddCompilationCacheParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage119(in *jlexer.Lexer, out *AddCompilationCacheParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -9239,7 +10891,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage108(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage108(out *jwriter.Writer, in AddCompilationCacheParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage119(out *jwriter.Writer, in AddCompilationCacheParams) { out.RawByte('{') first := true _ = first @@ -9259,27 +10911,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage108(out *jwriter.Writer, // MarshalJSON supports json.Marshaler interface func (v AddCompilationCacheParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage108(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage119(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v AddCompilationCacheParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage108(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage119(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *AddCompilationCacheParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage108(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage119(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *AddCompilationCacheParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage108(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage119(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage109(in *jlexer.Lexer, out *AdScriptID) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage120(in *jlexer.Lexer, out *AdScriptID) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -9312,7 +10964,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage109(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage109(out *jwriter.Writer, in AdScriptID) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage120(out *jwriter.Writer, in AdScriptID) { out.RawByte('{') first := true _ = first @@ -9332,23 +10984,23 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage109(out *jwriter.Writer, // MarshalJSON supports json.Marshaler interface func (v AdScriptID) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage109(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage120(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v AdScriptID) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage109(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage120(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *AdScriptID) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage109(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage120(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *AdScriptID) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage109(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage120(l, v) } diff --git a/page/page.go b/page/page.go index c3bd7fc..53192f1 100644 --- a/page/page.go +++ b/page/page.go @@ -315,22 +315,39 @@ func (p *EnableParams) Do(ctx context.Context) (err error) { return cdp.Execute(ctx, CommandEnable, nil, nil) } -// GetAppManifestParams [no description]. -type GetAppManifestParams struct{} +// GetAppManifestParams gets the processed manifest for this current +// document. This API always waits for the manifest to be loaded. If manifestId +// is provided, and it does not match the manifest of the current document, this +// API errors out. If there isn’t a loaded page, this API errors out +// immediately. +type GetAppManifestParams struct { + ManifestID string `json:"manifestId,omitempty"` +} -// GetAppManifest [no description]. +// GetAppManifest gets the processed manifest for this current document. This +// API always waits for the manifest to be loaded. If manifestId is provided, +// and it does not match the manifest of the current document, this API errors +// out. If there isn’t a loaded page, this API errors out immediately. // // See: https://chromedevtools.github.io/devtools-protocol/tot/Page#method-getAppManifest +// +// parameters: func GetAppManifest() *GetAppManifestParams { return &GetAppManifestParams{} } +// WithManifestID [no description]. +func (p GetAppManifestParams) WithManifestID(manifestID string) *GetAppManifestParams { + p.ManifestID = manifestID + return &p +} + // GetAppManifestReturns return values. type GetAppManifestReturns struct { - URL string `json:"url,omitempty"` // Manifest location. - Errors []*AppManifestError `json:"errors,omitempty"` - Data string `json:"data,omitempty"` // Manifest content. - Parsed *AppManifestParsedProperties `json:"parsed,omitempty"` // Parsed manifest properties + URL string `json:"url,omitempty"` // Manifest location. + Errors []*AppManifestError `json:"errors,omitempty"` + Data string `json:"data,omitempty"` // Manifest content. + Manifest *WebAppManifest `json:"manifest,omitempty"` } // Do executes Page.getAppManifest against the provided context. @@ -340,16 +357,16 @@ type GetAppManifestReturns struct { // url - Manifest location. // errors // data - Manifest content. -// parsed - Parsed manifest properties -func (p *GetAppManifestParams) Do(ctx context.Context) (url string, errors []*AppManifestError, data string, parsed *AppManifestParsedProperties, err error) { +// manifest +func (p *GetAppManifestParams) Do(ctx context.Context) (url string, errors []*AppManifestError, data string, manifest *WebAppManifest, err error) { // execute var res GetAppManifestReturns - err = cdp.Execute(ctx, CommandGetAppManifest, nil, &res) + err = cdp.Execute(ctx, CommandGetAppManifest, p, &res) if err != nil { return "", nil, "", nil, err } - return res.URL, res.Errors, res.Data, res.Parsed, nil + return res.URL, res.Errors, res.Data, res.Manifest, nil } // GetInstallabilityErrorsParams [no description]. diff --git a/page/types.go b/page/types.go index b564a66..006b0c9 100644 --- a/page/types.go +++ b/page/types.go @@ -864,6 +864,124 @@ type CompilationCacheParams struct { Eager bool `json:"eager,omitempty"` // A hint to the backend whether eager compilation is recommended. (the actual compilation mode used is upon backend discretion). } +// FileFilter [no description]. +// +// See: https://chromedevtools.github.io/devtools-protocol/tot/Page#type-FileFilter +type FileFilter struct { + Name string `json:"name,omitempty"` + Accepts []string `json:"accepts,omitempty"` +} + +// FileHandler [no description]. +// +// See: https://chromedevtools.github.io/devtools-protocol/tot/Page#type-FileHandler +type FileHandler struct { + Action string `json:"action"` + Name string `json:"name"` + Icons []*ImageResource `json:"icons,omitempty"` + Accepts []*FileFilter `json:"accepts,omitempty"` // Mimic a map, name is the key, accepts is the value. + LaunchType string `json:"launchType"` // Won't repeat the enums, using string for easy comparison. Same as the other enums below. +} + +// ImageResource the image definition used in both icon and screenshot. +// +// See: https://chromedevtools.github.io/devtools-protocol/tot/Page#type-ImageResource +type ImageResource struct { + URL string `json:"url"` // The src field in the definition, but changing to url in favor of consistency. + Sizes string `json:"sizes,omitempty"` + Type string `json:"type,omitempty"` +} + +// LaunchHandler [no description]. +// +// See: https://chromedevtools.github.io/devtools-protocol/tot/Page#type-LaunchHandler +type LaunchHandler struct { + ClientMode string `json:"clientMode"` +} + +// ProtocolHandler [no description]. +// +// See: https://chromedevtools.github.io/devtools-protocol/tot/Page#type-ProtocolHandler +type ProtocolHandler struct { + Protocol string `json:"protocol"` + URL string `json:"url"` +} + +// RelatedApplication [no description]. +// +// See: https://chromedevtools.github.io/devtools-protocol/tot/Page#type-RelatedApplication +type RelatedApplication struct { + ID string `json:"id,omitempty"` + URL string `json:"url"` +} + +// ScopeExtension [no description]. +// +// See: https://chromedevtools.github.io/devtools-protocol/tot/Page#type-ScopeExtension +type ScopeExtension struct { + Origin string `json:"origin"` // Instead of using tuple, this field always returns the serialized string for easy understanding and comparison. + HasOriginWildcard bool `json:"hasOriginWildcard"` +} + +// Screenshot [no description]. +// +// See: https://chromedevtools.github.io/devtools-protocol/tot/Page#type-Screenshot +type Screenshot struct { + Image *ImageResource `json:"image"` + FormFactor string `json:"formFactor"` + Label string `json:"label,omitempty"` +} + +// ShareTarget [no description]. +// +// See: https://chromedevtools.github.io/devtools-protocol/tot/Page#type-ShareTarget +type ShareTarget struct { + Action string `json:"action"` + Method string `json:"method"` + Enctype string `json:"enctype"` + Title string `json:"title,omitempty"` // Embed the ShareTargetParams + Text string `json:"text,omitempty"` + URL string `json:"url,omitempty"` + Files []*FileFilter `json:"files,omitempty"` +} + +// Shortcut [no description]. +// +// See: https://chromedevtools.github.io/devtools-protocol/tot/Page#type-Shortcut +type Shortcut struct { + Name string `json:"name"` + URL string `json:"url"` +} + +// WebAppManifest [no description]. +// +// See: https://chromedevtools.github.io/devtools-protocol/tot/Page#type-WebAppManifest +type WebAppManifest struct { + BackgroundColor string `json:"backgroundColor,omitempty"` + Description string `json:"description,omitempty"` // The extra description provided by the manifest. + Dir string `json:"dir,omitempty"` + Display string `json:"display,omitempty"` + DisplayOverrides []string `json:"displayOverrides,omitempty"` // The overrided display mode controlled by the user. + FileHandlers []*FileHandler `json:"fileHandlers,omitempty"` // The handlers to open files. + Icons []*ImageResource `json:"icons,omitempty"` + ID string `json:"id,omitempty"` + Lang string `json:"lang,omitempty"` + LaunchHandler *LaunchHandler `json:"launchHandler,omitempty"` // TODO(crbug.com/1231886): This field is non-standard and part of a Chrome experiment. See: https://github.com/WICG/web-app-launch/blob/main/launch_handler.md + Name string `json:"name,omitempty"` + Orientation string `json:"orientation,omitempty"` + PreferRelatedApplications bool `json:"preferRelatedApplications,omitempty"` + ProtocolHandlers []*ProtocolHandler `json:"protocolHandlers,omitempty"` // The handlers to open protocols. + RelatedApplications []*RelatedApplication `json:"relatedApplications,omitempty"` + Scope string `json:"scope,omitempty"` + ScopeExtensions []*ScopeExtension `json:"scopeExtensions,omitempty"` // Non-standard, see https://github.com/WICG/manifest-incubations/blob/gh-pages/scope_extensions-explainer.md + Screenshots []*Screenshot `json:"screenshots,omitempty"` // The screenshots used by chromium. + ShareTarget *ShareTarget `json:"shareTarget,omitempty"` + ShortName string `json:"shortName,omitempty"` + Shortcuts []*Shortcut `json:"shortcuts,omitempty"` + StartURL string `json:"startUrl,omitempty"` + ThemeColor string `json:"themeColor,omitempty"` +} + // AutoResponseMode enum of possible auto-response for permission / prompt // dialogs. // diff --git a/pwa/easyjson.go b/pwa/easyjson.go new file mode 100644 index 0000000..fdb2702 --- /dev/null +++ b/pwa/easyjson.go @@ -0,0 +1,435 @@ +// Code generated by easyjson for marshaling/unmarshaling. DO NOT EDIT. + +package pwa + +import ( + json "encoding/json" + easyjson "github.com/mailru/easyjson" + jlexer "github.com/mailru/easyjson/jlexer" + jwriter "github.com/mailru/easyjson/jwriter" +) + +// suppress unused package warning +var ( + _ *json.RawMessage + _ *jlexer.Lexer + _ *jwriter.Writer + _ easyjson.Marshaler +) + +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPwa(in *jlexer.Lexer, out *GetOsAppStateReturns) { + isTopLevel := in.IsStart() + if in.IsNull() { + if isTopLevel { + in.Consumed() + } + in.Skip() + return + } + in.Delim('{') + for !in.IsDelim('}') { + key := in.UnsafeFieldName(false) + in.WantColon() + if in.IsNull() { + in.Skip() + in.WantComma() + continue + } + switch key { + case "badgeCount": + out.BadgeCount = int64(in.Int64()) + case "fileHandlers": + if in.IsNull() { + in.Skip() + out.FileHandlers = nil + } else { + in.Delim('[') + if out.FileHandlers == nil { + if !in.IsDelim(']') { + out.FileHandlers = make([]*FileHandler, 0, 8) + } else { + out.FileHandlers = []*FileHandler{} + } + } else { + out.FileHandlers = (out.FileHandlers)[:0] + } + for !in.IsDelim(']') { + var v1 *FileHandler + if in.IsNull() { + in.Skip() + v1 = nil + } else { + if v1 == nil { + v1 = new(FileHandler) + } + (*v1).UnmarshalEasyJSON(in) + } + out.FileHandlers = append(out.FileHandlers, v1) + in.WantComma() + } + in.Delim(']') + } + default: + in.SkipRecursive() + } + in.WantComma() + } + in.Delim('}') + if isTopLevel { + in.Consumed() + } +} +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPwa(out *jwriter.Writer, in GetOsAppStateReturns) { + out.RawByte('{') + first := true + _ = first + if in.BadgeCount != 0 { + const prefix string = ",\"badgeCount\":" + first = false + out.RawString(prefix[1:]) + out.Int64(int64(in.BadgeCount)) + } + if len(in.FileHandlers) != 0 { + const prefix string = ",\"fileHandlers\":" + if first { + first = false + out.RawString(prefix[1:]) + } else { + out.RawString(prefix) + } + { + out.RawByte('[') + for v2, v3 := range in.FileHandlers { + if v2 > 0 { + out.RawByte(',') + } + if v3 == nil { + out.RawString("null") + } else { + (*v3).MarshalEasyJSON(out) + } + } + out.RawByte(']') + } + } + out.RawByte('}') +} + +// MarshalJSON supports json.Marshaler interface +func (v GetOsAppStateReturns) MarshalJSON() ([]byte, error) { + w := jwriter.Writer{} + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPwa(&w, v) + return w.Buffer.BuildBytes(), w.Error +} + +// MarshalEasyJSON supports easyjson.Marshaler interface +func (v GetOsAppStateReturns) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPwa(w, v) +} + +// UnmarshalJSON supports json.Unmarshaler interface +func (v *GetOsAppStateReturns) UnmarshalJSON(data []byte) error { + r := jlexer.Lexer{Data: data} + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPwa(&r, v) + return r.Error() +} + +// UnmarshalEasyJSON supports easyjson.Unmarshaler interface +func (v *GetOsAppStateReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPwa(l, v) +} +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPwa1(in *jlexer.Lexer, out *GetOsAppStateParams) { + isTopLevel := in.IsStart() + if in.IsNull() { + if isTopLevel { + in.Consumed() + } + in.Skip() + return + } + in.Delim('{') + for !in.IsDelim('}') { + key := in.UnsafeFieldName(false) + in.WantColon() + if in.IsNull() { + in.Skip() + in.WantComma() + continue + } + switch key { + case "manifestId": + out.ManifestID = string(in.String()) + default: + in.SkipRecursive() + } + in.WantComma() + } + in.Delim('}') + if isTopLevel { + in.Consumed() + } +} +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPwa1(out *jwriter.Writer, in GetOsAppStateParams) { + out.RawByte('{') + first := true + _ = first + { + const prefix string = ",\"manifestId\":" + out.RawString(prefix[1:]) + out.String(string(in.ManifestID)) + } + out.RawByte('}') +} + +// MarshalJSON supports json.Marshaler interface +func (v GetOsAppStateParams) MarshalJSON() ([]byte, error) { + w := jwriter.Writer{} + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPwa1(&w, v) + return w.Buffer.BuildBytes(), w.Error +} + +// MarshalEasyJSON supports easyjson.Marshaler interface +func (v GetOsAppStateParams) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPwa1(w, v) +} + +// UnmarshalJSON supports json.Unmarshaler interface +func (v *GetOsAppStateParams) UnmarshalJSON(data []byte) error { + r := jlexer.Lexer{Data: data} + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPwa1(&r, v) + return r.Error() +} + +// UnmarshalEasyJSON supports easyjson.Unmarshaler interface +func (v *GetOsAppStateParams) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPwa1(l, v) +} +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPwa2(in *jlexer.Lexer, out *FileHandlerAccept) { + isTopLevel := in.IsStart() + if in.IsNull() { + if isTopLevel { + in.Consumed() + } + in.Skip() + return + } + in.Delim('{') + for !in.IsDelim('}') { + key := in.UnsafeFieldName(false) + in.WantColon() + if in.IsNull() { + in.Skip() + in.WantComma() + continue + } + switch key { + case "mediaType": + out.MediaType = string(in.String()) + case "fileExtensions": + if in.IsNull() { + in.Skip() + out.FileExtensions = nil + } else { + in.Delim('[') + if out.FileExtensions == nil { + if !in.IsDelim(']') { + out.FileExtensions = make([]string, 0, 4) + } else { + out.FileExtensions = []string{} + } + } else { + out.FileExtensions = (out.FileExtensions)[:0] + } + for !in.IsDelim(']') { + var v4 string + v4 = string(in.String()) + out.FileExtensions = append(out.FileExtensions, v4) + in.WantComma() + } + in.Delim(']') + } + default: + in.SkipRecursive() + } + in.WantComma() + } + in.Delim('}') + if isTopLevel { + in.Consumed() + } +} +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPwa2(out *jwriter.Writer, in FileHandlerAccept) { + out.RawByte('{') + first := true + _ = first + { + const prefix string = ",\"mediaType\":" + out.RawString(prefix[1:]) + out.String(string(in.MediaType)) + } + { + const prefix string = ",\"fileExtensions\":" + out.RawString(prefix) + if in.FileExtensions == nil && (out.Flags&jwriter.NilSliceAsEmpty) == 0 { + out.RawString("null") + } else { + out.RawByte('[') + for v5, v6 := range in.FileExtensions { + if v5 > 0 { + out.RawByte(',') + } + out.String(string(v6)) + } + out.RawByte(']') + } + } + out.RawByte('}') +} + +// MarshalJSON supports json.Marshaler interface +func (v FileHandlerAccept) MarshalJSON() ([]byte, error) { + w := jwriter.Writer{} + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPwa2(&w, v) + return w.Buffer.BuildBytes(), w.Error +} + +// MarshalEasyJSON supports easyjson.Marshaler interface +func (v FileHandlerAccept) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPwa2(w, v) +} + +// UnmarshalJSON supports json.Unmarshaler interface +func (v *FileHandlerAccept) UnmarshalJSON(data []byte) error { + r := jlexer.Lexer{Data: data} + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPwa2(&r, v) + return r.Error() +} + +// UnmarshalEasyJSON supports easyjson.Unmarshaler interface +func (v *FileHandlerAccept) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPwa2(l, v) +} +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPwa3(in *jlexer.Lexer, out *FileHandler) { + isTopLevel := in.IsStart() + if in.IsNull() { + if isTopLevel { + in.Consumed() + } + in.Skip() + return + } + in.Delim('{') + for !in.IsDelim('}') { + key := in.UnsafeFieldName(false) + in.WantColon() + if in.IsNull() { + in.Skip() + in.WantComma() + continue + } + switch key { + case "action": + out.Action = string(in.String()) + case "accepts": + if in.IsNull() { + in.Skip() + out.Accepts = nil + } else { + in.Delim('[') + if out.Accepts == nil { + if !in.IsDelim(']') { + out.Accepts = make([]*FileHandlerAccept, 0, 8) + } else { + out.Accepts = []*FileHandlerAccept{} + } + } else { + out.Accepts = (out.Accepts)[:0] + } + for !in.IsDelim(']') { + var v7 *FileHandlerAccept + if in.IsNull() { + in.Skip() + v7 = nil + } else { + if v7 == nil { + v7 = new(FileHandlerAccept) + } + (*v7).UnmarshalEasyJSON(in) + } + out.Accepts = append(out.Accepts, v7) + in.WantComma() + } + in.Delim(']') + } + case "displayName": + out.DisplayName = string(in.String()) + default: + in.SkipRecursive() + } + in.WantComma() + } + in.Delim('}') + if isTopLevel { + in.Consumed() + } +} +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPwa3(out *jwriter.Writer, in FileHandler) { + out.RawByte('{') + first := true + _ = first + { + const prefix string = ",\"action\":" + out.RawString(prefix[1:]) + out.String(string(in.Action)) + } + { + const prefix string = ",\"accepts\":" + out.RawString(prefix) + if in.Accepts == nil && (out.Flags&jwriter.NilSliceAsEmpty) == 0 { + out.RawString("null") + } else { + out.RawByte('[') + for v8, v9 := range in.Accepts { + if v8 > 0 { + out.RawByte(',') + } + if v9 == nil { + out.RawString("null") + } else { + (*v9).MarshalEasyJSON(out) + } + } + out.RawByte(']') + } + } + { + const prefix string = ",\"displayName\":" + out.RawString(prefix) + out.String(string(in.DisplayName)) + } + out.RawByte('}') +} + +// MarshalJSON supports json.Marshaler interface +func (v FileHandler) MarshalJSON() ([]byte, error) { + w := jwriter.Writer{} + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPwa3(&w, v) + return w.Buffer.BuildBytes(), w.Error +} + +// MarshalEasyJSON supports easyjson.Marshaler interface +func (v FileHandler) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPwa3(w, v) +} + +// UnmarshalJSON supports json.Unmarshaler interface +func (v *FileHandler) UnmarshalJSON(data []byte) error { + r := jlexer.Lexer{Data: data} + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPwa3(&r, v) + return r.Error() +} + +// UnmarshalEasyJSON supports easyjson.Unmarshaler interface +func (v *FileHandler) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPwa3(l, v) +} diff --git a/pwa/pwa.go b/pwa/pwa.go new file mode 100644 index 0000000..856e562 --- /dev/null +++ b/pwa/pwa.go @@ -0,0 +1,62 @@ +// Package pwa provides the Chrome DevTools Protocol +// commands, types, and events for the PWA domain. +// +// This domain allows interacting with the browser to control PWAs. +// +// Generated by the cdproto-gen command. +package pwa + +// Code generated by cdproto-gen. DO NOT EDIT. + +import ( + "context" + + "github.com/chromedp/cdproto/cdp" +) + +// GetOsAppStateParams returns the following OS state for the given manifest +// id. +type GetOsAppStateParams struct { + ManifestID string `json:"manifestId"` // The id from the webapp's manifest file, commonly it's the url of the site installing the webapp. See https://web.dev/learn/pwa/web-app-manifest. +} + +// GetOsAppState returns the following OS state for the given manifest id. +// +// See: https://chromedevtools.github.io/devtools-protocol/tot/PWA#method-getOsAppState +// +// parameters: +// +// manifestID - The id from the webapp's manifest file, commonly it's the url of the site installing the webapp. See https://web.dev/learn/pwa/web-app-manifest. +func GetOsAppState(manifestID string) *GetOsAppStateParams { + return &GetOsAppStateParams{ + ManifestID: manifestID, + } +} + +// GetOsAppStateReturns return values. +type GetOsAppStateReturns struct { + BadgeCount int64 `json:"badgeCount,omitempty"` + FileHandlers []*FileHandler `json:"fileHandlers,omitempty"` +} + +// Do executes PWA.getOsAppState against the provided context. +// +// returns: +// +// badgeCount +// fileHandlers +func (p *GetOsAppStateParams) Do(ctx context.Context) (badgeCount int64, fileHandlers []*FileHandler, err error) { + // execute + var res GetOsAppStateReturns + err = cdp.Execute(ctx, CommandGetOsAppState, p, &res) + if err != nil { + return 0, nil, err + } + + return res.BadgeCount, res.FileHandlers, nil +} + +// Command names. +const ( + CommandGetOsAppState = "PWA.getOsAppState" +) diff --git a/pwa/types.go b/pwa/types.go new file mode 100644 index 0000000..965e4b5 --- /dev/null +++ b/pwa/types.go @@ -0,0 +1,21 @@ +package pwa + +// Code generated by cdproto-gen. DO NOT EDIT. + +// FileHandlerAccept the following types are the replica of +// https://crsrc.org/c/chrome/browser/web_applications/proto/web_app_os_integration_state.proto;drc=9910d3be894c8f142c977ba1023f30a656bc13fc;l=67. +// +// See: https://chromedevtools.github.io/devtools-protocol/tot/PWA#type-FileHandlerAccept +type FileHandlerAccept struct { + MediaType string `json:"mediaType"` // New name of the mimetype according to https://www.iana.org/assignments/media-types/media-types.xhtml + FileExtensions []string `json:"fileExtensions"` +} + +// FileHandler [no description]. +// +// See: https://chromedevtools.github.io/devtools-protocol/tot/PWA#type-FileHandler +type FileHandler struct { + Action string `json:"action"` + Accepts []*FileHandlerAccept `json:"accepts"` + DisplayName string `json:"displayName"` +} diff --git a/storage/types.go b/storage/types.go index 2a9eb21..db95488 100644 --- a/storage/types.go +++ b/storage/types.go @@ -731,6 +731,7 @@ const ( AttributionReportingSourceRegistrationResultDestinationBothLimitsReached AttributionReportingSourceRegistrationResult = "destinationBothLimitsReached" AttributionReportingSourceRegistrationResultReportingOriginsPerSiteLimitReached AttributionReportingSourceRegistrationResult = "reportingOriginsPerSiteLimitReached" AttributionReportingSourceRegistrationResultExceedsMaxChannelCapacity AttributionReportingSourceRegistrationResult = "exceedsMaxChannelCapacity" + AttributionReportingSourceRegistrationResultExceedsMaxTriggerStateCardinality AttributionReportingSourceRegistrationResult = "exceedsMaxTriggerStateCardinality" ) // MarshalEasyJSON satisfies easyjson.Marshaler. @@ -771,6 +772,8 @@ func (t *AttributionReportingSourceRegistrationResult) UnmarshalEasyJSON(in *jle *t = AttributionReportingSourceRegistrationResultReportingOriginsPerSiteLimitReached case AttributionReportingSourceRegistrationResultExceedsMaxChannelCapacity: *t = AttributionReportingSourceRegistrationResultExceedsMaxChannelCapacity + case AttributionReportingSourceRegistrationResultExceedsMaxTriggerStateCardinality: + *t = AttributionReportingSourceRegistrationResultExceedsMaxTriggerStateCardinality default: in.AddError(fmt.Errorf("unknown AttributionReportingSourceRegistrationResult value: %v", v))