diff --git a/go.mod b/go.mod index 28e15fefa5..039e7c2d48 100644 --- a/go.mod +++ b/go.mod @@ -16,8 +16,8 @@ require ( github.com/Ne0nd0g/go-clr v1.0.3 github.com/alecthomas/chroma v0.10.0 github.com/cheggaaa/pb/v3 v3.1.2 - github.com/chromedp/cdproto v0.0.0-20230220211738-2b1ec77315c9 - github.com/chromedp/chromedp v0.9.1 + github.com/chromedp/cdproto v0.0.0-20231011050154-1d073bb38998 + github.com/chromedp/chromedp v0.9.3 github.com/fatih/color v1.15.0 github.com/glebarez/sqlite v1.10.0 github.com/gofrs/uuid v4.4.0+incompatible @@ -106,7 +106,7 @@ require ( github.com/go-sql-driver/mysql v1.7.0 // indirect github.com/gobwas/httphead v0.1.0 // indirect github.com/gobwas/pool v0.2.1 // indirect - github.com/gobwas/ws v1.1.0 // indirect + github.com/gobwas/ws v1.3.0 // indirect github.com/godbus/dbus/v5 v5.1.1-0.20230522191255-76236955d466 // indirect github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect github.com/golang/protobuf v1.5.3 // indirect diff --git a/go.sum b/go.sum index a3e840492e..77cccae63e 100644 --- a/go.sum +++ b/go.sum @@ -85,10 +85,10 @@ github.com/benbjohnson/clock v1.1.0/go.mod h1:J11/hYXuz8f4ySSvYwY0FKfm+ezbsZBKZx github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= github.com/cheggaaa/pb/v3 v3.1.2 h1:FIxT3ZjOj9XJl0U4o2XbEhjFfZl7jCVCDOGq1ZAB7wQ= github.com/cheggaaa/pb/v3 v3.1.2/go.mod h1:SNjnd0yKcW+kw0brSusraeDd5Bf1zBfxAzTL2ss3yQ4= -github.com/chromedp/cdproto v0.0.0-20230220211738-2b1ec77315c9 h1:wMSvdj3BswqfQOXp2R1bJOAE7xIQLt2dlMQDMf836VY= -github.com/chromedp/cdproto v0.0.0-20230220211738-2b1ec77315c9/go.mod h1:GKljq0VrfU4D5yc+2qA6OVr8pmO/MBbPEWqWQ/oqGEs= -github.com/chromedp/chromedp v0.9.1 h1:CC7cC5p1BeLiiS2gfNNPwp3OaUxtRMBjfiw3E3k6dFA= -github.com/chromedp/chromedp v0.9.1/go.mod h1:DUgZWRvYoEfgi66CgZ/9Yv+psgi+Sksy5DTScENWjaQ= +github.com/chromedp/cdproto v0.0.0-20231011050154-1d073bb38998 h1:2zipcnjfFdqAjOQa8otCCh0Lk1M7RBzciy3s80YAKHk= +github.com/chromedp/cdproto v0.0.0-20231011050154-1d073bb38998/go.mod h1:GKljq0VrfU4D5yc+2qA6OVr8pmO/MBbPEWqWQ/oqGEs= +github.com/chromedp/chromedp v0.9.3 h1:Wq58e0dZOdHsxaj9Owmfcf+ibtpYN1N0FWVbaxa/esg= +github.com/chromedp/chromedp v0.9.3/go.mod h1:NipeUkUcuzIdFbBP8eNNvl9upcceOfWzoJn6cRe4ksA= github.com/chromedp/sysutil v1.0.0 h1:+ZxhTpfpZlmchB58ih/LBHX52ky7w2VhQVKQMucy3Ic= github.com/chromedp/sysutil v1.0.0/go.mod h1:kgWmDdq8fTzXYcKIBqIYvRRTnYb9aNS9moAV0xufSww= github.com/cilium/ebpf v0.11.0 h1:V8gS/bTCCjX9uUnkUFUpPsksM8n1lXBAvHcpiFk1X2Y= @@ -161,8 +161,8 @@ github.com/gobwas/pool v0.2.0/go.mod h1:q8bcK0KcYlCgd9e7WYLm9LpyS+YeLd8JVDW6Wezm github.com/gobwas/pool v0.2.1 h1:xfeeEhW7pwmX8nuLVlqbzVc7udMDrwetjEv+TZIz1og= github.com/gobwas/pool v0.2.1/go.mod h1:q8bcK0KcYlCgd9e7WYLm9LpyS+YeLd8JVDW6WezmKEw= github.com/gobwas/ws v1.0.2/go.mod h1:szmBTxLgaFppYjEmNtny/v3w89xOydFnnZMcgRRu/EM= -github.com/gobwas/ws v1.1.0 h1:7RFti/xnNkMJnrK7D1yQ/iCIB5OrrY/54/H930kIbHA= -github.com/gobwas/ws v1.1.0/go.mod h1:nzvNcVha5eUziGrbxFCo6qFIojQHjJV5cLYIbezhfL0= +github.com/gobwas/ws v1.3.0 h1:sbeU3Y4Qzlb+MOzIe6mQGf7QR4Hkv6ZD0qhGkBFL2O0= +github.com/gobwas/ws v1.3.0/go.mod h1:hRKAFb8wOxFROYNsT1bqfWnhX+b5MFeJM9r2ZSwg/KY= github.com/godbus/dbus/v5 v5.0.4/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA= github.com/godbus/dbus/v5 v5.1.1-0.20230522191255-76236955d466 h1:sQspH8M4niEijh3PFscJRLDnkL547IeP7kpPe3uUhEg= github.com/godbus/dbus/v5 v5.1.1-0.20230522191255-76236955d466/go.mod h1:ZiQxhyQ+bbbfxUKVvjfO498oPYvtYhZzycal3G/NHmU= @@ -507,7 +507,6 @@ golang.org/x/sys v0.0.0-20200728102440-3e129f6d46b1/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20201018230417-eeed37f84f13/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20201207223542-d4d67f95c62d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210217105451-b926d437f341/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210301091718-77cc2087c03b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= diff --git a/vendor/github.com/chromedp/cdproto/audits/audits.go b/vendor/github.com/chromedp/cdproto/audits/audits.go index c8b26eef49..6dc9baff26 100644 --- a/vendor/github.com/chromedp/cdproto/audits/audits.go +++ b/vendor/github.com/chromedp/cdproto/audits/audits.go @@ -147,10 +147,44 @@ func (p *CheckContrastParams) Do(ctx context.Context) (err error) { return cdp.Execute(ctx, CommandCheckContrast, p, nil) } +// CheckFormsIssuesParams runs the form issues check for the target page. +// Found issues are reported using Audits.issueAdded event. +type CheckFormsIssuesParams struct{} + +// CheckFormsIssues runs the form issues check for the target page. Found +// issues are reported using Audits.issueAdded event. +// +// See: https://chromedevtools.github.io/devtools-protocol/tot/Audits#method-checkFormsIssues +func CheckFormsIssues() *CheckFormsIssuesParams { + return &CheckFormsIssuesParams{} +} + +// CheckFormsIssuesReturns return values. +type CheckFormsIssuesReturns struct { + FormIssues []*GenericIssueDetails `json:"formIssues,omitempty"` +} + +// Do executes Audits.checkFormsIssues against the provided context. +// +// returns: +// +// formIssues +func (p *CheckFormsIssuesParams) Do(ctx context.Context) (formIssues []*GenericIssueDetails, err error) { + // execute + var res CheckFormsIssuesReturns + err = cdp.Execute(ctx, CommandCheckFormsIssues, nil, &res) + if err != nil { + return nil, err + } + + return res.FormIssues, nil +} + // Command names. const ( CommandGetEncodedResponse = "Audits.getEncodedResponse" CommandDisable = "Audits.disable" CommandEnable = "Audits.enable" CommandCheckContrast = "Audits.checkContrast" + CommandCheckFormsIssues = "Audits.checkFormsIssues" ) diff --git a/vendor/github.com/chromedp/cdproto/audits/easyjson.go b/vendor/github.com/chromedp/cdproto/audits/easyjson.go index b7a1a14e3e..e8b3a0da39 100644 --- a/vendor/github.com/chromedp/cdproto/audits/easyjson.go +++ b/vendor/github.com/chromedp/cdproto/audits/easyjson.go @@ -20,7 +20,7 @@ var ( _ easyjson.Marshaler ) -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits(in *jlexer.Lexer, out *TrustedWebActivityIssueDetails) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits(in *jlexer.Lexer, out *StylesheetLoadingIssueDetails) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -39,16 +39,28 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits(in *jlexer.Lexer, out continue } switch key { - case "url": - out.URL = string(in.String()) - case "violationType": - (out.ViolationType).UnmarshalEasyJSON(in) - case "httpStatusCode": - out.HTTPStatusCode = int64(in.Int64()) - case "packageName": - out.PackageName = string(in.String()) - case "signature": - out.Signature = string(in.String()) + case "sourceCodeLocation": + if in.IsNull() { + in.Skip() + out.SourceCodeLocation = nil + } else { + if out.SourceCodeLocation == nil { + out.SourceCodeLocation = new(SourceCodeLocation) + } + (*out.SourceCodeLocation).UnmarshalEasyJSON(in) + } + case "styleSheetLoadingIssueReason": + (out.StyleSheetLoadingIssueReason).UnmarshalEasyJSON(in) + case "failedRequestInfo": + if in.IsNull() { + in.Skip() + out.FailedRequestInfo = nil + } else { + if out.FailedRequestInfo == nil { + out.FailedRequestInfo = new(FailedRequestInfo) + } + (*out.FailedRequestInfo).UnmarshalEasyJSON(in) + } default: in.SkipRecursive() } @@ -59,59 +71,53 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits(out *jwriter.Writer, in TrustedWebActivityIssueDetails) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits(out *jwriter.Writer, in StylesheetLoadingIssueDetails) { out.RawByte('{') first := true _ = first { - const prefix string = ",\"url\":" + const prefix string = ",\"sourceCodeLocation\":" out.RawString(prefix[1:]) - out.String(string(in.URL)) + if in.SourceCodeLocation == nil { + out.RawString("null") + } else { + (*in.SourceCodeLocation).MarshalEasyJSON(out) + } } { - const prefix string = ",\"violationType\":" - out.RawString(prefix) - (in.ViolationType).MarshalEasyJSON(out) - } - if in.HTTPStatusCode != 0 { - const prefix string = ",\"httpStatusCode\":" - out.RawString(prefix) - out.Int64(int64(in.HTTPStatusCode)) - } - if in.PackageName != "" { - const prefix string = ",\"packageName\":" + const prefix string = ",\"styleSheetLoadingIssueReason\":" out.RawString(prefix) - out.String(string(in.PackageName)) + (in.StyleSheetLoadingIssueReason).MarshalEasyJSON(out) } - if in.Signature != "" { - const prefix string = ",\"signature\":" + if in.FailedRequestInfo != nil { + const prefix string = ",\"failedRequestInfo\":" out.RawString(prefix) - out.String(string(in.Signature)) + (*in.FailedRequestInfo).MarshalEasyJSON(out) } out.RawByte('}') } // MarshalJSON supports json.Marshaler interface -func (v TrustedWebActivityIssueDetails) MarshalJSON() ([]byte, error) { +func (v StylesheetLoadingIssueDetails) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface -func (v TrustedWebActivityIssueDetails) MarshalEasyJSON(w *jwriter.Writer) { +func (v StylesheetLoadingIssueDetails) MarshalEasyJSON(w *jwriter.Writer) { easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits(w, v) } // UnmarshalJSON supports json.Unmarshaler interface -func (v *TrustedWebActivityIssueDetails) UnmarshalJSON(data []byte) error { +func (v *StylesheetLoadingIssueDetails) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface -func (v *TrustedWebActivityIssueDetails) UnmarshalEasyJSON(l *jlexer.Lexer) { +func (v *StylesheetLoadingIssueDetails) UnmarshalEasyJSON(l *jlexer.Lexer) { easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits(l, v) } func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits1(in *jlexer.Lexer, out *SourceCodeLocation) { @@ -393,7 +399,7 @@ func (v *QuirksModeIssueDetails) UnmarshalJSON(data []byte) error { func (v *QuirksModeIssueDetails) UnmarshalEasyJSON(l *jlexer.Lexer) { easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits3(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits4(in *jlexer.Lexer, out *NavigatorUserAgentIssueDetails) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits4(in *jlexer.Lexer, out *PropertyRuleIssueDetails) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -412,18 +418,20 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits4(in *jlexer.Lexer, out continue } switch key { - case "url": - out.URL = string(in.String()) - case "location": + case "sourceCodeLocation": if in.IsNull() { in.Skip() - out.Location = nil + out.SourceCodeLocation = nil } else { - if out.Location == nil { - out.Location = new(SourceCodeLocation) + if out.SourceCodeLocation == nil { + out.SourceCodeLocation = new(SourceCodeLocation) } - (*out.Location).UnmarshalEasyJSON(in) + (*out.SourceCodeLocation).UnmarshalEasyJSON(in) } + case "propertyRuleIssueReason": + (out.PropertyRuleIssueReason).UnmarshalEasyJSON(in) + case "propertyValue": + out.PropertyValue = string(in.String()) default: in.SkipRecursive() } @@ -434,44 +442,53 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits4(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits4(out *jwriter.Writer, in NavigatorUserAgentIssueDetails) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits4(out *jwriter.Writer, in PropertyRuleIssueDetails) { out.RawByte('{') first := true _ = first { - const prefix string = ",\"url\":" + const prefix string = ",\"sourceCodeLocation\":" out.RawString(prefix[1:]) - out.String(string(in.URL)) + if in.SourceCodeLocation == nil { + out.RawString("null") + } else { + (*in.SourceCodeLocation).MarshalEasyJSON(out) + } } - if in.Location != nil { - const prefix string = ",\"location\":" + { + const prefix string = ",\"propertyRuleIssueReason\":" out.RawString(prefix) - (*in.Location).MarshalEasyJSON(out) + (in.PropertyRuleIssueReason).MarshalEasyJSON(out) + } + if in.PropertyValue != "" { + const prefix string = ",\"propertyValue\":" + out.RawString(prefix) + out.String(string(in.PropertyValue)) } out.RawByte('}') } // MarshalJSON supports json.Marshaler interface -func (v NavigatorUserAgentIssueDetails) MarshalJSON() ([]byte, error) { +func (v PropertyRuleIssueDetails) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits4(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface -func (v NavigatorUserAgentIssueDetails) MarshalEasyJSON(w *jwriter.Writer) { +func (v PropertyRuleIssueDetails) MarshalEasyJSON(w *jwriter.Writer) { easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits4(w, v) } // UnmarshalJSON supports json.Unmarshaler interface -func (v *NavigatorUserAgentIssueDetails) UnmarshalJSON(data []byte) error { +func (v *PropertyRuleIssueDetails) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits4(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface -func (v *NavigatorUserAgentIssueDetails) UnmarshalEasyJSON(l *jlexer.Lexer) { +func (v *PropertyRuleIssueDetails) UnmarshalEasyJSON(l *jlexer.Lexer) { easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits4(l, v) } func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits5(in *jlexer.Lexer, out *MixedContentIssueDetails) { @@ -784,16 +801,6 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits7(in *jlexer.Lexer, out } (*out.SharedArrayBufferIssueDetails).UnmarshalEasyJSON(in) } - case "twaQualityEnforcementDetails": - if in.IsNull() { - in.Skip() - out.TwaQualityEnforcementDetails = nil - } else { - if out.TwaQualityEnforcementDetails == nil { - out.TwaQualityEnforcementDetails = new(TrustedWebActivityIssueDetails) - } - (*out.TwaQualityEnforcementDetails).UnmarshalEasyJSON(in) - } case "lowTextContrastIssueDetails": if in.IsNull() { in.Skip() @@ -834,16 +841,6 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits7(in *jlexer.Lexer, out } (*out.QuirksModeIssueDetails).UnmarshalEasyJSON(in) } - case "navigatorUserAgentIssueDetails": - if in.IsNull() { - in.Skip() - out.NavigatorUserAgentIssueDetails = nil - } else { - if out.NavigatorUserAgentIssueDetails == nil { - out.NavigatorUserAgentIssueDetails = new(NavigatorUserAgentIssueDetails) - } - (*out.NavigatorUserAgentIssueDetails).UnmarshalEasyJSON(in) - } case "genericIssueDetails": if in.IsNull() { in.Skip() @@ -884,6 +881,46 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits7(in *jlexer.Lexer, out } (*out.FederatedAuthRequestIssueDetails).UnmarshalEasyJSON(in) } + case "bounceTrackingIssueDetails": + if in.IsNull() { + in.Skip() + out.BounceTrackingIssueDetails = nil + } else { + if out.BounceTrackingIssueDetails == nil { + out.BounceTrackingIssueDetails = new(BounceTrackingIssueDetails) + } + (*out.BounceTrackingIssueDetails).UnmarshalEasyJSON(in) + } + case "stylesheetLoadingIssueDetails": + if in.IsNull() { + in.Skip() + out.StylesheetLoadingIssueDetails = nil + } else { + if out.StylesheetLoadingIssueDetails == nil { + out.StylesheetLoadingIssueDetails = new(StylesheetLoadingIssueDetails) + } + (*out.StylesheetLoadingIssueDetails).UnmarshalEasyJSON(in) + } + case "propertyRuleIssueDetails": + if in.IsNull() { + in.Skip() + out.PropertyRuleIssueDetails = nil + } else { + if out.PropertyRuleIssueDetails == nil { + out.PropertyRuleIssueDetails = new(PropertyRuleIssueDetails) + } + (*out.PropertyRuleIssueDetails).UnmarshalEasyJSON(in) + } + case "federatedAuthUserInfoRequestIssueDetails": + if in.IsNull() { + in.Skip() + out.FederatedAuthUserInfoRequestIssueDetails = nil + } else { + if out.FederatedAuthUserInfoRequestIssueDetails == nil { + out.FederatedAuthUserInfoRequestIssueDetails = new(FederatedAuthUserInfoRequestIssueDetails) + } + (*out.FederatedAuthUserInfoRequestIssueDetails).UnmarshalEasyJSON(in) + } default: in.SkipRecursive() } @@ -954,16 +991,6 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits7(out *jwriter.Writer, } (*in.SharedArrayBufferIssueDetails).MarshalEasyJSON(out) } - if in.TwaQualityEnforcementDetails != nil { - const prefix string = ",\"twaQualityEnforcementDetails\":" - if first { - first = false - out.RawString(prefix[1:]) - } else { - out.RawString(prefix) - } - (*in.TwaQualityEnforcementDetails).MarshalEasyJSON(out) - } if in.LowTextContrastIssueDetails != nil { const prefix string = ",\"lowTextContrastIssueDetails\":" if first { @@ -1004,16 +1031,6 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits7(out *jwriter.Writer, } (*in.QuirksModeIssueDetails).MarshalEasyJSON(out) } - if in.NavigatorUserAgentIssueDetails != nil { - const prefix string = ",\"navigatorUserAgentIssueDetails\":" - if first { - first = false - out.RawString(prefix[1:]) - } else { - out.RawString(prefix) - } - (*in.NavigatorUserAgentIssueDetails).MarshalEasyJSON(out) - } if in.GenericIssueDetails != nil { const prefix string = ",\"genericIssueDetails\":" if first { @@ -1054,6 +1071,46 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits7(out *jwriter.Writer, } (*in.FederatedAuthRequestIssueDetails).MarshalEasyJSON(out) } + if in.BounceTrackingIssueDetails != nil { + const prefix string = ",\"bounceTrackingIssueDetails\":" + if first { + first = false + out.RawString(prefix[1:]) + } else { + out.RawString(prefix) + } + (*in.BounceTrackingIssueDetails).MarshalEasyJSON(out) + } + if in.StylesheetLoadingIssueDetails != nil { + const prefix string = ",\"stylesheetLoadingIssueDetails\":" + if first { + first = false + out.RawString(prefix[1:]) + } else { + out.RawString(prefix) + } + (*in.StylesheetLoadingIssueDetails).MarshalEasyJSON(out) + } + if in.PropertyRuleIssueDetails != nil { + const prefix string = ",\"propertyRuleIssueDetails\":" + if first { + first = false + out.RawString(prefix[1:]) + } else { + out.RawString(prefix) + } + (*in.PropertyRuleIssueDetails).MarshalEasyJSON(out) + } + if in.FederatedAuthUserInfoRequestIssueDetails != nil { + const prefix string = ",\"federatedAuthUserInfoRequestIssueDetails\":" + if first { + first = false + out.RawString(prefix[1:]) + } else { + out.RawString(prefix) + } + (*in.FederatedAuthUserInfoRequestIssueDetails).MarshalEasyJSON(out) + } out.RawByte('}') } @@ -1467,6 +1524,18 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits12(in *jlexer.Lexer, ou (out.FrameID).UnmarshalEasyJSON(in) case "violatingNodeId": (out.ViolatingNodeID).UnmarshalEasyJSON(in) + case "violatingNodeAttribute": + out.ViolatingNodeAttribute = string(in.String()) + case "request": + if in.IsNull() { + in.Skip() + out.Request = nil + } else { + if out.Request == nil { + out.Request = new(AffectedRequest) + } + (*out.Request).UnmarshalEasyJSON(in) + } default: in.SkipRecursive() } @@ -1496,6 +1565,16 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits12(out *jwriter.Writer, out.RawString(prefix) out.Int64(int64(in.ViolatingNodeID)) } + if in.ViolatingNodeAttribute != "" { + const prefix string = ",\"violatingNodeAttribute\":" + out.RawString(prefix) + out.String(string(in.ViolatingNodeAttribute)) + } + if in.Request != nil { + const prefix string = ",\"request\":" + out.RawString(prefix) + (*in.Request).MarshalEasyJSON(out) + } out.RawByte('}') } @@ -1522,7 +1601,7 @@ func (v *GenericIssueDetails) UnmarshalJSON(data []byte) error { func (v *GenericIssueDetails) UnmarshalEasyJSON(l *jlexer.Lexer) { easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits12(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits13(in *jlexer.Lexer, out *FederatedAuthRequestIssueDetails) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits13(in *jlexer.Lexer, out *FederatedAuthUserInfoRequestIssueDetails) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1541,8 +1620,8 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits13(in *jlexer.Lexer, ou continue } switch key { - case "federatedAuthRequestIssueReason": - (out.FederatedAuthRequestIssueReason).UnmarshalEasyJSON(in) + case "federatedAuthUserInfoRequestIssueReason": + (out.FederatedAuthUserInfoRequestIssueReason).UnmarshalEasyJSON(in) default: in.SkipRecursive() } @@ -1553,42 +1632,42 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits13(in *jlexer.Lexer, ou in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits13(out *jwriter.Writer, in FederatedAuthRequestIssueDetails) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits13(out *jwriter.Writer, in FederatedAuthUserInfoRequestIssueDetails) { out.RawByte('{') first := true _ = first { - const prefix string = ",\"federatedAuthRequestIssueReason\":" + const prefix string = ",\"federatedAuthUserInfoRequestIssueReason\":" out.RawString(prefix[1:]) - (in.FederatedAuthRequestIssueReason).MarshalEasyJSON(out) + (in.FederatedAuthUserInfoRequestIssueReason).MarshalEasyJSON(out) } out.RawByte('}') } // MarshalJSON supports json.Marshaler interface -func (v FederatedAuthRequestIssueDetails) MarshalJSON() ([]byte, error) { +func (v FederatedAuthUserInfoRequestIssueDetails) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits13(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface -func (v FederatedAuthRequestIssueDetails) MarshalEasyJSON(w *jwriter.Writer) { +func (v FederatedAuthUserInfoRequestIssueDetails) MarshalEasyJSON(w *jwriter.Writer) { easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits13(w, v) } // UnmarshalJSON supports json.Unmarshaler interface -func (v *FederatedAuthRequestIssueDetails) UnmarshalJSON(data []byte) error { +func (v *FederatedAuthUserInfoRequestIssueDetails) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits13(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface -func (v *FederatedAuthRequestIssueDetails) UnmarshalEasyJSON(l *jlexer.Lexer) { +func (v *FederatedAuthUserInfoRequestIssueDetails) UnmarshalEasyJSON(l *jlexer.Lexer) { easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits13(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits14(in *jlexer.Lexer, out *EventIssueAdded) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits14(in *jlexer.Lexer, out *FederatedAuthRequestIssueDetails) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1607,16 +1686,8 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits14(in *jlexer.Lexer, ou continue } switch key { - case "issue": - if in.IsNull() { - in.Skip() - out.Issue = nil - } else { - if out.Issue == nil { - out.Issue = new(InspectorIssue) - } - (*out.Issue).UnmarshalEasyJSON(in) - } + case "federatedAuthRequestIssueReason": + (out.FederatedAuthRequestIssueReason).UnmarshalEasyJSON(in) default: in.SkipRecursive() } @@ -1627,46 +1698,42 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits14(in *jlexer.Lexer, ou in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits14(out *jwriter.Writer, in EventIssueAdded) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits14(out *jwriter.Writer, in FederatedAuthRequestIssueDetails) { out.RawByte('{') first := true _ = first { - const prefix string = ",\"issue\":" + const prefix string = ",\"federatedAuthRequestIssueReason\":" out.RawString(prefix[1:]) - if in.Issue == nil { - out.RawString("null") - } else { - (*in.Issue).MarshalEasyJSON(out) - } + (in.FederatedAuthRequestIssueReason).MarshalEasyJSON(out) } out.RawByte('}') } // MarshalJSON supports json.Marshaler interface -func (v EventIssueAdded) MarshalJSON() ([]byte, error) { +func (v FederatedAuthRequestIssueDetails) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits14(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface -func (v EventIssueAdded) MarshalEasyJSON(w *jwriter.Writer) { +func (v FederatedAuthRequestIssueDetails) MarshalEasyJSON(w *jwriter.Writer) { easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits14(w, v) } // UnmarshalJSON supports json.Unmarshaler interface -func (v *EventIssueAdded) UnmarshalJSON(data []byte) error { +func (v *FederatedAuthRequestIssueDetails) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits14(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface -func (v *EventIssueAdded) UnmarshalEasyJSON(l *jlexer.Lexer) { +func (v *FederatedAuthRequestIssueDetails) UnmarshalEasyJSON(l *jlexer.Lexer) { easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits14(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits15(in *jlexer.Lexer, out *EnableParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits15(in *jlexer.Lexer, out *FailedRequestInfo) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1685,6 +1752,12 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits15(in *jlexer.Lexer, ou continue } switch key { + case "url": + out.URL = string(in.String()) + case "failureMessage": + out.FailureMessage = string(in.String()) + case "requestId": + out.RequestID = network.RequestID(in.String()) default: in.SkipRecursive() } @@ -1695,37 +1768,52 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits15(in *jlexer.Lexer, ou in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits15(out *jwriter.Writer, in EnableParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits15(out *jwriter.Writer, in FailedRequestInfo) { out.RawByte('{') first := true _ = first + { + const prefix string = ",\"url\":" + out.RawString(prefix[1:]) + out.String(string(in.URL)) + } + { + const prefix string = ",\"failureMessage\":" + out.RawString(prefix) + out.String(string(in.FailureMessage)) + } + if in.RequestID != "" { + const prefix string = ",\"requestId\":" + out.RawString(prefix) + out.String(string(in.RequestID)) + } out.RawByte('}') } // MarshalJSON supports json.Marshaler interface -func (v EnableParams) MarshalJSON() ([]byte, error) { +func (v FailedRequestInfo) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits15(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface -func (v EnableParams) MarshalEasyJSON(w *jwriter.Writer) { +func (v FailedRequestInfo) MarshalEasyJSON(w *jwriter.Writer) { easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits15(w, v) } // UnmarshalJSON supports json.Unmarshaler interface -func (v *EnableParams) UnmarshalJSON(data []byte) error { +func (v *FailedRequestInfo) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits15(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface -func (v *EnableParams) UnmarshalEasyJSON(l *jlexer.Lexer) { +func (v *FailedRequestInfo) UnmarshalEasyJSON(l *jlexer.Lexer) { easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits15(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits16(in *jlexer.Lexer, out *DisableParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits16(in *jlexer.Lexer, out *EventIssueAdded) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1744,6 +1832,16 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits16(in *jlexer.Lexer, ou continue } switch key { + case "issue": + if in.IsNull() { + in.Skip() + out.Issue = nil + } else { + if out.Issue == nil { + out.Issue = new(InspectorIssue) + } + (*out.Issue).UnmarshalEasyJSON(in) + } default: in.SkipRecursive() } @@ -1754,37 +1852,46 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits16(in *jlexer.Lexer, ou in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits16(out *jwriter.Writer, in DisableParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits16(out *jwriter.Writer, in EventIssueAdded) { out.RawByte('{') first := true _ = first + { + const prefix string = ",\"issue\":" + out.RawString(prefix[1:]) + if in.Issue == nil { + out.RawString("null") + } else { + (*in.Issue).MarshalEasyJSON(out) + } + } out.RawByte('}') } // MarshalJSON supports json.Marshaler interface -func (v DisableParams) MarshalJSON() ([]byte, error) { +func (v EventIssueAdded) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits16(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface -func (v DisableParams) MarshalEasyJSON(w *jwriter.Writer) { +func (v EventIssueAdded) MarshalEasyJSON(w *jwriter.Writer) { easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits16(w, v) } // UnmarshalJSON supports json.Unmarshaler interface -func (v *DisableParams) UnmarshalJSON(data []byte) error { +func (v *EventIssueAdded) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits16(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface -func (v *DisableParams) UnmarshalEasyJSON(l *jlexer.Lexer) { +func (v *EventIssueAdded) UnmarshalEasyJSON(l *jlexer.Lexer) { easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits16(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits17(in *jlexer.Lexer, out *DeprecationIssueDetails) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits17(in *jlexer.Lexer, out *EnableParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1803,28 +1910,6 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits17(in *jlexer.Lexer, ou continue } switch key { - case "affectedFrame": - if in.IsNull() { - in.Skip() - out.AffectedFrame = nil - } else { - if out.AffectedFrame == nil { - out.AffectedFrame = new(AffectedFrame) - } - (*out.AffectedFrame).UnmarshalEasyJSON(in) - } - case "sourceCodeLocation": - if in.IsNull() { - in.Skip() - out.SourceCodeLocation = nil - } else { - if out.SourceCodeLocation == nil { - out.SourceCodeLocation = new(SourceCodeLocation) - } - (*out.SourceCodeLocation).UnmarshalEasyJSON(in) - } - case "type": - out.Type = string(in.String()) default: in.SkipRecursive() } @@ -1835,13 +1920,153 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits17(in *jlexer.Lexer, ou in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits17(out *jwriter.Writer, in DeprecationIssueDetails) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits17(out *jwriter.Writer, in EnableParams) { out.RawByte('{') first := true _ = first - if in.AffectedFrame != nil { - const prefix string = ",\"affectedFrame\":" - first = false + out.RawByte('}') +} + +// MarshalJSON supports json.Marshaler interface +func (v EnableParams) MarshalJSON() ([]byte, error) { + w := jwriter.Writer{} + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits17(&w, v) + return w.Buffer.BuildBytes(), w.Error +} + +// MarshalEasyJSON supports easyjson.Marshaler interface +func (v EnableParams) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits17(w, v) +} + +// UnmarshalJSON supports json.Unmarshaler interface +func (v *EnableParams) UnmarshalJSON(data []byte) error { + r := jlexer.Lexer{Data: data} + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits17(&r, v) + return r.Error() +} + +// UnmarshalEasyJSON supports easyjson.Unmarshaler interface +func (v *EnableParams) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits17(l, v) +} +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits18(in *jlexer.Lexer, out *DisableParams) { + 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 easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits18(out *jwriter.Writer, in DisableParams) { + out.RawByte('{') + first := true + _ = first + out.RawByte('}') +} + +// MarshalJSON supports json.Marshaler interface +func (v DisableParams) MarshalJSON() ([]byte, error) { + w := jwriter.Writer{} + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits18(&w, v) + return w.Buffer.BuildBytes(), w.Error +} + +// MarshalEasyJSON supports easyjson.Marshaler interface +func (v DisableParams) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits18(w, v) +} + +// UnmarshalJSON supports json.Unmarshaler interface +func (v *DisableParams) UnmarshalJSON(data []byte) error { + r := jlexer.Lexer{Data: data} + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits18(&r, v) + return r.Error() +} + +// UnmarshalEasyJSON supports easyjson.Unmarshaler interface +func (v *DisableParams) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits18(l, v) +} +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits19(in *jlexer.Lexer, out *DeprecationIssueDetails) { + 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 "affectedFrame": + if in.IsNull() { + in.Skip() + out.AffectedFrame = nil + } else { + if out.AffectedFrame == nil { + out.AffectedFrame = new(AffectedFrame) + } + (*out.AffectedFrame).UnmarshalEasyJSON(in) + } + case "sourceCodeLocation": + if in.IsNull() { + in.Skip() + out.SourceCodeLocation = nil + } else { + if out.SourceCodeLocation == nil { + out.SourceCodeLocation = new(SourceCodeLocation) + } + (*out.SourceCodeLocation).UnmarshalEasyJSON(in) + } + case "type": + out.Type = string(in.String()) + default: + in.SkipRecursive() + } + in.WantComma() + } + in.Delim('}') + if isTopLevel { + in.Consumed() + } +} +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits19(out *jwriter.Writer, in DeprecationIssueDetails) { + out.RawByte('{') + first := true + _ = first + if in.AffectedFrame != nil { + const prefix string = ",\"affectedFrame\":" + first = false out.RawString(prefix[1:]) (*in.AffectedFrame).MarshalEasyJSON(out) } @@ -1870,27 +2095,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits17(out *jwriter.Writer, // MarshalJSON supports json.Marshaler interface func (v DeprecationIssueDetails) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits17(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits19(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v DeprecationIssueDetails) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits17(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits19(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *DeprecationIssueDetails) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits17(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits19(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *DeprecationIssueDetails) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits17(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits19(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits18(in *jlexer.Lexer, out *CorsIssueDetails) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits20(in *jlexer.Lexer, out *CorsIssueDetails) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1965,7 +2190,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits18(in *jlexer.Lexer, ou in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits18(out *jwriter.Writer, in CorsIssueDetails) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits20(out *jwriter.Writer, in CorsIssueDetails) { out.RawByte('{') first := true _ = first @@ -2018,27 +2243,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits18(out *jwriter.Writer, // MarshalJSON supports json.Marshaler interface func (v CorsIssueDetails) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits18(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits20(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v CorsIssueDetails) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits18(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits20(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *CorsIssueDetails) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits18(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits20(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *CorsIssueDetails) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits18(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits20(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits19(in *jlexer.Lexer, out *CookieIssueDetails) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits21(in *jlexer.Lexer, out *CookieIssueDetails) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2141,7 +2366,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits19(in *jlexer.Lexer, ou in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits19(out *jwriter.Writer, in CookieIssueDetails) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits21(out *jwriter.Writer, in CookieIssueDetails) { out.RawByte('{') first := true _ = first @@ -2224,27 +2449,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits19(out *jwriter.Writer, // MarshalJSON supports json.Marshaler interface func (v CookieIssueDetails) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits19(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits21(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v CookieIssueDetails) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits19(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits21(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *CookieIssueDetails) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits19(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits21(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *CookieIssueDetails) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits19(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits21(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits20(in *jlexer.Lexer, out *ContentSecurityPolicyIssueDetails) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits22(in *jlexer.Lexer, out *ContentSecurityPolicyIssueDetails) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2303,7 +2528,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits20(in *jlexer.Lexer, ou in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits20(out *jwriter.Writer, in ContentSecurityPolicyIssueDetails) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits22(out *jwriter.Writer, in ContentSecurityPolicyIssueDetails) { out.RawByte('{') first := true _ = first @@ -2354,27 +2579,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits20(out *jwriter.Writer, // MarshalJSON supports json.Marshaler interface func (v ContentSecurityPolicyIssueDetails) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits20(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits22(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v ContentSecurityPolicyIssueDetails) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits20(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits22(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *ContentSecurityPolicyIssueDetails) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits20(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits22(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *ContentSecurityPolicyIssueDetails) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits20(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits22(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits21(in *jlexer.Lexer, out *ClientHintIssueDetails) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits23(in *jlexer.Lexer, out *ClientHintIssueDetails) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2415,7 +2640,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits21(in *jlexer.Lexer, ou in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits21(out *jwriter.Writer, in ClientHintIssueDetails) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits23(out *jwriter.Writer, in ClientHintIssueDetails) { out.RawByte('{') first := true _ = first @@ -2439,27 +2664,195 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits21(out *jwriter.Writer, // MarshalJSON supports json.Marshaler interface func (v ClientHintIssueDetails) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits21(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits23(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v ClientHintIssueDetails) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits21(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits23(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *ClientHintIssueDetails) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits21(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits23(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *ClientHintIssueDetails) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits21(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits23(l, v) +} +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits24(in *jlexer.Lexer, out *CheckFormsIssuesReturns) { + 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 "formIssues": + if in.IsNull() { + in.Skip() + out.FormIssues = nil + } else { + in.Delim('[') + if out.FormIssues == nil { + if !in.IsDelim(']') { + out.FormIssues = make([]*GenericIssueDetails, 0, 8) + } else { + out.FormIssues = []*GenericIssueDetails{} + } + } else { + out.FormIssues = (out.FormIssues)[:0] + } + for !in.IsDelim(']') { + var v7 *GenericIssueDetails + if in.IsNull() { + in.Skip() + v7 = nil + } else { + if v7 == nil { + v7 = new(GenericIssueDetails) + } + (*v7).UnmarshalEasyJSON(in) + } + out.FormIssues = append(out.FormIssues, v7) + in.WantComma() + } + in.Delim(']') + } + default: + in.SkipRecursive() + } + in.WantComma() + } + in.Delim('}') + if isTopLevel { + in.Consumed() + } } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits22(in *jlexer.Lexer, out *CheckContrastParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits24(out *jwriter.Writer, in CheckFormsIssuesReturns) { + out.RawByte('{') + first := true + _ = first + if len(in.FormIssues) != 0 { + const prefix string = ",\"formIssues\":" + first = false + out.RawString(prefix[1:]) + { + out.RawByte('[') + for v8, v9 := range in.FormIssues { + if v8 > 0 { + out.RawByte(',') + } + if v9 == nil { + out.RawString("null") + } else { + (*v9).MarshalEasyJSON(out) + } + } + out.RawByte(']') + } + } + out.RawByte('}') +} + +// MarshalJSON supports json.Marshaler interface +func (v CheckFormsIssuesReturns) MarshalJSON() ([]byte, error) { + w := jwriter.Writer{} + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits24(&w, v) + return w.Buffer.BuildBytes(), w.Error +} + +// MarshalEasyJSON supports easyjson.Marshaler interface +func (v CheckFormsIssuesReturns) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits24(w, v) +} + +// UnmarshalJSON supports json.Unmarshaler interface +func (v *CheckFormsIssuesReturns) UnmarshalJSON(data []byte) error { + r := jlexer.Lexer{Data: data} + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits24(&r, v) + return r.Error() +} + +// UnmarshalEasyJSON supports easyjson.Unmarshaler interface +func (v *CheckFormsIssuesReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits24(l, v) +} +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits25(in *jlexer.Lexer, out *CheckFormsIssuesParams) { + 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 easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits25(out *jwriter.Writer, in CheckFormsIssuesParams) { + out.RawByte('{') + first := true + _ = first + out.RawByte('}') +} + +// MarshalJSON supports json.Marshaler interface +func (v CheckFormsIssuesParams) MarshalJSON() ([]byte, error) { + w := jwriter.Writer{} + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits25(&w, v) + return w.Buffer.BuildBytes(), w.Error +} + +// MarshalEasyJSON supports easyjson.Marshaler interface +func (v CheckFormsIssuesParams) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits25(w, v) +} + +// UnmarshalJSON supports json.Unmarshaler interface +func (v *CheckFormsIssuesParams) UnmarshalJSON(data []byte) error { + r := jlexer.Lexer{Data: data} + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits25(&r, v) + return r.Error() +} + +// UnmarshalEasyJSON supports easyjson.Unmarshaler interface +func (v *CheckFormsIssuesParams) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits25(l, v) +} +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits26(in *jlexer.Lexer, out *CheckContrastParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2490,7 +2883,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits22(in *jlexer.Lexer, ou in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits22(out *jwriter.Writer, in CheckContrastParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits26(out *jwriter.Writer, in CheckContrastParams) { out.RawByte('{') first := true _ = first @@ -2506,27 +2899,125 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits22(out *jwriter.Writer, // MarshalJSON supports json.Marshaler interface func (v CheckContrastParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits22(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits26(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v CheckContrastParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits22(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits26(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *CheckContrastParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits22(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits26(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *CheckContrastParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits22(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits26(l, v) +} +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits27(in *jlexer.Lexer, out *BounceTrackingIssueDetails) { + 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 "trackingSites": + if in.IsNull() { + in.Skip() + out.TrackingSites = nil + } else { + in.Delim('[') + if out.TrackingSites == nil { + if !in.IsDelim(']') { + out.TrackingSites = make([]string, 0, 4) + } else { + out.TrackingSites = []string{} + } + } else { + out.TrackingSites = (out.TrackingSites)[:0] + } + for !in.IsDelim(']') { + var v10 string + v10 = string(in.String()) + out.TrackingSites = append(out.TrackingSites, v10) + in.WantComma() + } + in.Delim(']') + } + default: + in.SkipRecursive() + } + in.WantComma() + } + in.Delim('}') + if isTopLevel { + in.Consumed() + } +} +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits27(out *jwriter.Writer, in BounceTrackingIssueDetails) { + out.RawByte('{') + first := true + _ = first + { + const prefix string = ",\"trackingSites\":" + out.RawString(prefix[1:]) + if in.TrackingSites == nil && (out.Flags&jwriter.NilSliceAsEmpty) == 0 { + out.RawString("null") + } else { + out.RawByte('[') + for v11, v12 := range in.TrackingSites { + if v11 > 0 { + out.RawByte(',') + } + out.String(string(v12)) + } + out.RawByte(']') + } + } + out.RawByte('}') +} + +// MarshalJSON supports json.Marshaler interface +func (v BounceTrackingIssueDetails) MarshalJSON() ([]byte, error) { + w := jwriter.Writer{} + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits27(&w, v) + return w.Buffer.BuildBytes(), w.Error +} + +// MarshalEasyJSON supports easyjson.Marshaler interface +func (v BounceTrackingIssueDetails) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits27(w, v) +} + +// UnmarshalJSON supports json.Unmarshaler interface +func (v *BounceTrackingIssueDetails) UnmarshalJSON(data []byte) error { + r := jlexer.Lexer{Data: data} + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits27(&r, v) + return r.Error() } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits23(in *jlexer.Lexer, out *BlockedByResponseIssueDetails) { + +// UnmarshalEasyJSON supports easyjson.Unmarshaler interface +func (v *BounceTrackingIssueDetails) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits27(l, v) +} +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits28(in *jlexer.Lexer, out *BlockedByResponseIssueDetails) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2587,7 +3078,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits23(in *jlexer.Lexer, ou in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits23(out *jwriter.Writer, in BlockedByResponseIssueDetails) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits28(out *jwriter.Writer, in BlockedByResponseIssueDetails) { out.RawByte('{') first := true _ = first @@ -2621,27 +3112,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits23(out *jwriter.Writer, // MarshalJSON supports json.Marshaler interface func (v BlockedByResponseIssueDetails) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits23(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits28(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v BlockedByResponseIssueDetails) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits23(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits28(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *BlockedByResponseIssueDetails) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits23(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits28(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *BlockedByResponseIssueDetails) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits23(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits28(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits24(in *jlexer.Lexer, out *AttributionReportingIssueDetails) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits29(in *jlexer.Lexer, out *AttributionReportingIssueDetails) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2686,7 +3177,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits24(in *jlexer.Lexer, ou in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits24(out *jwriter.Writer, in AttributionReportingIssueDetails) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits29(out *jwriter.Writer, in AttributionReportingIssueDetails) { out.RawByte('{') first := true _ = first @@ -2716,27 +3207,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits24(out *jwriter.Writer, // MarshalJSON supports json.Marshaler interface func (v AttributionReportingIssueDetails) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits24(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits29(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v AttributionReportingIssueDetails) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits24(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits29(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *AttributionReportingIssueDetails) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits24(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits29(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *AttributionReportingIssueDetails) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits24(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits29(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits25(in *jlexer.Lexer, out *AffectedRequest) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits30(in *jlexer.Lexer, out *AffectedRequest) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2769,7 +3260,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits25(in *jlexer.Lexer, ou in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits25(out *jwriter.Writer, in AffectedRequest) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits30(out *jwriter.Writer, in AffectedRequest) { out.RawByte('{') first := true _ = first @@ -2789,27 +3280,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits25(out *jwriter.Writer, // MarshalJSON supports json.Marshaler interface func (v AffectedRequest) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits25(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits30(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v AffectedRequest) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits25(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits30(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *AffectedRequest) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits25(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits30(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *AffectedRequest) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits25(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits30(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits26(in *jlexer.Lexer, out *AffectedFrame) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits31(in *jlexer.Lexer, out *AffectedFrame) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2840,7 +3331,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits26(in *jlexer.Lexer, ou in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits26(out *jwriter.Writer, in AffectedFrame) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits31(out *jwriter.Writer, in AffectedFrame) { out.RawByte('{') first := true _ = first @@ -2855,27 +3346,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits26(out *jwriter.Writer, // MarshalJSON supports json.Marshaler interface func (v AffectedFrame) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits26(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits31(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v AffectedFrame) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits26(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits31(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *AffectedFrame) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits26(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits31(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *AffectedFrame) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits26(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits31(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits27(in *jlexer.Lexer, out *AffectedCookie) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits32(in *jlexer.Lexer, out *AffectedCookie) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2910,7 +3401,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits27(in *jlexer.Lexer, ou in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits27(out *jwriter.Writer, in AffectedCookie) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits32(out *jwriter.Writer, in AffectedCookie) { out.RawByte('{') first := true _ = first @@ -2935,23 +3426,23 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits27(out *jwriter.Writer, // MarshalJSON supports json.Marshaler interface func (v AffectedCookie) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits27(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits32(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v AffectedCookie) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits27(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits32(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *AffectedCookie) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits27(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits32(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *AffectedCookie) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits27(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits32(l, v) } diff --git a/vendor/github.com/chromedp/cdproto/audits/types.go b/vendor/github.com/chromedp/cdproto/audits/types.go index c0add4f38c..0307eec9b5 100644 --- a/vendor/github.com/chromedp/cdproto/audits/types.go +++ b/vendor/github.com/chromedp/cdproto/audits/types.go @@ -59,6 +59,7 @@ const ( CookieExclusionReasonExcludeSamePartyCrossPartyContext CookieExclusionReason = "ExcludeSamePartyCrossPartyContext" CookieExclusionReasonExcludeDomainNonASCII CookieExclusionReason = "ExcludeDomainNonASCII" CookieExclusionReasonExcludeThirdPartyCookieBlockedInFirstPartySet CookieExclusionReason = "ExcludeThirdPartyCookieBlockedInFirstPartySet" + CookieExclusionReasonExcludeThirdPartyPhaseout CookieExclusionReason = "ExcludeThirdPartyPhaseout" ) // MarshalEasyJSON satisfies easyjson.Marshaler. @@ -91,6 +92,8 @@ func (t *CookieExclusionReason) UnmarshalEasyJSON(in *jlexer.Lexer) { *t = CookieExclusionReasonExcludeDomainNonASCII case CookieExclusionReasonExcludeThirdPartyCookieBlockedInFirstPartySet: *t = CookieExclusionReasonExcludeThirdPartyCookieBlockedInFirstPartySet + case CookieExclusionReasonExcludeThirdPartyPhaseout: + *t = CookieExclusionReasonExcludeThirdPartyPhaseout default: in.AddError(fmt.Errorf("unknown CookieExclusionReason value: %v", v)) @@ -124,6 +127,7 @@ const ( CookieWarningReasonWarnSameSiteLaxCrossDowngradeLax CookieWarningReason = "WarnSameSiteLaxCrossDowngradeLax" CookieWarningReasonWarnAttributeValueExceedsMaxSize CookieWarningReason = "WarnAttributeValueExceedsMaxSize" CookieWarningReasonWarnDomainNonASCII CookieWarningReason = "WarnDomainNonASCII" + CookieWarningReasonWarnThirdPartyPhaseout CookieWarningReason = "WarnThirdPartyPhaseout" ) // MarshalEasyJSON satisfies easyjson.Marshaler. @@ -160,6 +164,8 @@ func (t *CookieWarningReason) UnmarshalEasyJSON(in *jlexer.Lexer) { *t = CookieWarningReasonWarnAttributeValueExceedsMaxSize case CookieWarningReasonWarnDomainNonASCII: *t = CookieWarningReasonWarnDomainNonASCII + case CookieWarningReasonWarnThirdPartyPhaseout: + *t = CookieWarningReasonWarnThirdPartyPhaseout default: in.AddError(fmt.Errorf("unknown CookieWarningReason value: %v", v)) @@ -717,65 +723,6 @@ type SharedArrayBufferIssueDetails struct { Type SharedArrayBufferIssueType `json:"type"` } -// TwaQualityEnforcementViolationType [no description]. -// -// See: https://chromedevtools.github.io/devtools-protocol/tot/Audits#type-TwaQualityEnforcementViolationType -type TwaQualityEnforcementViolationType string - -// String returns the TwaQualityEnforcementViolationType as string value. -func (t TwaQualityEnforcementViolationType) String() string { - return string(t) -} - -// TwaQualityEnforcementViolationType values. -const ( - TwaQualityEnforcementViolationTypeKHTTPError TwaQualityEnforcementViolationType = "kHttpError" - TwaQualityEnforcementViolationTypeKUnavailableOffline TwaQualityEnforcementViolationType = "kUnavailableOffline" - TwaQualityEnforcementViolationTypeKDigitalAssetLinks TwaQualityEnforcementViolationType = "kDigitalAssetLinks" -) - -// MarshalEasyJSON satisfies easyjson.Marshaler. -func (t TwaQualityEnforcementViolationType) MarshalEasyJSON(out *jwriter.Writer) { - out.String(string(t)) -} - -// MarshalJSON satisfies json.Marshaler. -func (t TwaQualityEnforcementViolationType) MarshalJSON() ([]byte, error) { - return easyjson.Marshal(t) -} - -// UnmarshalEasyJSON satisfies easyjson.Unmarshaler. -func (t *TwaQualityEnforcementViolationType) UnmarshalEasyJSON(in *jlexer.Lexer) { - v := in.String() - switch TwaQualityEnforcementViolationType(v) { - case TwaQualityEnforcementViolationTypeKHTTPError: - *t = TwaQualityEnforcementViolationTypeKHTTPError - case TwaQualityEnforcementViolationTypeKUnavailableOffline: - *t = TwaQualityEnforcementViolationTypeKUnavailableOffline - case TwaQualityEnforcementViolationTypeKDigitalAssetLinks: - *t = TwaQualityEnforcementViolationTypeKDigitalAssetLinks - - default: - in.AddError(fmt.Errorf("unknown TwaQualityEnforcementViolationType value: %v", v)) - } -} - -// UnmarshalJSON satisfies json.Unmarshaler. -func (t *TwaQualityEnforcementViolationType) UnmarshalJSON(buf []byte) error { - return easyjson.Unmarshal(buf, t) -} - -// TrustedWebActivityIssueDetails [no description]. -// -// See: https://chromedevtools.github.io/devtools-protocol/tot/Audits#type-TrustedWebActivityIssueDetails -type TrustedWebActivityIssueDetails struct { - URL string `json:"url"` // The url that triggers the violation. - ViolationType TwaQualityEnforcementViolationType `json:"violationType"` - HTTPStatusCode int64 `json:"httpStatusCode,omitempty"` - PackageName string `json:"packageName,omitempty"` // The package name of the Trusted Web Activity client app. This field is only used when violation type is kDigitalAssetLinks. - Signature string `json:"signature,omitempty"` // The signature of the Trusted Web Activity client app. This field is only used when violation type is kDigitalAssetLinks. -} - // LowTextContrastIssueDetails [no description]. // // See: https://chromedevtools.github.io/devtools-protocol/tot/Audits#type-LowTextContrastIssueDetails @@ -815,17 +762,21 @@ func (t AttributionReportingIssueType) String() string { // AttributionReportingIssueType values. const ( - AttributionReportingIssueTypePermissionPolicyDisabled AttributionReportingIssueType = "PermissionPolicyDisabled" - AttributionReportingIssueTypePermissionPolicyNotDelegated AttributionReportingIssueType = "PermissionPolicyNotDelegated" - AttributionReportingIssueTypeUntrustworthyReportingOrigin AttributionReportingIssueType = "UntrustworthyReportingOrigin" - AttributionReportingIssueTypeInsecureContext AttributionReportingIssueType = "InsecureContext" - AttributionReportingIssueTypeInvalidHeader AttributionReportingIssueType = "InvalidHeader" - AttributionReportingIssueTypeInvalidRegisterTriggerHeader AttributionReportingIssueType = "InvalidRegisterTriggerHeader" - AttributionReportingIssueTypeInvalidEligibleHeader AttributionReportingIssueType = "InvalidEligibleHeader" - AttributionReportingIssueTypeTooManyConcurrentRequests AttributionReportingIssueType = "TooManyConcurrentRequests" - AttributionReportingIssueTypeSourceAndTriggerHeaders AttributionReportingIssueType = "SourceAndTriggerHeaders" - AttributionReportingIssueTypeSourceIgnored AttributionReportingIssueType = "SourceIgnored" - AttributionReportingIssueTypeTriggerIgnored AttributionReportingIssueType = "TriggerIgnored" + AttributionReportingIssueTypePermissionPolicyDisabled AttributionReportingIssueType = "PermissionPolicyDisabled" + AttributionReportingIssueTypeUntrustworthyReportingOrigin AttributionReportingIssueType = "UntrustworthyReportingOrigin" + AttributionReportingIssueTypeInsecureContext AttributionReportingIssueType = "InsecureContext" + AttributionReportingIssueTypeInvalidHeader AttributionReportingIssueType = "InvalidHeader" + AttributionReportingIssueTypeInvalidRegisterTriggerHeader AttributionReportingIssueType = "InvalidRegisterTriggerHeader" + AttributionReportingIssueTypeSourceAndTriggerHeaders AttributionReportingIssueType = "SourceAndTriggerHeaders" + AttributionReportingIssueTypeSourceIgnored AttributionReportingIssueType = "SourceIgnored" + AttributionReportingIssueTypeTriggerIgnored AttributionReportingIssueType = "TriggerIgnored" + AttributionReportingIssueTypeOsSourceIgnored AttributionReportingIssueType = "OsSourceIgnored" + AttributionReportingIssueTypeOsTriggerIgnored AttributionReportingIssueType = "OsTriggerIgnored" + AttributionReportingIssueTypeInvalidRegisterOsSourceHeader AttributionReportingIssueType = "InvalidRegisterOsSourceHeader" + AttributionReportingIssueTypeInvalidRegisterOsTriggerHeader AttributionReportingIssueType = "InvalidRegisterOsTriggerHeader" + AttributionReportingIssueTypeWebAndOsHeaders AttributionReportingIssueType = "WebAndOsHeaders" + AttributionReportingIssueTypeNoWebOrOsSupport AttributionReportingIssueType = "NoWebOrOsSupport" + AttributionReportingIssueTypeNavigationRegistrationWithoutTransientUserActivation AttributionReportingIssueType = "NavigationRegistrationWithoutTransientUserActivation" ) // MarshalEasyJSON satisfies easyjson.Marshaler. @@ -844,8 +795,6 @@ func (t *AttributionReportingIssueType) UnmarshalEasyJSON(in *jlexer.Lexer) { switch AttributionReportingIssueType(v) { case AttributionReportingIssueTypePermissionPolicyDisabled: *t = AttributionReportingIssueTypePermissionPolicyDisabled - case AttributionReportingIssueTypePermissionPolicyNotDelegated: - *t = AttributionReportingIssueTypePermissionPolicyNotDelegated case AttributionReportingIssueTypeUntrustworthyReportingOrigin: *t = AttributionReportingIssueTypeUntrustworthyReportingOrigin case AttributionReportingIssueTypeInsecureContext: @@ -854,16 +803,26 @@ func (t *AttributionReportingIssueType) UnmarshalEasyJSON(in *jlexer.Lexer) { *t = AttributionReportingIssueTypeInvalidHeader case AttributionReportingIssueTypeInvalidRegisterTriggerHeader: *t = AttributionReportingIssueTypeInvalidRegisterTriggerHeader - case AttributionReportingIssueTypeInvalidEligibleHeader: - *t = AttributionReportingIssueTypeInvalidEligibleHeader - case AttributionReportingIssueTypeTooManyConcurrentRequests: - *t = AttributionReportingIssueTypeTooManyConcurrentRequests case AttributionReportingIssueTypeSourceAndTriggerHeaders: *t = AttributionReportingIssueTypeSourceAndTriggerHeaders case AttributionReportingIssueTypeSourceIgnored: *t = AttributionReportingIssueTypeSourceIgnored case AttributionReportingIssueTypeTriggerIgnored: *t = AttributionReportingIssueTypeTriggerIgnored + case AttributionReportingIssueTypeOsSourceIgnored: + *t = AttributionReportingIssueTypeOsSourceIgnored + case AttributionReportingIssueTypeOsTriggerIgnored: + *t = AttributionReportingIssueTypeOsTriggerIgnored + case AttributionReportingIssueTypeInvalidRegisterOsSourceHeader: + *t = AttributionReportingIssueTypeInvalidRegisterOsSourceHeader + case AttributionReportingIssueTypeInvalidRegisterOsTriggerHeader: + *t = AttributionReportingIssueTypeInvalidRegisterOsTriggerHeader + case AttributionReportingIssueTypeWebAndOsHeaders: + *t = AttributionReportingIssueTypeWebAndOsHeaders + case AttributionReportingIssueTypeNoWebOrOsSupport: + *t = AttributionReportingIssueTypeNoWebOrOsSupport + case AttributionReportingIssueTypeNavigationRegistrationWithoutTransientUserActivation: + *t = AttributionReportingIssueTypeNavigationRegistrationWithoutTransientUserActivation default: in.AddError(fmt.Errorf("unknown AttributionReportingIssueType value: %v", v)) @@ -899,14 +858,6 @@ type QuirksModeIssueDetails struct { LoaderID cdp.LoaderID `json:"loaderId"` } -// NavigatorUserAgentIssueDetails [no description]. -// -// See: https://chromedevtools.github.io/devtools-protocol/tot/Audits#type-NavigatorUserAgentIssueDetails -type NavigatorUserAgentIssueDetails struct { - URL string `json:"url"` - Location *SourceCodeLocation `json:"location,omitempty"` -} - // GenericIssueErrorType [no description]. // // See: https://chromedevtools.github.io/devtools-protocol/tot/Audits#type-GenericIssueErrorType @@ -929,6 +880,8 @@ const ( GenericIssueErrorTypeFormInputAssignedAutocompleteValueToIDOrNameAttributeError GenericIssueErrorType = "FormInputAssignedAutocompleteValueToIdOrNameAttributeError" GenericIssueErrorTypeFormLabelHasNeitherForNorNestedInput GenericIssueErrorType = "FormLabelHasNeitherForNorNestedInput" GenericIssueErrorTypeFormLabelForMatchesNonExistingIDError GenericIssueErrorType = "FormLabelForMatchesNonExistingIdError" + GenericIssueErrorTypeFormInputHasWrongButWellIntendedAutocompleteValueError GenericIssueErrorType = "FormInputHasWrongButWellIntendedAutocompleteValueError" + GenericIssueErrorTypeResponseWasBlockedByORB GenericIssueErrorType = "ResponseWasBlockedByORB" ) // MarshalEasyJSON satisfies easyjson.Marshaler. @@ -965,6 +918,10 @@ func (t *GenericIssueErrorType) UnmarshalEasyJSON(in *jlexer.Lexer) { *t = GenericIssueErrorTypeFormLabelHasNeitherForNorNestedInput case GenericIssueErrorTypeFormLabelForMatchesNonExistingIDError: *t = GenericIssueErrorTypeFormLabelForMatchesNonExistingIDError + case GenericIssueErrorTypeFormInputHasWrongButWellIntendedAutocompleteValueError: + *t = GenericIssueErrorTypeFormInputHasWrongButWellIntendedAutocompleteValueError + case GenericIssueErrorTypeResponseWasBlockedByORB: + *t = GenericIssueErrorTypeResponseWasBlockedByORB default: in.AddError(fmt.Errorf("unknown GenericIssueErrorType value: %v", v)) @@ -981,9 +938,11 @@ func (t *GenericIssueErrorType) UnmarshalJSON(buf []byte) error { // // See: https://chromedevtools.github.io/devtools-protocol/tot/Audits#type-GenericIssueDetails type GenericIssueDetails struct { - ErrorType GenericIssueErrorType `json:"errorType"` // Issues with the same errorType are aggregated in the frontend. - FrameID cdp.FrameID `json:"frameId,omitempty"` - ViolatingNodeID cdp.BackendNodeID `json:"violatingNodeId,omitempty"` + ErrorType GenericIssueErrorType `json:"errorType"` // Issues with the same errorType are aggregated in the frontend. + FrameID cdp.FrameID `json:"frameId,omitempty"` + ViolatingNodeID cdp.BackendNodeID `json:"violatingNodeId,omitempty"` + ViolatingNodeAttribute string `json:"violatingNodeAttribute,omitempty"` + Request *AffectedRequest `json:"request,omitempty"` } // DeprecationIssueDetails this issue tracks information needed to print a @@ -997,6 +956,18 @@ type DeprecationIssueDetails struct { Type string `json:"type"` // One of the deprecation names from third_party/blink/renderer/core/frame/deprecation/deprecation.json5 } +// BounceTrackingIssueDetails this issue warns about sites in the redirect +// chain of a finished navigation that may be flagged as trackers and have their +// state cleared if they don't receive a user interaction. Note that in this +// context 'site' means eTLD+1. For example, if the URL +// https://example.test:80/bounce was in the redirect chain, the site reported +// would be example.test. +// +// See: https://chromedevtools.github.io/devtools-protocol/tot/Audits#type-BounceTrackingIssueDetails +type BounceTrackingIssueDetails struct { + TrackingSites []string `json:"trackingSites"` +} + // ClientHintIssueReason [no description]. // // See: https://chromedevtools.github.io/devtools-protocol/tot/Audits#type-ClientHintIssueReason @@ -1065,34 +1036,42 @@ func (t FederatedAuthRequestIssueReason) String() string { // FederatedAuthRequestIssueReason values. const ( - FederatedAuthRequestIssueReasonShouldEmbargo FederatedAuthRequestIssueReason = "ShouldEmbargo" - FederatedAuthRequestIssueReasonTooManyRequests FederatedAuthRequestIssueReason = "TooManyRequests" - FederatedAuthRequestIssueReasonWellKnownHTTPNotFound FederatedAuthRequestIssueReason = "WellKnownHttpNotFound" - FederatedAuthRequestIssueReasonWellKnownNoResponse FederatedAuthRequestIssueReason = "WellKnownNoResponse" - FederatedAuthRequestIssueReasonWellKnownInvalidResponse FederatedAuthRequestIssueReason = "WellKnownInvalidResponse" - FederatedAuthRequestIssueReasonWellKnownListEmpty FederatedAuthRequestIssueReason = "WellKnownListEmpty" - FederatedAuthRequestIssueReasonConfigNotInWellKnown FederatedAuthRequestIssueReason = "ConfigNotInWellKnown" - FederatedAuthRequestIssueReasonWellKnownTooBig FederatedAuthRequestIssueReason = "WellKnownTooBig" - FederatedAuthRequestIssueReasonConfigHTTPNotFound FederatedAuthRequestIssueReason = "ConfigHttpNotFound" - FederatedAuthRequestIssueReasonConfigNoResponse FederatedAuthRequestIssueReason = "ConfigNoResponse" - FederatedAuthRequestIssueReasonConfigInvalidResponse FederatedAuthRequestIssueReason = "ConfigInvalidResponse" - FederatedAuthRequestIssueReasonClientMetadataHTTPNotFound FederatedAuthRequestIssueReason = "ClientMetadataHttpNotFound" - FederatedAuthRequestIssueReasonClientMetadataNoResponse FederatedAuthRequestIssueReason = "ClientMetadataNoResponse" - FederatedAuthRequestIssueReasonClientMetadataInvalidResponse FederatedAuthRequestIssueReason = "ClientMetadataInvalidResponse" - FederatedAuthRequestIssueReasonDisabledInSettings FederatedAuthRequestIssueReason = "DisabledInSettings" - FederatedAuthRequestIssueReasonErrorFetchingSignin FederatedAuthRequestIssueReason = "ErrorFetchingSignin" - FederatedAuthRequestIssueReasonInvalidSigninResponse FederatedAuthRequestIssueReason = "InvalidSigninResponse" - FederatedAuthRequestIssueReasonAccountsHTTPNotFound FederatedAuthRequestIssueReason = "AccountsHttpNotFound" - FederatedAuthRequestIssueReasonAccountsNoResponse FederatedAuthRequestIssueReason = "AccountsNoResponse" - FederatedAuthRequestIssueReasonAccountsInvalidResponse FederatedAuthRequestIssueReason = "AccountsInvalidResponse" - FederatedAuthRequestIssueReasonAccountsListEmpty FederatedAuthRequestIssueReason = "AccountsListEmpty" - FederatedAuthRequestIssueReasonIDTokenHTTPNotFound FederatedAuthRequestIssueReason = "IdTokenHttpNotFound" - FederatedAuthRequestIssueReasonIDTokenNoResponse FederatedAuthRequestIssueReason = "IdTokenNoResponse" - FederatedAuthRequestIssueReasonIDTokenInvalidResponse FederatedAuthRequestIssueReason = "IdTokenInvalidResponse" - FederatedAuthRequestIssueReasonIDTokenInvalidRequest FederatedAuthRequestIssueReason = "IdTokenInvalidRequest" - FederatedAuthRequestIssueReasonErrorIDToken FederatedAuthRequestIssueReason = "ErrorIdToken" - FederatedAuthRequestIssueReasonCanceled FederatedAuthRequestIssueReason = "Canceled" - FederatedAuthRequestIssueReasonRpPageNotVisible FederatedAuthRequestIssueReason = "RpPageNotVisible" + FederatedAuthRequestIssueReasonShouldEmbargo FederatedAuthRequestIssueReason = "ShouldEmbargo" + FederatedAuthRequestIssueReasonTooManyRequests FederatedAuthRequestIssueReason = "TooManyRequests" + FederatedAuthRequestIssueReasonWellKnownHTTPNotFound FederatedAuthRequestIssueReason = "WellKnownHttpNotFound" + FederatedAuthRequestIssueReasonWellKnownNoResponse FederatedAuthRequestIssueReason = "WellKnownNoResponse" + FederatedAuthRequestIssueReasonWellKnownInvalidResponse FederatedAuthRequestIssueReason = "WellKnownInvalidResponse" + FederatedAuthRequestIssueReasonWellKnownListEmpty FederatedAuthRequestIssueReason = "WellKnownListEmpty" + FederatedAuthRequestIssueReasonWellKnownInvalidContentType FederatedAuthRequestIssueReason = "WellKnownInvalidContentType" + FederatedAuthRequestIssueReasonConfigNotInWellKnown FederatedAuthRequestIssueReason = "ConfigNotInWellKnown" + FederatedAuthRequestIssueReasonWellKnownTooBig FederatedAuthRequestIssueReason = "WellKnownTooBig" + FederatedAuthRequestIssueReasonConfigHTTPNotFound FederatedAuthRequestIssueReason = "ConfigHttpNotFound" + FederatedAuthRequestIssueReasonConfigNoResponse FederatedAuthRequestIssueReason = "ConfigNoResponse" + FederatedAuthRequestIssueReasonConfigInvalidResponse FederatedAuthRequestIssueReason = "ConfigInvalidResponse" + FederatedAuthRequestIssueReasonConfigInvalidContentType FederatedAuthRequestIssueReason = "ConfigInvalidContentType" + FederatedAuthRequestIssueReasonClientMetadataHTTPNotFound FederatedAuthRequestIssueReason = "ClientMetadataHttpNotFound" + FederatedAuthRequestIssueReasonClientMetadataNoResponse FederatedAuthRequestIssueReason = "ClientMetadataNoResponse" + FederatedAuthRequestIssueReasonClientMetadataInvalidResponse FederatedAuthRequestIssueReason = "ClientMetadataInvalidResponse" + FederatedAuthRequestIssueReasonClientMetadataInvalidContentType FederatedAuthRequestIssueReason = "ClientMetadataInvalidContentType" + FederatedAuthRequestIssueReasonDisabledInSettings FederatedAuthRequestIssueReason = "DisabledInSettings" + FederatedAuthRequestIssueReasonErrorFetchingSignin FederatedAuthRequestIssueReason = "ErrorFetchingSignin" + FederatedAuthRequestIssueReasonInvalidSigninResponse FederatedAuthRequestIssueReason = "InvalidSigninResponse" + FederatedAuthRequestIssueReasonAccountsHTTPNotFound FederatedAuthRequestIssueReason = "AccountsHttpNotFound" + FederatedAuthRequestIssueReasonAccountsNoResponse FederatedAuthRequestIssueReason = "AccountsNoResponse" + FederatedAuthRequestIssueReasonAccountsInvalidResponse FederatedAuthRequestIssueReason = "AccountsInvalidResponse" + FederatedAuthRequestIssueReasonAccountsListEmpty FederatedAuthRequestIssueReason = "AccountsListEmpty" + FederatedAuthRequestIssueReasonAccountsInvalidContentType FederatedAuthRequestIssueReason = "AccountsInvalidContentType" + FederatedAuthRequestIssueReasonIDTokenHTTPNotFound FederatedAuthRequestIssueReason = "IdTokenHttpNotFound" + FederatedAuthRequestIssueReasonIDTokenNoResponse FederatedAuthRequestIssueReason = "IdTokenNoResponse" + FederatedAuthRequestIssueReasonIDTokenInvalidResponse FederatedAuthRequestIssueReason = "IdTokenInvalidResponse" + FederatedAuthRequestIssueReasonIDTokenInvalidRequest FederatedAuthRequestIssueReason = "IdTokenInvalidRequest" + FederatedAuthRequestIssueReasonIDTokenInvalidContentType FederatedAuthRequestIssueReason = "IdTokenInvalidContentType" + FederatedAuthRequestIssueReasonErrorIDToken FederatedAuthRequestIssueReason = "ErrorIdToken" + FederatedAuthRequestIssueReasonCanceled FederatedAuthRequestIssueReason = "Canceled" + FederatedAuthRequestIssueReasonRpPageNotVisible FederatedAuthRequestIssueReason = "RpPageNotVisible" + FederatedAuthRequestIssueReasonSilentMediationFailure FederatedAuthRequestIssueReason = "SilentMediationFailure" + FederatedAuthRequestIssueReasonThirdPartyCookiesBlocked FederatedAuthRequestIssueReason = "ThirdPartyCookiesBlocked" + FederatedAuthRequestIssueReasonNotSignedInWithIdp FederatedAuthRequestIssueReason = "NotSignedInWithIdp" ) // MarshalEasyJSON satisfies easyjson.Marshaler. @@ -1121,6 +1100,8 @@ func (t *FederatedAuthRequestIssueReason) UnmarshalEasyJSON(in *jlexer.Lexer) { *t = FederatedAuthRequestIssueReasonWellKnownInvalidResponse case FederatedAuthRequestIssueReasonWellKnownListEmpty: *t = FederatedAuthRequestIssueReasonWellKnownListEmpty + case FederatedAuthRequestIssueReasonWellKnownInvalidContentType: + *t = FederatedAuthRequestIssueReasonWellKnownInvalidContentType case FederatedAuthRequestIssueReasonConfigNotInWellKnown: *t = FederatedAuthRequestIssueReasonConfigNotInWellKnown case FederatedAuthRequestIssueReasonWellKnownTooBig: @@ -1131,12 +1112,16 @@ func (t *FederatedAuthRequestIssueReason) UnmarshalEasyJSON(in *jlexer.Lexer) { *t = FederatedAuthRequestIssueReasonConfigNoResponse case FederatedAuthRequestIssueReasonConfigInvalidResponse: *t = FederatedAuthRequestIssueReasonConfigInvalidResponse + case FederatedAuthRequestIssueReasonConfigInvalidContentType: + *t = FederatedAuthRequestIssueReasonConfigInvalidContentType case FederatedAuthRequestIssueReasonClientMetadataHTTPNotFound: *t = FederatedAuthRequestIssueReasonClientMetadataHTTPNotFound case FederatedAuthRequestIssueReasonClientMetadataNoResponse: *t = FederatedAuthRequestIssueReasonClientMetadataNoResponse case FederatedAuthRequestIssueReasonClientMetadataInvalidResponse: *t = FederatedAuthRequestIssueReasonClientMetadataInvalidResponse + case FederatedAuthRequestIssueReasonClientMetadataInvalidContentType: + *t = FederatedAuthRequestIssueReasonClientMetadataInvalidContentType case FederatedAuthRequestIssueReasonDisabledInSettings: *t = FederatedAuthRequestIssueReasonDisabledInSettings case FederatedAuthRequestIssueReasonErrorFetchingSignin: @@ -1151,6 +1136,8 @@ func (t *FederatedAuthRequestIssueReason) UnmarshalEasyJSON(in *jlexer.Lexer) { *t = FederatedAuthRequestIssueReasonAccountsInvalidResponse case FederatedAuthRequestIssueReasonAccountsListEmpty: *t = FederatedAuthRequestIssueReasonAccountsListEmpty + case FederatedAuthRequestIssueReasonAccountsInvalidContentType: + *t = FederatedAuthRequestIssueReasonAccountsInvalidContentType case FederatedAuthRequestIssueReasonIDTokenHTTPNotFound: *t = FederatedAuthRequestIssueReasonIDTokenHTTPNotFound case FederatedAuthRequestIssueReasonIDTokenNoResponse: @@ -1159,12 +1146,20 @@ func (t *FederatedAuthRequestIssueReason) UnmarshalEasyJSON(in *jlexer.Lexer) { *t = FederatedAuthRequestIssueReasonIDTokenInvalidResponse case FederatedAuthRequestIssueReasonIDTokenInvalidRequest: *t = FederatedAuthRequestIssueReasonIDTokenInvalidRequest + case FederatedAuthRequestIssueReasonIDTokenInvalidContentType: + *t = FederatedAuthRequestIssueReasonIDTokenInvalidContentType case FederatedAuthRequestIssueReasonErrorIDToken: *t = FederatedAuthRequestIssueReasonErrorIDToken case FederatedAuthRequestIssueReasonCanceled: *t = FederatedAuthRequestIssueReasonCanceled case FederatedAuthRequestIssueReasonRpPageNotVisible: *t = FederatedAuthRequestIssueReasonRpPageNotVisible + case FederatedAuthRequestIssueReasonSilentMediationFailure: + *t = FederatedAuthRequestIssueReasonSilentMediationFailure + case FederatedAuthRequestIssueReasonThirdPartyCookiesBlocked: + *t = FederatedAuthRequestIssueReasonThirdPartyCookiesBlocked + case FederatedAuthRequestIssueReasonNotSignedInWithIdp: + *t = FederatedAuthRequestIssueReasonNotSignedInWithIdp default: in.AddError(fmt.Errorf("unknown FederatedAuthRequestIssueReason value: %v", v)) @@ -1176,6 +1171,82 @@ func (t *FederatedAuthRequestIssueReason) UnmarshalJSON(buf []byte) error { return easyjson.Unmarshal(buf, t) } +// FederatedAuthUserInfoRequestIssueDetails [no description]. +// +// See: https://chromedevtools.github.io/devtools-protocol/tot/Audits#type-FederatedAuthUserInfoRequestIssueDetails +type FederatedAuthUserInfoRequestIssueDetails struct { + FederatedAuthUserInfoRequestIssueReason FederatedAuthUserInfoRequestIssueReason `json:"federatedAuthUserInfoRequestIssueReason"` +} + +// FederatedAuthUserInfoRequestIssueReason represents the failure reason when +// a getUserInfo() call fails. Should be updated alongside +// FederatedAuthUserInfoRequestResult in +// third_party/blink/public/mojom/devtools/inspector_issue.mojom. +// +// See: https://chromedevtools.github.io/devtools-protocol/tot/Audits#type-FederatedAuthUserInfoRequestIssueReason +type FederatedAuthUserInfoRequestIssueReason string + +// String returns the FederatedAuthUserInfoRequestIssueReason as string value. +func (t FederatedAuthUserInfoRequestIssueReason) String() string { + return string(t) +} + +// FederatedAuthUserInfoRequestIssueReason values. +const ( + FederatedAuthUserInfoRequestIssueReasonNotSameOrigin FederatedAuthUserInfoRequestIssueReason = "NotSameOrigin" + FederatedAuthUserInfoRequestIssueReasonNotIframe FederatedAuthUserInfoRequestIssueReason = "NotIframe" + FederatedAuthUserInfoRequestIssueReasonNotPotentiallyTrustworthy FederatedAuthUserInfoRequestIssueReason = "NotPotentiallyTrustworthy" + FederatedAuthUserInfoRequestIssueReasonNoAPIPermission FederatedAuthUserInfoRequestIssueReason = "NoApiPermission" + FederatedAuthUserInfoRequestIssueReasonNotSignedInWithIdp FederatedAuthUserInfoRequestIssueReason = "NotSignedInWithIdp" + FederatedAuthUserInfoRequestIssueReasonNoAccountSharingPermission FederatedAuthUserInfoRequestIssueReason = "NoAccountSharingPermission" + FederatedAuthUserInfoRequestIssueReasonInvalidConfigOrWellKnown FederatedAuthUserInfoRequestIssueReason = "InvalidConfigOrWellKnown" + FederatedAuthUserInfoRequestIssueReasonInvalidAccountsResponse FederatedAuthUserInfoRequestIssueReason = "InvalidAccountsResponse" + FederatedAuthUserInfoRequestIssueReasonNoReturningUserFromFetchedAccounts FederatedAuthUserInfoRequestIssueReason = "NoReturningUserFromFetchedAccounts" +) + +// MarshalEasyJSON satisfies easyjson.Marshaler. +func (t FederatedAuthUserInfoRequestIssueReason) MarshalEasyJSON(out *jwriter.Writer) { + out.String(string(t)) +} + +// MarshalJSON satisfies json.Marshaler. +func (t FederatedAuthUserInfoRequestIssueReason) MarshalJSON() ([]byte, error) { + return easyjson.Marshal(t) +} + +// UnmarshalEasyJSON satisfies easyjson.Unmarshaler. +func (t *FederatedAuthUserInfoRequestIssueReason) UnmarshalEasyJSON(in *jlexer.Lexer) { + v := in.String() + switch FederatedAuthUserInfoRequestIssueReason(v) { + case FederatedAuthUserInfoRequestIssueReasonNotSameOrigin: + *t = FederatedAuthUserInfoRequestIssueReasonNotSameOrigin + case FederatedAuthUserInfoRequestIssueReasonNotIframe: + *t = FederatedAuthUserInfoRequestIssueReasonNotIframe + case FederatedAuthUserInfoRequestIssueReasonNotPotentiallyTrustworthy: + *t = FederatedAuthUserInfoRequestIssueReasonNotPotentiallyTrustworthy + case FederatedAuthUserInfoRequestIssueReasonNoAPIPermission: + *t = FederatedAuthUserInfoRequestIssueReasonNoAPIPermission + case FederatedAuthUserInfoRequestIssueReasonNotSignedInWithIdp: + *t = FederatedAuthUserInfoRequestIssueReasonNotSignedInWithIdp + case FederatedAuthUserInfoRequestIssueReasonNoAccountSharingPermission: + *t = FederatedAuthUserInfoRequestIssueReasonNoAccountSharingPermission + case FederatedAuthUserInfoRequestIssueReasonInvalidConfigOrWellKnown: + *t = FederatedAuthUserInfoRequestIssueReasonInvalidConfigOrWellKnown + case FederatedAuthUserInfoRequestIssueReasonInvalidAccountsResponse: + *t = FederatedAuthUserInfoRequestIssueReasonInvalidAccountsResponse + case FederatedAuthUserInfoRequestIssueReasonNoReturningUserFromFetchedAccounts: + *t = FederatedAuthUserInfoRequestIssueReasonNoReturningUserFromFetchedAccounts + + default: + in.AddError(fmt.Errorf("unknown FederatedAuthUserInfoRequestIssueReason value: %v", v)) + } +} + +// UnmarshalJSON satisfies json.Unmarshaler. +func (t *FederatedAuthUserInfoRequestIssueReason) UnmarshalJSON(buf []byte) error { + return easyjson.Unmarshal(buf, t) +} + // ClientHintIssueDetails this issue tracks client hints related issues. It's // used to deprecate old features, encourage the use of new ones, and provide // general guidance. @@ -1186,6 +1257,131 @@ type ClientHintIssueDetails struct { ClientHintIssueReason ClientHintIssueReason `json:"clientHintIssueReason"` } +// FailedRequestInfo [no description]. +// +// See: https://chromedevtools.github.io/devtools-protocol/tot/Audits#type-FailedRequestInfo +type FailedRequestInfo struct { + URL string `json:"url"` // The URL that failed to load. + FailureMessage string `json:"failureMessage"` // The failure message for the failed request. + RequestID network.RequestID `json:"requestId,omitempty"` +} + +// StyleSheetLoadingIssueReason [no description]. +// +// See: https://chromedevtools.github.io/devtools-protocol/tot/Audits#type-StyleSheetLoadingIssueReason +type StyleSheetLoadingIssueReason string + +// String returns the StyleSheetLoadingIssueReason as string value. +func (t StyleSheetLoadingIssueReason) String() string { + return string(t) +} + +// StyleSheetLoadingIssueReason values. +const ( + StyleSheetLoadingIssueReasonLateImportRule StyleSheetLoadingIssueReason = "LateImportRule" + StyleSheetLoadingIssueReasonRequestFailed StyleSheetLoadingIssueReason = "RequestFailed" +) + +// MarshalEasyJSON satisfies easyjson.Marshaler. +func (t StyleSheetLoadingIssueReason) MarshalEasyJSON(out *jwriter.Writer) { + out.String(string(t)) +} + +// MarshalJSON satisfies json.Marshaler. +func (t StyleSheetLoadingIssueReason) MarshalJSON() ([]byte, error) { + return easyjson.Marshal(t) +} + +// UnmarshalEasyJSON satisfies easyjson.Unmarshaler. +func (t *StyleSheetLoadingIssueReason) UnmarshalEasyJSON(in *jlexer.Lexer) { + v := in.String() + switch StyleSheetLoadingIssueReason(v) { + case StyleSheetLoadingIssueReasonLateImportRule: + *t = StyleSheetLoadingIssueReasonLateImportRule + case StyleSheetLoadingIssueReasonRequestFailed: + *t = StyleSheetLoadingIssueReasonRequestFailed + + default: + in.AddError(fmt.Errorf("unknown StyleSheetLoadingIssueReason value: %v", v)) + } +} + +// UnmarshalJSON satisfies json.Unmarshaler. +func (t *StyleSheetLoadingIssueReason) UnmarshalJSON(buf []byte) error { + return easyjson.Unmarshal(buf, t) +} + +// StylesheetLoadingIssueDetails this issue warns when a referenced +// stylesheet couldn't be loaded. +// +// See: https://chromedevtools.github.io/devtools-protocol/tot/Audits#type-StylesheetLoadingIssueDetails +type StylesheetLoadingIssueDetails struct { + SourceCodeLocation *SourceCodeLocation `json:"sourceCodeLocation"` // Source code position that referenced the failing stylesheet. + StyleSheetLoadingIssueReason StyleSheetLoadingIssueReason `json:"styleSheetLoadingIssueReason"` // Reason why the stylesheet couldn't be loaded. + FailedRequestInfo *FailedRequestInfo `json:"failedRequestInfo,omitempty"` // Contains additional info when the failure was due to a request. +} + +// PropertyRuleIssueReason [no description]. +// +// See: https://chromedevtools.github.io/devtools-protocol/tot/Audits#type-PropertyRuleIssueReason +type PropertyRuleIssueReason string + +// String returns the PropertyRuleIssueReason as string value. +func (t PropertyRuleIssueReason) String() string { + return string(t) +} + +// PropertyRuleIssueReason values. +const ( + PropertyRuleIssueReasonInvalidSyntax PropertyRuleIssueReason = "InvalidSyntax" + PropertyRuleIssueReasonInvalidInitialValue PropertyRuleIssueReason = "InvalidInitialValue" + PropertyRuleIssueReasonInvalidInherits PropertyRuleIssueReason = "InvalidInherits" + PropertyRuleIssueReasonInvalidName PropertyRuleIssueReason = "InvalidName" +) + +// MarshalEasyJSON satisfies easyjson.Marshaler. +func (t PropertyRuleIssueReason) MarshalEasyJSON(out *jwriter.Writer) { + out.String(string(t)) +} + +// MarshalJSON satisfies json.Marshaler. +func (t PropertyRuleIssueReason) MarshalJSON() ([]byte, error) { + return easyjson.Marshal(t) +} + +// UnmarshalEasyJSON satisfies easyjson.Unmarshaler. +func (t *PropertyRuleIssueReason) UnmarshalEasyJSON(in *jlexer.Lexer) { + v := in.String() + switch PropertyRuleIssueReason(v) { + case PropertyRuleIssueReasonInvalidSyntax: + *t = PropertyRuleIssueReasonInvalidSyntax + case PropertyRuleIssueReasonInvalidInitialValue: + *t = PropertyRuleIssueReasonInvalidInitialValue + case PropertyRuleIssueReasonInvalidInherits: + *t = PropertyRuleIssueReasonInvalidInherits + case PropertyRuleIssueReasonInvalidName: + *t = PropertyRuleIssueReasonInvalidName + + default: + in.AddError(fmt.Errorf("unknown PropertyRuleIssueReason value: %v", v)) + } +} + +// UnmarshalJSON satisfies json.Unmarshaler. +func (t *PropertyRuleIssueReason) UnmarshalJSON(buf []byte) error { + return easyjson.Unmarshal(buf, t) +} + +// PropertyRuleIssueDetails this issue warns about errors in property rules +// that lead to property registrations being ignored. +// +// See: https://chromedevtools.github.io/devtools-protocol/tot/Audits#type-PropertyRuleIssueDetails +type PropertyRuleIssueDetails struct { + SourceCodeLocation *SourceCodeLocation `json:"sourceCodeLocation"` // Source code position of the property rule. + PropertyRuleIssueReason PropertyRuleIssueReason `json:"propertyRuleIssueReason"` // Reason why the property rule was discarded. + PropertyValue string `json:"propertyValue,omitempty"` // The value of the property rule property that failed to parse +} + // InspectorIssueCode a unique identifier for the type of issue. Each type // may use one of the optional fields in InspectorIssueDetails to convey more // specific information about the kind of issue. @@ -1200,22 +1396,25 @@ func (t InspectorIssueCode) String() string { // InspectorIssueCode values. const ( - InspectorIssueCodeCookieIssue InspectorIssueCode = "CookieIssue" - InspectorIssueCodeMixedContentIssue InspectorIssueCode = "MixedContentIssue" - InspectorIssueCodeBlockedByResponseIssue InspectorIssueCode = "BlockedByResponseIssue" - InspectorIssueCodeHeavyAdIssue InspectorIssueCode = "HeavyAdIssue" - InspectorIssueCodeContentSecurityPolicyIssue InspectorIssueCode = "ContentSecurityPolicyIssue" - InspectorIssueCodeSharedArrayBufferIssue InspectorIssueCode = "SharedArrayBufferIssue" - InspectorIssueCodeTrustedWebActivityIssue InspectorIssueCode = "TrustedWebActivityIssue" - InspectorIssueCodeLowTextContrastIssue InspectorIssueCode = "LowTextContrastIssue" - InspectorIssueCodeCorsIssue InspectorIssueCode = "CorsIssue" - InspectorIssueCodeAttributionReportingIssue InspectorIssueCode = "AttributionReportingIssue" - InspectorIssueCodeQuirksModeIssue InspectorIssueCode = "QuirksModeIssue" - InspectorIssueCodeNavigatorUserAgentIssue InspectorIssueCode = "NavigatorUserAgentIssue" - InspectorIssueCodeGenericIssue InspectorIssueCode = "GenericIssue" - InspectorIssueCodeDeprecationIssue InspectorIssueCode = "DeprecationIssue" - InspectorIssueCodeClientHintIssue InspectorIssueCode = "ClientHintIssue" - InspectorIssueCodeFederatedAuthRequestIssue InspectorIssueCode = "FederatedAuthRequestIssue" + InspectorIssueCodeCookieIssue InspectorIssueCode = "CookieIssue" + InspectorIssueCodeMixedContentIssue InspectorIssueCode = "MixedContentIssue" + InspectorIssueCodeBlockedByResponseIssue InspectorIssueCode = "BlockedByResponseIssue" + InspectorIssueCodeHeavyAdIssue InspectorIssueCode = "HeavyAdIssue" + InspectorIssueCodeContentSecurityPolicyIssue InspectorIssueCode = "ContentSecurityPolicyIssue" + InspectorIssueCodeSharedArrayBufferIssue InspectorIssueCode = "SharedArrayBufferIssue" + InspectorIssueCodeLowTextContrastIssue InspectorIssueCode = "LowTextContrastIssue" + InspectorIssueCodeCorsIssue InspectorIssueCode = "CorsIssue" + InspectorIssueCodeAttributionReportingIssue InspectorIssueCode = "AttributionReportingIssue" + InspectorIssueCodeQuirksModeIssue InspectorIssueCode = "QuirksModeIssue" + InspectorIssueCodeNavigatorUserAgentIssue InspectorIssueCode = "NavigatorUserAgentIssue" + InspectorIssueCodeGenericIssue InspectorIssueCode = "GenericIssue" + InspectorIssueCodeDeprecationIssue InspectorIssueCode = "DeprecationIssue" + InspectorIssueCodeClientHintIssue InspectorIssueCode = "ClientHintIssue" + InspectorIssueCodeFederatedAuthRequestIssue InspectorIssueCode = "FederatedAuthRequestIssue" + InspectorIssueCodeBounceTrackingIssue InspectorIssueCode = "BounceTrackingIssue" + InspectorIssueCodeStylesheetLoadingIssue InspectorIssueCode = "StylesheetLoadingIssue" + InspectorIssueCodeFederatedAuthUserInfoRequestIssue InspectorIssueCode = "FederatedAuthUserInfoRequestIssue" + InspectorIssueCodePropertyRuleIssue InspectorIssueCode = "PropertyRuleIssue" ) // MarshalEasyJSON satisfies easyjson.Marshaler. @@ -1244,8 +1443,6 @@ func (t *InspectorIssueCode) UnmarshalEasyJSON(in *jlexer.Lexer) { *t = InspectorIssueCodeContentSecurityPolicyIssue case InspectorIssueCodeSharedArrayBufferIssue: *t = InspectorIssueCodeSharedArrayBufferIssue - case InspectorIssueCodeTrustedWebActivityIssue: - *t = InspectorIssueCodeTrustedWebActivityIssue case InspectorIssueCodeLowTextContrastIssue: *t = InspectorIssueCodeLowTextContrastIssue case InspectorIssueCodeCorsIssue: @@ -1264,6 +1461,14 @@ func (t *InspectorIssueCode) UnmarshalEasyJSON(in *jlexer.Lexer) { *t = InspectorIssueCodeClientHintIssue case InspectorIssueCodeFederatedAuthRequestIssue: *t = InspectorIssueCodeFederatedAuthRequestIssue + case InspectorIssueCodeBounceTrackingIssue: + *t = InspectorIssueCodeBounceTrackingIssue + case InspectorIssueCodeStylesheetLoadingIssue: + *t = InspectorIssueCodeStylesheetLoadingIssue + case InspectorIssueCodeFederatedAuthUserInfoRequestIssue: + *t = InspectorIssueCodeFederatedAuthUserInfoRequestIssue + case InspectorIssueCodePropertyRuleIssue: + *t = InspectorIssueCodePropertyRuleIssue default: in.AddError(fmt.Errorf("unknown InspectorIssueCode value: %v", v)) @@ -1281,22 +1486,24 @@ func (t *InspectorIssueCode) UnmarshalJSON(buf []byte) error { // // See: https://chromedevtools.github.io/devtools-protocol/tot/Audits#type-InspectorIssueDetails type InspectorIssueDetails struct { - CookieIssueDetails *CookieIssueDetails `json:"cookieIssueDetails,omitempty"` - MixedContentIssueDetails *MixedContentIssueDetails `json:"mixedContentIssueDetails,omitempty"` - BlockedByResponseIssueDetails *BlockedByResponseIssueDetails `json:"blockedByResponseIssueDetails,omitempty"` - HeavyAdIssueDetails *HeavyAdIssueDetails `json:"heavyAdIssueDetails,omitempty"` - ContentSecurityPolicyIssueDetails *ContentSecurityPolicyIssueDetails `json:"contentSecurityPolicyIssueDetails,omitempty"` - SharedArrayBufferIssueDetails *SharedArrayBufferIssueDetails `json:"sharedArrayBufferIssueDetails,omitempty"` - TwaQualityEnforcementDetails *TrustedWebActivityIssueDetails `json:"twaQualityEnforcementDetails,omitempty"` - LowTextContrastIssueDetails *LowTextContrastIssueDetails `json:"lowTextContrastIssueDetails,omitempty"` - CorsIssueDetails *CorsIssueDetails `json:"corsIssueDetails,omitempty"` - AttributionReportingIssueDetails *AttributionReportingIssueDetails `json:"attributionReportingIssueDetails,omitempty"` - QuirksModeIssueDetails *QuirksModeIssueDetails `json:"quirksModeIssueDetails,omitempty"` - NavigatorUserAgentIssueDetails *NavigatorUserAgentIssueDetails `json:"navigatorUserAgentIssueDetails,omitempty"` - GenericIssueDetails *GenericIssueDetails `json:"genericIssueDetails,omitempty"` - DeprecationIssueDetails *DeprecationIssueDetails `json:"deprecationIssueDetails,omitempty"` - ClientHintIssueDetails *ClientHintIssueDetails `json:"clientHintIssueDetails,omitempty"` - FederatedAuthRequestIssueDetails *FederatedAuthRequestIssueDetails `json:"federatedAuthRequestIssueDetails,omitempty"` + CookieIssueDetails *CookieIssueDetails `json:"cookieIssueDetails,omitempty"` + MixedContentIssueDetails *MixedContentIssueDetails `json:"mixedContentIssueDetails,omitempty"` + BlockedByResponseIssueDetails *BlockedByResponseIssueDetails `json:"blockedByResponseIssueDetails,omitempty"` + HeavyAdIssueDetails *HeavyAdIssueDetails `json:"heavyAdIssueDetails,omitempty"` + ContentSecurityPolicyIssueDetails *ContentSecurityPolicyIssueDetails `json:"contentSecurityPolicyIssueDetails,omitempty"` + SharedArrayBufferIssueDetails *SharedArrayBufferIssueDetails `json:"sharedArrayBufferIssueDetails,omitempty"` + LowTextContrastIssueDetails *LowTextContrastIssueDetails `json:"lowTextContrastIssueDetails,omitempty"` + CorsIssueDetails *CorsIssueDetails `json:"corsIssueDetails,omitempty"` + AttributionReportingIssueDetails *AttributionReportingIssueDetails `json:"attributionReportingIssueDetails,omitempty"` + QuirksModeIssueDetails *QuirksModeIssueDetails `json:"quirksModeIssueDetails,omitempty"` + GenericIssueDetails *GenericIssueDetails `json:"genericIssueDetails,omitempty"` + DeprecationIssueDetails *DeprecationIssueDetails `json:"deprecationIssueDetails,omitempty"` + ClientHintIssueDetails *ClientHintIssueDetails `json:"clientHintIssueDetails,omitempty"` + FederatedAuthRequestIssueDetails *FederatedAuthRequestIssueDetails `json:"federatedAuthRequestIssueDetails,omitempty"` + BounceTrackingIssueDetails *BounceTrackingIssueDetails `json:"bounceTrackingIssueDetails,omitempty"` + StylesheetLoadingIssueDetails *StylesheetLoadingIssueDetails `json:"stylesheetLoadingIssueDetails,omitempty"` + PropertyRuleIssueDetails *PropertyRuleIssueDetails `json:"propertyRuleIssueDetails,omitempty"` + FederatedAuthUserInfoRequestIssueDetails *FederatedAuthUserInfoRequestIssueDetails `json:"federatedAuthUserInfoRequestIssueDetails,omitempty"` } // IssueID a unique id for a DevTools inspector issue. Allows other entities diff --git a/vendor/github.com/chromedp/cdproto/autofill/autofill.go b/vendor/github.com/chromedp/cdproto/autofill/autofill.go new file mode 100644 index 0000000000..b11fcfb5cc --- /dev/null +++ b/vendor/github.com/chromedp/cdproto/autofill/autofill.go @@ -0,0 +1,113 @@ +// Package autofill provides the Chrome DevTools Protocol +// commands, types, and events for the Autofill domain. +// +// Defines commands and events for Autofill. +// +// Generated by the cdproto-gen command. +package autofill + +// Code generated by cdproto-gen. DO NOT EDIT. + +import ( + "context" + + "github.com/chromedp/cdproto/cdp" +) + +// TriggerParams trigger autofill on a form identified by the fieldId. If the +// field and related form cannot be autofilled, returns an error. +type TriggerParams struct { + FieldID cdp.BackendNodeID `json:"fieldId"` // Identifies a field that serves as an anchor for autofill. + FrameID cdp.FrameID `json:"frameId,omitempty"` // Identifies the frame that field belongs to. + Card *CreditCard `json:"card"` // Credit card information to fill out the form. Credit card data is not saved. +} + +// Trigger trigger autofill on a form identified by the fieldId. If the field +// and related form cannot be autofilled, returns an error. +// +// See: https://chromedevtools.github.io/devtools-protocol/tot/Autofill#method-trigger +// +// parameters: +// +// fieldID - Identifies a field that serves as an anchor for autofill. +// card - Credit card information to fill out the form. Credit card data is not saved. +func Trigger(fieldID cdp.BackendNodeID, card *CreditCard) *TriggerParams { + return &TriggerParams{ + FieldID: fieldID, + Card: card, + } +} + +// WithFrameID identifies the frame that field belongs to. +func (p TriggerParams) WithFrameID(frameID cdp.FrameID) *TriggerParams { + p.FrameID = frameID + return &p +} + +// Do executes Autofill.trigger against the provided context. +func (p *TriggerParams) Do(ctx context.Context) (err error) { + return cdp.Execute(ctx, CommandTrigger, p, nil) +} + +// SetAddressesParams set addresses so that developers can verify their forms +// implementation. +type SetAddressesParams struct { + Addresses []*Address `json:"addresses"` +} + +// SetAddresses set addresses so that developers can verify their forms +// implementation. +// +// See: https://chromedevtools.github.io/devtools-protocol/tot/Autofill#method-setAddresses +// +// parameters: +// +// addresses +func SetAddresses(addresses []*Address) *SetAddressesParams { + return &SetAddressesParams{ + Addresses: addresses, + } +} + +// Do executes Autofill.setAddresses against the provided context. +func (p *SetAddressesParams) Do(ctx context.Context) (err error) { + return cdp.Execute(ctx, CommandSetAddresses, p, nil) +} + +// DisableParams disables autofill domain notifications. +type DisableParams struct{} + +// Disable disables autofill domain notifications. +// +// See: https://chromedevtools.github.io/devtools-protocol/tot/Autofill#method-disable +func Disable() *DisableParams { + return &DisableParams{} +} + +// Do executes Autofill.disable against the provided context. +func (p *DisableParams) Do(ctx context.Context) (err error) { + return cdp.Execute(ctx, CommandDisable, nil, nil) +} + +// EnableParams enables autofill domain notifications. +type EnableParams struct{} + +// Enable enables autofill domain notifications. +// +// See: https://chromedevtools.github.io/devtools-protocol/tot/Autofill#method-enable +func Enable() *EnableParams { + return &EnableParams{} +} + +// Do executes Autofill.enable against the provided context. +func (p *EnableParams) Do(ctx context.Context) (err error) { + return cdp.Execute(ctx, CommandEnable, nil, nil) +} + +// Command names. +const ( + CommandTrigger = "Autofill.trigger" + CommandSetAddresses = "Autofill.setAddresses" + CommandDisable = "Autofill.disable" + CommandEnable = "Autofill.enable" +) diff --git a/vendor/github.com/chromedp/cdproto/autofill/easyjson.go b/vendor/github.com/chromedp/cdproto/autofill/easyjson.go new file mode 100644 index 0000000000..c076c89465 --- /dev/null +++ b/vendor/github.com/chromedp/cdproto/autofill/easyjson.go @@ -0,0 +1,1066 @@ +// Code generated by easyjson for marshaling/unmarshaling. DO NOT EDIT. + +package autofill + +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 easyjsonC5a4559bDecodeGithubComChromedpCdprotoAutofill(in *jlexer.Lexer, out *TriggerParams) { + 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 "fieldId": + (out.FieldID).UnmarshalEasyJSON(in) + case "frameId": + (out.FrameID).UnmarshalEasyJSON(in) + case "card": + if in.IsNull() { + in.Skip() + out.Card = nil + } else { + if out.Card == nil { + out.Card = new(CreditCard) + } + (*out.Card).UnmarshalEasyJSON(in) + } + default: + in.SkipRecursive() + } + in.WantComma() + } + in.Delim('}') + if isTopLevel { + in.Consumed() + } +} +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAutofill(out *jwriter.Writer, in TriggerParams) { + out.RawByte('{') + first := true + _ = first + { + const prefix string = ",\"fieldId\":" + out.RawString(prefix[1:]) + out.Int64(int64(in.FieldID)) + } + if in.FrameID != "" { + const prefix string = ",\"frameId\":" + out.RawString(prefix) + out.String(string(in.FrameID)) + } + { + const prefix string = ",\"card\":" + out.RawString(prefix) + if in.Card == nil { + out.RawString("null") + } else { + (*in.Card).MarshalEasyJSON(out) + } + } + out.RawByte('}') +} + +// MarshalJSON supports json.Marshaler interface +func (v TriggerParams) MarshalJSON() ([]byte, error) { + w := jwriter.Writer{} + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAutofill(&w, v) + return w.Buffer.BuildBytes(), w.Error +} + +// MarshalEasyJSON supports easyjson.Marshaler interface +func (v TriggerParams) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAutofill(w, v) +} + +// UnmarshalJSON supports json.Unmarshaler interface +func (v *TriggerParams) UnmarshalJSON(data []byte) error { + r := jlexer.Lexer{Data: data} + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAutofill(&r, v) + return r.Error() +} + +// UnmarshalEasyJSON supports easyjson.Unmarshaler interface +func (v *TriggerParams) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAutofill(l, v) +} +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAutofill1(in *jlexer.Lexer, out *SetAddressesParams) { + 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 "addresses": + if in.IsNull() { + in.Skip() + out.Addresses = nil + } else { + in.Delim('[') + if out.Addresses == nil { + if !in.IsDelim(']') { + out.Addresses = make([]*Address, 0, 8) + } else { + out.Addresses = []*Address{} + } + } else { + out.Addresses = (out.Addresses)[:0] + } + for !in.IsDelim(']') { + var v1 *Address + if in.IsNull() { + in.Skip() + v1 = nil + } else { + if v1 == nil { + v1 = new(Address) + } + (*v1).UnmarshalEasyJSON(in) + } + out.Addresses = append(out.Addresses, v1) + in.WantComma() + } + in.Delim(']') + } + default: + in.SkipRecursive() + } + in.WantComma() + } + in.Delim('}') + if isTopLevel { + in.Consumed() + } +} +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAutofill1(out *jwriter.Writer, in SetAddressesParams) { + out.RawByte('{') + first := true + _ = first + { + const prefix string = ",\"addresses\":" + out.RawString(prefix[1:]) + if in.Addresses == nil && (out.Flags&jwriter.NilSliceAsEmpty) == 0 { + out.RawString("null") + } else { + out.RawByte('[') + for v2, v3 := range in.Addresses { + 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 SetAddressesParams) MarshalJSON() ([]byte, error) { + w := jwriter.Writer{} + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAutofill1(&w, v) + return w.Buffer.BuildBytes(), w.Error +} + +// MarshalEasyJSON supports easyjson.Marshaler interface +func (v SetAddressesParams) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAutofill1(w, v) +} + +// UnmarshalJSON supports json.Unmarshaler interface +func (v *SetAddressesParams) UnmarshalJSON(data []byte) error { + r := jlexer.Lexer{Data: data} + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAutofill1(&r, v) + return r.Error() +} + +// UnmarshalEasyJSON supports easyjson.Unmarshaler interface +func (v *SetAddressesParams) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAutofill1(l, v) +} +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAutofill2(in *jlexer.Lexer, out *FilledField) { + 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 "htmlType": + out.HTMLType = string(in.String()) + case "id": + out.ID = string(in.String()) + case "name": + out.Name = string(in.String()) + case "value": + out.Value = string(in.String()) + case "autofillType": + out.AutofillType = string(in.String()) + case "fillingStrategy": + (out.FillingStrategy).UnmarshalEasyJSON(in) + default: + in.SkipRecursive() + } + in.WantComma() + } + in.Delim('}') + if isTopLevel { + in.Consumed() + } +} +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAutofill2(out *jwriter.Writer, in FilledField) { + out.RawByte('{') + first := true + _ = first + { + const prefix string = ",\"htmlType\":" + out.RawString(prefix[1:]) + out.String(string(in.HTMLType)) + } + { + const prefix string = ",\"id\":" + out.RawString(prefix) + out.String(string(in.ID)) + } + { + const prefix string = ",\"name\":" + out.RawString(prefix) + out.String(string(in.Name)) + } + { + const prefix string = ",\"value\":" + out.RawString(prefix) + out.String(string(in.Value)) + } + { + const prefix string = ",\"autofillType\":" + out.RawString(prefix) + out.String(string(in.AutofillType)) + } + { + const prefix string = ",\"fillingStrategy\":" + out.RawString(prefix) + (in.FillingStrategy).MarshalEasyJSON(out) + } + out.RawByte('}') +} + +// MarshalJSON supports json.Marshaler interface +func (v FilledField) MarshalJSON() ([]byte, error) { + w := jwriter.Writer{} + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAutofill2(&w, v) + return w.Buffer.BuildBytes(), w.Error +} + +// MarshalEasyJSON supports easyjson.Marshaler interface +func (v FilledField) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAutofill2(w, v) +} + +// UnmarshalJSON supports json.Unmarshaler interface +func (v *FilledField) UnmarshalJSON(data []byte) error { + r := jlexer.Lexer{Data: data} + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAutofill2(&r, v) + return r.Error() +} + +// UnmarshalEasyJSON supports easyjson.Unmarshaler interface +func (v *FilledField) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAutofill2(l, v) +} +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAutofill3(in *jlexer.Lexer, out *EventAddressFormFilled) { + 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 "filledFields": + if in.IsNull() { + in.Skip() + out.FilledFields = nil + } else { + in.Delim('[') + if out.FilledFields == nil { + if !in.IsDelim(']') { + out.FilledFields = make([]*FilledField, 0, 8) + } else { + out.FilledFields = []*FilledField{} + } + } else { + out.FilledFields = (out.FilledFields)[:0] + } + for !in.IsDelim(']') { + var v4 *FilledField + if in.IsNull() { + in.Skip() + v4 = nil + } else { + if v4 == nil { + v4 = new(FilledField) + } + (*v4).UnmarshalEasyJSON(in) + } + out.FilledFields = append(out.FilledFields, v4) + in.WantComma() + } + in.Delim(']') + } + case "addressUi": + if in.IsNull() { + in.Skip() + out.AddressUI = nil + } else { + if out.AddressUI == nil { + out.AddressUI = new(AddressUI) + } + (*out.AddressUI).UnmarshalEasyJSON(in) + } + default: + in.SkipRecursive() + } + in.WantComma() + } + in.Delim('}') + if isTopLevel { + in.Consumed() + } +} +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAutofill3(out *jwriter.Writer, in EventAddressFormFilled) { + out.RawByte('{') + first := true + _ = first + { + const prefix string = ",\"filledFields\":" + out.RawString(prefix[1:]) + if in.FilledFields == nil && (out.Flags&jwriter.NilSliceAsEmpty) == 0 { + out.RawString("null") + } else { + out.RawByte('[') + for v5, v6 := range in.FilledFields { + if v5 > 0 { + out.RawByte(',') + } + if v6 == nil { + out.RawString("null") + } else { + (*v6).MarshalEasyJSON(out) + } + } + out.RawByte(']') + } + } + { + const prefix string = ",\"addressUi\":" + out.RawString(prefix) + if in.AddressUI == nil { + out.RawString("null") + } else { + (*in.AddressUI).MarshalEasyJSON(out) + } + } + out.RawByte('}') +} + +// MarshalJSON supports json.Marshaler interface +func (v EventAddressFormFilled) MarshalJSON() ([]byte, error) { + w := jwriter.Writer{} + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAutofill3(&w, v) + return w.Buffer.BuildBytes(), w.Error +} + +// MarshalEasyJSON supports easyjson.Marshaler interface +func (v EventAddressFormFilled) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAutofill3(w, v) +} + +// UnmarshalJSON supports json.Unmarshaler interface +func (v *EventAddressFormFilled) UnmarshalJSON(data []byte) error { + r := jlexer.Lexer{Data: data} + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAutofill3(&r, v) + return r.Error() +} + +// UnmarshalEasyJSON supports easyjson.Unmarshaler interface +func (v *EventAddressFormFilled) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAutofill3(l, v) +} +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAutofill4(in *jlexer.Lexer, out *EnableParams) { + 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 easyjsonC5a4559bEncodeGithubComChromedpCdprotoAutofill4(out *jwriter.Writer, in EnableParams) { + out.RawByte('{') + first := true + _ = first + out.RawByte('}') +} + +// MarshalJSON supports json.Marshaler interface +func (v EnableParams) MarshalJSON() ([]byte, error) { + w := jwriter.Writer{} + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAutofill4(&w, v) + return w.Buffer.BuildBytes(), w.Error +} + +// MarshalEasyJSON supports easyjson.Marshaler interface +func (v EnableParams) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAutofill4(w, v) +} + +// UnmarshalJSON supports json.Unmarshaler interface +func (v *EnableParams) UnmarshalJSON(data []byte) error { + r := jlexer.Lexer{Data: data} + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAutofill4(&r, v) + return r.Error() +} + +// UnmarshalEasyJSON supports easyjson.Unmarshaler interface +func (v *EnableParams) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAutofill4(l, v) +} +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAutofill5(in *jlexer.Lexer, out *DisableParams) { + 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 easyjsonC5a4559bEncodeGithubComChromedpCdprotoAutofill5(out *jwriter.Writer, in DisableParams) { + out.RawByte('{') + first := true + _ = first + out.RawByte('}') +} + +// MarshalJSON supports json.Marshaler interface +func (v DisableParams) MarshalJSON() ([]byte, error) { + w := jwriter.Writer{} + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAutofill5(&w, v) + return w.Buffer.BuildBytes(), w.Error +} + +// MarshalEasyJSON supports easyjson.Marshaler interface +func (v DisableParams) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAutofill5(w, v) +} + +// UnmarshalJSON supports json.Unmarshaler interface +func (v *DisableParams) UnmarshalJSON(data []byte) error { + r := jlexer.Lexer{Data: data} + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAutofill5(&r, v) + return r.Error() +} + +// UnmarshalEasyJSON supports easyjson.Unmarshaler interface +func (v *DisableParams) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAutofill5(l, v) +} +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAutofill6(in *jlexer.Lexer, out *CreditCard) { + 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 "number": + out.Number = string(in.String()) + case "name": + out.Name = string(in.String()) + case "expiryMonth": + out.ExpiryMonth = string(in.String()) + case "expiryYear": + out.ExpiryYear = string(in.String()) + case "cvc": + out.Cvc = string(in.String()) + default: + in.SkipRecursive() + } + in.WantComma() + } + in.Delim('}') + if isTopLevel { + in.Consumed() + } +} +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAutofill6(out *jwriter.Writer, in CreditCard) { + out.RawByte('{') + first := true + _ = first + { + const prefix string = ",\"number\":" + out.RawString(prefix[1:]) + out.String(string(in.Number)) + } + { + const prefix string = ",\"name\":" + out.RawString(prefix) + out.String(string(in.Name)) + } + { + const prefix string = ",\"expiryMonth\":" + out.RawString(prefix) + out.String(string(in.ExpiryMonth)) + } + { + const prefix string = ",\"expiryYear\":" + out.RawString(prefix) + out.String(string(in.ExpiryYear)) + } + { + const prefix string = ",\"cvc\":" + out.RawString(prefix) + out.String(string(in.Cvc)) + } + out.RawByte('}') +} + +// MarshalJSON supports json.Marshaler interface +func (v CreditCard) MarshalJSON() ([]byte, error) { + w := jwriter.Writer{} + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAutofill6(&w, v) + return w.Buffer.BuildBytes(), w.Error +} + +// MarshalEasyJSON supports easyjson.Marshaler interface +func (v CreditCard) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAutofill6(w, v) +} + +// UnmarshalJSON supports json.Unmarshaler interface +func (v *CreditCard) UnmarshalJSON(data []byte) error { + r := jlexer.Lexer{Data: data} + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAutofill6(&r, v) + return r.Error() +} + +// UnmarshalEasyJSON supports easyjson.Unmarshaler interface +func (v *CreditCard) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAutofill6(l, v) +} +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAutofill7(in *jlexer.Lexer, out *AddressUI) { + 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 "addressFields": + if in.IsNull() { + in.Skip() + out.AddressFields = nil + } else { + in.Delim('[') + if out.AddressFields == nil { + if !in.IsDelim(']') { + out.AddressFields = make([]*AddressFields, 0, 8) + } else { + out.AddressFields = []*AddressFields{} + } + } else { + out.AddressFields = (out.AddressFields)[:0] + } + for !in.IsDelim(']') { + var v7 *AddressFields + if in.IsNull() { + in.Skip() + v7 = nil + } else { + if v7 == nil { + v7 = new(AddressFields) + } + (*v7).UnmarshalEasyJSON(in) + } + out.AddressFields = append(out.AddressFields, v7) + in.WantComma() + } + in.Delim(']') + } + default: + in.SkipRecursive() + } + in.WantComma() + } + in.Delim('}') + if isTopLevel { + in.Consumed() + } +} +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAutofill7(out *jwriter.Writer, in AddressUI) { + out.RawByte('{') + first := true + _ = first + { + const prefix string = ",\"addressFields\":" + out.RawString(prefix[1:]) + if in.AddressFields == nil && (out.Flags&jwriter.NilSliceAsEmpty) == 0 { + out.RawString("null") + } else { + out.RawByte('[') + for v8, v9 := range in.AddressFields { + if v8 > 0 { + out.RawByte(',') + } + if v9 == nil { + out.RawString("null") + } else { + (*v9).MarshalEasyJSON(out) + } + } + out.RawByte(']') + } + } + out.RawByte('}') +} + +// MarshalJSON supports json.Marshaler interface +func (v AddressUI) MarshalJSON() ([]byte, error) { + w := jwriter.Writer{} + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAutofill7(&w, v) + return w.Buffer.BuildBytes(), w.Error +} + +// MarshalEasyJSON supports easyjson.Marshaler interface +func (v AddressUI) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAutofill7(w, v) +} + +// UnmarshalJSON supports json.Unmarshaler interface +func (v *AddressUI) UnmarshalJSON(data []byte) error { + r := jlexer.Lexer{Data: data} + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAutofill7(&r, v) + return r.Error() +} + +// UnmarshalEasyJSON supports easyjson.Unmarshaler interface +func (v *AddressUI) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAutofill7(l, v) +} +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAutofill8(in *jlexer.Lexer, out *AddressFields) { + 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 "fields": + if in.IsNull() { + in.Skip() + out.Fields = nil + } else { + in.Delim('[') + if out.Fields == nil { + if !in.IsDelim(']') { + out.Fields = make([]*AddressField, 0, 8) + } else { + out.Fields = []*AddressField{} + } + } else { + out.Fields = (out.Fields)[:0] + } + for !in.IsDelim(']') { + var v10 *AddressField + if in.IsNull() { + in.Skip() + v10 = nil + } else { + if v10 == nil { + v10 = new(AddressField) + } + (*v10).UnmarshalEasyJSON(in) + } + out.Fields = append(out.Fields, v10) + in.WantComma() + } + in.Delim(']') + } + default: + in.SkipRecursive() + } + in.WantComma() + } + in.Delim('}') + if isTopLevel { + in.Consumed() + } +} +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAutofill8(out *jwriter.Writer, in AddressFields) { + out.RawByte('{') + first := true + _ = first + { + const prefix string = ",\"fields\":" + out.RawString(prefix[1:]) + if in.Fields == nil && (out.Flags&jwriter.NilSliceAsEmpty) == 0 { + out.RawString("null") + } else { + out.RawByte('[') + for v11, v12 := range in.Fields { + if v11 > 0 { + out.RawByte(',') + } + if v12 == nil { + out.RawString("null") + } else { + (*v12).MarshalEasyJSON(out) + } + } + out.RawByte(']') + } + } + out.RawByte('}') +} + +// MarshalJSON supports json.Marshaler interface +func (v AddressFields) MarshalJSON() ([]byte, error) { + w := jwriter.Writer{} + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAutofill8(&w, v) + return w.Buffer.BuildBytes(), w.Error +} + +// MarshalEasyJSON supports easyjson.Marshaler interface +func (v AddressFields) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAutofill8(w, v) +} + +// UnmarshalJSON supports json.Unmarshaler interface +func (v *AddressFields) UnmarshalJSON(data []byte) error { + r := jlexer.Lexer{Data: data} + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAutofill8(&r, v) + return r.Error() +} + +// UnmarshalEasyJSON supports easyjson.Unmarshaler interface +func (v *AddressFields) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAutofill8(l, v) +} +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAutofill9(in *jlexer.Lexer, out *AddressField) { + 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 "value": + out.Value = string(in.String()) + default: + in.SkipRecursive() + } + in.WantComma() + } + in.Delim('}') + if isTopLevel { + in.Consumed() + } +} +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAutofill9(out *jwriter.Writer, in AddressField) { + out.RawByte('{') + first := true + _ = first + { + const prefix string = ",\"name\":" + out.RawString(prefix[1:]) + out.String(string(in.Name)) + } + { + const prefix string = ",\"value\":" + out.RawString(prefix) + out.String(string(in.Value)) + } + out.RawByte('}') +} + +// MarshalJSON supports json.Marshaler interface +func (v AddressField) MarshalJSON() ([]byte, error) { + w := jwriter.Writer{} + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAutofill9(&w, v) + return w.Buffer.BuildBytes(), w.Error +} + +// MarshalEasyJSON supports easyjson.Marshaler interface +func (v AddressField) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAutofill9(w, v) +} + +// UnmarshalJSON supports json.Unmarshaler interface +func (v *AddressField) UnmarshalJSON(data []byte) error { + r := jlexer.Lexer{Data: data} + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAutofill9(&r, v) + return r.Error() +} + +// UnmarshalEasyJSON supports easyjson.Unmarshaler interface +func (v *AddressField) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAutofill9(l, v) +} +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAutofill10(in *jlexer.Lexer, out *Address) { + 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 "fields": + if in.IsNull() { + in.Skip() + out.Fields = nil + } else { + in.Delim('[') + if out.Fields == nil { + if !in.IsDelim(']') { + out.Fields = make([]*AddressField, 0, 8) + } else { + out.Fields = []*AddressField{} + } + } else { + out.Fields = (out.Fields)[:0] + } + for !in.IsDelim(']') { + var v13 *AddressField + if in.IsNull() { + in.Skip() + v13 = nil + } else { + if v13 == nil { + v13 = new(AddressField) + } + (*v13).UnmarshalEasyJSON(in) + } + out.Fields = append(out.Fields, v13) + in.WantComma() + } + in.Delim(']') + } + default: + in.SkipRecursive() + } + in.WantComma() + } + in.Delim('}') + if isTopLevel { + in.Consumed() + } +} +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAutofill10(out *jwriter.Writer, in Address) { + out.RawByte('{') + first := true + _ = first + { + const prefix string = ",\"fields\":" + out.RawString(prefix[1:]) + if in.Fields == nil && (out.Flags&jwriter.NilSliceAsEmpty) == 0 { + out.RawString("null") + } else { + out.RawByte('[') + for v14, v15 := range in.Fields { + if v14 > 0 { + out.RawByte(',') + } + if v15 == nil { + out.RawString("null") + } else { + (*v15).MarshalEasyJSON(out) + } + } + out.RawByte(']') + } + } + out.RawByte('}') +} + +// MarshalJSON supports json.Marshaler interface +func (v Address) MarshalJSON() ([]byte, error) { + w := jwriter.Writer{} + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAutofill10(&w, v) + return w.Buffer.BuildBytes(), w.Error +} + +// MarshalEasyJSON supports easyjson.Marshaler interface +func (v Address) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAutofill10(w, v) +} + +// UnmarshalJSON supports json.Unmarshaler interface +func (v *Address) UnmarshalJSON(data []byte) error { + r := jlexer.Lexer{Data: data} + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAutofill10(&r, v) + return r.Error() +} + +// UnmarshalEasyJSON supports easyjson.Unmarshaler interface +func (v *Address) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAutofill10(l, v) +} diff --git a/vendor/github.com/chromedp/cdproto/autofill/events.go b/vendor/github.com/chromedp/cdproto/autofill/events.go new file mode 100644 index 0000000000..446abb4ee5 --- /dev/null +++ b/vendor/github.com/chromedp/cdproto/autofill/events.go @@ -0,0 +1,11 @@ +package autofill + +// Code generated by cdproto-gen. DO NOT EDIT. + +// EventAddressFormFilled emitted when an address form is filled. +// +// See: https://chromedevtools.github.io/devtools-protocol/tot/Autofill#event-addressFormFilled +type EventAddressFormFilled struct { + FilledFields []*FilledField `json:"filledFields"` // Information about the fields that were filled + AddressUI *AddressUI `json:"addressUi"` // An UI representation of the address used to fill the form. Consists of a 2D array where each child represents an address/profile line. +} diff --git a/vendor/github.com/chromedp/cdproto/autofill/types.go b/vendor/github.com/chromedp/cdproto/autofill/types.go new file mode 100644 index 0000000000..887cd115b7 --- /dev/null +++ b/vendor/github.com/chromedp/cdproto/autofill/types.go @@ -0,0 +1,115 @@ +package autofill + +// Code generated by cdproto-gen. DO NOT EDIT. + +import ( + "fmt" + + "github.com/mailru/easyjson" + "github.com/mailru/easyjson/jlexer" + "github.com/mailru/easyjson/jwriter" +) + +// CreditCard [no description]. +// +// See: https://chromedevtools.github.io/devtools-protocol/tot/Autofill#type-CreditCard +type CreditCard struct { + Number string `json:"number"` // 16-digit credit card number. + Name string `json:"name"` // Name of the credit card owner. + ExpiryMonth string `json:"expiryMonth"` // 2-digit expiry month. + ExpiryYear string `json:"expiryYear"` // 4-digit expiry year. + Cvc string `json:"cvc"` // 3-digit card verification code. +} + +// AddressField [no description]. +// +// See: https://chromedevtools.github.io/devtools-protocol/tot/Autofill#type-AddressField +type AddressField struct { + Name string `json:"name"` // address field name, for example GIVEN_NAME. + Value string `json:"value"` // address field value, for example Jon Doe. +} + +// AddressFields a list of address fields. +// +// See: https://chromedevtools.github.io/devtools-protocol/tot/Autofill#type-AddressFields +type AddressFields struct { + Fields []*AddressField `json:"fields"` +} + +// Address [no description]. +// +// See: https://chromedevtools.github.io/devtools-protocol/tot/Autofill#type-Address +type Address struct { + Fields []*AddressField `json:"fields"` // fields and values defining an address. +} + +// AddressUI defines how an address can be displayed like in +// chrome://settings/addresses. Address UI is a two dimensional array, each +// inner array is an "address information line", and when rendered in a UI +// surface should be displayed as such. The following address UI for instance: +// [[{name: "GIVE_NAME", value: "Jon"}, {name: "FAMILY_NAME", value: "Doe"}], +// [{name: "CITY", value: "Munich"}, {name: "ZIP", value: "81456"}]] should +// allow the receiver to render: Jon Doe Munich 81456. +// +// See: https://chromedevtools.github.io/devtools-protocol/tot/Autofill#type-AddressUI +type AddressUI struct { + AddressFields []*AddressFields `json:"addressFields"` // A two dimension array containing the repesentation of values from an address profile. +} + +// FillingStrategy specified whether a filled field was done so by using the +// html autocomplete attribute or autofill heuristics. +// +// See: https://chromedevtools.github.io/devtools-protocol/tot/Autofill#type-FillingStrategy +type FillingStrategy string + +// String returns the FillingStrategy as string value. +func (t FillingStrategy) String() string { + return string(t) +} + +// FillingStrategy values. +const ( + FillingStrategyAutocompleteAttribute FillingStrategy = "autocompleteAttribute" + FillingStrategyAutofillInferred FillingStrategy = "autofillInferred" +) + +// MarshalEasyJSON satisfies easyjson.Marshaler. +func (t FillingStrategy) MarshalEasyJSON(out *jwriter.Writer) { + out.String(string(t)) +} + +// MarshalJSON satisfies json.Marshaler. +func (t FillingStrategy) MarshalJSON() ([]byte, error) { + return easyjson.Marshal(t) +} + +// UnmarshalEasyJSON satisfies easyjson.Unmarshaler. +func (t *FillingStrategy) UnmarshalEasyJSON(in *jlexer.Lexer) { + v := in.String() + switch FillingStrategy(v) { + case FillingStrategyAutocompleteAttribute: + *t = FillingStrategyAutocompleteAttribute + case FillingStrategyAutofillInferred: + *t = FillingStrategyAutofillInferred + + default: + in.AddError(fmt.Errorf("unknown FillingStrategy value: %v", v)) + } +} + +// UnmarshalJSON satisfies json.Unmarshaler. +func (t *FillingStrategy) UnmarshalJSON(buf []byte) error { + return easyjson.Unmarshal(buf, t) +} + +// FilledField [no description]. +// +// See: https://chromedevtools.github.io/devtools-protocol/tot/Autofill#type-FilledField +type FilledField struct { + HTMLType string `json:"htmlType"` // The type of the field, e.g text, password etc. + ID string `json:"id"` // the html id + Name string `json:"name"` // the html name + Value string `json:"value"` // the field value + AutofillType string `json:"autofillType"` // The actual field type, e.g FAMILY_NAME + FillingStrategy FillingStrategy `json:"fillingStrategy"` // The filling strategy +} diff --git a/vendor/github.com/chromedp/cdproto/browser/browser.go b/vendor/github.com/chromedp/cdproto/browser/browser.go index 77c52e02d2..bcc64fa217 100644 --- a/vendor/github.com/chromedp/cdproto/browser/browser.go +++ b/vendor/github.com/chromedp/cdproto/browser/browser.go @@ -579,23 +579,51 @@ func (p *ExecuteBrowserCommandParams) Do(ctx context.Context) (err error) { return cdp.Execute(ctx, CommandExecuteBrowserCommand, p, nil) } +// AddPrivacySandboxEnrollmentOverrideParams allows a site to use privacy +// sandbox features that require enrollment without the site actually being +// enrolled. Only supported on page targets. +type AddPrivacySandboxEnrollmentOverrideParams struct { + URL string `json:"url"` +} + +// AddPrivacySandboxEnrollmentOverride allows a site to use privacy sandbox +// features that require enrollment without the site actually being enrolled. +// Only supported on page targets. +// +// See: https://chromedevtools.github.io/devtools-protocol/tot/Browser#method-addPrivacySandboxEnrollmentOverride +// +// parameters: +// +// url +func AddPrivacySandboxEnrollmentOverride(url string) *AddPrivacySandboxEnrollmentOverrideParams { + return &AddPrivacySandboxEnrollmentOverrideParams{ + URL: url, + } +} + +// Do executes Browser.addPrivacySandboxEnrollmentOverride against the provided context. +func (p *AddPrivacySandboxEnrollmentOverrideParams) Do(ctx context.Context) (err error) { + return cdp.Execute(ctx, CommandAddPrivacySandboxEnrollmentOverride, p, nil) +} + // Command names. const ( - CommandSetPermission = "Browser.setPermission" - CommandGrantPermissions = "Browser.grantPermissions" - CommandResetPermissions = "Browser.resetPermissions" - CommandSetDownloadBehavior = "Browser.setDownloadBehavior" - CommandCancelDownload = "Browser.cancelDownload" - CommandClose = "Browser.close" - CommandCrash = "Browser.crash" - CommandCrashGpuProcess = "Browser.crashGpuProcess" - CommandGetVersion = "Browser.getVersion" - CommandGetBrowserCommandLine = "Browser.getBrowserCommandLine" - CommandGetHistograms = "Browser.getHistograms" - CommandGetHistogram = "Browser.getHistogram" - CommandGetWindowBounds = "Browser.getWindowBounds" - CommandGetWindowForTarget = "Browser.getWindowForTarget" - CommandSetWindowBounds = "Browser.setWindowBounds" - CommandSetDockTile = "Browser.setDockTile" - CommandExecuteBrowserCommand = "Browser.executeBrowserCommand" + CommandSetPermission = "Browser.setPermission" + CommandGrantPermissions = "Browser.grantPermissions" + CommandResetPermissions = "Browser.resetPermissions" + CommandSetDownloadBehavior = "Browser.setDownloadBehavior" + CommandCancelDownload = "Browser.cancelDownload" + CommandClose = "Browser.close" + CommandCrash = "Browser.crash" + CommandCrashGpuProcess = "Browser.crashGpuProcess" + CommandGetVersion = "Browser.getVersion" + CommandGetBrowserCommandLine = "Browser.getBrowserCommandLine" + CommandGetHistograms = "Browser.getHistograms" + CommandGetHistogram = "Browser.getHistogram" + CommandGetWindowBounds = "Browser.getWindowBounds" + CommandGetWindowForTarget = "Browser.getWindowForTarget" + CommandSetWindowBounds = "Browser.setWindowBounds" + CommandSetDockTile = "Browser.setDockTile" + CommandExecuteBrowserCommand = "Browser.executeBrowserCommand" + CommandAddPrivacySandboxEnrollmentOverride = "Browser.addPrivacySandboxEnrollmentOverride" ) diff --git a/vendor/github.com/chromedp/cdproto/browser/easyjson.go b/vendor/github.com/chromedp/cdproto/browser/easyjson.go index 95854e0b8b..82374ec93a 100644 --- a/vendor/github.com/chromedp/cdproto/browser/easyjson.go +++ b/vendor/github.com/chromedp/cdproto/browser/easyjson.go @@ -2419,3 +2419,69 @@ func (v *Bounds) UnmarshalJSON(data []byte) error { func (v *Bounds) UnmarshalEasyJSON(l *jlexer.Lexer) { easyjsonC5a4559bDecodeGithubComChromedpCdprotoBrowser28(l, v) } +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoBrowser29(in *jlexer.Lexer, out *AddPrivacySandboxEnrollmentOverrideParams) { + 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()) + default: + in.SkipRecursive() + } + in.WantComma() + } + in.Delim('}') + if isTopLevel { + in.Consumed() + } +} +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoBrowser29(out *jwriter.Writer, in AddPrivacySandboxEnrollmentOverrideParams) { + out.RawByte('{') + first := true + _ = first + { + const prefix string = ",\"url\":" + out.RawString(prefix[1:]) + out.String(string(in.URL)) + } + out.RawByte('}') +} + +// MarshalJSON supports json.Marshaler interface +func (v AddPrivacySandboxEnrollmentOverrideParams) MarshalJSON() ([]byte, error) { + w := jwriter.Writer{} + easyjsonC5a4559bEncodeGithubComChromedpCdprotoBrowser29(&w, v) + return w.Buffer.BuildBytes(), w.Error +} + +// MarshalEasyJSON supports easyjson.Marshaler interface +func (v AddPrivacySandboxEnrollmentOverrideParams) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComChromedpCdprotoBrowser29(w, v) +} + +// UnmarshalJSON supports json.Unmarshaler interface +func (v *AddPrivacySandboxEnrollmentOverrideParams) UnmarshalJSON(data []byte) error { + r := jlexer.Lexer{Data: data} + easyjsonC5a4559bDecodeGithubComChromedpCdprotoBrowser29(&r, v) + return r.Error() +} + +// UnmarshalEasyJSON supports easyjson.Unmarshaler interface +func (v *AddPrivacySandboxEnrollmentOverrideParams) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComChromedpCdprotoBrowser29(l, v) +} diff --git a/vendor/github.com/chromedp/cdproto/cachestorage/cachestorage.go b/vendor/github.com/chromedp/cdproto/cachestorage/cachestorage.go index 46c6acee52..c0d36dc07c 100644 --- a/vendor/github.com/chromedp/cdproto/cachestorage/cachestorage.go +++ b/vendor/github.com/chromedp/cdproto/cachestorage/cachestorage.go @@ -10,6 +10,7 @@ import ( "context" "github.com/chromedp/cdproto/cdp" + "github.com/chromedp/cdproto/storage" ) // DeleteCacheParams deletes a cache. @@ -63,8 +64,9 @@ func (p *DeleteEntryParams) Do(ctx context.Context) (err error) { // RequestCacheNamesParams requests cache names. type RequestCacheNamesParams struct { - SecurityOrigin string `json:"securityOrigin,omitempty"` // At least and at most one of securityOrigin, storageKey must be specified. Security origin. - StorageKey string `json:"storageKey,omitempty"` // Storage key. + SecurityOrigin string `json:"securityOrigin,omitempty"` // At least and at most one of securityOrigin, storageKey, storageBucket must be specified. Security origin. + StorageKey string `json:"storageKey,omitempty"` // Storage key. + StorageBucket *storage.Bucket `json:"storageBucket,omitempty"` // Storage bucket. If not specified, it uses the default bucket. } // RequestCacheNames requests cache names. @@ -76,8 +78,8 @@ func RequestCacheNames() *RequestCacheNamesParams { return &RequestCacheNamesParams{} } -// WithSecurityOrigin at least and at most one of securityOrigin, storageKey -// must be specified. Security origin. +// WithSecurityOrigin at least and at most one of securityOrigin, storageKey, +// storageBucket must be specified. Security origin. func (p RequestCacheNamesParams) WithSecurityOrigin(securityOrigin string) *RequestCacheNamesParams { p.SecurityOrigin = securityOrigin return &p @@ -89,6 +91,13 @@ func (p RequestCacheNamesParams) WithStorageKey(storageKey string) *RequestCache return &p } +// WithStorageBucket storage bucket. If not specified, it uses the default +// bucket. +func (p RequestCacheNamesParams) WithStorageBucket(storageBucket *storage.Bucket) *RequestCacheNamesParams { + p.StorageBucket = storageBucket + return &p +} + // RequestCacheNamesReturns return values. type RequestCacheNamesReturns struct { Caches []*Cache `json:"caches,omitempty"` // Caches for the security origin. diff --git a/vendor/github.com/chromedp/cdproto/cachestorage/easyjson.go b/vendor/github.com/chromedp/cdproto/cachestorage/easyjson.go index 3958cf1fa1..0b3ca72ea5 100644 --- a/vendor/github.com/chromedp/cdproto/cachestorage/easyjson.go +++ b/vendor/github.com/chromedp/cdproto/cachestorage/easyjson.go @@ -4,6 +4,7 @@ package cachestorage import ( json "encoding/json" + storage "github.com/chromedp/cdproto/storage" easyjson "github.com/mailru/easyjson" jlexer "github.com/mailru/easyjson/jlexer" jwriter "github.com/mailru/easyjson/jwriter" @@ -556,6 +557,16 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCachestorage5(in *jlexer.Lexe out.SecurityOrigin = string(in.String()) case "storageKey": out.StorageKey = string(in.String()) + case "storageBucket": + if in.IsNull() { + in.Skip() + out.StorageBucket = nil + } else { + if out.StorageBucket == nil { + out.StorageBucket = new(storage.Bucket) + } + (*out.StorageBucket).UnmarshalEasyJSON(in) + } default: in.SkipRecursive() } @@ -586,6 +597,16 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCachestorage5(out *jwriter.Wr } out.String(string(in.StorageKey)) } + if in.StorageBucket != nil { + const prefix string = ",\"storageBucket\":" + if first { + first = false + out.RawString(prefix[1:]) + } else { + out.RawString(prefix) + } + (*in.StorageBucket).MarshalEasyJSON(out) + } out.RawByte('}') } @@ -1118,6 +1139,16 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCachestorage11(in *jlexer.Lex out.SecurityOrigin = string(in.String()) case "storageKey": out.StorageKey = string(in.String()) + case "storageBucket": + if in.IsNull() { + in.Skip() + out.StorageBucket = nil + } else { + if out.StorageBucket == nil { + out.StorageBucket = new(storage.Bucket) + } + (*out.StorageBucket).UnmarshalEasyJSON(in) + } case "cacheName": out.CacheName = string(in.String()) default: @@ -1149,6 +1180,11 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCachestorage11(out *jwriter.W out.RawString(prefix) out.String(string(in.StorageKey)) } + if in.StorageBucket != nil { + const prefix string = ",\"storageBucket\":" + out.RawString(prefix) + (*in.StorageBucket).MarshalEasyJSON(out) + } { const prefix string = ",\"cacheName\":" out.RawString(prefix) diff --git a/vendor/github.com/chromedp/cdproto/cachestorage/types.go b/vendor/github.com/chromedp/cdproto/cachestorage/types.go index 92c0216e6b..84c0ad7fde 100644 --- a/vendor/github.com/chromedp/cdproto/cachestorage/types.go +++ b/vendor/github.com/chromedp/cdproto/cachestorage/types.go @@ -5,6 +5,7 @@ package cachestorage import ( "fmt" + "github.com/chromedp/cdproto/storage" "github.com/mailru/easyjson" "github.com/mailru/easyjson/jlexer" "github.com/mailru/easyjson/jwriter" @@ -95,10 +96,11 @@ type DataEntry struct { // // See: https://chromedevtools.github.io/devtools-protocol/tot/CacheStorage#type-Cache type Cache struct { - CacheID CacheID `json:"cacheId"` // An opaque unique id of the cache. - SecurityOrigin string `json:"securityOrigin"` // Security origin of the cache. - StorageKey string `json:"storageKey"` // Storage key of the cache. - CacheName string `json:"cacheName"` // The name of the cache. + CacheID CacheID `json:"cacheId"` // An opaque unique id of the cache. + SecurityOrigin string `json:"securityOrigin"` // Security origin of the cache. + StorageKey string `json:"storageKey"` // Storage key of the cache. + StorageBucket *storage.Bucket `json:"storageBucket,omitempty"` // Storage bucket of the cache. + CacheName string `json:"cacheName"` // The name of the cache. } // Header [no description]. diff --git a/vendor/github.com/chromedp/cdproto/cdp/types.go b/vendor/github.com/chromedp/cdproto/cdp/types.go index 390e99c69e..8b9014ae37 100644 --- a/vendor/github.com/chromedp/cdproto/cdp/types.go +++ b/vendor/github.com/chromedp/cdproto/cdp/types.go @@ -790,6 +790,40 @@ func (t *MonotonicTime) UnmarshalJSON(buf []byte) error { return easyjson.Unmarshal(buf, t) } +// TimeSinceEpochMilli special timestamp type for Response's responseTime +// field. +// +// See: https://chromedevtools.github.io/devtools-protocol/tot/Network#type-TimeSinceEpochMilli +type TimeSinceEpochMilli time.Time + +// Time returns the TimeSinceEpochMilli as time.Time value. +func (t TimeSinceEpochMilli) Time() time.Time { + return time.Time(t) +} + +// MarshalEasyJSON satisfies easyjson.Marshaler. +func (t TimeSinceEpochMilli) MarshalEasyJSON(out *jwriter.Writer) { + v := float64(time.Time(t).UnixNano() / int64(time.Millisecond)) + + out.Buffer.EnsureSpace(20) + out.Buffer.Buf = strconv.AppendFloat(out.Buffer.Buf, v, 'f', -1, 64) +} + +// MarshalJSON satisfies json.Marshaler. +func (t TimeSinceEpochMilli) MarshalJSON() ([]byte, error) { + return easyjson.Marshal(t) +} + +// UnmarshalEasyJSON satisfies easyjson.Unmarshaler. +func (t *TimeSinceEpochMilli) UnmarshalEasyJSON(in *jlexer.Lexer) { + *t = TimeSinceEpochMilli(time.Unix(0, int64(in.Float64()*float64(time.Millisecond)))) +} + +// UnmarshalJSON satisfies json.Unmarshaler. +func (t *TimeSinceEpochMilli) UnmarshalJSON(buf []byte) error { + return easyjson.Unmarshal(buf, t) +} + // FrameID unique frame identifier. // // See: https://chromedevtools.github.io/devtools-protocol/tot/Page#type-FrameId diff --git a/vendor/github.com/chromedp/cdproto/cdproto.go b/vendor/github.com/chromedp/cdproto/cdproto.go index 2b4e1cba0e..d4c8163748 100644 --- a/vendor/github.com/chromedp/cdproto/cdproto.go +++ b/vendor/github.com/chromedp/cdproto/cdproto.go @@ -15,6 +15,7 @@ import ( "github.com/chromedp/cdproto/accessibility" "github.com/chromedp/cdproto/animation" "github.com/chromedp/cdproto/audits" + "github.com/chromedp/cdproto/autofill" "github.com/chromedp/cdproto/backgroundservice" "github.com/chromedp/cdproto/browser" "github.com/chromedp/cdproto/cachestorage" @@ -31,6 +32,7 @@ import ( "github.com/chromedp/cdproto/domstorage" "github.com/chromedp/cdproto/emulation" "github.com/chromedp/cdproto/eventbreakpoints" + "github.com/chromedp/cdproto/fedcm" "github.com/chromedp/cdproto/fetch" "github.com/chromedp/cdproto/headlessexperimental" "github.com/chromedp/cdproto/heapprofiler" @@ -105,7 +107,13 @@ const ( CommandAuditsDisable = audits.CommandDisable CommandAuditsEnable = audits.CommandEnable CommandAuditsCheckContrast = audits.CommandCheckContrast + CommandAuditsCheckFormsIssues = audits.CommandCheckFormsIssues EventAuditsIssueAdded = "Audits.issueAdded" + CommandAutofillTrigger = autofill.CommandTrigger + CommandAutofillSetAddresses = autofill.CommandSetAddresses + CommandAutofillDisable = autofill.CommandDisable + CommandAutofillEnable = autofill.CommandEnable + EventAutofillAddressFormFilled = "Autofill.addressFormFilled" CommandBackgroundServiceStartObserving = backgroundservice.CommandStartObserving CommandBackgroundServiceStopObserving = backgroundservice.CommandStopObserving CommandBackgroundServiceSetRecording = backgroundservice.CommandSetRecording @@ -129,6 +137,7 @@ const ( CommandBrowserSetWindowBounds = browser.CommandSetWindowBounds CommandBrowserSetDockTile = browser.CommandSetDockTile CommandBrowserExecuteBrowserCommand = browser.CommandExecuteBrowserCommand + CommandBrowserAddPrivacySandboxEnrollmentOverride = browser.CommandAddPrivacySandboxEnrollmentOverride EventBrowserDownloadWillBegin = "Browser.downloadWillBegin" EventBrowserDownloadProgress = "Browser.downloadProgress" CommandCSSAddRule = css.CommandAddRule @@ -148,6 +157,7 @@ const ( CommandCSSTrackComputedStyleUpdates = css.CommandTrackComputedStyleUpdates CommandCSSTakeComputedStyleUpdates = css.CommandTakeComputedStyleUpdates CommandCSSSetEffectivePropertyValueForNode = css.CommandSetEffectivePropertyValueForNode + CommandCSSSetPropertyRulePropertyName = css.CommandSetPropertyRulePropertyName CommandCSSSetKeyframeKey = css.CommandSetKeyframeKey CommandCSSSetMediaText = css.CommandSetMediaText CommandCSSSetContainerQueryText = css.CommandSetContainerQueryText @@ -241,12 +251,10 @@ const ( CommandDOMDebuggerGetEventListeners = domdebugger.CommandGetEventListeners CommandDOMDebuggerRemoveDOMBreakpoint = domdebugger.CommandRemoveDOMBreakpoint CommandDOMDebuggerRemoveEventListenerBreakpoint = domdebugger.CommandRemoveEventListenerBreakpoint - CommandDOMDebuggerRemoveInstrumentationBreakpoint = domdebugger.CommandRemoveInstrumentationBreakpoint CommandDOMDebuggerRemoveXHRBreakpoint = domdebugger.CommandRemoveXHRBreakpoint CommandDOMDebuggerSetBreakOnCSPViolation = domdebugger.CommandSetBreakOnCSPViolation CommandDOMDebuggerSetDOMBreakpoint = domdebugger.CommandSetDOMBreakpoint CommandDOMDebuggerSetEventListenerBreakpoint = domdebugger.CommandSetEventListenerBreakpoint - CommandDOMDebuggerSetInstrumentationBreakpoint = domdebugger.CommandSetInstrumentationBreakpoint CommandDOMDebuggerSetXHRBreakpoint = domdebugger.CommandSetXHRBreakpoint CommandDOMSnapshotDisable = domsnapshot.CommandDisable CommandDOMSnapshotEnable = domsnapshot.CommandEnable @@ -338,6 +346,14 @@ const ( EventEmulationVirtualTimeBudgetExpired = "Emulation.virtualTimeBudgetExpired" CommandEventBreakpointsSetInstrumentationBreakpoint = eventbreakpoints.CommandSetInstrumentationBreakpoint CommandEventBreakpointsRemoveInstrumentationBreakpoint = eventbreakpoints.CommandRemoveInstrumentationBreakpoint + CommandEventBreakpointsDisable = eventbreakpoints.CommandDisable + CommandFedCmEnable = fedcm.CommandEnable + CommandFedCmDisable = fedcm.CommandDisable + CommandFedCmSelectAccount = fedcm.CommandSelectAccount + CommandFedCmConfirmIdpLogin = fedcm.CommandConfirmIdpLogin + CommandFedCmDismissDialog = fedcm.CommandDismissDialog + CommandFedCmResetCooldown = fedcm.CommandResetCooldown + EventFedCmDialogShown = "FedCm.dialogShown" CommandFetchDisable = fetch.CommandDisable CommandFetchEnable = fetch.CommandEnable CommandFetchFailRequest = fetch.CommandFailRequest @@ -385,6 +401,7 @@ const ( CommandInputImeSetComposition = input.CommandImeSetComposition CommandInputDispatchMouseEvent = input.CommandDispatchMouseEvent CommandInputDispatchTouchEvent = input.CommandDispatchTouchEvent + CommandInputCancelDragging = input.CommandCancelDragging CommandInputEmulateTouchFromMouseEvent = input.CommandEmulateTouchFromMouseEvent CommandInputSetIgnoreInputEvents = input.CommandSetIgnoreInputEvents CommandInputSetInterceptDrags = input.CommandSetInterceptDrags @@ -563,6 +580,7 @@ const ( CommandPageGenerateTestReport = page.CommandGenerateTestReport CommandPageWaitForDebugger = page.CommandWaitForDebugger CommandPageSetInterceptFileChooserDialog = page.CommandSetInterceptFileChooserDialog + CommandPageSetPrerenderingAllowed = page.CommandSetPrerenderingAllowed EventPageDomContentEventFired = "Page.domContentEventFired" EventPageFileChooserOpened = "Page.fileChooserOpened" EventPageFrameAttached = "Page.frameAttached" @@ -579,9 +597,6 @@ const ( EventPageJavascriptDialogOpening = "Page.javascriptDialogOpening" EventPageLifecycleEvent = "Page.lifecycleEvent" EventPageBackForwardCacheNotUsed = "Page.backForwardCacheNotUsed" - EventPagePrerenderAttemptCompleted = "Page.prerenderAttemptCompleted" - EventPagePrefetchStatusUpdated = "Page.prefetchStatusUpdated" - EventPagePrerenderStatusUpdated = "Page.prerenderStatusUpdated" EventPageLoadEventFired = "Page.loadEventFired" EventPageNavigatedWithinDocument = "Page.navigatedWithinDocument" EventPageScreencastFrame = "Page.screencastFrame" @@ -598,6 +613,10 @@ const ( CommandPreloadDisable = preload.CommandDisable EventPreloadRuleSetUpdated = "Preload.ruleSetUpdated" EventPreloadRuleSetRemoved = "Preload.ruleSetRemoved" + EventPreloadPreloadEnabledStateUpdated = "Preload.preloadEnabledStateUpdated" + EventPreloadPrefetchStatusUpdated = "Preload.prefetchStatusUpdated" + EventPreloadPrerenderStatusUpdated = "Preload.prerenderStatusUpdated" + EventPreloadPreloadingAttemptSourcesUpdated = "Preload.preloadingAttemptSourcesUpdated" CommandProfilerDisable = profiler.CommandDisable CommandProfilerEnable = profiler.CommandEnable CommandProfilerGetBestEffortCoverage = profiler.CommandGetBestEffortCoverage @@ -687,12 +706,20 @@ const ( CommandStorageClearSharedStorageEntries = storage.CommandClearSharedStorageEntries CommandStorageResetSharedStorageBudget = storage.CommandResetSharedStorageBudget CommandStorageSetSharedStorageTracking = storage.CommandSetSharedStorageTracking + CommandStorageSetStorageBucketTracking = storage.CommandSetStorageBucketTracking + CommandStorageDeleteStorageBucket = storage.CommandDeleteStorageBucket + CommandStorageRunBounceTrackingMitigations = storage.CommandRunBounceTrackingMitigations + CommandStorageSetAttributionReportingLocalTestingMode = storage.CommandSetAttributionReportingLocalTestingMode + CommandStorageSetAttributionReportingTracking = storage.CommandSetAttributionReportingTracking EventStorageCacheStorageContentUpdated = "Storage.cacheStorageContentUpdated" EventStorageCacheStorageListUpdated = "Storage.cacheStorageListUpdated" EventStorageIndexedDBContentUpdated = "Storage.indexedDBContentUpdated" EventStorageIndexedDBListUpdated = "Storage.indexedDBListUpdated" EventStorageInterestGroupAccessed = "Storage.interestGroupAccessed" EventStorageSharedStorageAccessed = "Storage.sharedStorageAccessed" + EventStorageStorageBucketCreatedOrUpdated = "Storage.storageBucketCreatedOrUpdated" + EventStorageStorageBucketDeleted = "Storage.storageBucketDeleted" + EventStorageAttributionReportingSourceRegistered = "Storage.attributionReportingSourceRegistered" CommandSystemInfoGetInfo = systeminfo.CommandGetInfo CommandSystemInfoGetFeatureState = systeminfo.CommandGetFeatureState CommandSystemInfoGetProcessInfo = systeminfo.CommandGetProcessInfo @@ -873,9 +900,27 @@ func UnmarshalMessage(msg *Message) (interface{}, error) { case CommandAuditsCheckContrast: return emptyVal, nil + case CommandAuditsCheckFormsIssues: + v = new(audits.CheckFormsIssuesReturns) + case EventAuditsIssueAdded: v = new(audits.EventIssueAdded) + case CommandAutofillTrigger: + return emptyVal, nil + + case CommandAutofillSetAddresses: + return emptyVal, nil + + case CommandAutofillDisable: + return emptyVal, nil + + case CommandAutofillEnable: + return emptyVal, nil + + case EventAutofillAddressFormFilled: + v = new(autofill.EventAddressFormFilled) + case CommandBackgroundServiceStartObserving: return emptyVal, nil @@ -945,6 +990,9 @@ func UnmarshalMessage(msg *Message) (interface{}, error) { case CommandBrowserExecuteBrowserCommand: return emptyVal, nil + case CommandBrowserAddPrivacySandboxEnrollmentOverride: + return emptyVal, nil + case EventBrowserDownloadWillBegin: v = new(browser.EventDownloadWillBegin) @@ -1002,6 +1050,9 @@ func UnmarshalMessage(msg *Message) (interface{}, error) { case CommandCSSSetEffectivePropertyValueForNode: return emptyVal, nil + case CommandCSSSetPropertyRulePropertyName: + v = new(css.SetPropertyRulePropertyNameReturns) + case CommandCSSSetKeyframeKey: v = new(css.SetKeyframeKeyReturns) @@ -1281,9 +1332,6 @@ func UnmarshalMessage(msg *Message) (interface{}, error) { case CommandDOMDebuggerRemoveEventListenerBreakpoint: return emptyVal, nil - case CommandDOMDebuggerRemoveInstrumentationBreakpoint: - return emptyVal, nil - case CommandDOMDebuggerRemoveXHRBreakpoint: return emptyVal, nil @@ -1296,9 +1344,6 @@ func UnmarshalMessage(msg *Message) (interface{}, error) { case CommandDOMDebuggerSetEventListenerBreakpoint: return emptyVal, nil - case CommandDOMDebuggerSetInstrumentationBreakpoint: - return emptyVal, nil - case CommandDOMDebuggerSetXHRBreakpoint: return emptyVal, nil @@ -1572,6 +1617,30 @@ func UnmarshalMessage(msg *Message) (interface{}, error) { case CommandEventBreakpointsRemoveInstrumentationBreakpoint: return emptyVal, nil + case CommandEventBreakpointsDisable: + return emptyVal, nil + + case CommandFedCmEnable: + return emptyVal, nil + + case CommandFedCmDisable: + return emptyVal, nil + + case CommandFedCmSelectAccount: + return emptyVal, nil + + case CommandFedCmConfirmIdpLogin: + return emptyVal, nil + + case CommandFedCmDismissDialog: + return emptyVal, nil + + case CommandFedCmResetCooldown: + return emptyVal, nil + + case EventFedCmDialogShown: + v = new(fedcm.EventDialogShown) + case CommandFetchDisable: return emptyVal, nil @@ -1713,6 +1782,9 @@ func UnmarshalMessage(msg *Message) (interface{}, error) { case CommandInputDispatchTouchEvent: return emptyVal, nil + case CommandInputCancelDragging: + return emptyVal, nil + case CommandInputEmulateTouchFromMouseEvent: return emptyVal, nil @@ -2247,6 +2319,9 @@ func UnmarshalMessage(msg *Message) (interface{}, error) { case CommandPageSetInterceptFileChooserDialog: return emptyVal, nil + case CommandPageSetPrerenderingAllowed: + return emptyVal, nil + case EventPageDomContentEventFired: v = new(page.EventDomContentEventFired) @@ -2295,15 +2370,6 @@ func UnmarshalMessage(msg *Message) (interface{}, error) { case EventPageBackForwardCacheNotUsed: v = new(page.EventBackForwardCacheNotUsed) - case EventPagePrerenderAttemptCompleted: - v = new(page.EventPrerenderAttemptCompleted) - - case EventPagePrefetchStatusUpdated: - v = new(page.EventPrefetchStatusUpdated) - - case EventPagePrerenderStatusUpdated: - v = new(page.EventPrerenderStatusUpdated) - case EventPageLoadEventFired: v = new(page.EventLoadEventFired) @@ -2352,6 +2418,18 @@ func UnmarshalMessage(msg *Message) (interface{}, error) { case EventPreloadRuleSetRemoved: v = new(preload.EventRuleSetRemoved) + case EventPreloadPreloadEnabledStateUpdated: + v = new(preload.EventPreloadEnabledStateUpdated) + + case EventPreloadPrefetchStatusUpdated: + v = new(preload.EventPrefetchStatusUpdated) + + case EventPreloadPrerenderStatusUpdated: + v = new(preload.EventPrerenderStatusUpdated) + + case EventPreloadPreloadingAttemptSourcesUpdated: + v = new(preload.EventPreloadingAttemptSourcesUpdated) + case CommandProfilerDisable: return emptyVal, nil @@ -2619,6 +2697,21 @@ func UnmarshalMessage(msg *Message) (interface{}, error) { case CommandStorageSetSharedStorageTracking: return emptyVal, nil + case CommandStorageSetStorageBucketTracking: + return emptyVal, nil + + case CommandStorageDeleteStorageBucket: + return emptyVal, nil + + case CommandStorageRunBounceTrackingMitigations: + v = new(storage.RunBounceTrackingMitigationsReturns) + + case CommandStorageSetAttributionReportingLocalTestingMode: + return emptyVal, nil + + case CommandStorageSetAttributionReportingTracking: + return emptyVal, nil + case EventStorageCacheStorageContentUpdated: v = new(storage.EventCacheStorageContentUpdated) @@ -2637,6 +2730,15 @@ func UnmarshalMessage(msg *Message) (interface{}, error) { case EventStorageSharedStorageAccessed: v = new(storage.EventSharedStorageAccessed) + case EventStorageStorageBucketCreatedOrUpdated: + v = new(storage.EventStorageBucketCreatedOrUpdated) + + case EventStorageStorageBucketDeleted: + v = new(storage.EventStorageBucketDeleted) + + case EventStorageAttributionReportingSourceRegistered: + v = new(storage.EventAttributionReportingSourceRegistered) + case CommandSystemInfoGetInfo: v = new(systeminfo.GetInfoReturns) diff --git a/vendor/github.com/chromedp/cdproto/css/css.go b/vendor/github.com/chromedp/cdproto/css/css.go index db11fa9cd6..d2e6442e7f 100644 --- a/vendor/github.com/chromedp/cdproto/css/css.go +++ b/vendor/github.com/chromedp/cdproto/css/css.go @@ -361,14 +361,17 @@ func GetMatchedStylesForNode(nodeID cdp.NodeID) *GetMatchedStylesForNodeParams { // GetMatchedStylesForNodeReturns return values. type GetMatchedStylesForNodeReturns struct { - InlineStyle *Style `json:"inlineStyle,omitempty"` // Inline style for the specified DOM node. - AttributesStyle *Style `json:"attributesStyle,omitempty"` // Attribute-defined element style (e.g. resulting from "width=20 height=100%"). - MatchedCSSRules []*RuleMatch `json:"matchedCSSRules,omitempty"` // CSS rules matching this node, from all applicable stylesheets. - PseudoElements []*PseudoElementMatches `json:"pseudoElements,omitempty"` // Pseudo style matches for this node. - Inherited []*InheritedStyleEntry `json:"inherited,omitempty"` // A chain of inherited styles (from the immediate node parent up to the DOM tree root). - InheritedPseudoElements []*InheritedPseudoElementMatches `json:"inheritedPseudoElements,omitempty"` // A chain of inherited pseudo element styles (from the immediate node parent up to the DOM tree root). - CSSKeyframesRules []*KeyframesRule `json:"cssKeyframesRules,omitempty"` // A list of CSS keyframed animations matching this node. - ParentLayoutNodeID cdp.NodeID `json:"parentLayoutNodeId,omitempty"` // Id of the first parent element that does not have display: contents. + InlineStyle *Style `json:"inlineStyle,omitempty"` // Inline style for the specified DOM node. + AttributesStyle *Style `json:"attributesStyle,omitempty"` // Attribute-defined element style (e.g. resulting from "width=20 height=100%"). + MatchedCSSRules []*RuleMatch `json:"matchedCSSRules,omitempty"` // CSS rules matching this node, from all applicable stylesheets. + PseudoElements []*PseudoElementMatches `json:"pseudoElements,omitempty"` // Pseudo style matches for this node. + Inherited []*InheritedStyleEntry `json:"inherited,omitempty"` // A chain of inherited styles (from the immediate node parent up to the DOM tree root). + InheritedPseudoElements []*InheritedPseudoElementMatches `json:"inheritedPseudoElements,omitempty"` // A chain of inherited pseudo element styles (from the immediate node parent up to the DOM tree root). + CSSKeyframesRules []*KeyframesRule `json:"cssKeyframesRules,omitempty"` // A list of CSS keyframed animations matching this node. + CSSPositionFallbackRules []*PositionFallbackRule `json:"cssPositionFallbackRules,omitempty"` // A list of CSS position fallbacks matching this node. + CSSPropertyRules []*PropertyRule `json:"cssPropertyRules,omitempty"` // A list of CSS at-property rules matching this node. + CSSPropertyRegistrations []*PropertyRegistration `json:"cssPropertyRegistrations,omitempty"` // A list of CSS property registrations matching this node. + ParentLayoutNodeID cdp.NodeID `json:"parentLayoutNodeId,omitempty"` // Id of the first parent element that does not have display: contents. } // Do executes CSS.getMatchedStylesForNode against the provided context. @@ -382,16 +385,19 @@ type GetMatchedStylesForNodeReturns struct { // inherited - A chain of inherited styles (from the immediate node parent up to the DOM tree root). // inheritedPseudoElements - A chain of inherited pseudo element styles (from the immediate node parent up to the DOM tree root). // cssKeyframesRules - A list of CSS keyframed animations matching this node. +// cssPositionFallbackRules - A list of CSS position fallbacks matching this node. +// cssPropertyRules - A list of CSS at-property rules matching this node. +// cssPropertyRegistrations - A list of CSS property registrations matching this node. // parentLayoutNodeID - Id of the first parent element that does not have display: contents. -func (p *GetMatchedStylesForNodeParams) Do(ctx context.Context) (inlineStyle *Style, attributesStyle *Style, matchedCSSRules []*RuleMatch, pseudoElements []*PseudoElementMatches, inherited []*InheritedStyleEntry, inheritedPseudoElements []*InheritedPseudoElementMatches, cssKeyframesRules []*KeyframesRule, parentLayoutNodeID cdp.NodeID, err error) { +func (p *GetMatchedStylesForNodeParams) Do(ctx context.Context) (inlineStyle *Style, attributesStyle *Style, matchedCSSRules []*RuleMatch, pseudoElements []*PseudoElementMatches, inherited []*InheritedStyleEntry, inheritedPseudoElements []*InheritedPseudoElementMatches, cssKeyframesRules []*KeyframesRule, cssPositionFallbackRules []*PositionFallbackRule, cssPropertyRules []*PropertyRule, cssPropertyRegistrations []*PropertyRegistration, parentLayoutNodeID cdp.NodeID, err error) { // execute var res GetMatchedStylesForNodeReturns err = cdp.Execute(ctx, CommandGetMatchedStylesForNode, p, &res) if err != nil { - return nil, nil, nil, nil, nil, nil, nil, 0, err + return nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, 0, err } - return res.InlineStyle, res.AttributesStyle, res.MatchedCSSRules, res.PseudoElements, res.Inherited, res.InheritedPseudoElements, res.CSSKeyframesRules, res.ParentLayoutNodeID, nil + return res.InlineStyle, res.AttributesStyle, res.MatchedCSSRules, res.PseudoElements, res.Inherited, res.InheritedPseudoElements, res.CSSKeyframesRules, res.CSSPositionFallbackRules, res.CSSPropertyRules, res.CSSPropertyRegistrations, res.ParentLayoutNodeID, nil } // GetMediaQueriesParams returns all media queries parsed by the rendering @@ -654,6 +660,52 @@ func (p *SetEffectivePropertyValueForNodeParams) Do(ctx context.Context) (err er return cdp.Execute(ctx, CommandSetEffectivePropertyValueForNode, p, nil) } +// SetPropertyRulePropertyNameParams modifies the property rule property +// name. +type SetPropertyRulePropertyNameParams struct { + StyleSheetID StyleSheetID `json:"styleSheetId"` + Range *SourceRange `json:"range"` + PropertyName string `json:"propertyName"` +} + +// SetPropertyRulePropertyName modifies the property rule property name. +// +// See: https://chromedevtools.github.io/devtools-protocol/tot/CSS#method-setPropertyRulePropertyName +// +// parameters: +// +// styleSheetID +// range +// propertyName +func SetPropertyRulePropertyName(styleSheetID StyleSheetID, rangeVal *SourceRange, propertyName string) *SetPropertyRulePropertyNameParams { + return &SetPropertyRulePropertyNameParams{ + StyleSheetID: styleSheetID, + Range: rangeVal, + PropertyName: propertyName, + } +} + +// SetPropertyRulePropertyNameReturns return values. +type SetPropertyRulePropertyNameReturns struct { + PropertyName *Value `json:"propertyName,omitempty"` // The resulting key text after modification. +} + +// Do executes CSS.setPropertyRulePropertyName against the provided context. +// +// returns: +// +// propertyName - The resulting key text after modification. +func (p *SetPropertyRulePropertyNameParams) Do(ctx context.Context) (propertyName *Value, err error) { + // execute + var res SetPropertyRulePropertyNameReturns + err = cdp.Execute(ctx, CommandSetPropertyRulePropertyName, p, &res) + if err != nil { + return nil, err + } + + return res.PropertyName, nil +} + // SetKeyframeKeyParams modifies the keyframe rule key text. type SetKeyframeKeyParams struct { StyleSheetID StyleSheetID `json:"styleSheetId"` @@ -1136,6 +1188,7 @@ const ( CommandTrackComputedStyleUpdates = "CSS.trackComputedStyleUpdates" CommandTakeComputedStyleUpdates = "CSS.takeComputedStyleUpdates" CommandSetEffectivePropertyValueForNode = "CSS.setEffectivePropertyValueForNode" + CommandSetPropertyRulePropertyName = "CSS.setPropertyRulePropertyName" CommandSetKeyframeKey = "CSS.setKeyframeKey" CommandSetMediaText = "CSS.setMediaText" CommandSetContainerQueryText = "CSS.setContainerQueryText" diff --git a/vendor/github.com/chromedp/cdproto/css/easyjson.go b/vendor/github.com/chromedp/cdproto/css/easyjson.go index f1865710d8..40dd7962f9 100644 --- a/vendor/github.com/chromedp/cdproto/css/easyjson.go +++ b/vendor/github.com/chromedp/cdproto/css/easyjson.go @@ -49,6 +49,16 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss(in *jlexer.Lexer, out *Va } (*out.Range).UnmarshalEasyJSON(in) } + case "specificity": + if in.IsNull() { + in.Skip() + out.Specificity = nil + } else { + if out.Specificity == nil { + out.Specificity = new(Specificity) + } + (*out.Specificity).UnmarshalEasyJSON(in) + } default: in.SkipRecursive() } @@ -73,6 +83,11 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss(out *jwriter.Writer, in V out.RawString(prefix) (*in.Range).MarshalEasyJSON(out) } + if in.Specificity != nil { + const prefix string = ",\"specificity\":" + out.RawString(prefix) + (*in.Specificity).MarshalEasyJSON(out) + } out.RawByte('}') } @@ -99,7 +114,105 @@ func (v *Value) UnmarshalJSON(data []byte) error { func (v *Value) UnmarshalEasyJSON(l *jlexer.Lexer) { easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss1(in *jlexer.Lexer, out *TrackComputedStyleUpdatesParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss1(in *jlexer.Lexer, out *TryRule) { + 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 "styleSheetId": + out.StyleSheetID = StyleSheetID(in.String()) + case "origin": + (out.Origin).UnmarshalEasyJSON(in) + case "style": + if in.IsNull() { + in.Skip() + out.Style = nil + } else { + if out.Style == nil { + out.Style = new(Style) + } + (*out.Style).UnmarshalEasyJSON(in) + } + default: + in.SkipRecursive() + } + in.WantComma() + } + in.Delim('}') + if isTopLevel { + in.Consumed() + } +} +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss1(out *jwriter.Writer, in TryRule) { + out.RawByte('{') + first := true + _ = first + if in.StyleSheetID != "" { + const prefix string = ",\"styleSheetId\":" + first = false + out.RawString(prefix[1:]) + out.String(string(in.StyleSheetID)) + } + { + const prefix string = ",\"origin\":" + if first { + first = false + out.RawString(prefix[1:]) + } else { + out.RawString(prefix) + } + (in.Origin).MarshalEasyJSON(out) + } + { + const prefix string = ",\"style\":" + out.RawString(prefix) + if in.Style == nil { + out.RawString("null") + } else { + (*in.Style).MarshalEasyJSON(out) + } + } + out.RawByte('}') +} + +// MarshalJSON supports json.Marshaler interface +func (v TryRule) MarshalJSON() ([]byte, error) { + w := jwriter.Writer{} + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss1(&w, v) + return w.Buffer.BuildBytes(), w.Error +} + +// MarshalEasyJSON supports easyjson.Marshaler interface +func (v TryRule) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss1(w, v) +} + +// UnmarshalJSON supports json.Unmarshaler interface +func (v *TryRule) UnmarshalJSON(data []byte) error { + r := jlexer.Lexer{Data: data} + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss1(&r, v) + return r.Error() +} + +// UnmarshalEasyJSON supports easyjson.Unmarshaler interface +func (v *TryRule) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss1(l, v) +} +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss2(in *jlexer.Lexer, out *TrackComputedStyleUpdatesParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -159,7 +272,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss1(in *jlexer.Lexer, out *T in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss1(out *jwriter.Writer, in TrackComputedStyleUpdatesParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss2(out *jwriter.Writer, in TrackComputedStyleUpdatesParams) { out.RawByte('{') first := true _ = first @@ -189,27 +302,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss1(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v TrackComputedStyleUpdatesParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss1(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss2(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v TrackComputedStyleUpdatesParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss1(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss2(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *TrackComputedStyleUpdatesParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss1(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss2(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *TrackComputedStyleUpdatesParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss1(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss2(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss2(in *jlexer.Lexer, out *TakeCoverageDeltaReturns) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss3(in *jlexer.Lexer, out *TakeCoverageDeltaReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -271,7 +384,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss2(in *jlexer.Lexer, out *T in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss2(out *jwriter.Writer, in TakeCoverageDeltaReturns) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss3(out *jwriter.Writer, in TakeCoverageDeltaReturns) { out.RawByte('{') first := true _ = first @@ -310,27 +423,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss2(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v TakeCoverageDeltaReturns) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss2(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss3(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v TakeCoverageDeltaReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss2(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss3(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *TakeCoverageDeltaReturns) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss2(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss3(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *TakeCoverageDeltaReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss2(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss3(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss3(in *jlexer.Lexer, out *TakeCoverageDeltaParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss4(in *jlexer.Lexer, out *TakeCoverageDeltaParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -359,7 +472,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss3(in *jlexer.Lexer, out *T in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss3(out *jwriter.Writer, in TakeCoverageDeltaParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss4(out *jwriter.Writer, in TakeCoverageDeltaParams) { out.RawByte('{') first := true _ = first @@ -369,27 +482,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss3(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v TakeCoverageDeltaParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss3(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss4(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v TakeCoverageDeltaParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss3(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss4(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *TakeCoverageDeltaParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss3(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss4(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *TakeCoverageDeltaParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss3(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss4(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss4(in *jlexer.Lexer, out *TakeComputedStyleUpdatesReturns) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss5(in *jlexer.Lexer, out *TakeComputedStyleUpdatesReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -441,7 +554,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss4(in *jlexer.Lexer, out *T in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss4(out *jwriter.Writer, in TakeComputedStyleUpdatesReturns) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss5(out *jwriter.Writer, in TakeComputedStyleUpdatesReturns) { out.RawByte('{') first := true _ = first @@ -466,27 +579,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss4(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v TakeComputedStyleUpdatesReturns) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss4(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss5(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v TakeComputedStyleUpdatesReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss4(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss5(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *TakeComputedStyleUpdatesReturns) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss4(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss5(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *TakeComputedStyleUpdatesReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss4(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss5(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss5(in *jlexer.Lexer, out *TakeComputedStyleUpdatesParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss6(in *jlexer.Lexer, out *TakeComputedStyleUpdatesParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -515,7 +628,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss5(in *jlexer.Lexer, out *T in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss5(out *jwriter.Writer, in TakeComputedStyleUpdatesParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss6(out *jwriter.Writer, in TakeComputedStyleUpdatesParams) { out.RawByte('{') first := true _ = first @@ -525,27 +638,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss5(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v TakeComputedStyleUpdatesParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss5(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss6(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v TakeComputedStyleUpdatesParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss5(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss6(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *TakeComputedStyleUpdatesParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss5(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss6(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *TakeComputedStyleUpdatesParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss5(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss6(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss6(in *jlexer.Lexer, out *Supports) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss7(in *jlexer.Lexer, out *Supports) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -590,7 +703,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss6(in *jlexer.Lexer, out *S in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss6(out *jwriter.Writer, in Supports) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss7(out *jwriter.Writer, in Supports) { out.RawByte('{') first := true _ = first @@ -620,27 +733,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss6(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v Supports) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss6(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss7(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v Supports) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss6(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss7(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *Supports) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss6(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss7(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *Supports) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss6(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss7(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss7(in *jlexer.Lexer, out *StyleSheetHeader) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss8(in *jlexer.Lexer, out *StyleSheetHeader) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -693,6 +806,8 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss7(in *jlexer.Lexer, out *S out.EndLine = float64(in.Float64()) case "endColumn": out.EndColumn = float64(in.Float64()) + case "loadingFailed": + out.LoadingFailed = bool(in.Bool()) default: in.SkipRecursive() } @@ -703,7 +818,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss7(in *jlexer.Lexer, out *S in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss7(out *jwriter.Writer, in StyleSheetHeader) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss8(out *jwriter.Writer, in StyleSheetHeader) { out.RawByte('{') first := true _ = first @@ -792,33 +907,38 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss7(out *jwriter.Writer, in out.RawString(prefix) out.Float64(float64(in.EndColumn)) } + if in.LoadingFailed { + const prefix string = ",\"loadingFailed\":" + out.RawString(prefix) + out.Bool(bool(in.LoadingFailed)) + } out.RawByte('}') } // MarshalJSON supports json.Marshaler interface func (v StyleSheetHeader) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss7(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss8(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v StyleSheetHeader) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss7(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss8(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *StyleSheetHeader) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss7(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss8(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *StyleSheetHeader) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss7(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss8(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss8(in *jlexer.Lexer, out *StyleDeclarationEdit) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss9(in *jlexer.Lexer, out *StyleDeclarationEdit) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -861,7 +981,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss8(in *jlexer.Lexer, out *S in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss8(out *jwriter.Writer, in StyleDeclarationEdit) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss9(out *jwriter.Writer, in StyleDeclarationEdit) { out.RawByte('{') first := true _ = first @@ -890,27 +1010,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss8(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v StyleDeclarationEdit) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss8(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss9(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v StyleDeclarationEdit) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss8(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss9(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *StyleDeclarationEdit) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss8(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss9(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *StyleDeclarationEdit) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss8(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss9(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss9(in *jlexer.Lexer, out *Style) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss10(in *jlexer.Lexer, out *Style) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1015,7 +1135,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss9(in *jlexer.Lexer, out *S in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss9(out *jwriter.Writer, in Style) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss10(out *jwriter.Writer, in Style) { out.RawByte('{') first := true _ = first @@ -1086,27 +1206,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss9(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v Style) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss9(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss10(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v Style) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss9(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss10(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *Style) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss9(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss10(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *Style) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss9(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss10(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss10(in *jlexer.Lexer, out *StopRuleUsageTrackingReturns) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss11(in *jlexer.Lexer, out *StopRuleUsageTrackingReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1166,7 +1286,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss10(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss10(out *jwriter.Writer, in StopRuleUsageTrackingReturns) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss11(out *jwriter.Writer, in StopRuleUsageTrackingReturns) { out.RawByte('{') first := true _ = first @@ -1195,27 +1315,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss10(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v StopRuleUsageTrackingReturns) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss10(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss11(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v StopRuleUsageTrackingReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss10(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss11(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *StopRuleUsageTrackingReturns) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss10(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss11(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *StopRuleUsageTrackingReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss10(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss11(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss11(in *jlexer.Lexer, out *StopRuleUsageTrackingParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss12(in *jlexer.Lexer, out *StopRuleUsageTrackingParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1244,7 +1364,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss11(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss11(out *jwriter.Writer, in StopRuleUsageTrackingParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss12(out *jwriter.Writer, in StopRuleUsageTrackingParams) { out.RawByte('{') first := true _ = first @@ -1254,27 +1374,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss11(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v StopRuleUsageTrackingParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss11(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss12(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v StopRuleUsageTrackingParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss11(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss12(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *StopRuleUsageTrackingParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss11(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss12(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *StopRuleUsageTrackingParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss11(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss12(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss12(in *jlexer.Lexer, out *StartRuleUsageTrackingParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss13(in *jlexer.Lexer, out *StartRuleUsageTrackingParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1303,7 +1423,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss12(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss12(out *jwriter.Writer, in StartRuleUsageTrackingParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss13(out *jwriter.Writer, in StartRuleUsageTrackingParams) { out.RawByte('{') first := true _ = first @@ -1313,27 +1433,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss12(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v StartRuleUsageTrackingParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss12(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss13(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v StartRuleUsageTrackingParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss12(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss13(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *StartRuleUsageTrackingParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss12(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss13(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *StartRuleUsageTrackingParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss12(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss13(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss13(in *jlexer.Lexer, out *SourceRange) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss14(in *jlexer.Lexer, out *Specificity) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1352,14 +1472,12 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss13(in *jlexer.Lexer, out * continue } switch key { - case "startLine": - out.StartLine = int64(in.Int64()) - case "startColumn": - out.StartColumn = int64(in.Int64()) - case "endLine": - out.EndLine = int64(in.Int64()) - case "endColumn": - out.EndColumn = int64(in.Int64()) + case "a": + out.A = int64(in.Int64()) + case "b": + out.B = int64(in.Int64()) + case "c": + out.C = int64(in.Int64()) default: in.SkipRecursive() } @@ -1370,57 +1488,52 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss13(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss13(out *jwriter.Writer, in SourceRange) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss14(out *jwriter.Writer, in Specificity) { out.RawByte('{') first := true _ = first { - const prefix string = ",\"startLine\":" + const prefix string = ",\"a\":" out.RawString(prefix[1:]) - out.Int64(int64(in.StartLine)) - } - { - const prefix string = ",\"startColumn\":" - out.RawString(prefix) - out.Int64(int64(in.StartColumn)) + out.Int64(int64(in.A)) } { - const prefix string = ",\"endLine\":" + const prefix string = ",\"b\":" out.RawString(prefix) - out.Int64(int64(in.EndLine)) + out.Int64(int64(in.B)) } { - const prefix string = ",\"endColumn\":" + const prefix string = ",\"c\":" out.RawString(prefix) - out.Int64(int64(in.EndColumn)) + out.Int64(int64(in.C)) } out.RawByte('}') } // MarshalJSON supports json.Marshaler interface -func (v SourceRange) MarshalJSON() ([]byte, error) { +func (v Specificity) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss13(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss14(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface -func (v SourceRange) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss13(w, v) +func (v Specificity) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss14(w, v) } // UnmarshalJSON supports json.Unmarshaler interface -func (v *SourceRange) UnmarshalJSON(data []byte) error { +func (v *Specificity) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss13(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss14(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface -func (v *SourceRange) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss13(l, v) +func (v *Specificity) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss14(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss14(in *jlexer.Lexer, out *ShorthandEntry) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss15(in *jlexer.Lexer, out *SourceRange) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1439,12 +1552,14 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss14(in *jlexer.Lexer, out * continue } switch key { - case "name": - out.Name = string(in.String()) - case "value": - out.Value = string(in.String()) - case "important": - out.Important = bool(in.Bool()) + case "startLine": + out.StartLine = int64(in.Int64()) + case "startColumn": + out.StartColumn = int64(in.Int64()) + case "endLine": + out.EndLine = int64(in.Int64()) + case "endColumn": + out.EndColumn = int64(in.Int64()) default: in.SkipRecursive() } @@ -1455,24 +1570,109 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss14(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss14(out *jwriter.Writer, in ShorthandEntry) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss15(out *jwriter.Writer, in SourceRange) { out.RawByte('{') first := true _ = first { - const prefix string = ",\"name\":" + const prefix string = ",\"startLine\":" out.RawString(prefix[1:]) - out.String(string(in.Name)) + out.Int64(int64(in.StartLine)) } { - const prefix string = ",\"value\":" + const prefix string = ",\"startColumn\":" out.RawString(prefix) - out.String(string(in.Value)) + out.Int64(int64(in.StartColumn)) } - if in.Important { - const prefix string = ",\"important\":" + { + const prefix string = ",\"endLine\":" out.RawString(prefix) - out.Bool(bool(in.Important)) + out.Int64(int64(in.EndLine)) + } + { + const prefix string = ",\"endColumn\":" + out.RawString(prefix) + out.Int64(int64(in.EndColumn)) + } + out.RawByte('}') +} + +// MarshalJSON supports json.Marshaler interface +func (v SourceRange) MarshalJSON() ([]byte, error) { + w := jwriter.Writer{} + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss15(&w, v) + return w.Buffer.BuildBytes(), w.Error +} + +// MarshalEasyJSON supports easyjson.Marshaler interface +func (v SourceRange) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss15(w, v) +} + +// UnmarshalJSON supports json.Unmarshaler interface +func (v *SourceRange) UnmarshalJSON(data []byte) error { + r := jlexer.Lexer{Data: data} + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss15(&r, v) + return r.Error() +} + +// UnmarshalEasyJSON supports easyjson.Unmarshaler interface +func (v *SourceRange) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss15(l, v) +} +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss16(in *jlexer.Lexer, out *ShorthandEntry) { + 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 "value": + out.Value = string(in.String()) + case "important": + out.Important = bool(in.Bool()) + default: + in.SkipRecursive() + } + in.WantComma() + } + in.Delim('}') + if isTopLevel { + in.Consumed() + } +} +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss16(out *jwriter.Writer, in ShorthandEntry) { + out.RawByte('{') + first := true + _ = first + { + const prefix string = ",\"name\":" + out.RawString(prefix[1:]) + out.String(string(in.Name)) + } + { + const prefix string = ",\"value\":" + out.RawString(prefix) + out.String(string(in.Value)) + } + if in.Important { + const prefix string = ",\"important\":" + out.RawString(prefix) + out.Bool(bool(in.Important)) } out.RawByte('}') } @@ -1480,27 +1680,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss14(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v ShorthandEntry) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss14(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss16(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v ShorthandEntry) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss14(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss16(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *ShorthandEntry) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss14(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss16(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *ShorthandEntry) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss14(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss16(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss15(in *jlexer.Lexer, out *SetSupportsTextReturns) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss17(in *jlexer.Lexer, out *SetSupportsTextReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1539,7 +1739,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss15(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss15(out *jwriter.Writer, in SetSupportsTextReturns) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss17(out *jwriter.Writer, in SetSupportsTextReturns) { out.RawByte('{') first := true _ = first @@ -1555,27 +1755,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss15(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v SetSupportsTextReturns) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss15(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss17(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v SetSupportsTextReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss15(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss17(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *SetSupportsTextReturns) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss15(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss17(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *SetSupportsTextReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss15(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss17(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss16(in *jlexer.Lexer, out *SetSupportsTextParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss18(in *jlexer.Lexer, out *SetSupportsTextParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1618,7 +1818,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss16(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss16(out *jwriter.Writer, in SetSupportsTextParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss18(out *jwriter.Writer, in SetSupportsTextParams) { out.RawByte('{') first := true _ = first @@ -1647,27 +1847,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss16(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v SetSupportsTextParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss16(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss18(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v SetSupportsTextParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss16(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss18(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *SetSupportsTextParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss16(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss18(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *SetSupportsTextParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss16(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss18(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss17(in *jlexer.Lexer, out *SetStyleTextsReturns) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss19(in *jlexer.Lexer, out *SetStyleTextsReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1727,7 +1927,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss17(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss17(out *jwriter.Writer, in SetStyleTextsReturns) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss19(out *jwriter.Writer, in SetStyleTextsReturns) { out.RawByte('{') first := true _ = first @@ -1756,27 +1956,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss17(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v SetStyleTextsReturns) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss17(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss19(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v SetStyleTextsReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss17(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss19(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *SetStyleTextsReturns) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss17(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss19(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *SetStyleTextsReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss17(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss19(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss18(in *jlexer.Lexer, out *SetStyleTextsParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss20(in *jlexer.Lexer, out *SetStyleTextsParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1836,7 +2036,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss18(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss18(out *jwriter.Writer, in SetStyleTextsParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss20(out *jwriter.Writer, in SetStyleTextsParams) { out.RawByte('{') first := true _ = first @@ -1866,27 +2066,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss18(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v SetStyleTextsParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss18(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss20(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v SetStyleTextsParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss18(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss20(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *SetStyleTextsParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss18(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss20(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *SetStyleTextsParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss18(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss20(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss19(in *jlexer.Lexer, out *SetStyleSheetTextReturns) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss21(in *jlexer.Lexer, out *SetStyleSheetTextReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1917,7 +2117,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss19(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss19(out *jwriter.Writer, in SetStyleSheetTextReturns) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss21(out *jwriter.Writer, in SetStyleSheetTextReturns) { out.RawByte('{') first := true _ = first @@ -1933,27 +2133,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss19(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v SetStyleSheetTextReturns) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss19(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss21(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v SetStyleSheetTextReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss19(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss21(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *SetStyleSheetTextReturns) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss19(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss21(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *SetStyleSheetTextReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss19(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss21(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss20(in *jlexer.Lexer, out *SetStyleSheetTextParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss22(in *jlexer.Lexer, out *SetStyleSheetTextParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1986,7 +2186,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss20(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss20(out *jwriter.Writer, in SetStyleSheetTextParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss22(out *jwriter.Writer, in SetStyleSheetTextParams) { out.RawByte('{') first := true _ = first @@ -2006,27 +2206,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss20(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v SetStyleSheetTextParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss20(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss22(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v SetStyleSheetTextParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss20(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss22(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *SetStyleSheetTextParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss20(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss22(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *SetStyleSheetTextParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss20(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss22(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss21(in *jlexer.Lexer, out *SetScopeTextReturns) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss23(in *jlexer.Lexer, out *SetScopeTextReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2065,7 +2265,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss21(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss21(out *jwriter.Writer, in SetScopeTextReturns) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss23(out *jwriter.Writer, in SetScopeTextReturns) { out.RawByte('{') first := true _ = first @@ -2081,27 +2281,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss21(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v SetScopeTextReturns) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss21(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss23(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v SetScopeTextReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss21(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss23(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *SetScopeTextReturns) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss21(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss23(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *SetScopeTextReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss21(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss23(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss22(in *jlexer.Lexer, out *SetScopeTextParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss24(in *jlexer.Lexer, out *SetScopeTextParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2144,7 +2344,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss22(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss22(out *jwriter.Writer, in SetScopeTextParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss24(out *jwriter.Writer, in SetScopeTextParams) { out.RawByte('{') first := true _ = first @@ -2173,27 +2373,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss22(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v SetScopeTextParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss22(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss24(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v SetScopeTextParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss22(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss24(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *SetScopeTextParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss22(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss24(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *SetScopeTextParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss22(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss24(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss23(in *jlexer.Lexer, out *SetRuleSelectorReturns) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss25(in *jlexer.Lexer, out *SetRuleSelectorReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2232,7 +2432,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss23(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss23(out *jwriter.Writer, in SetRuleSelectorReturns) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss25(out *jwriter.Writer, in SetRuleSelectorReturns) { out.RawByte('{') first := true _ = first @@ -2248,27 +2448,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss23(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v SetRuleSelectorReturns) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss23(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss25(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v SetRuleSelectorReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss23(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss25(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *SetRuleSelectorReturns) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss23(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss25(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *SetRuleSelectorReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss23(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss25(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss24(in *jlexer.Lexer, out *SetRuleSelectorParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss26(in *jlexer.Lexer, out *SetRuleSelectorParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2311,7 +2511,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss24(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss24(out *jwriter.Writer, in SetRuleSelectorParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss26(out *jwriter.Writer, in SetRuleSelectorParams) { out.RawByte('{') first := true _ = first @@ -2340,27 +2540,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss24(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v SetRuleSelectorParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss24(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss26(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v SetRuleSelectorParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss24(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss26(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *SetRuleSelectorParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss24(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss26(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *SetRuleSelectorParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss24(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss26(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss25(in *jlexer.Lexer, out *SetMediaTextReturns) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss27(in *jlexer.Lexer, out *SetPropertyRulePropertyNameReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2379,15 +2579,15 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss25(in *jlexer.Lexer, out * continue } switch key { - case "media": + case "propertyName": if in.IsNull() { in.Skip() - out.Media = nil + out.PropertyName = nil } else { - if out.Media == nil { - out.Media = new(Media) + if out.PropertyName == nil { + out.PropertyName = new(Value) } - (*out.Media).UnmarshalEasyJSON(in) + (*out.PropertyName).UnmarshalEasyJSON(in) } default: in.SkipRecursive() @@ -2399,43 +2599,43 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss25(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss25(out *jwriter.Writer, in SetMediaTextReturns) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss27(out *jwriter.Writer, in SetPropertyRulePropertyNameReturns) { out.RawByte('{') first := true _ = first - if in.Media != nil { - const prefix string = ",\"media\":" + if in.PropertyName != nil { + const prefix string = ",\"propertyName\":" first = false out.RawString(prefix[1:]) - (*in.Media).MarshalEasyJSON(out) + (*in.PropertyName).MarshalEasyJSON(out) } out.RawByte('}') } // MarshalJSON supports json.Marshaler interface -func (v SetMediaTextReturns) MarshalJSON() ([]byte, error) { +func (v SetPropertyRulePropertyNameReturns) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss25(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss27(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface -func (v SetMediaTextReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss25(w, v) +func (v SetPropertyRulePropertyNameReturns) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss27(w, v) } // UnmarshalJSON supports json.Unmarshaler interface -func (v *SetMediaTextReturns) UnmarshalJSON(data []byte) error { +func (v *SetPropertyRulePropertyNameReturns) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss25(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss27(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface -func (v *SetMediaTextReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss25(l, v) +func (v *SetPropertyRulePropertyNameReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss27(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss26(in *jlexer.Lexer, out *SetMediaTextParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss28(in *jlexer.Lexer, out *SetPropertyRulePropertyNameParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2466,8 +2666,8 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss26(in *jlexer.Lexer, out * } (*out.Range).UnmarshalEasyJSON(in) } - case "text": - out.Text = string(in.String()) + case "propertyName": + out.PropertyName = string(in.String()) default: in.SkipRecursive() } @@ -2478,7 +2678,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss26(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss26(out *jwriter.Writer, in SetMediaTextParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss28(out *jwriter.Writer, in SetPropertyRulePropertyNameParams) { out.RawByte('{') first := true _ = first @@ -2497,37 +2697,37 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss26(out *jwriter.Writer, in } } { - const prefix string = ",\"text\":" + const prefix string = ",\"propertyName\":" out.RawString(prefix) - out.String(string(in.Text)) + out.String(string(in.PropertyName)) } out.RawByte('}') } // MarshalJSON supports json.Marshaler interface -func (v SetMediaTextParams) MarshalJSON() ([]byte, error) { +func (v SetPropertyRulePropertyNameParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss26(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss28(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface -func (v SetMediaTextParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss26(w, v) +func (v SetPropertyRulePropertyNameParams) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss28(w, v) } // UnmarshalJSON supports json.Unmarshaler interface -func (v *SetMediaTextParams) UnmarshalJSON(data []byte) error { +func (v *SetPropertyRulePropertyNameParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss26(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss28(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface -func (v *SetMediaTextParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss26(l, v) +func (v *SetPropertyRulePropertyNameParams) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss28(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss27(in *jlexer.Lexer, out *SetLocalFontsEnabledParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss29(in *jlexer.Lexer, out *SetMediaTextReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2546,8 +2746,16 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss27(in *jlexer.Lexer, out * continue } switch key { - case "enabled": - out.Enabled = bool(in.Bool()) + case "media": + if in.IsNull() { + in.Skip() + out.Media = nil + } else { + if out.Media == nil { + out.Media = new(Media) + } + (*out.Media).UnmarshalEasyJSON(in) + } default: in.SkipRecursive() } @@ -2558,42 +2766,43 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss27(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss27(out *jwriter.Writer, in SetLocalFontsEnabledParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss29(out *jwriter.Writer, in SetMediaTextReturns) { out.RawByte('{') first := true _ = first - { - const prefix string = ",\"enabled\":" + if in.Media != nil { + const prefix string = ",\"media\":" + first = false out.RawString(prefix[1:]) - out.Bool(bool(in.Enabled)) + (*in.Media).MarshalEasyJSON(out) } out.RawByte('}') } // MarshalJSON supports json.Marshaler interface -func (v SetLocalFontsEnabledParams) MarshalJSON() ([]byte, error) { +func (v SetMediaTextReturns) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss27(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss29(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface -func (v SetLocalFontsEnabledParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss27(w, v) +func (v SetMediaTextReturns) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss29(w, v) } // UnmarshalJSON supports json.Unmarshaler interface -func (v *SetLocalFontsEnabledParams) UnmarshalJSON(data []byte) error { +func (v *SetMediaTextReturns) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss27(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss29(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface -func (v *SetLocalFontsEnabledParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss27(l, v) +func (v *SetMediaTextReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss29(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss28(in *jlexer.Lexer, out *SetKeyframeKeyReturns) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss30(in *jlexer.Lexer, out *SetMediaTextParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2612,13 +2821,171 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss28(in *jlexer.Lexer, out * continue } switch key { - case "keyText": + case "styleSheetId": + out.StyleSheetID = StyleSheetID(in.String()) + case "range": if in.IsNull() { in.Skip() - out.KeyText = nil + out.Range = nil } else { - if out.KeyText == nil { - out.KeyText = new(Value) + if out.Range == nil { + out.Range = new(SourceRange) + } + (*out.Range).UnmarshalEasyJSON(in) + } + case "text": + out.Text = string(in.String()) + default: + in.SkipRecursive() + } + in.WantComma() + } + in.Delim('}') + if isTopLevel { + in.Consumed() + } +} +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss30(out *jwriter.Writer, in SetMediaTextParams) { + out.RawByte('{') + first := true + _ = first + { + const prefix string = ",\"styleSheetId\":" + out.RawString(prefix[1:]) + out.String(string(in.StyleSheetID)) + } + { + const prefix string = ",\"range\":" + out.RawString(prefix) + if in.Range == nil { + out.RawString("null") + } else { + (*in.Range).MarshalEasyJSON(out) + } + } + { + const prefix string = ",\"text\":" + out.RawString(prefix) + out.String(string(in.Text)) + } + out.RawByte('}') +} + +// MarshalJSON supports json.Marshaler interface +func (v SetMediaTextParams) MarshalJSON() ([]byte, error) { + w := jwriter.Writer{} + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss30(&w, v) + return w.Buffer.BuildBytes(), w.Error +} + +// MarshalEasyJSON supports easyjson.Marshaler interface +func (v SetMediaTextParams) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss30(w, v) +} + +// UnmarshalJSON supports json.Unmarshaler interface +func (v *SetMediaTextParams) UnmarshalJSON(data []byte) error { + r := jlexer.Lexer{Data: data} + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss30(&r, v) + return r.Error() +} + +// UnmarshalEasyJSON supports easyjson.Unmarshaler interface +func (v *SetMediaTextParams) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss30(l, v) +} +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss31(in *jlexer.Lexer, out *SetLocalFontsEnabledParams) { + 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 "enabled": + out.Enabled = bool(in.Bool()) + default: + in.SkipRecursive() + } + in.WantComma() + } + in.Delim('}') + if isTopLevel { + in.Consumed() + } +} +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss31(out *jwriter.Writer, in SetLocalFontsEnabledParams) { + out.RawByte('{') + first := true + _ = first + { + const prefix string = ",\"enabled\":" + out.RawString(prefix[1:]) + out.Bool(bool(in.Enabled)) + } + out.RawByte('}') +} + +// MarshalJSON supports json.Marshaler interface +func (v SetLocalFontsEnabledParams) MarshalJSON() ([]byte, error) { + w := jwriter.Writer{} + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss31(&w, v) + return w.Buffer.BuildBytes(), w.Error +} + +// MarshalEasyJSON supports easyjson.Marshaler interface +func (v SetLocalFontsEnabledParams) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss31(w, v) +} + +// UnmarshalJSON supports json.Unmarshaler interface +func (v *SetLocalFontsEnabledParams) UnmarshalJSON(data []byte) error { + r := jlexer.Lexer{Data: data} + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss31(&r, v) + return r.Error() +} + +// UnmarshalEasyJSON supports easyjson.Unmarshaler interface +func (v *SetLocalFontsEnabledParams) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss31(l, v) +} +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss32(in *jlexer.Lexer, out *SetKeyframeKeyReturns) { + 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 "keyText": + if in.IsNull() { + in.Skip() + out.KeyText = nil + } else { + if out.KeyText == nil { + out.KeyText = new(Value) } (*out.KeyText).UnmarshalEasyJSON(in) } @@ -2632,7 +2999,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss28(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss28(out *jwriter.Writer, in SetKeyframeKeyReturns) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss32(out *jwriter.Writer, in SetKeyframeKeyReturns) { out.RawByte('{') first := true _ = first @@ -2648,27 +3015,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss28(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v SetKeyframeKeyReturns) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss28(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss32(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v SetKeyframeKeyReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss28(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss32(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *SetKeyframeKeyReturns) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss28(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss32(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *SetKeyframeKeyReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss28(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss32(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss29(in *jlexer.Lexer, out *SetKeyframeKeyParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss33(in *jlexer.Lexer, out *SetKeyframeKeyParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2711,7 +3078,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss29(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss29(out *jwriter.Writer, in SetKeyframeKeyParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss33(out *jwriter.Writer, in SetKeyframeKeyParams) { out.RawByte('{') first := true _ = first @@ -2740,27 +3107,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss29(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v SetKeyframeKeyParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss29(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss33(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v SetKeyframeKeyParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss29(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss33(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *SetKeyframeKeyParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss29(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss33(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *SetKeyframeKeyParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss29(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss33(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss30(in *jlexer.Lexer, out *SetEffectivePropertyValueForNodeParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss34(in *jlexer.Lexer, out *SetEffectivePropertyValueForNodeParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2795,7 +3162,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss30(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss30(out *jwriter.Writer, in SetEffectivePropertyValueForNodeParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss34(out *jwriter.Writer, in SetEffectivePropertyValueForNodeParams) { out.RawByte('{') first := true _ = first @@ -2820,27 +3187,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss30(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v SetEffectivePropertyValueForNodeParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss30(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss34(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v SetEffectivePropertyValueForNodeParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss30(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss34(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *SetEffectivePropertyValueForNodeParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss30(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss34(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *SetEffectivePropertyValueForNodeParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss30(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss34(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss31(in *jlexer.Lexer, out *SetContainerQueryTextReturns) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss35(in *jlexer.Lexer, out *SetContainerQueryTextReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2879,7 +3246,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss31(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss31(out *jwriter.Writer, in SetContainerQueryTextReturns) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss35(out *jwriter.Writer, in SetContainerQueryTextReturns) { out.RawByte('{') first := true _ = first @@ -2895,27 +3262,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss31(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v SetContainerQueryTextReturns) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss31(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss35(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v SetContainerQueryTextReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss31(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss35(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *SetContainerQueryTextReturns) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss31(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss35(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *SetContainerQueryTextReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss31(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss35(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss32(in *jlexer.Lexer, out *SetContainerQueryTextParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss36(in *jlexer.Lexer, out *SetContainerQueryTextParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2958,7 +3325,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss32(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss32(out *jwriter.Writer, in SetContainerQueryTextParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss36(out *jwriter.Writer, in SetContainerQueryTextParams) { out.RawByte('{') first := true _ = first @@ -2987,27 +3354,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss32(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v SetContainerQueryTextParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss32(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss36(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v SetContainerQueryTextParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss32(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss36(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *SetContainerQueryTextParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss32(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss36(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *SetContainerQueryTextParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss32(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss36(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss33(in *jlexer.Lexer, out *SelectorList) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss37(in *jlexer.Lexer, out *SelectorList) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -3069,7 +3436,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss33(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss33(out *jwriter.Writer, in SelectorList) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss37(out *jwriter.Writer, in SelectorList) { out.RawByte('{') first := true _ = first @@ -3104,27 +3471,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss33(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v SelectorList) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss33(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss37(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v SelectorList) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss33(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss37(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *SelectorList) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss33(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss37(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *SelectorList) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss33(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss37(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss34(in *jlexer.Lexer, out *Scope) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss38(in *jlexer.Lexer, out *Scope) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -3167,7 +3534,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss34(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss34(out *jwriter.Writer, in Scope) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss38(out *jwriter.Writer, in Scope) { out.RawByte('{') first := true _ = first @@ -3192,27 +3559,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss34(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v Scope) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss34(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss38(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v Scope) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss34(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss38(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *Scope) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss34(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss38(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *Scope) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss34(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss38(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss35(in *jlexer.Lexer, out *RuleUsage) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss39(in *jlexer.Lexer, out *RuleUsage) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -3249,7 +3616,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss35(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss35(out *jwriter.Writer, in RuleUsage) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss39(out *jwriter.Writer, in RuleUsage) { out.RawByte('{') first := true _ = first @@ -3279,27 +3646,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss35(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v RuleUsage) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss35(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss39(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v RuleUsage) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss35(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss39(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *RuleUsage) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss35(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss39(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *RuleUsage) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss35(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss39(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss36(in *jlexer.Lexer, out *RuleMatch) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss40(in *jlexer.Lexer, out *RuleMatch) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -3361,7 +3728,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss36(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss36(out *jwriter.Writer, in RuleMatch) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss40(out *jwriter.Writer, in RuleMatch) { out.RawByte('{') first := true _ = first @@ -3396,27 +3763,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss36(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v RuleMatch) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss36(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss40(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v RuleMatch) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss36(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss40(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *RuleMatch) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss36(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss40(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *RuleMatch) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss36(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss40(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss37(in *jlexer.Lexer, out *Rule) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss41(in *jlexer.Lexer, out *Rule) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -3447,6 +3814,29 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss37(in *jlexer.Lexer, out * } (*out.SelectorList).UnmarshalEasyJSON(in) } + case "nestingSelectors": + if in.IsNull() { + in.Skip() + out.NestingSelectors = nil + } else { + in.Delim('[') + if out.NestingSelectors == nil { + if !in.IsDelim(']') { + out.NestingSelectors = make([]string, 0, 4) + } else { + out.NestingSelectors = []string{} + } + } else { + out.NestingSelectors = (out.NestingSelectors)[:0] + } + for !in.IsDelim(']') { + var v31 string + v31 = string(in.String()) + out.NestingSelectors = append(out.NestingSelectors, v31) + in.WantComma() + } + in.Delim(']') + } case "origin": (out.Origin).UnmarshalEasyJSON(in) case "style": @@ -3475,17 +3865,17 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss37(in *jlexer.Lexer, out * out.Media = (out.Media)[:0] } for !in.IsDelim(']') { - var v31 *Media + var v32 *Media if in.IsNull() { in.Skip() - v31 = nil + v32 = nil } else { - if v31 == nil { - v31 = new(Media) + if v32 == nil { + v32 = new(Media) } - (*v31).UnmarshalEasyJSON(in) + (*v32).UnmarshalEasyJSON(in) } - out.Media = append(out.Media, v31) + out.Media = append(out.Media, v32) in.WantComma() } in.Delim(']') @@ -3506,17 +3896,17 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss37(in *jlexer.Lexer, out * out.ContainerQueries = (out.ContainerQueries)[:0] } for !in.IsDelim(']') { - var v32 *ContainerQuery + var v33 *ContainerQuery if in.IsNull() { in.Skip() - v32 = nil + v33 = nil } else { - if v32 == nil { - v32 = new(ContainerQuery) + if v33 == nil { + v33 = new(ContainerQuery) } - (*v32).UnmarshalEasyJSON(in) + (*v33).UnmarshalEasyJSON(in) } - out.ContainerQueries = append(out.ContainerQueries, v32) + out.ContainerQueries = append(out.ContainerQueries, v33) in.WantComma() } in.Delim(']') @@ -3537,17 +3927,17 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss37(in *jlexer.Lexer, out * out.Supports = (out.Supports)[:0] } for !in.IsDelim(']') { - var v33 *Supports + var v34 *Supports if in.IsNull() { in.Skip() - v33 = nil + v34 = nil } else { - if v33 == nil { - v33 = new(Supports) + if v34 == nil { + v34 = new(Supports) } - (*v33).UnmarshalEasyJSON(in) + (*v34).UnmarshalEasyJSON(in) } - out.Supports = append(out.Supports, v33) + out.Supports = append(out.Supports, v34) in.WantComma() } in.Delim(']') @@ -3568,17 +3958,17 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss37(in *jlexer.Lexer, out * out.Layers = (out.Layers)[:0] } for !in.IsDelim(']') { - var v34 *Layer + var v35 *Layer if in.IsNull() { in.Skip() - v34 = nil + v35 = nil } else { - if v34 == nil { - v34 = new(Layer) + if v35 == nil { + v35 = new(Layer) } - (*v34).UnmarshalEasyJSON(in) + (*v35).UnmarshalEasyJSON(in) } - out.Layers = append(out.Layers, v34) + out.Layers = append(out.Layers, v35) in.WantComma() } in.Delim(']') @@ -3599,17 +3989,40 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss37(in *jlexer.Lexer, out * out.Scopes = (out.Scopes)[:0] } for !in.IsDelim(']') { - var v35 *Scope + var v36 *Scope if in.IsNull() { in.Skip() - v35 = nil + v36 = nil } else { - if v35 == nil { - v35 = new(Scope) + if v36 == nil { + v36 = new(Scope) } - (*v35).UnmarshalEasyJSON(in) + (*v36).UnmarshalEasyJSON(in) + } + out.Scopes = append(out.Scopes, v36) + in.WantComma() + } + in.Delim(']') + } + case "ruleTypes": + if in.IsNull() { + in.Skip() + out.RuleTypes = nil + } else { + in.Delim('[') + if out.RuleTypes == nil { + if !in.IsDelim(']') { + out.RuleTypes = make([]RuleType, 0, 4) + } else { + out.RuleTypes = []RuleType{} } - out.Scopes = append(out.Scopes, v35) + } else { + out.RuleTypes = (out.RuleTypes)[:0] + } + for !in.IsDelim(']') { + var v37 RuleType + (v37).UnmarshalEasyJSON(in) + out.RuleTypes = append(out.RuleTypes, v37) in.WantComma() } in.Delim(']') @@ -3624,7 +4037,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss37(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss37(out *jwriter.Writer, in Rule) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss41(out *jwriter.Writer, in Rule) { out.RawByte('{') first := true _ = first @@ -3648,6 +4061,20 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss37(out *jwriter.Writer, in (*in.SelectorList).MarshalEasyJSON(out) } } + if len(in.NestingSelectors) != 0 { + const prefix string = ",\"nestingSelectors\":" + out.RawString(prefix) + { + out.RawByte('[') + for v38, v39 := range in.NestingSelectors { + if v38 > 0 { + out.RawByte(',') + } + out.String(string(v39)) + } + out.RawByte(']') + } + } { const prefix string = ",\"origin\":" out.RawString(prefix) @@ -3667,14 +4094,14 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss37(out *jwriter.Writer, in out.RawString(prefix) { out.RawByte('[') - for v36, v37 := range in.Media { - if v36 > 0 { + for v40, v41 := range in.Media { + if v40 > 0 { out.RawByte(',') } - if v37 == nil { + if v41 == nil { out.RawString("null") } else { - (*v37).MarshalEasyJSON(out) + (*v41).MarshalEasyJSON(out) } } out.RawByte(']') @@ -3685,14 +4112,14 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss37(out *jwriter.Writer, in out.RawString(prefix) { out.RawByte('[') - for v38, v39 := range in.ContainerQueries { - if v38 > 0 { + for v42, v43 := range in.ContainerQueries { + if v42 > 0 { out.RawByte(',') } - if v39 == nil { + if v43 == nil { out.RawString("null") } else { - (*v39).MarshalEasyJSON(out) + (*v43).MarshalEasyJSON(out) } } out.RawByte(']') @@ -3703,14 +4130,14 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss37(out *jwriter.Writer, in out.RawString(prefix) { out.RawByte('[') - for v40, v41 := range in.Supports { - if v40 > 0 { + for v44, v45 := range in.Supports { + if v44 > 0 { out.RawByte(',') } - if v41 == nil { + if v45 == nil { out.RawString("null") } else { - (*v41).MarshalEasyJSON(out) + (*v45).MarshalEasyJSON(out) } } out.RawByte(']') @@ -3721,14 +4148,14 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss37(out *jwriter.Writer, in out.RawString(prefix) { out.RawByte('[') - for v42, v43 := range in.Layers { - if v42 > 0 { + for v46, v47 := range in.Layers { + if v46 > 0 { out.RawByte(',') } - if v43 == nil { + if v47 == nil { out.RawString("null") } else { - (*v43).MarshalEasyJSON(out) + (*v47).MarshalEasyJSON(out) } } out.RawByte(']') @@ -3739,46 +4166,60 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss37(out *jwriter.Writer, in out.RawString(prefix) { out.RawByte('[') - for v44, v45 := range in.Scopes { - if v44 > 0 { + for v48, v49 := range in.Scopes { + if v48 > 0 { out.RawByte(',') } - if v45 == nil { + if v49 == nil { out.RawString("null") } else { - (*v45).MarshalEasyJSON(out) + (*v49).MarshalEasyJSON(out) } } out.RawByte(']') } } + if len(in.RuleTypes) != 0 { + const prefix string = ",\"ruleTypes\":" + out.RawString(prefix) + { + out.RawByte('[') + for v50, v51 := range in.RuleTypes { + if v50 > 0 { + out.RawByte(',') + } + (v51).MarshalEasyJSON(out) + } + out.RawByte(']') + } + } out.RawByte('}') } // MarshalJSON supports json.Marshaler interface func (v Rule) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss37(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss41(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v Rule) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss37(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss41(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *Rule) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss37(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss41(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *Rule) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss37(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss41(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss38(in *jlexer.Lexer, out *PseudoElementMatches) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss42(in *jlexer.Lexer, out *PseudoElementMatches) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -3817,17 +4258,17 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss38(in *jlexer.Lexer, out * out.Matches = (out.Matches)[:0] } for !in.IsDelim(']') { - var v46 *RuleMatch + var v52 *RuleMatch if in.IsNull() { in.Skip() - v46 = nil + v52 = nil } else { - if v46 == nil { - v46 = new(RuleMatch) + if v52 == nil { + v52 = new(RuleMatch) } - (*v46).UnmarshalEasyJSON(in) + (*v52).UnmarshalEasyJSON(in) } - out.Matches = append(out.Matches, v46) + out.Matches = append(out.Matches, v52) in.WantComma() } in.Delim(']') @@ -3842,7 +4283,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss38(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss38(out *jwriter.Writer, in PseudoElementMatches) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss42(out *jwriter.Writer, in PseudoElementMatches) { out.RawByte('{') first := true _ = first @@ -3863,14 +4304,14 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss38(out *jwriter.Writer, in out.RawString("null") } else { out.RawByte('[') - for v47, v48 := range in.Matches { - if v47 > 0 { + for v53, v54 := range in.Matches { + if v53 > 0 { out.RawByte(',') } - if v48 == nil { + if v54 == nil { out.RawString("null") } else { - (*v48).MarshalEasyJSON(out) + (*v54).MarshalEasyJSON(out) } } out.RawByte(']') @@ -3882,27 +4323,239 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss38(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v PseudoElementMatches) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss38(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss42(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v PseudoElementMatches) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss38(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss42(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *PseudoElementMatches) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss38(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss42(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *PseudoElementMatches) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss38(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss42(l, v) +} +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss43(in *jlexer.Lexer, out *PropertyRule) { + 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 "styleSheetId": + out.StyleSheetID = StyleSheetID(in.String()) + case "origin": + (out.Origin).UnmarshalEasyJSON(in) + case "propertyName": + if in.IsNull() { + in.Skip() + out.PropertyName = nil + } else { + if out.PropertyName == nil { + out.PropertyName = new(Value) + } + (*out.PropertyName).UnmarshalEasyJSON(in) + } + case "style": + if in.IsNull() { + in.Skip() + out.Style = nil + } else { + if out.Style == nil { + out.Style = new(Style) + } + (*out.Style).UnmarshalEasyJSON(in) + } + default: + in.SkipRecursive() + } + in.WantComma() + } + in.Delim('}') + if isTopLevel { + in.Consumed() + } } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss39(in *jlexer.Lexer, out *Property) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss43(out *jwriter.Writer, in PropertyRule) { + out.RawByte('{') + first := true + _ = first + if in.StyleSheetID != "" { + const prefix string = ",\"styleSheetId\":" + first = false + out.RawString(prefix[1:]) + out.String(string(in.StyleSheetID)) + } + { + const prefix string = ",\"origin\":" + if first { + first = false + out.RawString(prefix[1:]) + } else { + out.RawString(prefix) + } + (in.Origin).MarshalEasyJSON(out) + } + { + const prefix string = ",\"propertyName\":" + out.RawString(prefix) + if in.PropertyName == nil { + out.RawString("null") + } else { + (*in.PropertyName).MarshalEasyJSON(out) + } + } + { + const prefix string = ",\"style\":" + out.RawString(prefix) + if in.Style == nil { + out.RawString("null") + } else { + (*in.Style).MarshalEasyJSON(out) + } + } + out.RawByte('}') +} + +// MarshalJSON supports json.Marshaler interface +func (v PropertyRule) MarshalJSON() ([]byte, error) { + w := jwriter.Writer{} + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss43(&w, v) + return w.Buffer.BuildBytes(), w.Error +} + +// MarshalEasyJSON supports easyjson.Marshaler interface +func (v PropertyRule) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss43(w, v) +} + +// UnmarshalJSON supports json.Unmarshaler interface +func (v *PropertyRule) UnmarshalJSON(data []byte) error { + r := jlexer.Lexer{Data: data} + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss43(&r, v) + return r.Error() +} + +// UnmarshalEasyJSON supports easyjson.Unmarshaler interface +func (v *PropertyRule) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss43(l, v) +} +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss44(in *jlexer.Lexer, out *PropertyRegistration) { + 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 "propertyName": + out.PropertyName = string(in.String()) + case "initialValue": + if in.IsNull() { + in.Skip() + out.InitialValue = nil + } else { + if out.InitialValue == nil { + out.InitialValue = new(Value) + } + (*out.InitialValue).UnmarshalEasyJSON(in) + } + case "inherits": + out.Inherits = bool(in.Bool()) + case "syntax": + out.Syntax = string(in.String()) + default: + in.SkipRecursive() + } + in.WantComma() + } + in.Delim('}') + if isTopLevel { + in.Consumed() + } +} +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss44(out *jwriter.Writer, in PropertyRegistration) { + out.RawByte('{') + first := true + _ = first + { + const prefix string = ",\"propertyName\":" + out.RawString(prefix[1:]) + out.String(string(in.PropertyName)) + } + if in.InitialValue != nil { + const prefix string = ",\"initialValue\":" + out.RawString(prefix) + (*in.InitialValue).MarshalEasyJSON(out) + } + { + const prefix string = ",\"inherits\":" + out.RawString(prefix) + out.Bool(bool(in.Inherits)) + } + { + const prefix string = ",\"syntax\":" + out.RawString(prefix) + out.String(string(in.Syntax)) + } + out.RawByte('}') +} + +// MarshalJSON supports json.Marshaler interface +func (v PropertyRegistration) MarshalJSON() ([]byte, error) { + w := jwriter.Writer{} + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss44(&w, v) + return w.Buffer.BuildBytes(), w.Error +} + +// MarshalEasyJSON supports easyjson.Marshaler interface +func (v PropertyRegistration) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss44(w, v) +} + +// UnmarshalJSON supports json.Unmarshaler interface +func (v *PropertyRegistration) UnmarshalJSON(data []byte) error { + r := jlexer.Lexer{Data: data} + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss44(&r, v) + return r.Error() +} + +// UnmarshalEasyJSON supports easyjson.Unmarshaler interface +func (v *PropertyRegistration) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss44(l, v) +} +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss45(in *jlexer.Lexer, out *Property) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -3961,17 +4614,17 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss39(in *jlexer.Lexer, out * out.LonghandProperties = (out.LonghandProperties)[:0] } for !in.IsDelim(']') { - var v49 *Property + var v55 *Property if in.IsNull() { in.Skip() - v49 = nil + v55 = nil } else { - if v49 == nil { - v49 = new(Property) + if v55 == nil { + v55 = new(Property) } - (*v49).UnmarshalEasyJSON(in) + (*v55).UnmarshalEasyJSON(in) } - out.LonghandProperties = append(out.LonghandProperties, v49) + out.LonghandProperties = append(out.LonghandProperties, v55) in.WantComma() } in.Delim(']') @@ -3986,7 +4639,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss39(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss39(out *jwriter.Writer, in Property) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss45(out *jwriter.Writer, in Property) { out.RawByte('{') first := true _ = first @@ -4035,14 +4688,14 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss39(out *jwriter.Writer, in out.RawString(prefix) { out.RawByte('[') - for v50, v51 := range in.LonghandProperties { - if v50 > 0 { + for v56, v57 := range in.LonghandProperties { + if v56 > 0 { out.RawByte(',') } - if v51 == nil { + if v57 == nil { out.RawString("null") } else { - (*v51).MarshalEasyJSON(out) + (*v57).MarshalEasyJSON(out) } } out.RawByte(']') @@ -4054,27 +4707,156 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss39(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v Property) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss39(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss45(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v Property) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss39(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss45(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *Property) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss39(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss45(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *Property) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss39(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss45(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss40(in *jlexer.Lexer, out *PlatformFontUsage) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss46(in *jlexer.Lexer, out *PositionFallbackRule) { + 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": + if in.IsNull() { + in.Skip() + out.Name = nil + } else { + if out.Name == nil { + out.Name = new(Value) + } + (*out.Name).UnmarshalEasyJSON(in) + } + case "tryRules": + if in.IsNull() { + in.Skip() + out.TryRules = nil + } else { + in.Delim('[') + if out.TryRules == nil { + if !in.IsDelim(']') { + out.TryRules = make([]*TryRule, 0, 8) + } else { + out.TryRules = []*TryRule{} + } + } else { + out.TryRules = (out.TryRules)[:0] + } + for !in.IsDelim(']') { + var v58 *TryRule + if in.IsNull() { + in.Skip() + v58 = nil + } else { + if v58 == nil { + v58 = new(TryRule) + } + (*v58).UnmarshalEasyJSON(in) + } + out.TryRules = append(out.TryRules, v58) + in.WantComma() + } + in.Delim(']') + } + default: + in.SkipRecursive() + } + in.WantComma() + } + in.Delim('}') + if isTopLevel { + in.Consumed() + } +} +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss46(out *jwriter.Writer, in PositionFallbackRule) { + out.RawByte('{') + first := true + _ = first + { + const prefix string = ",\"name\":" + out.RawString(prefix[1:]) + if in.Name == nil { + out.RawString("null") + } else { + (*in.Name).MarshalEasyJSON(out) + } + } + { + const prefix string = ",\"tryRules\":" + out.RawString(prefix) + if in.TryRules == nil && (out.Flags&jwriter.NilSliceAsEmpty) == 0 { + out.RawString("null") + } else { + out.RawByte('[') + for v59, v60 := range in.TryRules { + if v59 > 0 { + out.RawByte(',') + } + if v60 == nil { + out.RawString("null") + } else { + (*v60).MarshalEasyJSON(out) + } + } + out.RawByte(']') + } + } + out.RawByte('}') +} + +// MarshalJSON supports json.Marshaler interface +func (v PositionFallbackRule) MarshalJSON() ([]byte, error) { + w := jwriter.Writer{} + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss46(&w, v) + return w.Buffer.BuildBytes(), w.Error +} + +// MarshalEasyJSON supports easyjson.Marshaler interface +func (v PositionFallbackRule) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss46(w, v) +} + +// UnmarshalJSON supports json.Unmarshaler interface +func (v *PositionFallbackRule) UnmarshalJSON(data []byte) error { + r := jlexer.Lexer{Data: data} + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss46(&r, v) + return r.Error() +} + +// UnmarshalEasyJSON supports easyjson.Unmarshaler interface +func (v *PositionFallbackRule) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss46(l, v) +} +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss47(in *jlexer.Lexer, out *PlatformFontUsage) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -4109,7 +4891,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss40(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss40(out *jwriter.Writer, in PlatformFontUsage) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss47(out *jwriter.Writer, in PlatformFontUsage) { out.RawByte('{') first := true _ = first @@ -4134,27 +4916,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss40(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v PlatformFontUsage) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss40(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss47(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v PlatformFontUsage) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss40(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss47(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *PlatformFontUsage) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss40(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss47(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *PlatformFontUsage) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss40(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss47(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss41(in *jlexer.Lexer, out *MediaQueryExpression) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss48(in *jlexer.Lexer, out *MediaQueryExpression) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -4201,7 +4983,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss41(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss41(out *jwriter.Writer, in MediaQueryExpression) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss48(out *jwriter.Writer, in MediaQueryExpression) { out.RawByte('{') first := true _ = first @@ -4236,27 +5018,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss41(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v MediaQueryExpression) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss41(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss48(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v MediaQueryExpression) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss41(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss48(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *MediaQueryExpression) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss41(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss48(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *MediaQueryExpression) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss41(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss48(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss42(in *jlexer.Lexer, out *MediaQuery) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss49(in *jlexer.Lexer, out *MediaQuery) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -4291,17 +5073,17 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss42(in *jlexer.Lexer, out * out.Expressions = (out.Expressions)[:0] } for !in.IsDelim(']') { - var v52 *MediaQueryExpression + var v61 *MediaQueryExpression if in.IsNull() { in.Skip() - v52 = nil + v61 = nil } else { - if v52 == nil { - v52 = new(MediaQueryExpression) + if v61 == nil { + v61 = new(MediaQueryExpression) } - (*v52).UnmarshalEasyJSON(in) + (*v61).UnmarshalEasyJSON(in) } - out.Expressions = append(out.Expressions, v52) + out.Expressions = append(out.Expressions, v61) in.WantComma() } in.Delim(']') @@ -4318,7 +5100,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss42(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss42(out *jwriter.Writer, in MediaQuery) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss49(out *jwriter.Writer, in MediaQuery) { out.RawByte('{') first := true _ = first @@ -4329,14 +5111,14 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss42(out *jwriter.Writer, in out.RawString("null") } else { out.RawByte('[') - for v53, v54 := range in.Expressions { - if v53 > 0 { + for v62, v63 := range in.Expressions { + if v62 > 0 { out.RawByte(',') } - if v54 == nil { + if v63 == nil { out.RawString("null") } else { - (*v54).MarshalEasyJSON(out) + (*v63).MarshalEasyJSON(out) } } out.RawByte(']') @@ -4353,27 +5135,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss42(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v MediaQuery) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss42(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss49(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v MediaQuery) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss42(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss49(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *MediaQuery) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss42(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss49(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *MediaQuery) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss42(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss49(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss43(in *jlexer.Lexer, out *Media) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss50(in *jlexer.Lexer, out *Media) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -4426,17 +5208,17 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss43(in *jlexer.Lexer, out * out.MediaList = (out.MediaList)[:0] } for !in.IsDelim(']') { - var v55 *MediaQuery + var v64 *MediaQuery if in.IsNull() { in.Skip() - v55 = nil + v64 = nil } else { - if v55 == nil { - v55 = new(MediaQuery) + if v64 == nil { + v64 = new(MediaQuery) } - (*v55).UnmarshalEasyJSON(in) + (*v64).UnmarshalEasyJSON(in) } - out.MediaList = append(out.MediaList, v55) + out.MediaList = append(out.MediaList, v64) in.WantComma() } in.Delim(']') @@ -4451,7 +5233,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss43(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss43(out *jwriter.Writer, in Media) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss50(out *jwriter.Writer, in Media) { out.RawByte('{') first := true _ = first @@ -4485,14 +5267,14 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss43(out *jwriter.Writer, in out.RawString(prefix) { out.RawByte('[') - for v56, v57 := range in.MediaList { - if v56 > 0 { + for v65, v66 := range in.MediaList { + if v65 > 0 { out.RawByte(',') } - if v57 == nil { + if v66 == nil { out.RawString("null") } else { - (*v57).MarshalEasyJSON(out) + (*v66).MarshalEasyJSON(out) } } out.RawByte(']') @@ -4504,27 +5286,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss43(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v Media) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss43(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss50(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v Media) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss43(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss50(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *Media) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss43(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss50(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *Media) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss43(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss50(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss44(in *jlexer.Lexer, out *LayerData) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss51(in *jlexer.Lexer, out *LayerData) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -4561,17 +5343,17 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss44(in *jlexer.Lexer, out * out.SubLayers = (out.SubLayers)[:0] } for !in.IsDelim(']') { - var v58 *LayerData + var v67 *LayerData if in.IsNull() { in.Skip() - v58 = nil + v67 = nil } else { - if v58 == nil { - v58 = new(LayerData) + if v67 == nil { + v67 = new(LayerData) } - (*v58).UnmarshalEasyJSON(in) + (*v67).UnmarshalEasyJSON(in) } - out.SubLayers = append(out.SubLayers, v58) + out.SubLayers = append(out.SubLayers, v67) in.WantComma() } in.Delim(']') @@ -4588,7 +5370,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss44(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss44(out *jwriter.Writer, in LayerData) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss51(out *jwriter.Writer, in LayerData) { out.RawByte('{') first := true _ = first @@ -4602,14 +5384,14 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss44(out *jwriter.Writer, in out.RawString(prefix) { out.RawByte('[') - for v59, v60 := range in.SubLayers { - if v59 > 0 { + for v68, v69 := range in.SubLayers { + if v68 > 0 { out.RawByte(',') } - if v60 == nil { + if v69 == nil { out.RawString("null") } else { - (*v60).MarshalEasyJSON(out) + (*v69).MarshalEasyJSON(out) } } out.RawByte(']') @@ -4626,27 +5408,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss44(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v LayerData) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss44(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss51(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v LayerData) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss44(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss51(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *LayerData) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss44(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss51(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *LayerData) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss44(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss51(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss45(in *jlexer.Lexer, out *Layer) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss52(in *jlexer.Lexer, out *Layer) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -4689,7 +5471,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss45(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss45(out *jwriter.Writer, in Layer) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss52(out *jwriter.Writer, in Layer) { out.RawByte('{') first := true _ = first @@ -4714,27 +5496,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss45(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v Layer) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss45(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss52(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v Layer) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss45(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss52(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *Layer) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss45(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss52(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *Layer) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss45(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss52(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss46(in *jlexer.Lexer, out *KeyframesRule) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss53(in *jlexer.Lexer, out *KeyframesRule) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -4779,17 +5561,17 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss46(in *jlexer.Lexer, out * out.Keyframes = (out.Keyframes)[:0] } for !in.IsDelim(']') { - var v61 *KeyframeRule + var v70 *KeyframeRule if in.IsNull() { in.Skip() - v61 = nil + v70 = nil } else { - if v61 == nil { - v61 = new(KeyframeRule) + if v70 == nil { + v70 = new(KeyframeRule) } - (*v61).UnmarshalEasyJSON(in) + (*v70).UnmarshalEasyJSON(in) } - out.Keyframes = append(out.Keyframes, v61) + out.Keyframes = append(out.Keyframes, v70) in.WantComma() } in.Delim(']') @@ -4804,7 +5586,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss46(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss46(out *jwriter.Writer, in KeyframesRule) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss53(out *jwriter.Writer, in KeyframesRule) { out.RawByte('{') first := true _ = first @@ -4824,14 +5606,14 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss46(out *jwriter.Writer, in out.RawString("null") } else { out.RawByte('[') - for v62, v63 := range in.Keyframes { - if v62 > 0 { + for v71, v72 := range in.Keyframes { + if v71 > 0 { out.RawByte(',') } - if v63 == nil { + if v72 == nil { out.RawString("null") } else { - (*v63).MarshalEasyJSON(out) + (*v72).MarshalEasyJSON(out) } } out.RawByte(']') @@ -4843,27 +5625,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss46(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v KeyframesRule) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss46(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss53(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v KeyframesRule) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss46(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss53(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *KeyframesRule) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss46(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss53(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *KeyframesRule) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss46(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss53(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss47(in *jlexer.Lexer, out *KeyframeRule) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss54(in *jlexer.Lexer, out *KeyframeRule) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -4916,7 +5698,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss47(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss47(out *jwriter.Writer, in KeyframeRule) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss54(out *jwriter.Writer, in KeyframeRule) { out.RawByte('{') first := true _ = first @@ -4960,27 +5742,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss47(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v KeyframeRule) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss47(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss54(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v KeyframeRule) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss47(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss54(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *KeyframeRule) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss47(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss54(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *KeyframeRule) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss47(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss54(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss48(in *jlexer.Lexer, out *InheritedStyleEntry) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss55(in *jlexer.Lexer, out *InheritedStyleEntry) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -5025,17 +5807,17 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss48(in *jlexer.Lexer, out * out.MatchedCSSRules = (out.MatchedCSSRules)[:0] } for !in.IsDelim(']') { - var v64 *RuleMatch + var v73 *RuleMatch if in.IsNull() { in.Skip() - v64 = nil + v73 = nil } else { - if v64 == nil { - v64 = new(RuleMatch) + if v73 == nil { + v73 = new(RuleMatch) } - (*v64).UnmarshalEasyJSON(in) + (*v73).UnmarshalEasyJSON(in) } - out.MatchedCSSRules = append(out.MatchedCSSRules, v64) + out.MatchedCSSRules = append(out.MatchedCSSRules, v73) in.WantComma() } in.Delim(']') @@ -5050,7 +5832,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss48(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss48(out *jwriter.Writer, in InheritedStyleEntry) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss55(out *jwriter.Writer, in InheritedStyleEntry) { out.RawByte('{') first := true _ = first @@ -5072,14 +5854,14 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss48(out *jwriter.Writer, in out.RawString("null") } else { out.RawByte('[') - for v65, v66 := range in.MatchedCSSRules { - if v65 > 0 { + for v74, v75 := range in.MatchedCSSRules { + if v74 > 0 { out.RawByte(',') } - if v66 == nil { + if v75 == nil { out.RawString("null") } else { - (*v66).MarshalEasyJSON(out) + (*v75).MarshalEasyJSON(out) } } out.RawByte(']') @@ -5091,27 +5873,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss48(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v InheritedStyleEntry) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss48(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss55(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v InheritedStyleEntry) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss48(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss55(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *InheritedStyleEntry) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss48(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss55(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *InheritedStyleEntry) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss48(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss55(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss49(in *jlexer.Lexer, out *InheritedPseudoElementMatches) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss56(in *jlexer.Lexer, out *InheritedPseudoElementMatches) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -5146,17 +5928,17 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss49(in *jlexer.Lexer, out * out.PseudoElements = (out.PseudoElements)[:0] } for !in.IsDelim(']') { - var v67 *PseudoElementMatches + var v76 *PseudoElementMatches if in.IsNull() { in.Skip() - v67 = nil + v76 = nil } else { - if v67 == nil { - v67 = new(PseudoElementMatches) + if v76 == nil { + v76 = new(PseudoElementMatches) } - (*v67).UnmarshalEasyJSON(in) + (*v76).UnmarshalEasyJSON(in) } - out.PseudoElements = append(out.PseudoElements, v67) + out.PseudoElements = append(out.PseudoElements, v76) in.WantComma() } in.Delim(']') @@ -5171,7 +5953,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss49(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss49(out *jwriter.Writer, in InheritedPseudoElementMatches) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss56(out *jwriter.Writer, in InheritedPseudoElementMatches) { out.RawByte('{') first := true _ = first @@ -5182,14 +5964,14 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss49(out *jwriter.Writer, in out.RawString("null") } else { out.RawByte('[') - for v68, v69 := range in.PseudoElements { - if v68 > 0 { + for v77, v78 := range in.PseudoElements { + if v77 > 0 { out.RawByte(',') } - if v69 == nil { + if v78 == nil { out.RawString("null") } else { - (*v69).MarshalEasyJSON(out) + (*v78).MarshalEasyJSON(out) } } out.RawByte(']') @@ -5201,27 +5983,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss49(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v InheritedPseudoElementMatches) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss49(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss56(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v InheritedPseudoElementMatches) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss49(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss56(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *InheritedPseudoElementMatches) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss49(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss56(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *InheritedPseudoElementMatches) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss49(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss56(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss50(in *jlexer.Lexer, out *GetStyleSheetTextReturns) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss57(in *jlexer.Lexer, out *GetStyleSheetTextReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -5252,7 +6034,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss50(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss50(out *jwriter.Writer, in GetStyleSheetTextReturns) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss57(out *jwriter.Writer, in GetStyleSheetTextReturns) { out.RawByte('{') first := true _ = first @@ -5268,27 +6050,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss50(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v GetStyleSheetTextReturns) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss50(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss57(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetStyleSheetTextReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss50(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss57(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetStyleSheetTextReturns) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss50(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss57(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetStyleSheetTextReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss50(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss57(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss51(in *jlexer.Lexer, out *GetStyleSheetTextParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss58(in *jlexer.Lexer, out *GetStyleSheetTextParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -5319,7 +6101,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss51(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss51(out *jwriter.Writer, in GetStyleSheetTextParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss58(out *jwriter.Writer, in GetStyleSheetTextParams) { out.RawByte('{') first := true _ = first @@ -5334,27 +6116,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss51(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v GetStyleSheetTextParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss51(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss58(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetStyleSheetTextParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss51(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss58(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetStyleSheetTextParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss51(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss58(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetStyleSheetTextParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss51(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss58(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss52(in *jlexer.Lexer, out *GetPlatformFontsForNodeReturns) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss59(in *jlexer.Lexer, out *GetPlatformFontsForNodeReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -5389,17 +6171,17 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss52(in *jlexer.Lexer, out * out.Fonts = (out.Fonts)[:0] } for !in.IsDelim(']') { - var v70 *PlatformFontUsage + var v79 *PlatformFontUsage if in.IsNull() { in.Skip() - v70 = nil + v79 = nil } else { - if v70 == nil { - v70 = new(PlatformFontUsage) + if v79 == nil { + v79 = new(PlatformFontUsage) } - (*v70).UnmarshalEasyJSON(in) + (*v79).UnmarshalEasyJSON(in) } - out.Fonts = append(out.Fonts, v70) + out.Fonts = append(out.Fonts, v79) in.WantComma() } in.Delim(']') @@ -5414,7 +6196,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss52(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss52(out *jwriter.Writer, in GetPlatformFontsForNodeReturns) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss59(out *jwriter.Writer, in GetPlatformFontsForNodeReturns) { out.RawByte('{') first := true _ = first @@ -5424,14 +6206,14 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss52(out *jwriter.Writer, in out.RawString(prefix[1:]) { out.RawByte('[') - for v71, v72 := range in.Fonts { - if v71 > 0 { + for v80, v81 := range in.Fonts { + if v80 > 0 { out.RawByte(',') } - if v72 == nil { + if v81 == nil { out.RawString("null") } else { - (*v72).MarshalEasyJSON(out) + (*v81).MarshalEasyJSON(out) } } out.RawByte(']') @@ -5443,27 +6225,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss52(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v GetPlatformFontsForNodeReturns) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss52(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss59(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetPlatformFontsForNodeReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss52(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss59(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetPlatformFontsForNodeReturns) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss52(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss59(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetPlatformFontsForNodeReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss52(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss59(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss53(in *jlexer.Lexer, out *GetPlatformFontsForNodeParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss60(in *jlexer.Lexer, out *GetPlatformFontsForNodeParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -5494,7 +6276,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss53(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss53(out *jwriter.Writer, in GetPlatformFontsForNodeParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss60(out *jwriter.Writer, in GetPlatformFontsForNodeParams) { out.RawByte('{') first := true _ = first @@ -5509,27 +6291,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss53(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v GetPlatformFontsForNodeParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss53(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss60(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetPlatformFontsForNodeParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss53(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss60(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetPlatformFontsForNodeParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss53(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss60(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetPlatformFontsForNodeParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss53(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss60(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss54(in *jlexer.Lexer, out *GetMediaQueriesReturns) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss61(in *jlexer.Lexer, out *GetMediaQueriesReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -5564,17 +6346,17 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss54(in *jlexer.Lexer, out * out.Medias = (out.Medias)[:0] } for !in.IsDelim(']') { - var v73 *Media + var v82 *Media if in.IsNull() { in.Skip() - v73 = nil + v82 = nil } else { - if v73 == nil { - v73 = new(Media) + if v82 == nil { + v82 = new(Media) } - (*v73).UnmarshalEasyJSON(in) + (*v82).UnmarshalEasyJSON(in) } - out.Medias = append(out.Medias, v73) + out.Medias = append(out.Medias, v82) in.WantComma() } in.Delim(']') @@ -5589,7 +6371,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss54(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss54(out *jwriter.Writer, in GetMediaQueriesReturns) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss61(out *jwriter.Writer, in GetMediaQueriesReturns) { out.RawByte('{') first := true _ = first @@ -5599,14 +6381,14 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss54(out *jwriter.Writer, in out.RawString(prefix[1:]) { out.RawByte('[') - for v74, v75 := range in.Medias { - if v74 > 0 { + for v83, v84 := range in.Medias { + if v83 > 0 { out.RawByte(',') } - if v75 == nil { + if v84 == nil { out.RawString("null") } else { - (*v75).MarshalEasyJSON(out) + (*v84).MarshalEasyJSON(out) } } out.RawByte(']') @@ -5618,27 +6400,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss54(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v GetMediaQueriesReturns) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss54(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss61(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetMediaQueriesReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss54(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss61(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetMediaQueriesReturns) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss54(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss61(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetMediaQueriesReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss54(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss61(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss55(in *jlexer.Lexer, out *GetMediaQueriesParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss62(in *jlexer.Lexer, out *GetMediaQueriesParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -5667,7 +6449,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss55(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss55(out *jwriter.Writer, in GetMediaQueriesParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss62(out *jwriter.Writer, in GetMediaQueriesParams) { out.RawByte('{') first := true _ = first @@ -5677,27 +6459,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss55(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v GetMediaQueriesParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss55(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss62(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetMediaQueriesParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss55(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss62(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetMediaQueriesParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss55(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss62(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetMediaQueriesParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss55(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss62(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss56(in *jlexer.Lexer, out *GetMatchedStylesForNodeReturns) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss63(in *jlexer.Lexer, out *GetMatchedStylesForNodeReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -5752,17 +6534,17 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss56(in *jlexer.Lexer, out * out.MatchedCSSRules = (out.MatchedCSSRules)[:0] } for !in.IsDelim(']') { - var v76 *RuleMatch + var v85 *RuleMatch if in.IsNull() { in.Skip() - v76 = nil + v85 = nil } else { - if v76 == nil { - v76 = new(RuleMatch) + if v85 == nil { + v85 = new(RuleMatch) } - (*v76).UnmarshalEasyJSON(in) + (*v85).UnmarshalEasyJSON(in) } - out.MatchedCSSRules = append(out.MatchedCSSRules, v76) + out.MatchedCSSRules = append(out.MatchedCSSRules, v85) in.WantComma() } in.Delim(']') @@ -5783,17 +6565,17 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss56(in *jlexer.Lexer, out * out.PseudoElements = (out.PseudoElements)[:0] } for !in.IsDelim(']') { - var v77 *PseudoElementMatches + var v86 *PseudoElementMatches if in.IsNull() { in.Skip() - v77 = nil + v86 = nil } else { - if v77 == nil { - v77 = new(PseudoElementMatches) + if v86 == nil { + v86 = new(PseudoElementMatches) } - (*v77).UnmarshalEasyJSON(in) + (*v86).UnmarshalEasyJSON(in) } - out.PseudoElements = append(out.PseudoElements, v77) + out.PseudoElements = append(out.PseudoElements, v86) in.WantComma() } in.Delim(']') @@ -5814,17 +6596,17 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss56(in *jlexer.Lexer, out * out.Inherited = (out.Inherited)[:0] } for !in.IsDelim(']') { - var v78 *InheritedStyleEntry + var v87 *InheritedStyleEntry if in.IsNull() { in.Skip() - v78 = nil + v87 = nil } else { - if v78 == nil { - v78 = new(InheritedStyleEntry) + if v87 == nil { + v87 = new(InheritedStyleEntry) } - (*v78).UnmarshalEasyJSON(in) + (*v87).UnmarshalEasyJSON(in) } - out.Inherited = append(out.Inherited, v78) + out.Inherited = append(out.Inherited, v87) in.WantComma() } in.Delim(']') @@ -5845,17 +6627,17 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss56(in *jlexer.Lexer, out * out.InheritedPseudoElements = (out.InheritedPseudoElements)[:0] } for !in.IsDelim(']') { - var v79 *InheritedPseudoElementMatches + var v88 *InheritedPseudoElementMatches if in.IsNull() { in.Skip() - v79 = nil + v88 = nil } else { - if v79 == nil { - v79 = new(InheritedPseudoElementMatches) + if v88 == nil { + v88 = new(InheritedPseudoElementMatches) } - (*v79).UnmarshalEasyJSON(in) + (*v88).UnmarshalEasyJSON(in) } - out.InheritedPseudoElements = append(out.InheritedPseudoElements, v79) + out.InheritedPseudoElements = append(out.InheritedPseudoElements, v88) in.WantComma() } in.Delim(']') @@ -5876,17 +6658,110 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss56(in *jlexer.Lexer, out * out.CSSKeyframesRules = (out.CSSKeyframesRules)[:0] } for !in.IsDelim(']') { - var v80 *KeyframesRule + var v89 *KeyframesRule + if in.IsNull() { + in.Skip() + v89 = nil + } else { + if v89 == nil { + v89 = new(KeyframesRule) + } + (*v89).UnmarshalEasyJSON(in) + } + out.CSSKeyframesRules = append(out.CSSKeyframesRules, v89) + in.WantComma() + } + in.Delim(']') + } + case "cssPositionFallbackRules": + if in.IsNull() { + in.Skip() + out.CSSPositionFallbackRules = nil + } else { + in.Delim('[') + if out.CSSPositionFallbackRules == nil { + if !in.IsDelim(']') { + out.CSSPositionFallbackRules = make([]*PositionFallbackRule, 0, 8) + } else { + out.CSSPositionFallbackRules = []*PositionFallbackRule{} + } + } else { + out.CSSPositionFallbackRules = (out.CSSPositionFallbackRules)[:0] + } + for !in.IsDelim(']') { + var v90 *PositionFallbackRule + if in.IsNull() { + in.Skip() + v90 = nil + } else { + if v90 == nil { + v90 = new(PositionFallbackRule) + } + (*v90).UnmarshalEasyJSON(in) + } + out.CSSPositionFallbackRules = append(out.CSSPositionFallbackRules, v90) + in.WantComma() + } + in.Delim(']') + } + case "cssPropertyRules": + if in.IsNull() { + in.Skip() + out.CSSPropertyRules = nil + } else { + in.Delim('[') + if out.CSSPropertyRules == nil { + if !in.IsDelim(']') { + out.CSSPropertyRules = make([]*PropertyRule, 0, 8) + } else { + out.CSSPropertyRules = []*PropertyRule{} + } + } else { + out.CSSPropertyRules = (out.CSSPropertyRules)[:0] + } + for !in.IsDelim(']') { + var v91 *PropertyRule + if in.IsNull() { + in.Skip() + v91 = nil + } else { + if v91 == nil { + v91 = new(PropertyRule) + } + (*v91).UnmarshalEasyJSON(in) + } + out.CSSPropertyRules = append(out.CSSPropertyRules, v91) + in.WantComma() + } + in.Delim(']') + } + case "cssPropertyRegistrations": + if in.IsNull() { + in.Skip() + out.CSSPropertyRegistrations = nil + } else { + in.Delim('[') + if out.CSSPropertyRegistrations == nil { + if !in.IsDelim(']') { + out.CSSPropertyRegistrations = make([]*PropertyRegistration, 0, 8) + } else { + out.CSSPropertyRegistrations = []*PropertyRegistration{} + } + } else { + out.CSSPropertyRegistrations = (out.CSSPropertyRegistrations)[:0] + } + for !in.IsDelim(']') { + var v92 *PropertyRegistration if in.IsNull() { in.Skip() - v80 = nil + v92 = nil } else { - if v80 == nil { - v80 = new(KeyframesRule) + if v92 == nil { + v92 = new(PropertyRegistration) } - (*v80).UnmarshalEasyJSON(in) + (*v92).UnmarshalEasyJSON(in) } - out.CSSKeyframesRules = append(out.CSSKeyframesRules, v80) + out.CSSPropertyRegistrations = append(out.CSSPropertyRegistrations, v92) in.WantComma() } in.Delim(']') @@ -5896,35 +6771,104 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss56(in *jlexer.Lexer, out * default: in.SkipRecursive() } - in.WantComma() - } - in.Delim('}') - if isTopLevel { - in.Consumed() - } -} -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss56(out *jwriter.Writer, in GetMatchedStylesForNodeReturns) { - out.RawByte('{') - first := true - _ = first - if in.InlineStyle != nil { - const prefix string = ",\"inlineStyle\":" - first = false - out.RawString(prefix[1:]) - (*in.InlineStyle).MarshalEasyJSON(out) + in.WantComma() + } + in.Delim('}') + if isTopLevel { + in.Consumed() + } +} +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss63(out *jwriter.Writer, in GetMatchedStylesForNodeReturns) { + out.RawByte('{') + first := true + _ = first + if in.InlineStyle != nil { + const prefix string = ",\"inlineStyle\":" + first = false + out.RawString(prefix[1:]) + (*in.InlineStyle).MarshalEasyJSON(out) + } + if in.AttributesStyle != nil { + const prefix string = ",\"attributesStyle\":" + if first { + first = false + out.RawString(prefix[1:]) + } else { + out.RawString(prefix) + } + (*in.AttributesStyle).MarshalEasyJSON(out) + } + if len(in.MatchedCSSRules) != 0 { + const prefix string = ",\"matchedCSSRules\":" + if first { + first = false + out.RawString(prefix[1:]) + } else { + out.RawString(prefix) + } + { + out.RawByte('[') + for v93, v94 := range in.MatchedCSSRules { + if v93 > 0 { + out.RawByte(',') + } + if v94 == nil { + out.RawString("null") + } else { + (*v94).MarshalEasyJSON(out) + } + } + out.RawByte(']') + } + } + if len(in.PseudoElements) != 0 { + const prefix string = ",\"pseudoElements\":" + if first { + first = false + out.RawString(prefix[1:]) + } else { + out.RawString(prefix) + } + { + out.RawByte('[') + for v95, v96 := range in.PseudoElements { + if v95 > 0 { + out.RawByte(',') + } + if v96 == nil { + out.RawString("null") + } else { + (*v96).MarshalEasyJSON(out) + } + } + out.RawByte(']') + } } - if in.AttributesStyle != nil { - const prefix string = ",\"attributesStyle\":" + if len(in.Inherited) != 0 { + const prefix string = ",\"inherited\":" if first { first = false out.RawString(prefix[1:]) } else { out.RawString(prefix) } - (*in.AttributesStyle).MarshalEasyJSON(out) + { + out.RawByte('[') + for v97, v98 := range in.Inherited { + if v97 > 0 { + out.RawByte(',') + } + if v98 == nil { + out.RawString("null") + } else { + (*v98).MarshalEasyJSON(out) + } + } + out.RawByte(']') + } } - if len(in.MatchedCSSRules) != 0 { - const prefix string = ",\"matchedCSSRules\":" + if len(in.InheritedPseudoElements) != 0 { + const prefix string = ",\"inheritedPseudoElements\":" if first { first = false out.RawString(prefix[1:]) @@ -5933,21 +6877,21 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss56(out *jwriter.Writer, in } { out.RawByte('[') - for v81, v82 := range in.MatchedCSSRules { - if v81 > 0 { + for v99, v100 := range in.InheritedPseudoElements { + if v99 > 0 { out.RawByte(',') } - if v82 == nil { + if v100 == nil { out.RawString("null") } else { - (*v82).MarshalEasyJSON(out) + (*v100).MarshalEasyJSON(out) } } out.RawByte(']') } } - if len(in.PseudoElements) != 0 { - const prefix string = ",\"pseudoElements\":" + if len(in.CSSKeyframesRules) != 0 { + const prefix string = ",\"cssKeyframesRules\":" if first { first = false out.RawString(prefix[1:]) @@ -5956,21 +6900,21 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss56(out *jwriter.Writer, in } { out.RawByte('[') - for v83, v84 := range in.PseudoElements { - if v83 > 0 { + for v101, v102 := range in.CSSKeyframesRules { + if v101 > 0 { out.RawByte(',') } - if v84 == nil { + if v102 == nil { out.RawString("null") } else { - (*v84).MarshalEasyJSON(out) + (*v102).MarshalEasyJSON(out) } } out.RawByte(']') } } - if len(in.Inherited) != 0 { - const prefix string = ",\"inherited\":" + if len(in.CSSPositionFallbackRules) != 0 { + const prefix string = ",\"cssPositionFallbackRules\":" if first { first = false out.RawString(prefix[1:]) @@ -5979,21 +6923,21 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss56(out *jwriter.Writer, in } { out.RawByte('[') - for v85, v86 := range in.Inherited { - if v85 > 0 { + for v103, v104 := range in.CSSPositionFallbackRules { + if v103 > 0 { out.RawByte(',') } - if v86 == nil { + if v104 == nil { out.RawString("null") } else { - (*v86).MarshalEasyJSON(out) + (*v104).MarshalEasyJSON(out) } } out.RawByte(']') } } - if len(in.InheritedPseudoElements) != 0 { - const prefix string = ",\"inheritedPseudoElements\":" + if len(in.CSSPropertyRules) != 0 { + const prefix string = ",\"cssPropertyRules\":" if first { first = false out.RawString(prefix[1:]) @@ -6002,21 +6946,21 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss56(out *jwriter.Writer, in } { out.RawByte('[') - for v87, v88 := range in.InheritedPseudoElements { - if v87 > 0 { + for v105, v106 := range in.CSSPropertyRules { + if v105 > 0 { out.RawByte(',') } - if v88 == nil { + if v106 == nil { out.RawString("null") } else { - (*v88).MarshalEasyJSON(out) + (*v106).MarshalEasyJSON(out) } } out.RawByte(']') } } - if len(in.CSSKeyframesRules) != 0 { - const prefix string = ",\"cssKeyframesRules\":" + if len(in.CSSPropertyRegistrations) != 0 { + const prefix string = ",\"cssPropertyRegistrations\":" if first { first = false out.RawString(prefix[1:]) @@ -6025,14 +6969,14 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss56(out *jwriter.Writer, in } { out.RawByte('[') - for v89, v90 := range in.CSSKeyframesRules { - if v89 > 0 { + for v107, v108 := range in.CSSPropertyRegistrations { + if v107 > 0 { out.RawByte(',') } - if v90 == nil { + if v108 == nil { out.RawString("null") } else { - (*v90).MarshalEasyJSON(out) + (*v108).MarshalEasyJSON(out) } } out.RawByte(']') @@ -6054,27 +6998,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss56(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v GetMatchedStylesForNodeReturns) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss56(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss63(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetMatchedStylesForNodeReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss56(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss63(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetMatchedStylesForNodeReturns) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss56(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss63(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetMatchedStylesForNodeReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss56(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss63(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss57(in *jlexer.Lexer, out *GetMatchedStylesForNodeParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss64(in *jlexer.Lexer, out *GetMatchedStylesForNodeParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -6105,7 +7049,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss57(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss57(out *jwriter.Writer, in GetMatchedStylesForNodeParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss64(out *jwriter.Writer, in GetMatchedStylesForNodeParams) { out.RawByte('{') first := true _ = first @@ -6120,27 +7064,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss57(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v GetMatchedStylesForNodeParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss57(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss64(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetMatchedStylesForNodeParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss57(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss64(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetMatchedStylesForNodeParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss57(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss64(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetMatchedStylesForNodeParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss57(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss64(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss58(in *jlexer.Lexer, out *GetLayersForNodeReturns) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss65(in *jlexer.Lexer, out *GetLayersForNodeReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -6179,7 +7123,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss58(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss58(out *jwriter.Writer, in GetLayersForNodeReturns) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss65(out *jwriter.Writer, in GetLayersForNodeReturns) { out.RawByte('{') first := true _ = first @@ -6195,27 +7139,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss58(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v GetLayersForNodeReturns) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss58(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss65(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetLayersForNodeReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss58(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss65(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetLayersForNodeReturns) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss58(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss65(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetLayersForNodeReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss58(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss65(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss59(in *jlexer.Lexer, out *GetLayersForNodeParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss66(in *jlexer.Lexer, out *GetLayersForNodeParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -6246,7 +7190,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss59(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss59(out *jwriter.Writer, in GetLayersForNodeParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss66(out *jwriter.Writer, in GetLayersForNodeParams) { out.RawByte('{') first := true _ = first @@ -6261,27 +7205,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss59(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v GetLayersForNodeParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss59(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss66(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetLayersForNodeParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss59(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss66(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetLayersForNodeParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss59(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss66(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetLayersForNodeParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss59(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss66(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss60(in *jlexer.Lexer, out *GetInlineStylesForNodeReturns) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss67(in *jlexer.Lexer, out *GetInlineStylesForNodeReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -6330,7 +7274,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss60(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss60(out *jwriter.Writer, in GetInlineStylesForNodeReturns) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss67(out *jwriter.Writer, in GetInlineStylesForNodeReturns) { out.RawByte('{') first := true _ = first @@ -6356,27 +7300,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss60(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v GetInlineStylesForNodeReturns) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss60(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss67(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetInlineStylesForNodeReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss60(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss67(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetInlineStylesForNodeReturns) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss60(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss67(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetInlineStylesForNodeReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss60(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss67(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss61(in *jlexer.Lexer, out *GetInlineStylesForNodeParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss68(in *jlexer.Lexer, out *GetInlineStylesForNodeParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -6407,7 +7351,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss61(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss61(out *jwriter.Writer, in GetInlineStylesForNodeParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss68(out *jwriter.Writer, in GetInlineStylesForNodeParams) { out.RawByte('{') first := true _ = first @@ -6422,27 +7366,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss61(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v GetInlineStylesForNodeParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss61(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss68(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetInlineStylesForNodeParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss61(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss68(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetInlineStylesForNodeParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss61(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss68(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetInlineStylesForNodeParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss61(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss68(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss62(in *jlexer.Lexer, out *GetComputedStyleForNodeReturns) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss69(in *jlexer.Lexer, out *GetComputedStyleForNodeReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -6477,17 +7421,17 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss62(in *jlexer.Lexer, out * out.ComputedStyle = (out.ComputedStyle)[:0] } for !in.IsDelim(']') { - var v91 *ComputedStyleProperty + var v109 *ComputedStyleProperty if in.IsNull() { in.Skip() - v91 = nil + v109 = nil } else { - if v91 == nil { - v91 = new(ComputedStyleProperty) + if v109 == nil { + v109 = new(ComputedStyleProperty) } - (*v91).UnmarshalEasyJSON(in) + (*v109).UnmarshalEasyJSON(in) } - out.ComputedStyle = append(out.ComputedStyle, v91) + out.ComputedStyle = append(out.ComputedStyle, v109) in.WantComma() } in.Delim(']') @@ -6502,7 +7446,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss62(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss62(out *jwriter.Writer, in GetComputedStyleForNodeReturns) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss69(out *jwriter.Writer, in GetComputedStyleForNodeReturns) { out.RawByte('{') first := true _ = first @@ -6512,14 +7456,14 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss62(out *jwriter.Writer, in out.RawString(prefix[1:]) { out.RawByte('[') - for v92, v93 := range in.ComputedStyle { - if v92 > 0 { + for v110, v111 := range in.ComputedStyle { + if v110 > 0 { out.RawByte(',') } - if v93 == nil { + if v111 == nil { out.RawString("null") } else { - (*v93).MarshalEasyJSON(out) + (*v111).MarshalEasyJSON(out) } } out.RawByte(']') @@ -6531,27 +7475,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss62(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v GetComputedStyleForNodeReturns) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss62(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss69(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetComputedStyleForNodeReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss62(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss69(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetComputedStyleForNodeReturns) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss62(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss69(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetComputedStyleForNodeReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss62(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss69(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss63(in *jlexer.Lexer, out *GetComputedStyleForNodeParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss70(in *jlexer.Lexer, out *GetComputedStyleForNodeParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -6582,7 +7526,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss63(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss63(out *jwriter.Writer, in GetComputedStyleForNodeParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss70(out *jwriter.Writer, in GetComputedStyleForNodeParams) { out.RawByte('{') first := true _ = first @@ -6597,27 +7541,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss63(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v GetComputedStyleForNodeParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss63(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss70(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetComputedStyleForNodeParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss63(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss70(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetComputedStyleForNodeParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss63(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss70(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetComputedStyleForNodeParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss63(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss70(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss64(in *jlexer.Lexer, out *GetBackgroundColorsReturns) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss71(in *jlexer.Lexer, out *GetBackgroundColorsReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -6652,9 +7596,9 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss64(in *jlexer.Lexer, out * out.BackgroundColors = (out.BackgroundColors)[:0] } for !in.IsDelim(']') { - var v94 string - v94 = string(in.String()) - out.BackgroundColors = append(out.BackgroundColors, v94) + var v112 string + v112 = string(in.String()) + out.BackgroundColors = append(out.BackgroundColors, v112) in.WantComma() } in.Delim(']') @@ -6673,7 +7617,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss64(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss64(out *jwriter.Writer, in GetBackgroundColorsReturns) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss71(out *jwriter.Writer, in GetBackgroundColorsReturns) { out.RawByte('{') first := true _ = first @@ -6683,11 +7627,11 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss64(out *jwriter.Writer, in out.RawString(prefix[1:]) { out.RawByte('[') - for v95, v96 := range in.BackgroundColors { - if v95 > 0 { + for v113, v114 := range in.BackgroundColors { + if v113 > 0 { out.RawByte(',') } - out.String(string(v96)) + out.String(string(v114)) } out.RawByte(']') } @@ -6718,27 +7662,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss64(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v GetBackgroundColorsReturns) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss64(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss71(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetBackgroundColorsReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss64(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss71(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetBackgroundColorsReturns) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss64(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss71(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetBackgroundColorsReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss64(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss71(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss65(in *jlexer.Lexer, out *GetBackgroundColorsParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss72(in *jlexer.Lexer, out *GetBackgroundColorsParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -6769,7 +7713,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss65(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss65(out *jwriter.Writer, in GetBackgroundColorsParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss72(out *jwriter.Writer, in GetBackgroundColorsParams) { out.RawByte('{') first := true _ = first @@ -6784,27 +7728,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss65(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v GetBackgroundColorsParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss65(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss72(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetBackgroundColorsParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss65(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss72(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetBackgroundColorsParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss65(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss72(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetBackgroundColorsParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss65(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss72(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss66(in *jlexer.Lexer, out *ForcePseudoStateParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss73(in *jlexer.Lexer, out *ForcePseudoStateParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -6841,9 +7785,9 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss66(in *jlexer.Lexer, out * out.ForcedPseudoClasses = (out.ForcedPseudoClasses)[:0] } for !in.IsDelim(']') { - var v97 string - v97 = string(in.String()) - out.ForcedPseudoClasses = append(out.ForcedPseudoClasses, v97) + var v115 string + v115 = string(in.String()) + out.ForcedPseudoClasses = append(out.ForcedPseudoClasses, v115) in.WantComma() } in.Delim(']') @@ -6858,7 +7802,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss66(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss66(out *jwriter.Writer, in ForcePseudoStateParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss73(out *jwriter.Writer, in ForcePseudoStateParams) { out.RawByte('{') first := true _ = first @@ -6874,11 +7818,11 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss66(out *jwriter.Writer, in out.RawString("null") } else { out.RawByte('[') - for v98, v99 := range in.ForcedPseudoClasses { - if v98 > 0 { + for v116, v117 := range in.ForcedPseudoClasses { + if v116 > 0 { out.RawByte(',') } - out.String(string(v99)) + out.String(string(v117)) } out.RawByte(']') } @@ -6889,27 +7833,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss66(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v ForcePseudoStateParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss66(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss73(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v ForcePseudoStateParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss66(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss73(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *ForcePseudoStateParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss66(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss73(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *ForcePseudoStateParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss66(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss73(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss67(in *jlexer.Lexer, out *FontVariationAxis) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss74(in *jlexer.Lexer, out *FontVariationAxis) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -6948,7 +7892,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss67(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss67(out *jwriter.Writer, in FontVariationAxis) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss74(out *jwriter.Writer, in FontVariationAxis) { out.RawByte('{') first := true _ = first @@ -6983,27 +7927,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss67(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v FontVariationAxis) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss67(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss74(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v FontVariationAxis) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss67(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss74(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *FontVariationAxis) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss67(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss74(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *FontVariationAxis) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss67(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss74(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss68(in *jlexer.Lexer, out *FontFace) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss75(in *jlexer.Lexer, out *FontFace) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -7056,17 +8000,17 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss68(in *jlexer.Lexer, out * out.FontVariationAxes = (out.FontVariationAxes)[:0] } for !in.IsDelim(']') { - var v100 *FontVariationAxis + var v118 *FontVariationAxis if in.IsNull() { in.Skip() - v100 = nil + v118 = nil } else { - if v100 == nil { - v100 = new(FontVariationAxis) + if v118 == nil { + v118 = new(FontVariationAxis) } - (*v100).UnmarshalEasyJSON(in) + (*v118).UnmarshalEasyJSON(in) } - out.FontVariationAxes = append(out.FontVariationAxes, v100) + out.FontVariationAxes = append(out.FontVariationAxes, v118) in.WantComma() } in.Delim(']') @@ -7081,7 +8025,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss68(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss68(out *jwriter.Writer, in FontFace) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss75(out *jwriter.Writer, in FontFace) { out.RawByte('{') first := true _ = first @@ -7135,14 +8079,14 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss68(out *jwriter.Writer, in out.RawString(prefix) { out.RawByte('[') - for v101, v102 := range in.FontVariationAxes { - if v101 > 0 { + for v119, v120 := range in.FontVariationAxes { + if v119 > 0 { out.RawByte(',') } - if v102 == nil { + if v120 == nil { out.RawString("null") } else { - (*v102).MarshalEasyJSON(out) + (*v120).MarshalEasyJSON(out) } } out.RawByte(']') @@ -7154,27 +8098,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss68(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v FontFace) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss68(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss75(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v FontFace) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss68(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss75(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *FontFace) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss68(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss75(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *FontFace) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss68(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss75(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss69(in *jlexer.Lexer, out *EventStyleSheetRemoved) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss76(in *jlexer.Lexer, out *EventStyleSheetRemoved) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -7205,7 +8149,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss69(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss69(out *jwriter.Writer, in EventStyleSheetRemoved) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss76(out *jwriter.Writer, in EventStyleSheetRemoved) { out.RawByte('{') first := true _ = first @@ -7220,27 +8164,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss69(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v EventStyleSheetRemoved) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss69(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss76(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventStyleSheetRemoved) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss69(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss76(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventStyleSheetRemoved) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss69(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss76(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventStyleSheetRemoved) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss69(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss76(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss70(in *jlexer.Lexer, out *EventStyleSheetChanged) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss77(in *jlexer.Lexer, out *EventStyleSheetChanged) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -7271,7 +8215,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss70(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss70(out *jwriter.Writer, in EventStyleSheetChanged) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss77(out *jwriter.Writer, in EventStyleSheetChanged) { out.RawByte('{') first := true _ = first @@ -7286,27 +8230,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss70(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v EventStyleSheetChanged) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss70(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss77(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventStyleSheetChanged) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss70(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss77(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventStyleSheetChanged) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss70(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss77(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventStyleSheetChanged) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss70(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss77(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss71(in *jlexer.Lexer, out *EventStyleSheetAdded) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss78(in *jlexer.Lexer, out *EventStyleSheetAdded) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -7345,7 +8289,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss71(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss71(out *jwriter.Writer, in EventStyleSheetAdded) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss78(out *jwriter.Writer, in EventStyleSheetAdded) { out.RawByte('{') first := true _ = first @@ -7364,27 +8308,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss71(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v EventStyleSheetAdded) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss71(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss78(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventStyleSheetAdded) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss71(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss78(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventStyleSheetAdded) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss71(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss78(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventStyleSheetAdded) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss71(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss78(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss72(in *jlexer.Lexer, out *EventMediaQueryResultChanged) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss79(in *jlexer.Lexer, out *EventMediaQueryResultChanged) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -7413,7 +8357,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss72(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss72(out *jwriter.Writer, in EventMediaQueryResultChanged) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss79(out *jwriter.Writer, in EventMediaQueryResultChanged) { out.RawByte('{') first := true _ = first @@ -7423,27 +8367,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss72(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v EventMediaQueryResultChanged) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss72(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss79(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventMediaQueryResultChanged) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss72(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss79(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventMediaQueryResultChanged) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss72(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss79(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventMediaQueryResultChanged) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss72(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss79(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss73(in *jlexer.Lexer, out *EventFontsUpdated) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss80(in *jlexer.Lexer, out *EventFontsUpdated) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -7482,7 +8426,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss73(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss73(out *jwriter.Writer, in EventFontsUpdated) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss80(out *jwriter.Writer, in EventFontsUpdated) { out.RawByte('{') first := true _ = first @@ -7498,27 +8442,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss73(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v EventFontsUpdated) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss73(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss80(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventFontsUpdated) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss73(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss80(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventFontsUpdated) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss73(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss80(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventFontsUpdated) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss73(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss80(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss74(in *jlexer.Lexer, out *EnableParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss81(in *jlexer.Lexer, out *EnableParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -7547,7 +8491,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss74(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss74(out *jwriter.Writer, in EnableParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss81(out *jwriter.Writer, in EnableParams) { out.RawByte('{') first := true _ = first @@ -7557,27 +8501,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss74(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v EnableParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss74(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss81(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EnableParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss74(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss81(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EnableParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss74(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss81(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EnableParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss74(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss81(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss75(in *jlexer.Lexer, out *DisableParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss82(in *jlexer.Lexer, out *DisableParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -7606,7 +8550,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss75(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss75(out *jwriter.Writer, in DisableParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss82(out *jwriter.Writer, in DisableParams) { out.RawByte('{') first := true _ = first @@ -7616,27 +8560,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss75(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v DisableParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss75(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss82(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v DisableParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss75(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss82(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *DisableParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss75(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss82(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *DisableParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss75(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss82(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss76(in *jlexer.Lexer, out *CreateStyleSheetReturns) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss83(in *jlexer.Lexer, out *CreateStyleSheetReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -7667,7 +8611,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss76(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss76(out *jwriter.Writer, in CreateStyleSheetReturns) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss83(out *jwriter.Writer, in CreateStyleSheetReturns) { out.RawByte('{') first := true _ = first @@ -7683,27 +8627,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss76(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v CreateStyleSheetReturns) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss76(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss83(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v CreateStyleSheetReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss76(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss83(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *CreateStyleSheetReturns) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss76(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss83(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *CreateStyleSheetReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss76(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss83(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss77(in *jlexer.Lexer, out *CreateStyleSheetParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss84(in *jlexer.Lexer, out *CreateStyleSheetParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -7734,7 +8678,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss77(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss77(out *jwriter.Writer, in CreateStyleSheetParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss84(out *jwriter.Writer, in CreateStyleSheetParams) { out.RawByte('{') first := true _ = first @@ -7749,27 +8693,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss77(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v CreateStyleSheetParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss77(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss84(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v CreateStyleSheetParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss77(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss84(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *CreateStyleSheetParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss77(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss84(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *CreateStyleSheetParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss77(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss84(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss78(in *jlexer.Lexer, out *ContainerQuery) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss85(in *jlexer.Lexer, out *ContainerQuery) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -7818,7 +8762,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss78(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss78(out *jwriter.Writer, in ContainerQuery) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss85(out *jwriter.Writer, in ContainerQuery) { out.RawByte('{') first := true _ = first @@ -7858,27 +8802,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss78(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v ContainerQuery) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss78(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss85(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v ContainerQuery) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss78(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss85(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *ContainerQuery) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss78(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss85(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *ContainerQuery) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss78(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss85(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss79(in *jlexer.Lexer, out *ComputedStyleProperty) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss86(in *jlexer.Lexer, out *ComputedStyleProperty) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -7911,7 +8855,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss79(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss79(out *jwriter.Writer, in ComputedStyleProperty) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss86(out *jwriter.Writer, in ComputedStyleProperty) { out.RawByte('{') first := true _ = first @@ -7931,27 +8875,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss79(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v ComputedStyleProperty) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss79(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss86(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v ComputedStyleProperty) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss79(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss86(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *ComputedStyleProperty) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss79(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss86(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *ComputedStyleProperty) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss79(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss86(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss80(in *jlexer.Lexer, out *CollectClassNamesReturns) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss87(in *jlexer.Lexer, out *CollectClassNamesReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -7986,9 +8930,9 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss80(in *jlexer.Lexer, out * out.ClassNames = (out.ClassNames)[:0] } for !in.IsDelim(']') { - var v103 string - v103 = string(in.String()) - out.ClassNames = append(out.ClassNames, v103) + var v121 string + v121 = string(in.String()) + out.ClassNames = append(out.ClassNames, v121) in.WantComma() } in.Delim(']') @@ -8003,7 +8947,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss80(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss80(out *jwriter.Writer, in CollectClassNamesReturns) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss87(out *jwriter.Writer, in CollectClassNamesReturns) { out.RawByte('{') first := true _ = first @@ -8013,11 +8957,11 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss80(out *jwriter.Writer, in out.RawString(prefix[1:]) { out.RawByte('[') - for v104, v105 := range in.ClassNames { - if v104 > 0 { + for v122, v123 := range in.ClassNames { + if v122 > 0 { out.RawByte(',') } - out.String(string(v105)) + out.String(string(v123)) } out.RawByte(']') } @@ -8028,27 +8972,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss80(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v CollectClassNamesReturns) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss80(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss87(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v CollectClassNamesReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss80(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss87(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *CollectClassNamesReturns) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss80(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss87(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *CollectClassNamesReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss80(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss87(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss81(in *jlexer.Lexer, out *CollectClassNamesParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss88(in *jlexer.Lexer, out *CollectClassNamesParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -8079,7 +9023,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss81(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss81(out *jwriter.Writer, in CollectClassNamesParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss88(out *jwriter.Writer, in CollectClassNamesParams) { out.RawByte('{') first := true _ = first @@ -8094,27 +9038,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss81(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v CollectClassNamesParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss81(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss88(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v CollectClassNamesParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss81(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss88(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *CollectClassNamesParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss81(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss88(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *CollectClassNamesParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss81(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss88(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss82(in *jlexer.Lexer, out *AddRuleReturns) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss89(in *jlexer.Lexer, out *AddRuleReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -8153,7 +9097,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss82(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss82(out *jwriter.Writer, in AddRuleReturns) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss89(out *jwriter.Writer, in AddRuleReturns) { out.RawByte('{') first := true _ = first @@ -8169,27 +9113,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss82(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v AddRuleReturns) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss82(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss89(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v AddRuleReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss82(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss89(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *AddRuleReturns) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss82(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss89(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *AddRuleReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss82(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss89(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss83(in *jlexer.Lexer, out *AddRuleParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss90(in *jlexer.Lexer, out *AddRuleParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -8232,7 +9176,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss83(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss83(out *jwriter.Writer, in AddRuleParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss90(out *jwriter.Writer, in AddRuleParams) { out.RawByte('{') first := true _ = first @@ -8261,23 +9205,23 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss83(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v AddRuleParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss83(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss90(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v AddRuleParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss83(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoCss90(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *AddRuleParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss83(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss90(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *AddRuleParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss83(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoCss90(l, v) } diff --git a/vendor/github.com/chromedp/cdproto/css/types.go b/vendor/github.com/chromedp/cdproto/css/types.go index 2c084c1bfe..d4e9efa1ee 100644 --- a/vendor/github.com/chromedp/cdproto/css/types.go +++ b/vendor/github.com/chromedp/cdproto/css/types.go @@ -114,8 +114,19 @@ type RuleMatch struct { // // See: https://chromedevtools.github.io/devtools-protocol/tot/CSS#type-Value type Value struct { - Text string `json:"text"` // Value text. - Range *SourceRange `json:"range,omitempty"` // Value range in the underlying resource (if available). + Text string `json:"text"` // Value text. + Range *SourceRange `json:"range,omitempty"` // Value range in the underlying resource (if available). + Specificity *Specificity `json:"specificity,omitempty"` // Specificity of the selector. +} + +// Specificity specificity: +// https://drafts.csswg.org/selectors/#specificity-rules. +// +// See: https://chromedevtools.github.io/devtools-protocol/tot/CSS#type-Specificity +type Specificity struct { + A int64 `json:"a"` // The a component, which represents the number of ID selectors. + B int64 `json:"b"` // The b component, which represents the number of class selectors, attributes selectors, and pseudo-classes. + C int64 `json:"c"` // The c component, which represents the number of type selectors and pseudo-elements. } // SelectorList selector list data. @@ -130,23 +141,24 @@ type SelectorList struct { // // See: https://chromedevtools.github.io/devtools-protocol/tot/CSS#type-CSSStyleSheetHeader type StyleSheetHeader struct { - StyleSheetID StyleSheetID `json:"styleSheetId"` // The stylesheet identifier. - FrameID cdp.FrameID `json:"frameId"` // Owner frame identifier. - SourceURL string `json:"sourceURL"` // Stylesheet resource URL. Empty if this is a constructed stylesheet created using new CSSStyleSheet() (but non-empty if this is a constructed sylesheet imported as a CSS module script). - SourceMapURL string `json:"sourceMapURL,omitempty"` // URL of source map associated with the stylesheet (if any). - Origin StyleSheetOrigin `json:"origin"` // Stylesheet origin. - Title string `json:"title"` // Stylesheet title. - OwnerNode cdp.BackendNodeID `json:"ownerNode,omitempty"` // The backend id for the owner node of the stylesheet. - Disabled bool `json:"disabled"` // Denotes whether the stylesheet is disabled. - HasSourceURL bool `json:"hasSourceURL,omitempty"` // Whether the sourceURL field value comes from the sourceURL comment. - IsInline bool `json:"isInline"` // Whether this stylesheet is created for STYLE tag by parser. This flag is not set for document.written STYLE tags. - IsMutable bool `json:"isMutable"` // Whether this stylesheet is mutable. Inline stylesheets become mutable after they have been modified via CSSOM API. element's stylesheets become mutable only if DevTools modifies them. Constructed stylesheets (new CSSStyleSheet()) are mutable immediately after creation. - IsConstructed bool `json:"isConstructed"` // True if this stylesheet is created through new CSSStyleSheet() or imported as a CSS module script. - StartLine float64 `json:"startLine"` // Line offset of the stylesheet within the resource (zero based). - StartColumn float64 `json:"startColumn"` // Column offset of the stylesheet within the resource (zero based). - Length float64 `json:"length"` // Size of the content (in characters). - EndLine float64 `json:"endLine"` // Line offset of the end of the stylesheet within the resource (zero based). - EndColumn float64 `json:"endColumn"` // Column offset of the end of the stylesheet within the resource (zero based). + StyleSheetID StyleSheetID `json:"styleSheetId"` // The stylesheet identifier. + FrameID cdp.FrameID `json:"frameId"` // Owner frame identifier. + SourceURL string `json:"sourceURL"` // Stylesheet resource URL. Empty if this is a constructed stylesheet created using new CSSStyleSheet() (but non-empty if this is a constructed sylesheet imported as a CSS module script). + SourceMapURL string `json:"sourceMapURL,omitempty"` // URL of source map associated with the stylesheet (if any). + Origin StyleSheetOrigin `json:"origin"` // Stylesheet origin. + Title string `json:"title"` // Stylesheet title. + OwnerNode cdp.BackendNodeID `json:"ownerNode,omitempty"` // The backend id for the owner node of the stylesheet. + Disabled bool `json:"disabled"` // Denotes whether the stylesheet is disabled. + HasSourceURL bool `json:"hasSourceURL,omitempty"` // Whether the sourceURL field value comes from the sourceURL comment. + IsInline bool `json:"isInline"` // Whether this stylesheet is created for STYLE tag by parser. This flag is not set for document.written STYLE tags. + IsMutable bool `json:"isMutable"` // Whether this stylesheet is mutable. Inline stylesheets become mutable after they have been modified via CSSOM API. element's stylesheets become mutable only if DevTools modifies them. Constructed stylesheets (new CSSStyleSheet()) are mutable immediately after creation. + IsConstructed bool `json:"isConstructed"` // True if this stylesheet is created through new CSSStyleSheet() or imported as a CSS module script. + StartLine float64 `json:"startLine"` // Line offset of the stylesheet within the resource (zero based). + StartColumn float64 `json:"startColumn"` // Column offset of the stylesheet within the resource (zero based). + Length float64 `json:"length"` // Size of the content (in characters). + EndLine float64 `json:"endLine"` // Line offset of the end of the stylesheet within the resource (zero based). + EndColumn float64 `json:"endColumn"` // Column offset of the end of the stylesheet within the resource (zero based). + LoadingFailed bool `json:"loadingFailed,omitempty"` // If the style sheet was loaded from a network resource, this indicates when the resource failed to load } // Rule CSS rule representation. @@ -155,6 +167,7 @@ type StyleSheetHeader struct { type Rule struct { StyleSheetID StyleSheetID `json:"styleSheetId,omitempty"` // The css style sheet identifier (absent for user agent stylesheet and user-specified stylesheet rules) this rule came from. SelectorList *SelectorList `json:"selectorList"` // Rule selector data. + NestingSelectors []string `json:"nestingSelectors,omitempty"` // Array of selectors from ancestor style rules, sorted by distance from the current rule. Origin StyleSheetOrigin `json:"origin"` // Parent stylesheet's origin. Style *Style `json:"style"` // Associated style declaration. Media []*Media `json:"media,omitempty"` // Media list array (for rules involving media queries). The array enumerates media queries starting with the innermost one, going outwards. @@ -162,6 +175,66 @@ type Rule struct { Supports []*Supports `json:"supports,omitempty"` // @supports CSS at-rule array. The array enumerates @supports at-rules starting with the innermost one, going outwards. Layers []*Layer `json:"layers,omitempty"` // Cascade layer array. Contains the layer hierarchy that this rule belongs to starting with the innermost layer and going outwards. Scopes []*Scope `json:"scopes,omitempty"` // @scope CSS at-rule array. The array enumerates @scope at-rules starting with the innermost one, going outwards. + RuleTypes []RuleType `json:"ruleTypes,omitempty"` // The array keeps the types of ancestor CSSRules from the innermost going outwards. +} + +// RuleType enum indicating the type of a CSS rule, used to represent the +// order of a style rule's ancestors. This list only contains rule types that +// are collected during the ancestor rule collection. +// +// See: https://chromedevtools.github.io/devtools-protocol/tot/CSS#type-CSSRuleType +type RuleType string + +// String returns the RuleType as string value. +func (t RuleType) String() string { + return string(t) +} + +// RuleType values. +const ( + RuleTypeMediaRule RuleType = "MediaRule" + RuleTypeSupportsRule RuleType = "SupportsRule" + RuleTypeContainerRule RuleType = "ContainerRule" + RuleTypeLayerRule RuleType = "LayerRule" + RuleTypeScopeRule RuleType = "ScopeRule" + RuleTypeStyleRule RuleType = "StyleRule" +) + +// MarshalEasyJSON satisfies easyjson.Marshaler. +func (t RuleType) MarshalEasyJSON(out *jwriter.Writer) { + out.String(string(t)) +} + +// MarshalJSON satisfies json.Marshaler. +func (t RuleType) MarshalJSON() ([]byte, error) { + return easyjson.Marshal(t) +} + +// UnmarshalEasyJSON satisfies easyjson.Unmarshaler. +func (t *RuleType) UnmarshalEasyJSON(in *jlexer.Lexer) { + v := in.String() + switch RuleType(v) { + case RuleTypeMediaRule: + *t = RuleTypeMediaRule + case RuleTypeSupportsRule: + *t = RuleTypeSupportsRule + case RuleTypeContainerRule: + *t = RuleTypeContainerRule + case RuleTypeLayerRule: + *t = RuleTypeLayerRule + case RuleTypeScopeRule: + *t = RuleTypeScopeRule + case RuleTypeStyleRule: + *t = RuleTypeStyleRule + + default: + in.AddError(fmt.Errorf("unknown RuleType value: %v", v)) + } +} + +// UnmarshalJSON satisfies json.Unmarshaler. +func (t *RuleType) UnmarshalJSON(buf []byte) error { + return easyjson.Unmarshal(buf, t) } // RuleUsage CSS coverage information. @@ -347,6 +420,23 @@ type FontFace struct { FontVariationAxes []*FontVariationAxis `json:"fontVariationAxes,omitempty"` // Available variation settings (a.k.a. "axes"). } +// TryRule CSS try rule representation. +// +// See: https://chromedevtools.github.io/devtools-protocol/tot/CSS#type-CSSTryRule +type TryRule struct { + StyleSheetID StyleSheetID `json:"styleSheetId,omitempty"` // The css style sheet identifier (absent for user agent stylesheet and user-specified stylesheet rules) this rule came from. + Origin StyleSheetOrigin `json:"origin"` // Parent stylesheet's origin. + Style *Style `json:"style"` // Associated style declaration. +} + +// PositionFallbackRule CSS position-fallback rule representation. +// +// See: https://chromedevtools.github.io/devtools-protocol/tot/CSS#type-CSSPositionFallbackRule +type PositionFallbackRule struct { + Name *Value `json:"name"` + TryRules []*TryRule `json:"tryRules"` // List of keyframes. +} + // KeyframesRule CSS keyframes rule representation. // // See: https://chromedevtools.github.io/devtools-protocol/tot/CSS#type-CSSKeyframesRule @@ -355,6 +445,27 @@ type KeyframesRule struct { Keyframes []*KeyframeRule `json:"keyframes"` // List of keyframes. } +// PropertyRegistration representation of a custom property registration +// through CSS.registerProperty. +// +// See: https://chromedevtools.github.io/devtools-protocol/tot/CSS#type-CSSPropertyRegistration +type PropertyRegistration struct { + PropertyName string `json:"propertyName"` + InitialValue *Value `json:"initialValue,omitempty"` + Inherits bool `json:"inherits"` + Syntax string `json:"syntax"` +} + +// PropertyRule CSS property at-rule representation. +// +// See: https://chromedevtools.github.io/devtools-protocol/tot/CSS#type-CSSPropertyRule +type PropertyRule struct { + StyleSheetID StyleSheetID `json:"styleSheetId,omitempty"` // The css style sheet identifier (absent for user agent stylesheet and user-specified stylesheet rules) this rule came from. + Origin StyleSheetOrigin `json:"origin"` // Parent stylesheet's origin. + PropertyName *Value `json:"propertyName"` // Associated property name. + Style *Style `json:"style"` // Associated style declaration. +} + // KeyframeRule CSS keyframe rule representation. // // See: https://chromedevtools.github.io/devtools-protocol/tot/CSS#type-CSSKeyframeRule diff --git a/vendor/github.com/chromedp/cdproto/debugger/types.go b/vendor/github.com/chromedp/cdproto/debugger/types.go index 28225d0df9..a4466eb05e 100644 --- a/vendor/github.com/chromedp/cdproto/debugger/types.go +++ b/vendor/github.com/chromedp/cdproto/debugger/types.go @@ -353,6 +353,7 @@ const ( PausedReasonOther PausedReason = "other" PausedReasonPromiseRejection PausedReason = "promiseRejection" PausedReasonXHR PausedReason = "XHR" + PausedReasonStep PausedReason = "step" ) // MarshalEasyJSON satisfies easyjson.Marshaler. @@ -393,6 +394,8 @@ func (t *PausedReason) UnmarshalEasyJSON(in *jlexer.Lexer) { *t = PausedReasonPromiseRejection case PausedReasonXHR: *t = PausedReasonXHR + case PausedReasonStep: + *t = PausedReasonStep default: in.AddError(fmt.Errorf("unknown PausedReason value: %v", v)) diff --git a/vendor/github.com/chromedp/cdproto/dom/dom.go b/vendor/github.com/chromedp/cdproto/dom/dom.go index b680c5a97d..ede07fae4f 100644 --- a/vendor/github.com/chromedp/cdproto/dom/dom.go +++ b/vendor/github.com/chromedp/cdproto/dom/dom.go @@ -8,9 +8,7 @@ // nodes that are known to the client. Backend keeps track of the nodes that // were sent to the client and never sends the same node twice. It is client's // responsibility to collect information about the nodes that were sent to the -// client. -// -// Note that iframe owner elements will return corresponding document +// client. Note that iframe owner elements will return corresponding document // elements as their child nodes. // // Generated by the cdproto-gen command. diff --git a/vendor/github.com/chromedp/cdproto/domdebugger/domdebugger.go b/vendor/github.com/chromedp/cdproto/domdebugger/domdebugger.go index 58ad2341df..a24cbecb48 100644 --- a/vendor/github.com/chromedp/cdproto/domdebugger/domdebugger.go +++ b/vendor/github.com/chromedp/cdproto/domdebugger/domdebugger.go @@ -133,31 +133,6 @@ func (p *RemoveEventListenerBreakpointParams) Do(ctx context.Context) (err error return cdp.Execute(ctx, CommandRemoveEventListenerBreakpoint, p, nil) } -// RemoveInstrumentationBreakpointParams removes breakpoint on particular -// native event. -type RemoveInstrumentationBreakpointParams struct { - EventName string `json:"eventName"` // Instrumentation name to stop on. -} - -// RemoveInstrumentationBreakpoint removes breakpoint on particular native -// event. -// -// See: https://chromedevtools.github.io/devtools-protocol/tot/DOMDebugger#method-removeInstrumentationBreakpoint -// -// parameters: -// -// eventName - Instrumentation name to stop on. -func RemoveInstrumentationBreakpoint(eventName string) *RemoveInstrumentationBreakpointParams { - return &RemoveInstrumentationBreakpointParams{ - EventName: eventName, - } -} - -// Do executes DOMDebugger.removeInstrumentationBreakpoint against the provided context. -func (p *RemoveInstrumentationBreakpointParams) Do(ctx context.Context) (err error) { - return cdp.Execute(ctx, CommandRemoveInstrumentationBreakpoint, p, nil) -} - // RemoveXHRBreakpointParams removes breakpoint from XMLHttpRequest. type RemoveXHRBreakpointParams struct { URL string `json:"url"` // Resource URL substring. @@ -261,30 +236,6 @@ func (p *SetEventListenerBreakpointParams) Do(ctx context.Context) (err error) { return cdp.Execute(ctx, CommandSetEventListenerBreakpoint, p, nil) } -// SetInstrumentationBreakpointParams sets breakpoint on particular native -// event. -type SetInstrumentationBreakpointParams struct { - EventName string `json:"eventName"` // Instrumentation name to stop on. -} - -// SetInstrumentationBreakpoint sets breakpoint on particular native event. -// -// See: https://chromedevtools.github.io/devtools-protocol/tot/DOMDebugger#method-setInstrumentationBreakpoint -// -// parameters: -// -// eventName - Instrumentation name to stop on. -func SetInstrumentationBreakpoint(eventName string) *SetInstrumentationBreakpointParams { - return &SetInstrumentationBreakpointParams{ - EventName: eventName, - } -} - -// Do executes DOMDebugger.setInstrumentationBreakpoint against the provided context. -func (p *SetInstrumentationBreakpointParams) Do(ctx context.Context) (err error) { - return cdp.Execute(ctx, CommandSetInstrumentationBreakpoint, p, nil) -} - // SetXHRBreakpointParams sets breakpoint on XMLHttpRequest. type SetXHRBreakpointParams struct { URL string `json:"url"` // Resource URL substring. All XHRs having this substring in the URL will get stopped upon. @@ -310,14 +261,12 @@ func (p *SetXHRBreakpointParams) Do(ctx context.Context) (err error) { // Command names. const ( - CommandGetEventListeners = "DOMDebugger.getEventListeners" - CommandRemoveDOMBreakpoint = "DOMDebugger.removeDOMBreakpoint" - CommandRemoveEventListenerBreakpoint = "DOMDebugger.removeEventListenerBreakpoint" - CommandRemoveInstrumentationBreakpoint = "DOMDebugger.removeInstrumentationBreakpoint" - CommandRemoveXHRBreakpoint = "DOMDebugger.removeXHRBreakpoint" - CommandSetBreakOnCSPViolation = "DOMDebugger.setBreakOnCSPViolation" - CommandSetDOMBreakpoint = "DOMDebugger.setDOMBreakpoint" - CommandSetEventListenerBreakpoint = "DOMDebugger.setEventListenerBreakpoint" - CommandSetInstrumentationBreakpoint = "DOMDebugger.setInstrumentationBreakpoint" - CommandSetXHRBreakpoint = "DOMDebugger.setXHRBreakpoint" + CommandGetEventListeners = "DOMDebugger.getEventListeners" + CommandRemoveDOMBreakpoint = "DOMDebugger.removeDOMBreakpoint" + CommandRemoveEventListenerBreakpoint = "DOMDebugger.removeEventListenerBreakpoint" + CommandRemoveXHRBreakpoint = "DOMDebugger.removeXHRBreakpoint" + CommandSetBreakOnCSPViolation = "DOMDebugger.setBreakOnCSPViolation" + CommandSetDOMBreakpoint = "DOMDebugger.setDOMBreakpoint" + CommandSetEventListenerBreakpoint = "DOMDebugger.setEventListenerBreakpoint" + CommandSetXHRBreakpoint = "DOMDebugger.setXHRBreakpoint" ) diff --git a/vendor/github.com/chromedp/cdproto/domdebugger/easyjson.go b/vendor/github.com/chromedp/cdproto/domdebugger/easyjson.go index f33a454864..b7b3366777 100644 --- a/vendor/github.com/chromedp/cdproto/domdebugger/easyjson.go +++ b/vendor/github.com/chromedp/cdproto/domdebugger/easyjson.go @@ -84,73 +84,7 @@ func (v *SetXHRBreakpointParams) UnmarshalJSON(data []byte) error { func (v *SetXHRBreakpointParams) UnmarshalEasyJSON(l *jlexer.Lexer) { easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomdebugger(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomdebugger1(in *jlexer.Lexer, out *SetInstrumentationBreakpointParams) { - 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 "eventName": - out.EventName = string(in.String()) - default: - in.SkipRecursive() - } - in.WantComma() - } - in.Delim('}') - if isTopLevel { - in.Consumed() - } -} -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomdebugger1(out *jwriter.Writer, in SetInstrumentationBreakpointParams) { - out.RawByte('{') - first := true - _ = first - { - const prefix string = ",\"eventName\":" - out.RawString(prefix[1:]) - out.String(string(in.EventName)) - } - out.RawByte('}') -} - -// MarshalJSON supports json.Marshaler interface -func (v SetInstrumentationBreakpointParams) MarshalJSON() ([]byte, error) { - w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomdebugger1(&w, v) - return w.Buffer.BuildBytes(), w.Error -} - -// MarshalEasyJSON supports easyjson.Marshaler interface -func (v SetInstrumentationBreakpointParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomdebugger1(w, v) -} - -// UnmarshalJSON supports json.Unmarshaler interface -func (v *SetInstrumentationBreakpointParams) UnmarshalJSON(data []byte) error { - r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomdebugger1(&r, v) - return r.Error() -} - -// UnmarshalEasyJSON supports easyjson.Unmarshaler interface -func (v *SetInstrumentationBreakpointParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomdebugger1(l, v) -} -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomdebugger2(in *jlexer.Lexer, out *SetEventListenerBreakpointParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomdebugger1(in *jlexer.Lexer, out *SetEventListenerBreakpointParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -183,7 +117,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomdebugger2(in *jlexer.Lexer in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomdebugger2(out *jwriter.Writer, in SetEventListenerBreakpointParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomdebugger1(out *jwriter.Writer, in SetEventListenerBreakpointParams) { out.RawByte('{') first := true _ = first @@ -203,27 +137,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomdebugger2(out *jwriter.Wri // MarshalJSON supports json.Marshaler interface func (v SetEventListenerBreakpointParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomdebugger2(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomdebugger1(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v SetEventListenerBreakpointParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomdebugger2(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomdebugger1(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *SetEventListenerBreakpointParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomdebugger2(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomdebugger1(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *SetEventListenerBreakpointParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomdebugger2(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomdebugger1(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomdebugger3(in *jlexer.Lexer, out *SetDOMBreakpointParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomdebugger2(in *jlexer.Lexer, out *SetDOMBreakpointParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -256,7 +190,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomdebugger3(in *jlexer.Lexer in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomdebugger3(out *jwriter.Writer, in SetDOMBreakpointParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomdebugger2(out *jwriter.Writer, in SetDOMBreakpointParams) { out.RawByte('{') first := true _ = first @@ -276,27 +210,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomdebugger3(out *jwriter.Wri // MarshalJSON supports json.Marshaler interface func (v SetDOMBreakpointParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomdebugger3(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomdebugger2(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v SetDOMBreakpointParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomdebugger3(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomdebugger2(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *SetDOMBreakpointParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomdebugger3(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomdebugger2(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *SetDOMBreakpointParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomdebugger3(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomdebugger2(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomdebugger4(in *jlexer.Lexer, out *SetBreakOnCSPViolationParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomdebugger3(in *jlexer.Lexer, out *SetBreakOnCSPViolationParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -348,7 +282,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomdebugger4(in *jlexer.Lexer in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomdebugger4(out *jwriter.Writer, in SetBreakOnCSPViolationParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomdebugger3(out *jwriter.Writer, in SetBreakOnCSPViolationParams) { out.RawByte('{') first := true _ = first @@ -374,27 +308,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomdebugger4(out *jwriter.Wri // MarshalJSON supports json.Marshaler interface func (v SetBreakOnCSPViolationParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomdebugger4(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomdebugger3(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v SetBreakOnCSPViolationParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomdebugger4(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomdebugger3(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *SetBreakOnCSPViolationParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomdebugger4(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomdebugger3(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *SetBreakOnCSPViolationParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomdebugger4(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomdebugger3(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomdebugger5(in *jlexer.Lexer, out *RemoveXHRBreakpointParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomdebugger4(in *jlexer.Lexer, out *RemoveXHRBreakpointParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -425,7 +359,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomdebugger5(in *jlexer.Lexer in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomdebugger5(out *jwriter.Writer, in RemoveXHRBreakpointParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomdebugger4(out *jwriter.Writer, in RemoveXHRBreakpointParams) { out.RawByte('{') first := true _ = first @@ -440,93 +374,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomdebugger5(out *jwriter.Wri // MarshalJSON supports json.Marshaler interface func (v RemoveXHRBreakpointParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomdebugger5(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomdebugger4(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v RemoveXHRBreakpointParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomdebugger5(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomdebugger4(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *RemoveXHRBreakpointParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomdebugger5(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomdebugger4(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *RemoveXHRBreakpointParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomdebugger5(l, v) -} -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomdebugger6(in *jlexer.Lexer, out *RemoveInstrumentationBreakpointParams) { - 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 "eventName": - out.EventName = string(in.String()) - default: - in.SkipRecursive() - } - in.WantComma() - } - in.Delim('}') - if isTopLevel { - in.Consumed() - } -} -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomdebugger6(out *jwriter.Writer, in RemoveInstrumentationBreakpointParams) { - out.RawByte('{') - first := true - _ = first - { - const prefix string = ",\"eventName\":" - out.RawString(prefix[1:]) - out.String(string(in.EventName)) - } - out.RawByte('}') -} - -// MarshalJSON supports json.Marshaler interface -func (v RemoveInstrumentationBreakpointParams) MarshalJSON() ([]byte, error) { - w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomdebugger6(&w, v) - return w.Buffer.BuildBytes(), w.Error -} - -// MarshalEasyJSON supports easyjson.Marshaler interface -func (v RemoveInstrumentationBreakpointParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomdebugger6(w, v) -} - -// UnmarshalJSON supports json.Unmarshaler interface -func (v *RemoveInstrumentationBreakpointParams) UnmarshalJSON(data []byte) error { - r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomdebugger6(&r, v) - return r.Error() -} - -// UnmarshalEasyJSON supports easyjson.Unmarshaler interface -func (v *RemoveInstrumentationBreakpointParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomdebugger6(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomdebugger4(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomdebugger7(in *jlexer.Lexer, out *RemoveEventListenerBreakpointParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomdebugger5(in *jlexer.Lexer, out *RemoveEventListenerBreakpointParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -559,7 +427,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomdebugger7(in *jlexer.Lexer in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomdebugger7(out *jwriter.Writer, in RemoveEventListenerBreakpointParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomdebugger5(out *jwriter.Writer, in RemoveEventListenerBreakpointParams) { out.RawByte('{') first := true _ = first @@ -579,27 +447,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomdebugger7(out *jwriter.Wri // MarshalJSON supports json.Marshaler interface func (v RemoveEventListenerBreakpointParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomdebugger7(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomdebugger5(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v RemoveEventListenerBreakpointParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomdebugger7(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomdebugger5(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *RemoveEventListenerBreakpointParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomdebugger7(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomdebugger5(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *RemoveEventListenerBreakpointParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomdebugger7(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomdebugger5(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomdebugger8(in *jlexer.Lexer, out *RemoveDOMBreakpointParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomdebugger6(in *jlexer.Lexer, out *RemoveDOMBreakpointParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -632,7 +500,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomdebugger8(in *jlexer.Lexer in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomdebugger8(out *jwriter.Writer, in RemoveDOMBreakpointParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomdebugger6(out *jwriter.Writer, in RemoveDOMBreakpointParams) { out.RawByte('{') first := true _ = first @@ -652,27 +520,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomdebugger8(out *jwriter.Wri // MarshalJSON supports json.Marshaler interface func (v RemoveDOMBreakpointParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomdebugger8(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomdebugger6(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v RemoveDOMBreakpointParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomdebugger8(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomdebugger6(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *RemoveDOMBreakpointParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomdebugger8(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomdebugger6(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *RemoveDOMBreakpointParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomdebugger8(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomdebugger6(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomdebugger9(in *jlexer.Lexer, out *GetEventListenersReturns) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomdebugger7(in *jlexer.Lexer, out *GetEventListenersReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -732,7 +600,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomdebugger9(in *jlexer.Lexer in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomdebugger9(out *jwriter.Writer, in GetEventListenersReturns) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomdebugger7(out *jwriter.Writer, in GetEventListenersReturns) { out.RawByte('{') first := true _ = first @@ -761,27 +629,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomdebugger9(out *jwriter.Wri // MarshalJSON supports json.Marshaler interface func (v GetEventListenersReturns) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomdebugger9(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomdebugger7(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetEventListenersReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomdebugger9(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomdebugger7(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetEventListenersReturns) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomdebugger9(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomdebugger7(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetEventListenersReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomdebugger9(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomdebugger7(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomdebugger10(in *jlexer.Lexer, out *GetEventListenersParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomdebugger8(in *jlexer.Lexer, out *GetEventListenersParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -816,7 +684,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomdebugger10(in *jlexer.Lexe in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomdebugger10(out *jwriter.Writer, in GetEventListenersParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomdebugger8(out *jwriter.Writer, in GetEventListenersParams) { out.RawByte('{') first := true _ = first @@ -841,27 +709,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomdebugger10(out *jwriter.Wr // MarshalJSON supports json.Marshaler interface func (v GetEventListenersParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomdebugger10(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomdebugger8(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetEventListenersParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomdebugger10(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomdebugger8(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetEventListenersParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomdebugger10(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomdebugger8(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetEventListenersParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomdebugger10(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomdebugger8(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomdebugger11(in *jlexer.Lexer, out *EventListener) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomdebugger9(in *jlexer.Lexer, out *EventListener) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -926,7 +794,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomdebugger11(in *jlexer.Lexe in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomdebugger11(out *jwriter.Writer, in EventListener) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomdebugger9(out *jwriter.Writer, in EventListener) { out.RawByte('{') first := true _ = first @@ -986,23 +854,23 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomdebugger11(out *jwriter.Wr // MarshalJSON supports json.Marshaler interface func (v EventListener) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomdebugger11(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomdebugger9(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventListener) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomdebugger11(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomdebugger9(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventListener) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomdebugger11(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomdebugger9(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventListener) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomdebugger11(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomdebugger9(l, v) } diff --git a/vendor/github.com/chromedp/cdproto/eventbreakpoints/easyjson.go b/vendor/github.com/chromedp/cdproto/eventbreakpoints/easyjson.go index 77d0205f3c..b94294e1cc 100644 --- a/vendor/github.com/chromedp/cdproto/eventbreakpoints/easyjson.go +++ b/vendor/github.com/chromedp/cdproto/eventbreakpoints/easyjson.go @@ -149,3 +149,62 @@ func (v *RemoveInstrumentationBreakpointParams) UnmarshalJSON(data []byte) error func (v *RemoveInstrumentationBreakpointParams) UnmarshalEasyJSON(l *jlexer.Lexer) { easyjsonC5a4559bDecodeGithubComChromedpCdprotoEventbreakpoints1(l, v) } +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoEventbreakpoints2(in *jlexer.Lexer, out *DisableParams) { + 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 easyjsonC5a4559bEncodeGithubComChromedpCdprotoEventbreakpoints2(out *jwriter.Writer, in DisableParams) { + out.RawByte('{') + first := true + _ = first + out.RawByte('}') +} + +// MarshalJSON supports json.Marshaler interface +func (v DisableParams) MarshalJSON() ([]byte, error) { + w := jwriter.Writer{} + easyjsonC5a4559bEncodeGithubComChromedpCdprotoEventbreakpoints2(&w, v) + return w.Buffer.BuildBytes(), w.Error +} + +// MarshalEasyJSON supports easyjson.Marshaler interface +func (v DisableParams) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComChromedpCdprotoEventbreakpoints2(w, v) +} + +// UnmarshalJSON supports json.Unmarshaler interface +func (v *DisableParams) UnmarshalJSON(data []byte) error { + r := jlexer.Lexer{Data: data} + easyjsonC5a4559bDecodeGithubComChromedpCdprotoEventbreakpoints2(&r, v) + return r.Error() +} + +// UnmarshalEasyJSON supports easyjson.Unmarshaler interface +func (v *DisableParams) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComChromedpCdprotoEventbreakpoints2(l, v) +} diff --git a/vendor/github.com/chromedp/cdproto/eventbreakpoints/eventbreakpoints.go b/vendor/github.com/chromedp/cdproto/eventbreakpoints/eventbreakpoints.go index baa2d5c5c5..ec9eff0f15 100644 --- a/vendor/github.com/chromedp/cdproto/eventbreakpoints/eventbreakpoints.go +++ b/vendor/github.com/chromedp/cdproto/eventbreakpoints/eventbreakpoints.go @@ -1,10 +1,10 @@ // Package eventbreakpoints provides the Chrome DevTools Protocol // commands, types, and events for the EventBreakpoints domain. // -// EventBreakpoints permits setting breakpoints on particular operations and -// events in targets that run JavaScript but do not have a DOM. JavaScript -// execution will stop on these operations as if there was a regular breakpoint -// set. +// EventBreakpoints permits setting JavaScript breakpoints on operations and +// events occurring in native code invoked from JavaScript. Once breakpoint is +// hit, it is reported through Debugger domain, similarly to regular breakpoints +// being hit. // // Generated by the cdproto-gen command. package eventbreakpoints @@ -66,8 +66,24 @@ func (p *RemoveInstrumentationBreakpointParams) Do(ctx context.Context) (err err return cdp.Execute(ctx, CommandRemoveInstrumentationBreakpoint, p, nil) } +// DisableParams removes all breakpoints. +type DisableParams struct{} + +// Disable removes all breakpoints. +// +// See: https://chromedevtools.github.io/devtools-protocol/tot/EventBreakpoints#method-disable +func Disable() *DisableParams { + return &DisableParams{} +} + +// Do executes EventBreakpoints.disable against the provided context. +func (p *DisableParams) Do(ctx context.Context) (err error) { + return cdp.Execute(ctx, CommandDisable, nil, nil) +} + // Command names. const ( CommandSetInstrumentationBreakpoint = "EventBreakpoints.setInstrumentationBreakpoint" CommandRemoveInstrumentationBreakpoint = "EventBreakpoints.removeInstrumentationBreakpoint" + CommandDisable = "EventBreakpoints.disable" ) diff --git a/vendor/github.com/chromedp/cdproto/fedcm/easyjson.go b/vendor/github.com/chromedp/cdproto/fedcm/easyjson.go new file mode 100644 index 0000000000..2bf03cb4fd --- /dev/null +++ b/vendor/github.com/chromedp/cdproto/fedcm/easyjson.go @@ -0,0 +1,683 @@ +// Code generated by easyjson for marshaling/unmarshaling. DO NOT EDIT. + +package fedcm + +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 easyjsonC5a4559bDecodeGithubComChromedpCdprotoFedcm(in *jlexer.Lexer, out *SelectAccountParams) { + 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 "dialogId": + out.DialogID = string(in.String()) + case "accountIndex": + out.AccountIndex = int64(in.Int64()) + default: + in.SkipRecursive() + } + in.WantComma() + } + in.Delim('}') + if isTopLevel { + in.Consumed() + } +} +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoFedcm(out *jwriter.Writer, in SelectAccountParams) { + out.RawByte('{') + first := true + _ = first + { + const prefix string = ",\"dialogId\":" + out.RawString(prefix[1:]) + out.String(string(in.DialogID)) + } + { + const prefix string = ",\"accountIndex\":" + out.RawString(prefix) + out.Int64(int64(in.AccountIndex)) + } + out.RawByte('}') +} + +// MarshalJSON supports json.Marshaler interface +func (v SelectAccountParams) MarshalJSON() ([]byte, error) { + w := jwriter.Writer{} + easyjsonC5a4559bEncodeGithubComChromedpCdprotoFedcm(&w, v) + return w.Buffer.BuildBytes(), w.Error +} + +// MarshalEasyJSON supports easyjson.Marshaler interface +func (v SelectAccountParams) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComChromedpCdprotoFedcm(w, v) +} + +// UnmarshalJSON supports json.Unmarshaler interface +func (v *SelectAccountParams) UnmarshalJSON(data []byte) error { + r := jlexer.Lexer{Data: data} + easyjsonC5a4559bDecodeGithubComChromedpCdprotoFedcm(&r, v) + return r.Error() +} + +// UnmarshalEasyJSON supports easyjson.Unmarshaler interface +func (v *SelectAccountParams) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComChromedpCdprotoFedcm(l, v) +} +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoFedcm1(in *jlexer.Lexer, out *ResetCooldownParams) { + 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 easyjsonC5a4559bEncodeGithubComChromedpCdprotoFedcm1(out *jwriter.Writer, in ResetCooldownParams) { + out.RawByte('{') + first := true + _ = first + out.RawByte('}') +} + +// MarshalJSON supports json.Marshaler interface +func (v ResetCooldownParams) MarshalJSON() ([]byte, error) { + w := jwriter.Writer{} + easyjsonC5a4559bEncodeGithubComChromedpCdprotoFedcm1(&w, v) + return w.Buffer.BuildBytes(), w.Error +} + +// MarshalEasyJSON supports easyjson.Marshaler interface +func (v ResetCooldownParams) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComChromedpCdprotoFedcm1(w, v) +} + +// UnmarshalJSON supports json.Unmarshaler interface +func (v *ResetCooldownParams) UnmarshalJSON(data []byte) error { + r := jlexer.Lexer{Data: data} + easyjsonC5a4559bDecodeGithubComChromedpCdprotoFedcm1(&r, v) + return r.Error() +} + +// UnmarshalEasyJSON supports easyjson.Unmarshaler interface +func (v *ResetCooldownParams) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComChromedpCdprotoFedcm1(l, v) +} +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoFedcm2(in *jlexer.Lexer, out *EventDialogShown) { + 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 "dialogId": + out.DialogID = string(in.String()) + case "dialogType": + (out.DialogType).UnmarshalEasyJSON(in) + case "accounts": + if in.IsNull() { + in.Skip() + out.Accounts = nil + } else { + in.Delim('[') + if out.Accounts == nil { + if !in.IsDelim(']') { + out.Accounts = make([]*Account, 0, 8) + } else { + out.Accounts = []*Account{} + } + } else { + out.Accounts = (out.Accounts)[:0] + } + for !in.IsDelim(']') { + var v1 *Account + if in.IsNull() { + in.Skip() + v1 = nil + } else { + if v1 == nil { + v1 = new(Account) + } + (*v1).UnmarshalEasyJSON(in) + } + out.Accounts = append(out.Accounts, v1) + in.WantComma() + } + in.Delim(']') + } + case "title": + out.Title = string(in.String()) + case "subtitle": + out.Subtitle = string(in.String()) + default: + in.SkipRecursive() + } + in.WantComma() + } + in.Delim('}') + if isTopLevel { + in.Consumed() + } +} +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoFedcm2(out *jwriter.Writer, in EventDialogShown) { + out.RawByte('{') + first := true + _ = first + { + const prefix string = ",\"dialogId\":" + out.RawString(prefix[1:]) + out.String(string(in.DialogID)) + } + { + const prefix string = ",\"dialogType\":" + out.RawString(prefix) + (in.DialogType).MarshalEasyJSON(out) + } + { + const prefix string = ",\"accounts\":" + out.RawString(prefix) + if in.Accounts == nil && (out.Flags&jwriter.NilSliceAsEmpty) == 0 { + out.RawString("null") + } else { + out.RawByte('[') + for v2, v3 := range in.Accounts { + if v2 > 0 { + out.RawByte(',') + } + if v3 == nil { + out.RawString("null") + } else { + (*v3).MarshalEasyJSON(out) + } + } + out.RawByte(']') + } + } + { + const prefix string = ",\"title\":" + out.RawString(prefix) + out.String(string(in.Title)) + } + if in.Subtitle != "" { + const prefix string = ",\"subtitle\":" + out.RawString(prefix) + out.String(string(in.Subtitle)) + } + out.RawByte('}') +} + +// MarshalJSON supports json.Marshaler interface +func (v EventDialogShown) MarshalJSON() ([]byte, error) { + w := jwriter.Writer{} + easyjsonC5a4559bEncodeGithubComChromedpCdprotoFedcm2(&w, v) + return w.Buffer.BuildBytes(), w.Error +} + +// MarshalEasyJSON supports easyjson.Marshaler interface +func (v EventDialogShown) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComChromedpCdprotoFedcm2(w, v) +} + +// UnmarshalJSON supports json.Unmarshaler interface +func (v *EventDialogShown) UnmarshalJSON(data []byte) error { + r := jlexer.Lexer{Data: data} + easyjsonC5a4559bDecodeGithubComChromedpCdprotoFedcm2(&r, v) + return r.Error() +} + +// UnmarshalEasyJSON supports easyjson.Unmarshaler interface +func (v *EventDialogShown) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComChromedpCdprotoFedcm2(l, v) +} +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoFedcm3(in *jlexer.Lexer, out *EnableParams) { + 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 "disableRejectionDelay": + out.DisableRejectionDelay = bool(in.Bool()) + default: + in.SkipRecursive() + } + in.WantComma() + } + in.Delim('}') + if isTopLevel { + in.Consumed() + } +} +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoFedcm3(out *jwriter.Writer, in EnableParams) { + out.RawByte('{') + first := true + _ = first + if in.DisableRejectionDelay { + const prefix string = ",\"disableRejectionDelay\":" + first = false + out.RawString(prefix[1:]) + out.Bool(bool(in.DisableRejectionDelay)) + } + out.RawByte('}') +} + +// MarshalJSON supports json.Marshaler interface +func (v EnableParams) MarshalJSON() ([]byte, error) { + w := jwriter.Writer{} + easyjsonC5a4559bEncodeGithubComChromedpCdprotoFedcm3(&w, v) + return w.Buffer.BuildBytes(), w.Error +} + +// MarshalEasyJSON supports easyjson.Marshaler interface +func (v EnableParams) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComChromedpCdprotoFedcm3(w, v) +} + +// UnmarshalJSON supports json.Unmarshaler interface +func (v *EnableParams) UnmarshalJSON(data []byte) error { + r := jlexer.Lexer{Data: data} + easyjsonC5a4559bDecodeGithubComChromedpCdprotoFedcm3(&r, v) + return r.Error() +} + +// UnmarshalEasyJSON supports easyjson.Unmarshaler interface +func (v *EnableParams) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComChromedpCdprotoFedcm3(l, v) +} +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoFedcm4(in *jlexer.Lexer, out *DismissDialogParams) { + 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 "dialogId": + out.DialogID = string(in.String()) + case "triggerCooldown": + out.TriggerCooldown = bool(in.Bool()) + default: + in.SkipRecursive() + } + in.WantComma() + } + in.Delim('}') + if isTopLevel { + in.Consumed() + } +} +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoFedcm4(out *jwriter.Writer, in DismissDialogParams) { + out.RawByte('{') + first := true + _ = first + { + const prefix string = ",\"dialogId\":" + out.RawString(prefix[1:]) + out.String(string(in.DialogID)) + } + if in.TriggerCooldown { + const prefix string = ",\"triggerCooldown\":" + out.RawString(prefix) + out.Bool(bool(in.TriggerCooldown)) + } + out.RawByte('}') +} + +// MarshalJSON supports json.Marshaler interface +func (v DismissDialogParams) MarshalJSON() ([]byte, error) { + w := jwriter.Writer{} + easyjsonC5a4559bEncodeGithubComChromedpCdprotoFedcm4(&w, v) + return w.Buffer.BuildBytes(), w.Error +} + +// MarshalEasyJSON supports easyjson.Marshaler interface +func (v DismissDialogParams) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComChromedpCdprotoFedcm4(w, v) +} + +// UnmarshalJSON supports json.Unmarshaler interface +func (v *DismissDialogParams) UnmarshalJSON(data []byte) error { + r := jlexer.Lexer{Data: data} + easyjsonC5a4559bDecodeGithubComChromedpCdprotoFedcm4(&r, v) + return r.Error() +} + +// UnmarshalEasyJSON supports easyjson.Unmarshaler interface +func (v *DismissDialogParams) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComChromedpCdprotoFedcm4(l, v) +} +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoFedcm5(in *jlexer.Lexer, out *DisableParams) { + 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 easyjsonC5a4559bEncodeGithubComChromedpCdprotoFedcm5(out *jwriter.Writer, in DisableParams) { + out.RawByte('{') + first := true + _ = first + out.RawByte('}') +} + +// MarshalJSON supports json.Marshaler interface +func (v DisableParams) MarshalJSON() ([]byte, error) { + w := jwriter.Writer{} + easyjsonC5a4559bEncodeGithubComChromedpCdprotoFedcm5(&w, v) + return w.Buffer.BuildBytes(), w.Error +} + +// MarshalEasyJSON supports easyjson.Marshaler interface +func (v DisableParams) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComChromedpCdprotoFedcm5(w, v) +} + +// UnmarshalJSON supports json.Unmarshaler interface +func (v *DisableParams) UnmarshalJSON(data []byte) error { + r := jlexer.Lexer{Data: data} + easyjsonC5a4559bDecodeGithubComChromedpCdprotoFedcm5(&r, v) + return r.Error() +} + +// UnmarshalEasyJSON supports easyjson.Unmarshaler interface +func (v *DisableParams) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComChromedpCdprotoFedcm5(l, v) +} +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoFedcm6(in *jlexer.Lexer, out *ConfirmIdpLoginParams) { + 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 "dialogId": + out.DialogID = string(in.String()) + default: + in.SkipRecursive() + } + in.WantComma() + } + in.Delim('}') + if isTopLevel { + in.Consumed() + } +} +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoFedcm6(out *jwriter.Writer, in ConfirmIdpLoginParams) { + out.RawByte('{') + first := true + _ = first + { + const prefix string = ",\"dialogId\":" + out.RawString(prefix[1:]) + out.String(string(in.DialogID)) + } + out.RawByte('}') +} + +// MarshalJSON supports json.Marshaler interface +func (v ConfirmIdpLoginParams) MarshalJSON() ([]byte, error) { + w := jwriter.Writer{} + easyjsonC5a4559bEncodeGithubComChromedpCdprotoFedcm6(&w, v) + return w.Buffer.BuildBytes(), w.Error +} + +// MarshalEasyJSON supports easyjson.Marshaler interface +func (v ConfirmIdpLoginParams) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComChromedpCdprotoFedcm6(w, v) +} + +// UnmarshalJSON supports json.Unmarshaler interface +func (v *ConfirmIdpLoginParams) UnmarshalJSON(data []byte) error { + r := jlexer.Lexer{Data: data} + easyjsonC5a4559bDecodeGithubComChromedpCdprotoFedcm6(&r, v) + return r.Error() +} + +// UnmarshalEasyJSON supports easyjson.Unmarshaler interface +func (v *ConfirmIdpLoginParams) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComChromedpCdprotoFedcm6(l, v) +} +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoFedcm7(in *jlexer.Lexer, out *Account) { + 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 "accountId": + out.AccountID = string(in.String()) + case "email": + out.Email = string(in.String()) + case "name": + out.Name = string(in.String()) + case "givenName": + out.GivenName = string(in.String()) + case "pictureUrl": + out.PictureURL = string(in.String()) + case "idpConfigUrl": + out.IdpConfigURL = string(in.String()) + case "idpLoginUrl": + out.IdpLoginURL = string(in.String()) + case "loginState": + (out.LoginState).UnmarshalEasyJSON(in) + case "termsOfServiceUrl": + out.TermsOfServiceURL = string(in.String()) + case "privacyPolicyUrl": + out.PrivacyPolicyURL = string(in.String()) + default: + in.SkipRecursive() + } + in.WantComma() + } + in.Delim('}') + if isTopLevel { + in.Consumed() + } +} +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoFedcm7(out *jwriter.Writer, in Account) { + out.RawByte('{') + first := true + _ = first + { + const prefix string = ",\"accountId\":" + out.RawString(prefix[1:]) + out.String(string(in.AccountID)) + } + { + const prefix string = ",\"email\":" + out.RawString(prefix) + out.String(string(in.Email)) + } + { + const prefix string = ",\"name\":" + out.RawString(prefix) + out.String(string(in.Name)) + } + { + const prefix string = ",\"givenName\":" + out.RawString(prefix) + out.String(string(in.GivenName)) + } + { + const prefix string = ",\"pictureUrl\":" + out.RawString(prefix) + out.String(string(in.PictureURL)) + } + { + const prefix string = ",\"idpConfigUrl\":" + out.RawString(prefix) + out.String(string(in.IdpConfigURL)) + } + { + const prefix string = ",\"idpLoginUrl\":" + out.RawString(prefix) + out.String(string(in.IdpLoginURL)) + } + { + const prefix string = ",\"loginState\":" + out.RawString(prefix) + (in.LoginState).MarshalEasyJSON(out) + } + if in.TermsOfServiceURL != "" { + const prefix string = ",\"termsOfServiceUrl\":" + out.RawString(prefix) + out.String(string(in.TermsOfServiceURL)) + } + if in.PrivacyPolicyURL != "" { + const prefix string = ",\"privacyPolicyUrl\":" + out.RawString(prefix) + out.String(string(in.PrivacyPolicyURL)) + } + out.RawByte('}') +} + +// MarshalJSON supports json.Marshaler interface +func (v Account) MarshalJSON() ([]byte, error) { + w := jwriter.Writer{} + easyjsonC5a4559bEncodeGithubComChromedpCdprotoFedcm7(&w, v) + return w.Buffer.BuildBytes(), w.Error +} + +// MarshalEasyJSON supports easyjson.Marshaler interface +func (v Account) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComChromedpCdprotoFedcm7(w, v) +} + +// UnmarshalJSON supports json.Unmarshaler interface +func (v *Account) UnmarshalJSON(data []byte) error { + r := jlexer.Lexer{Data: data} + easyjsonC5a4559bDecodeGithubComChromedpCdprotoFedcm7(&r, v) + return r.Error() +} + +// UnmarshalEasyJSON supports easyjson.Unmarshaler interface +func (v *Account) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComChromedpCdprotoFedcm7(l, v) +} diff --git a/vendor/github.com/chromedp/cdproto/fedcm/events.go b/vendor/github.com/chromedp/cdproto/fedcm/events.go new file mode 100644 index 0000000000..61f94aa78e --- /dev/null +++ b/vendor/github.com/chromedp/cdproto/fedcm/events.go @@ -0,0 +1,14 @@ +package fedcm + +// Code generated by cdproto-gen. DO NOT EDIT. + +// EventDialogShown [no description]. +// +// See: https://chromedevtools.github.io/devtools-protocol/tot/FedCm#event-dialogShown +type EventDialogShown struct { + DialogID string `json:"dialogId"` + DialogType DialogType `json:"dialogType"` + Accounts []*Account `json:"accounts"` + Title string `json:"title"` // These exist primarily so that the caller can verify the RP context was used appropriately. + Subtitle string `json:"subtitle,omitempty"` +} diff --git a/vendor/github.com/chromedp/cdproto/fedcm/fedcm.go b/vendor/github.com/chromedp/cdproto/fedcm/fedcm.go new file mode 100644 index 0000000000..fdd9e1fd36 --- /dev/null +++ b/vendor/github.com/chromedp/cdproto/fedcm/fedcm.go @@ -0,0 +1,165 @@ +// Package fedcm provides the Chrome DevTools Protocol +// commands, types, and events for the FedCm domain. +// +// This domain allows interacting with the FedCM dialog. +// +// Generated by the cdproto-gen command. +package fedcm + +// Code generated by cdproto-gen. DO NOT EDIT. + +import ( + "context" + + "github.com/chromedp/cdproto/cdp" +) + +// EnableParams [no description]. +type EnableParams struct { + DisableRejectionDelay bool `json:"disableRejectionDelay,omitempty"` // Allows callers to disable the promise rejection delay that would normally happen, if this is unimportant to what's being tested. (step 4 of https://fedidcg.github.io/FedCM/#browser-api-rp-sign-in) +} + +// Enable [no description]. +// +// See: https://chromedevtools.github.io/devtools-protocol/tot/FedCm#method-enable +// +// parameters: +func Enable() *EnableParams { + return &EnableParams{} +} + +// WithDisableRejectionDelay allows callers to disable the promise rejection +// delay that would normally happen, if this is unimportant to what's being +// tested. (step 4 of https://fedidcg.github.io/FedCM/#browser-api-rp-sign-in). +func (p EnableParams) WithDisableRejectionDelay(disableRejectionDelay bool) *EnableParams { + p.DisableRejectionDelay = disableRejectionDelay + return &p +} + +// Do executes FedCm.enable against the provided context. +func (p *EnableParams) Do(ctx context.Context) (err error) { + return cdp.Execute(ctx, CommandEnable, p, nil) +} + +// DisableParams [no description]. +type DisableParams struct{} + +// Disable [no description]. +// +// See: https://chromedevtools.github.io/devtools-protocol/tot/FedCm#method-disable +func Disable() *DisableParams { + return &DisableParams{} +} + +// Do executes FedCm.disable against the provided context. +func (p *DisableParams) Do(ctx context.Context) (err error) { + return cdp.Execute(ctx, CommandDisable, nil, nil) +} + +// SelectAccountParams [no description]. +type SelectAccountParams struct { + DialogID string `json:"dialogId"` + AccountIndex int64 `json:"accountIndex"` +} + +// SelectAccount [no description]. +// +// See: https://chromedevtools.github.io/devtools-protocol/tot/FedCm#method-selectAccount +// +// parameters: +// +// dialogID +// accountIndex +func SelectAccount(dialogID string, accountIndex int64) *SelectAccountParams { + return &SelectAccountParams{ + DialogID: dialogID, + AccountIndex: accountIndex, + } +} + +// Do executes FedCm.selectAccount against the provided context. +func (p *SelectAccountParams) Do(ctx context.Context) (err error) { + return cdp.Execute(ctx, CommandSelectAccount, p, nil) +} + +// ConfirmIdpLoginParams only valid if the dialog type is ConfirmIdpLogin. +// Acts as if the user had clicked the continue button. +type ConfirmIdpLoginParams struct { + DialogID string `json:"dialogId"` +} + +// ConfirmIdpLogin only valid if the dialog type is ConfirmIdpLogin. Acts as +// if the user had clicked the continue button. +// +// See: https://chromedevtools.github.io/devtools-protocol/tot/FedCm#method-confirmIdpLogin +// +// parameters: +// +// dialogID +func ConfirmIdpLogin(dialogID string) *ConfirmIdpLoginParams { + return &ConfirmIdpLoginParams{ + DialogID: dialogID, + } +} + +// Do executes FedCm.confirmIdpLogin against the provided context. +func (p *ConfirmIdpLoginParams) Do(ctx context.Context) (err error) { + return cdp.Execute(ctx, CommandConfirmIdpLogin, p, nil) +} + +// DismissDialogParams [no description]. +type DismissDialogParams struct { + DialogID string `json:"dialogId"` + TriggerCooldown bool `json:"triggerCooldown,omitempty"` +} + +// DismissDialog [no description]. +// +// See: https://chromedevtools.github.io/devtools-protocol/tot/FedCm#method-dismissDialog +// +// parameters: +// +// dialogID +func DismissDialog(dialogID string) *DismissDialogParams { + return &DismissDialogParams{ + DialogID: dialogID, + } +} + +// WithTriggerCooldown [no description]. +func (p DismissDialogParams) WithTriggerCooldown(triggerCooldown bool) *DismissDialogParams { + p.TriggerCooldown = triggerCooldown + return &p +} + +// Do executes FedCm.dismissDialog against the provided context. +func (p *DismissDialogParams) Do(ctx context.Context) (err error) { + return cdp.Execute(ctx, CommandDismissDialog, p, nil) +} + +// ResetCooldownParams resets the cooldown time, if any, to allow the next +// FedCM call to show a dialog even if one was recently dismissed by the user. +type ResetCooldownParams struct{} + +// ResetCooldown resets the cooldown time, if any, to allow the next FedCM +// call to show a dialog even if one was recently dismissed by the user. +// +// See: https://chromedevtools.github.io/devtools-protocol/tot/FedCm#method-resetCooldown +func ResetCooldown() *ResetCooldownParams { + return &ResetCooldownParams{} +} + +// Do executes FedCm.resetCooldown against the provided context. +func (p *ResetCooldownParams) Do(ctx context.Context) (err error) { + return cdp.Execute(ctx, CommandResetCooldown, nil, nil) +} + +// Command names. +const ( + CommandEnable = "FedCm.enable" + CommandDisable = "FedCm.disable" + CommandSelectAccount = "FedCm.selectAccount" + CommandConfirmIdpLogin = "FedCm.confirmIdpLogin" + CommandDismissDialog = "FedCm.dismissDialog" + CommandResetCooldown = "FedCm.resetCooldown" +) diff --git a/vendor/github.com/chromedp/cdproto/fedcm/types.go b/vendor/github.com/chromedp/cdproto/fedcm/types.go new file mode 100644 index 0000000000..d0251a1b07 --- /dev/null +++ b/vendor/github.com/chromedp/cdproto/fedcm/types.go @@ -0,0 +1,122 @@ +package fedcm + +// Code generated by cdproto-gen. DO NOT EDIT. + +import ( + "fmt" + + "github.com/mailru/easyjson" + "github.com/mailru/easyjson/jlexer" + "github.com/mailru/easyjson/jwriter" +) + +// LoginState whether this is a sign-up or sign-in action for this account, +// i.e. whether this account has ever been used to sign in to this RP before. +// +// See: https://chromedevtools.github.io/devtools-protocol/tot/FedCm#type-LoginState +type LoginState string + +// String returns the LoginState as string value. +func (t LoginState) String() string { + return string(t) +} + +// LoginState values. +const ( + LoginStateSignIn LoginState = "SignIn" + LoginStateSignUp LoginState = "SignUp" +) + +// MarshalEasyJSON satisfies easyjson.Marshaler. +func (t LoginState) MarshalEasyJSON(out *jwriter.Writer) { + out.String(string(t)) +} + +// MarshalJSON satisfies json.Marshaler. +func (t LoginState) MarshalJSON() ([]byte, error) { + return easyjson.Marshal(t) +} + +// UnmarshalEasyJSON satisfies easyjson.Unmarshaler. +func (t *LoginState) UnmarshalEasyJSON(in *jlexer.Lexer) { + v := in.String() + switch LoginState(v) { + case LoginStateSignIn: + *t = LoginStateSignIn + case LoginStateSignUp: + *t = LoginStateSignUp + + default: + in.AddError(fmt.Errorf("unknown LoginState value: %v", v)) + } +} + +// UnmarshalJSON satisfies json.Unmarshaler. +func (t *LoginState) UnmarshalJSON(buf []byte) error { + return easyjson.Unmarshal(buf, t) +} + +// DialogType whether the dialog shown is an account chooser or an auto +// re-authentication dialog. +// +// See: https://chromedevtools.github.io/devtools-protocol/tot/FedCm#type-DialogType +type DialogType string + +// String returns the DialogType as string value. +func (t DialogType) String() string { + return string(t) +} + +// DialogType values. +const ( + DialogTypeAccountChooser DialogType = "AccountChooser" + DialogTypeAutoReauthn DialogType = "AutoReauthn" + DialogTypeConfirmIdpLogin DialogType = "ConfirmIdpLogin" +) + +// MarshalEasyJSON satisfies easyjson.Marshaler. +func (t DialogType) MarshalEasyJSON(out *jwriter.Writer) { + out.String(string(t)) +} + +// MarshalJSON satisfies json.Marshaler. +func (t DialogType) MarshalJSON() ([]byte, error) { + return easyjson.Marshal(t) +} + +// UnmarshalEasyJSON satisfies easyjson.Unmarshaler. +func (t *DialogType) UnmarshalEasyJSON(in *jlexer.Lexer) { + v := in.String() + switch DialogType(v) { + case DialogTypeAccountChooser: + *t = DialogTypeAccountChooser + case DialogTypeAutoReauthn: + *t = DialogTypeAutoReauthn + case DialogTypeConfirmIdpLogin: + *t = DialogTypeConfirmIdpLogin + + default: + in.AddError(fmt.Errorf("unknown DialogType value: %v", v)) + } +} + +// UnmarshalJSON satisfies json.Unmarshaler. +func (t *DialogType) UnmarshalJSON(buf []byte) error { + return easyjson.Unmarshal(buf, t) +} + +// Account corresponds to IdentityRequestAccount. +// +// See: https://chromedevtools.github.io/devtools-protocol/tot/FedCm#type-Account +type Account struct { + AccountID string `json:"accountId"` + Email string `json:"email"` + Name string `json:"name"` + GivenName string `json:"givenName"` + PictureURL string `json:"pictureUrl"` + IdpConfigURL string `json:"idpConfigUrl"` + IdpLoginURL string `json:"idpLoginUrl"` + LoginState LoginState `json:"loginState"` + TermsOfServiceURL string `json:"termsOfServiceUrl,omitempty"` // These two are only set if the loginState is signUp + PrivacyPolicyURL string `json:"privacyPolicyUrl,omitempty"` +} diff --git a/vendor/github.com/chromedp/cdproto/fetch/events.go b/vendor/github.com/chromedp/cdproto/fetch/events.go index 1b16fd4124..f940b94eaa 100644 --- a/vendor/github.com/chromedp/cdproto/fetch/events.go +++ b/vendor/github.com/chromedp/cdproto/fetch/events.go @@ -12,7 +12,12 @@ import ( // with one of continueRequest, failRequest or fulfillRequest. The stage of the // request can be determined by presence of responseErrorReason and // responseStatusCode -- the request is at the response stage if either of these -// fields is present and in the request stage otherwise. +// fields is present and in the request stage otherwise. Redirect responses and +// subsequent requests are reported similarly to regular responses and requests. +// Redirect responses may be distinguished by the value of responseStatusCode +// (which is one of 301, 302, 303, 307, 308) along with presence of the location +// header. Requests resulting from a redirect will have redirectedRequestId +// field set. // // See: https://chromedevtools.github.io/devtools-protocol/tot/Fetch#event-requestPaused type EventRequestPaused struct { diff --git a/vendor/github.com/chromedp/cdproto/fetch/fetch.go b/vendor/github.com/chromedp/cdproto/fetch/fetch.go index dac13ee8a2..87e4b79b5b 100644 --- a/vendor/github.com/chromedp/cdproto/fetch/fetch.go +++ b/vendor/github.com/chromedp/cdproto/fetch/fetch.go @@ -316,7 +316,10 @@ func (p *ContinueResponseParams) Do(ctx context.Context) (err error) { // that is paused in the Response stage and is mutually exclusive with // takeResponseBodyForInterceptionAsStream. Calling other methods that affect // the request or disabling fetch domain before body is received results in an -// undefined behavior. +// undefined behavior. Note that the response body is not available for +// redirects. Requests paused in the _redirect received_ state may be +// differentiated by responseCode and presence of location response header, see +// comments to requestPaused for details. type GetResponseBodyParams struct { RequestID RequestID `json:"requestId"` // Identifier for the intercepted request to get body for. } @@ -326,7 +329,10 @@ type GetResponseBodyParams struct { // is paused in the Response stage and is mutually exclusive with // takeResponseBodyForInterceptionAsStream. Calling other methods that affect // the request or disabling fetch domain before body is received results in an -// undefined behavior. +// undefined behavior. Note that the response body is not available for +// redirects. Requests paused in the _redirect received_ state may be +// differentiated by responseCode and presence of location response header, see +// comments to requestPaused for details. // // See: https://chromedevtools.github.io/devtools-protocol/tot/Fetch#method-getResponseBody // diff --git a/vendor/github.com/chromedp/cdproto/headlessexperimental/types.go b/vendor/github.com/chromedp/cdproto/headlessexperimental/types.go index 3b680d0f0a..85193c4250 100644 --- a/vendor/github.com/chromedp/cdproto/headlessexperimental/types.go +++ b/vendor/github.com/chromedp/cdproto/headlessexperimental/types.go @@ -15,7 +15,7 @@ import ( // See: https://chromedevtools.github.io/devtools-protocol/tot/HeadlessExperimental#type-ScreenshotParams type ScreenshotParams struct { Format ScreenshotParamsFormat `json:"format,omitempty"` // Image compression format (defaults to png). - Quality int64 `json:"quality,omitempty"` // Compression quality from range [0..100] (jpeg only). + Quality int64 `json:"quality,omitempty"` // Compression quality from range [0..100] (jpeg and webp only). OptimizeForSpeed bool `json:"optimizeForSpeed,omitempty"` // Optimize image encoding for speed, not for resulting size (defaults to false) } diff --git a/vendor/github.com/chromedp/cdproto/indexeddb/easyjson.go b/vendor/github.com/chromedp/cdproto/indexeddb/easyjson.go index 5c2a68cd2d..08ec00ad91 100644 --- a/vendor/github.com/chromedp/cdproto/indexeddb/easyjson.go +++ b/vendor/github.com/chromedp/cdproto/indexeddb/easyjson.go @@ -5,6 +5,7 @@ package indexeddb import ( json "encoding/json" runtime "github.com/chromedp/cdproto/runtime" + storage "github.com/chromedp/cdproto/storage" easyjson "github.com/mailru/easyjson" jlexer "github.com/mailru/easyjson/jlexer" jwriter "github.com/mailru/easyjson/jwriter" @@ -116,6 +117,16 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoIndexeddb1(in *jlexer.Lexer, out.SecurityOrigin = string(in.String()) case "storageKey": out.StorageKey = string(in.String()) + case "storageBucket": + if in.IsNull() { + in.Skip() + out.StorageBucket = nil + } else { + if out.StorageBucket == nil { + out.StorageBucket = new(storage.Bucket) + } + (*out.StorageBucket).UnmarshalEasyJSON(in) + } case "databaseName": out.DatabaseName = string(in.String()) default: @@ -148,6 +159,16 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoIndexeddb1(out *jwriter.Write } out.String(string(in.StorageKey)) } + if in.StorageBucket != nil { + const prefix string = ",\"storageBucket\":" + if first { + first = false + out.RawString(prefix[1:]) + } else { + out.RawString(prefix) + } + (*in.StorageBucket).MarshalEasyJSON(out) + } { const prefix string = ",\"databaseName\":" if first { @@ -304,6 +325,16 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoIndexeddb3(in *jlexer.Lexer, out.SecurityOrigin = string(in.String()) case "storageKey": out.StorageKey = string(in.String()) + case "storageBucket": + if in.IsNull() { + in.Skip() + out.StorageBucket = nil + } else { + if out.StorageBucket == nil { + out.StorageBucket = new(storage.Bucket) + } + (*out.StorageBucket).UnmarshalEasyJSON(in) + } default: in.SkipRecursive() } @@ -334,6 +365,16 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoIndexeddb3(out *jwriter.Write } out.String(string(in.StorageKey)) } + if in.StorageBucket != nil { + const prefix string = ",\"storageBucket\":" + if first { + first = false + out.RawString(prefix[1:]) + } else { + out.RawString(prefix) + } + (*in.StorageBucket).MarshalEasyJSON(out) + } out.RawByte('}') } @@ -504,6 +545,16 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoIndexeddb5(in *jlexer.Lexer, out.SecurityOrigin = string(in.String()) case "storageKey": out.StorageKey = string(in.String()) + case "storageBucket": + if in.IsNull() { + in.Skip() + out.StorageBucket = nil + } else { + if out.StorageBucket == nil { + out.StorageBucket = new(storage.Bucket) + } + (*out.StorageBucket).UnmarshalEasyJSON(in) + } case "databaseName": out.DatabaseName = string(in.String()) case "objectStoreName": @@ -554,6 +605,16 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoIndexeddb5(out *jwriter.Write } out.String(string(in.StorageKey)) } + if in.StorageBucket != nil { + const prefix string = ",\"storageBucket\":" + if first { + first = false + out.RawString(prefix[1:]) + } else { + out.RawString(prefix) + } + (*in.StorageBucket).MarshalEasyJSON(out) + } { const prefix string = ",\"databaseName\":" if first { @@ -1319,6 +1380,16 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoIndexeddb12(in *jlexer.Lexer, out.SecurityOrigin = string(in.String()) case "storageKey": out.StorageKey = string(in.String()) + case "storageBucket": + if in.IsNull() { + in.Skip() + out.StorageBucket = nil + } else { + if out.StorageBucket == nil { + out.StorageBucket = new(storage.Bucket) + } + (*out.StorageBucket).UnmarshalEasyJSON(in) + } case "databaseName": out.DatabaseName = string(in.String()) case "objectStoreName": @@ -1353,6 +1424,16 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoIndexeddb12(out *jwriter.Writ } out.String(string(in.StorageKey)) } + if in.StorageBucket != nil { + const prefix string = ",\"storageBucket\":" + if first { + first = false + out.RawString(prefix[1:]) + } else { + out.RawString(prefix) + } + (*in.StorageBucket).MarshalEasyJSON(out) + } { const prefix string = ",\"databaseName\":" if first { @@ -1535,6 +1616,16 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoIndexeddb15(in *jlexer.Lexer, out.SecurityOrigin = string(in.String()) case "storageKey": out.StorageKey = string(in.String()) + case "storageBucket": + if in.IsNull() { + in.Skip() + out.StorageBucket = nil + } else { + if out.StorageBucket == nil { + out.StorageBucket = new(storage.Bucket) + } + (*out.StorageBucket).UnmarshalEasyJSON(in) + } case "databaseName": out.DatabaseName = string(in.String()) case "objectStoreName": @@ -1579,6 +1670,16 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoIndexeddb15(out *jwriter.Writ } out.String(string(in.StorageKey)) } + if in.StorageBucket != nil { + const prefix string = ",\"storageBucket\":" + if first { + first = false + out.RawString(prefix[1:]) + } else { + out.RawString(prefix) + } + (*in.StorageBucket).MarshalEasyJSON(out) + } { const prefix string = ",\"databaseName\":" if first { @@ -1652,6 +1753,16 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoIndexeddb16(in *jlexer.Lexer, out.SecurityOrigin = string(in.String()) case "storageKey": out.StorageKey = string(in.String()) + case "storageBucket": + if in.IsNull() { + in.Skip() + out.StorageBucket = nil + } else { + if out.StorageBucket == nil { + out.StorageBucket = new(storage.Bucket) + } + (*out.StorageBucket).UnmarshalEasyJSON(in) + } case "databaseName": out.DatabaseName = string(in.String()) default: @@ -1684,6 +1795,16 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoIndexeddb16(out *jwriter.Writ } out.String(string(in.StorageKey)) } + if in.StorageBucket != nil { + const prefix string = ",\"storageBucket\":" + if first { + first = false + out.RawString(prefix[1:]) + } else { + out.RawString(prefix) + } + (*in.StorageBucket).MarshalEasyJSON(out) + } { const prefix string = ",\"databaseName\":" if first { @@ -1983,6 +2104,16 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoIndexeddb19(in *jlexer.Lexer, out.SecurityOrigin = string(in.String()) case "storageKey": out.StorageKey = string(in.String()) + case "storageBucket": + if in.IsNull() { + in.Skip() + out.StorageBucket = nil + } else { + if out.StorageBucket == nil { + out.StorageBucket = new(storage.Bucket) + } + (*out.StorageBucket).UnmarshalEasyJSON(in) + } case "databaseName": out.DatabaseName = string(in.String()) case "objectStoreName": @@ -2017,6 +2148,16 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoIndexeddb19(out *jwriter.Writ } out.String(string(in.StorageKey)) } + if in.StorageBucket != nil { + const prefix string = ",\"storageBucket\":" + if first { + first = false + out.RawString(prefix[1:]) + } else { + out.RawString(prefix) + } + (*in.StorageBucket).MarshalEasyJSON(out) + } { const prefix string = ",\"databaseName\":" if first { diff --git a/vendor/github.com/chromedp/cdproto/indexeddb/indexeddb.go b/vendor/github.com/chromedp/cdproto/indexeddb/indexeddb.go index de70f76a58..0de909f529 100644 --- a/vendor/github.com/chromedp/cdproto/indexeddb/indexeddb.go +++ b/vendor/github.com/chromedp/cdproto/indexeddb/indexeddb.go @@ -10,14 +10,16 @@ import ( "context" "github.com/chromedp/cdproto/cdp" + "github.com/chromedp/cdproto/storage" ) // ClearObjectStoreParams clears all entries from an object store. type ClearObjectStoreParams struct { - SecurityOrigin string `json:"securityOrigin,omitempty"` // At least and at most one of securityOrigin, storageKey must be specified. Security origin. - StorageKey string `json:"storageKey,omitempty"` // Storage key. - DatabaseName string `json:"databaseName"` // Database name. - ObjectStoreName string `json:"objectStoreName"` // Object store name. + SecurityOrigin string `json:"securityOrigin,omitempty"` // At least and at most one of securityOrigin, storageKey, or storageBucket must be specified. Security origin. + StorageKey string `json:"storageKey,omitempty"` // Storage key. + StorageBucket *storage.Bucket `json:"storageBucket,omitempty"` // Storage bucket. If not specified, it uses the default bucket. + DatabaseName string `json:"databaseName"` // Database name. + ObjectStoreName string `json:"objectStoreName"` // Object store name. } // ClearObjectStore clears all entries from an object store. @@ -35,8 +37,8 @@ func ClearObjectStore(databaseName string, objectStoreName string) *ClearObjectS } } -// WithSecurityOrigin at least and at most one of securityOrigin, storageKey -// must be specified. Security origin. +// WithSecurityOrigin at least and at most one of securityOrigin, storageKey, +// or storageBucket must be specified. Security origin. func (p ClearObjectStoreParams) WithSecurityOrigin(securityOrigin string) *ClearObjectStoreParams { p.SecurityOrigin = securityOrigin return &p @@ -48,6 +50,13 @@ func (p ClearObjectStoreParams) WithStorageKey(storageKey string) *ClearObjectSt return &p } +// WithStorageBucket storage bucket. If not specified, it uses the default +// bucket. +func (p ClearObjectStoreParams) WithStorageBucket(storageBucket *storage.Bucket) *ClearObjectStoreParams { + p.StorageBucket = storageBucket + return &p +} + // Do executes IndexedDB.clearObjectStore against the provided context. func (p *ClearObjectStoreParams) Do(ctx context.Context) (err error) { return cdp.Execute(ctx, CommandClearObjectStore, p, nil) @@ -55,9 +64,10 @@ func (p *ClearObjectStoreParams) Do(ctx context.Context) (err error) { // DeleteDatabaseParams deletes a database. type DeleteDatabaseParams struct { - SecurityOrigin string `json:"securityOrigin,omitempty"` // At least and at most one of securityOrigin, storageKey must be specified. Security origin. - StorageKey string `json:"storageKey,omitempty"` // Storage key. - DatabaseName string `json:"databaseName"` // Database name. + SecurityOrigin string `json:"securityOrigin,omitempty"` // At least and at most one of securityOrigin, storageKey, or storageBucket must be specified. Security origin. + StorageKey string `json:"storageKey,omitempty"` // Storage key. + StorageBucket *storage.Bucket `json:"storageBucket,omitempty"` // Storage bucket. If not specified, it uses the default bucket. + DatabaseName string `json:"databaseName"` // Database name. } // DeleteDatabase deletes a database. @@ -73,8 +83,8 @@ func DeleteDatabase(databaseName string) *DeleteDatabaseParams { } } -// WithSecurityOrigin at least and at most one of securityOrigin, storageKey -// must be specified. Security origin. +// WithSecurityOrigin at least and at most one of securityOrigin, storageKey, +// or storageBucket must be specified. Security origin. func (p DeleteDatabaseParams) WithSecurityOrigin(securityOrigin string) *DeleteDatabaseParams { p.SecurityOrigin = securityOrigin return &p @@ -86,6 +96,13 @@ func (p DeleteDatabaseParams) WithStorageKey(storageKey string) *DeleteDatabaseP return &p } +// WithStorageBucket storage bucket. If not specified, it uses the default +// bucket. +func (p DeleteDatabaseParams) WithStorageBucket(storageBucket *storage.Bucket) *DeleteDatabaseParams { + p.StorageBucket = storageBucket + return &p +} + // Do executes IndexedDB.deleteDatabase against the provided context. func (p *DeleteDatabaseParams) Do(ctx context.Context) (err error) { return cdp.Execute(ctx, CommandDeleteDatabase, p, nil) @@ -94,11 +111,12 @@ func (p *DeleteDatabaseParams) Do(ctx context.Context) (err error) { // DeleteObjectStoreEntriesParams delete a range of entries from an object // store. type DeleteObjectStoreEntriesParams struct { - SecurityOrigin string `json:"securityOrigin,omitempty"` // At least and at most one of securityOrigin, storageKey must be specified. Security origin. - StorageKey string `json:"storageKey,omitempty"` // Storage key. - DatabaseName string `json:"databaseName"` - ObjectStoreName string `json:"objectStoreName"` - KeyRange *KeyRange `json:"keyRange"` // Range of entry keys to delete + SecurityOrigin string `json:"securityOrigin,omitempty"` // At least and at most one of securityOrigin, storageKey, or storageBucket must be specified. Security origin. + StorageKey string `json:"storageKey,omitempty"` // Storage key. + StorageBucket *storage.Bucket `json:"storageBucket,omitempty"` // Storage bucket. If not specified, it uses the default bucket. + DatabaseName string `json:"databaseName"` + ObjectStoreName string `json:"objectStoreName"` + KeyRange *KeyRange `json:"keyRange"` // Range of entry keys to delete } // DeleteObjectStoreEntries delete a range of entries from an object store. @@ -118,8 +136,8 @@ func DeleteObjectStoreEntries(databaseName string, objectStoreName string, keyRa } } -// WithSecurityOrigin at least and at most one of securityOrigin, storageKey -// must be specified. Security origin. +// WithSecurityOrigin at least and at most one of securityOrigin, storageKey, +// or storageBucket must be specified. Security origin. func (p DeleteObjectStoreEntriesParams) WithSecurityOrigin(securityOrigin string) *DeleteObjectStoreEntriesParams { p.SecurityOrigin = securityOrigin return &p @@ -131,6 +149,13 @@ func (p DeleteObjectStoreEntriesParams) WithStorageKey(storageKey string) *Delet return &p } +// WithStorageBucket storage bucket. If not specified, it uses the default +// bucket. +func (p DeleteObjectStoreEntriesParams) WithStorageBucket(storageBucket *storage.Bucket) *DeleteObjectStoreEntriesParams { + p.StorageBucket = storageBucket + return &p +} + // Do executes IndexedDB.deleteObjectStoreEntries against the provided context. func (p *DeleteObjectStoreEntriesParams) Do(ctx context.Context) (err error) { return cdp.Execute(ctx, CommandDeleteObjectStoreEntries, p, nil) @@ -168,14 +193,15 @@ func (p *EnableParams) Do(ctx context.Context) (err error) { // RequestDataParams requests data from object store or index. type RequestDataParams struct { - SecurityOrigin string `json:"securityOrigin,omitempty"` // At least and at most one of securityOrigin, storageKey must be specified. Security origin. - StorageKey string `json:"storageKey,omitempty"` // Storage key. - DatabaseName string `json:"databaseName"` // Database name. - ObjectStoreName string `json:"objectStoreName"` // Object store name. - IndexName string `json:"indexName"` // Index name, empty string for object store data requests. - SkipCount int64 `json:"skipCount"` // Number of records to skip. - PageSize int64 `json:"pageSize"` // Number of records to fetch. - KeyRange *KeyRange `json:"keyRange,omitempty"` // Key range. + SecurityOrigin string `json:"securityOrigin,omitempty"` // At least and at most one of securityOrigin, storageKey, or storageBucket must be specified. Security origin. + StorageKey string `json:"storageKey,omitempty"` // Storage key. + StorageBucket *storage.Bucket `json:"storageBucket,omitempty"` // Storage bucket. If not specified, it uses the default bucket. + DatabaseName string `json:"databaseName"` // Database name. + ObjectStoreName string `json:"objectStoreName"` // Object store name. + IndexName string `json:"indexName"` // Index name, empty string for object store data requests. + SkipCount int64 `json:"skipCount"` // Number of records to skip. + PageSize int64 `json:"pageSize"` // Number of records to fetch. + KeyRange *KeyRange `json:"keyRange,omitempty"` // Key range. } // RequestData requests data from object store or index. @@ -199,8 +225,8 @@ func RequestData(databaseName string, objectStoreName string, indexName string, } } -// WithSecurityOrigin at least and at most one of securityOrigin, storageKey -// must be specified. Security origin. +// WithSecurityOrigin at least and at most one of securityOrigin, storageKey, +// or storageBucket must be specified. Security origin. func (p RequestDataParams) WithSecurityOrigin(securityOrigin string) *RequestDataParams { p.SecurityOrigin = securityOrigin return &p @@ -212,6 +238,13 @@ func (p RequestDataParams) WithStorageKey(storageKey string) *RequestDataParams return &p } +// WithStorageBucket storage bucket. If not specified, it uses the default +// bucket. +func (p RequestDataParams) WithStorageBucket(storageBucket *storage.Bucket) *RequestDataParams { + p.StorageBucket = storageBucket + return &p +} + // WithKeyRange key range. func (p RequestDataParams) WithKeyRange(keyRange *KeyRange) *RequestDataParams { p.KeyRange = keyRange @@ -243,10 +276,11 @@ func (p *RequestDataParams) Do(ctx context.Context) (objectStoreDataEntries []*D // GetMetadataParams gets metadata of an object store. type GetMetadataParams struct { - SecurityOrigin string `json:"securityOrigin,omitempty"` // At least and at most one of securityOrigin, storageKey must be specified. Security origin. - StorageKey string `json:"storageKey,omitempty"` // Storage key. - DatabaseName string `json:"databaseName"` // Database name. - ObjectStoreName string `json:"objectStoreName"` // Object store name. + SecurityOrigin string `json:"securityOrigin,omitempty"` // At least and at most one of securityOrigin, storageKey, or storageBucket must be specified. Security origin. + StorageKey string `json:"storageKey,omitempty"` // Storage key. + StorageBucket *storage.Bucket `json:"storageBucket,omitempty"` // Storage bucket. If not specified, it uses the default bucket. + DatabaseName string `json:"databaseName"` // Database name. + ObjectStoreName string `json:"objectStoreName"` // Object store name. } // GetMetadata gets metadata of an object store. @@ -264,8 +298,8 @@ func GetMetadata(databaseName string, objectStoreName string) *GetMetadataParams } } -// WithSecurityOrigin at least and at most one of securityOrigin, storageKey -// must be specified. Security origin. +// WithSecurityOrigin at least and at most one of securityOrigin, storageKey, +// or storageBucket must be specified. Security origin. func (p GetMetadataParams) WithSecurityOrigin(securityOrigin string) *GetMetadataParams { p.SecurityOrigin = securityOrigin return &p @@ -277,6 +311,13 @@ func (p GetMetadataParams) WithStorageKey(storageKey string) *GetMetadataParams return &p } +// WithStorageBucket storage bucket. If not specified, it uses the default +// bucket. +func (p GetMetadataParams) WithStorageBucket(storageBucket *storage.Bucket) *GetMetadataParams { + p.StorageBucket = storageBucket + return &p +} + // GetMetadataReturns return values. type GetMetadataReturns struct { EntriesCount float64 `json:"entriesCount,omitempty"` // the entries count @@ -302,9 +343,10 @@ func (p *GetMetadataParams) Do(ctx context.Context) (entriesCount float64, keyGe // RequestDatabaseParams requests database with given name in given frame. type RequestDatabaseParams struct { - SecurityOrigin string `json:"securityOrigin,omitempty"` // At least and at most one of securityOrigin, storageKey must be specified. Security origin. - StorageKey string `json:"storageKey,omitempty"` // Storage key. - DatabaseName string `json:"databaseName"` // Database name. + SecurityOrigin string `json:"securityOrigin,omitempty"` // At least and at most one of securityOrigin, storageKey, or storageBucket must be specified. Security origin. + StorageKey string `json:"storageKey,omitempty"` // Storage key. + StorageBucket *storage.Bucket `json:"storageBucket,omitempty"` // Storage bucket. If not specified, it uses the default bucket. + DatabaseName string `json:"databaseName"` // Database name. } // RequestDatabase requests database with given name in given frame. @@ -320,8 +362,8 @@ func RequestDatabase(databaseName string) *RequestDatabaseParams { } } -// WithSecurityOrigin at least and at most one of securityOrigin, storageKey -// must be specified. Security origin. +// WithSecurityOrigin at least and at most one of securityOrigin, storageKey, +// or storageBucket must be specified. Security origin. func (p RequestDatabaseParams) WithSecurityOrigin(securityOrigin string) *RequestDatabaseParams { p.SecurityOrigin = securityOrigin return &p @@ -333,6 +375,13 @@ func (p RequestDatabaseParams) WithStorageKey(storageKey string) *RequestDatabas return &p } +// WithStorageBucket storage bucket. If not specified, it uses the default +// bucket. +func (p RequestDatabaseParams) WithStorageBucket(storageBucket *storage.Bucket) *RequestDatabaseParams { + p.StorageBucket = storageBucket + return &p +} + // RequestDatabaseReturns return values. type RequestDatabaseReturns struct { DatabaseWithObjectStores *DatabaseWithObjectStores `json:"databaseWithObjectStores,omitempty"` // Database with an array of object stores. @@ -357,8 +406,9 @@ func (p *RequestDatabaseParams) Do(ctx context.Context) (databaseWithObjectStore // RequestDatabaseNamesParams requests database names for given security // origin. type RequestDatabaseNamesParams struct { - SecurityOrigin string `json:"securityOrigin,omitempty"` // At least and at most one of securityOrigin, storageKey must be specified. Security origin. - StorageKey string `json:"storageKey,omitempty"` // Storage key. + SecurityOrigin string `json:"securityOrigin,omitempty"` // At least and at most one of securityOrigin, storageKey, or storageBucket must be specified. Security origin. + StorageKey string `json:"storageKey,omitempty"` // Storage key. + StorageBucket *storage.Bucket `json:"storageBucket,omitempty"` // Storage bucket. If not specified, it uses the default bucket. } // RequestDatabaseNames requests database names for given security origin. @@ -370,8 +420,8 @@ func RequestDatabaseNames() *RequestDatabaseNamesParams { return &RequestDatabaseNamesParams{} } -// WithSecurityOrigin at least and at most one of securityOrigin, storageKey -// must be specified. Security origin. +// WithSecurityOrigin at least and at most one of securityOrigin, storageKey, +// or storageBucket must be specified. Security origin. func (p RequestDatabaseNamesParams) WithSecurityOrigin(securityOrigin string) *RequestDatabaseNamesParams { p.SecurityOrigin = securityOrigin return &p @@ -383,6 +433,13 @@ func (p RequestDatabaseNamesParams) WithStorageKey(storageKey string) *RequestDa return &p } +// WithStorageBucket storage bucket. If not specified, it uses the default +// bucket. +func (p RequestDatabaseNamesParams) WithStorageBucket(storageBucket *storage.Bucket) *RequestDatabaseNamesParams { + p.StorageBucket = storageBucket + return &p +} + // RequestDatabaseNamesReturns return values. type RequestDatabaseNamesReturns struct { DatabaseNames []string `json:"databaseNames,omitempty"` // Database names for origin. diff --git a/vendor/github.com/chromedp/cdproto/input/easyjson.go b/vendor/github.com/chromedp/cdproto/input/easyjson.go index 163623e38e..3462c8c36c 100644 --- a/vendor/github.com/chromedp/cdproto/input/easyjson.go +++ b/vendor/github.com/chromedp/cdproto/input/easyjson.go @@ -51,9 +51,9 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoInput(in *jlexer.Lexer, out * case "tangentialPressure": out.TangentialPressure = float64(in.Float64()) case "tiltX": - out.TiltX = int64(in.Int64()) + out.TiltX = float64(in.Float64()) case "tiltY": - out.TiltY = int64(in.Int64()) + out.TiltY = float64(in.Float64()) case "twist": out.Twist = int64(in.Int64()) case "id": @@ -110,12 +110,12 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoInput(out *jwriter.Writer, in if in.TiltX != 0 { const prefix string = ",\"tiltX\":" out.RawString(prefix) - out.Int64(int64(in.TiltX)) + out.Float64(float64(in.TiltX)) } if in.TiltY != 0 { const prefix string = ",\"tiltY\":" out.RawString(prefix) - out.Int64(int64(in.TiltY)) + out.Float64(float64(in.TiltY)) } if in.Twist != 0 { const prefix string = ",\"twist\":" @@ -1412,9 +1412,9 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoInput13(in *jlexer.Lexer, out case "tangentialPressure": out.TangentialPressure = float64(in.Float64()) case "tiltX": - out.TiltX = int64(in.Int64()) + out.TiltX = float64(in.Float64()) case "tiltY": - out.TiltY = int64(in.Int64()) + out.TiltY = float64(in.Float64()) case "twist": out.Twist = int64(in.Int64()) case "deltaX": @@ -1490,12 +1490,12 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoInput13(out *jwriter.Writer, if in.TiltX != 0 { const prefix string = ",\"tiltX\":" out.RawString(prefix) - out.Int64(int64(in.TiltX)) + out.Float64(float64(in.TiltX)) } if in.TiltY != 0 { const prefix string = ",\"tiltY\":" out.RawString(prefix) - out.Int64(int64(in.TiltY)) + out.Float64(float64(in.TiltY)) } if in.Twist != 0 { const prefix string = ",\"twist\":" @@ -1851,3 +1851,62 @@ func (v *DispatchDragEventParams) UnmarshalJSON(data []byte) error { func (v *DispatchDragEventParams) UnmarshalEasyJSON(l *jlexer.Lexer) { easyjsonC5a4559bDecodeGithubComChromedpCdprotoInput15(l, v) } +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoInput16(in *jlexer.Lexer, out *CancelDraggingParams) { + 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 easyjsonC5a4559bEncodeGithubComChromedpCdprotoInput16(out *jwriter.Writer, in CancelDraggingParams) { + out.RawByte('{') + first := true + _ = first + out.RawByte('}') +} + +// MarshalJSON supports json.Marshaler interface +func (v CancelDraggingParams) MarshalJSON() ([]byte, error) { + w := jwriter.Writer{} + easyjsonC5a4559bEncodeGithubComChromedpCdprotoInput16(&w, v) + return w.Buffer.BuildBytes(), w.Error +} + +// MarshalEasyJSON supports easyjson.Marshaler interface +func (v CancelDraggingParams) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComChromedpCdprotoInput16(w, v) +} + +// UnmarshalJSON supports json.Unmarshaler interface +func (v *CancelDraggingParams) UnmarshalJSON(data []byte) error { + r := jlexer.Lexer{Data: data} + easyjsonC5a4559bDecodeGithubComChromedpCdprotoInput16(&r, v) + return r.Error() +} + +// UnmarshalEasyJSON supports easyjson.Unmarshaler interface +func (v *CancelDraggingParams) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComChromedpCdprotoInput16(l, v) +} diff --git a/vendor/github.com/chromedp/cdproto/input/input.go b/vendor/github.com/chromedp/cdproto/input/input.go index 0281bc4fde..52b35e403c 100644 --- a/vendor/github.com/chromedp/cdproto/input/input.go +++ b/vendor/github.com/chromedp/cdproto/input/input.go @@ -272,8 +272,8 @@ type DispatchMouseEventParams struct { ClickCount int64 `json:"clickCount,omitempty"` // Number of times the mouse button was clicked (default: 0). Force float64 `json:"force,omitempty"` // The normalized pressure, which has a range of [0,1] (default: 0). TangentialPressure float64 `json:"tangentialPressure,omitempty"` // The normalized tangential pressure, which has a range of [-1,1] (default: 0). - TiltX int64 `json:"tiltX,omitempty"` // The plane angle between the Y-Z plane and the plane containing both the stylus axis and the Y axis, in degrees of the range [-90,90], a positive tiltX is to the right (default: 0). - TiltY int64 `json:"tiltY,omitempty"` // The plane angle between the X-Z plane and the plane containing both the stylus axis and the X axis, in degrees of the range [-90,90], a positive tiltY is towards the user (default: 0). + TiltX float64 `json:"tiltX,omitempty"` // The plane angle between the Y-Z plane and the plane containing both the stylus axis and the Y axis, in degrees of the range [-90,90], a positive tiltX is to the right (default: 0). + TiltY float64 `json:"tiltY,omitempty"` // The plane angle between the X-Z plane and the plane containing both the stylus axis and the X axis, in degrees of the range [-90,90], a positive tiltY is towards the user (default: 0). Twist int64 `json:"twist,omitempty"` // The clockwise rotation of a pen stylus around its own major axis, in degrees in the range [0,359] (default: 0). DeltaX float64 `json:"deltaX"` // X delta in CSS pixels for mouse wheel event (default: 0). DeltaY float64 `json:"deltaY"` // Y delta in CSS pixels for mouse wheel event (default: 0). @@ -347,7 +347,7 @@ func (p DispatchMouseEventParams) WithTangentialPressure(tangentialPressure floa // WithTiltX the plane angle between the Y-Z plane and the plane containing // both the stylus axis and the Y axis, in degrees of the range [-90,90], a // positive tiltX is to the right (default: 0). -func (p DispatchMouseEventParams) WithTiltX(tiltX int64) *DispatchMouseEventParams { +func (p DispatchMouseEventParams) WithTiltX(tiltX float64) *DispatchMouseEventParams { p.TiltX = tiltX return &p } @@ -355,7 +355,7 @@ func (p DispatchMouseEventParams) WithTiltX(tiltX int64) *DispatchMouseEventPara // WithTiltY the plane angle between the X-Z plane and the plane containing // both the stylus axis and the X axis, in degrees of the range [-90,90], a // positive tiltY is towards the user (default: 0). -func (p DispatchMouseEventParams) WithTiltY(tiltY int64) *DispatchMouseEventParams { +func (p DispatchMouseEventParams) WithTiltY(tiltY float64) *DispatchMouseEventParams { p.TiltY = tiltY return &p } @@ -431,6 +431,21 @@ func (p *DispatchTouchEventParams) Do(ctx context.Context) (err error) { return cdp.Execute(ctx, CommandDispatchTouchEvent, p, nil) } +// CancelDraggingParams cancels any active dragging in the page. +type CancelDraggingParams struct{} + +// CancelDragging cancels any active dragging in the page. +// +// See: https://chromedevtools.github.io/devtools-protocol/tot/Input#method-cancelDragging +func CancelDragging() *CancelDraggingParams { + return &CancelDraggingParams{} +} + +// Do executes Input.cancelDragging against the provided context. +func (p *CancelDraggingParams) Do(ctx context.Context) (err error) { + return cdp.Execute(ctx, CommandCancelDragging, nil, nil) +} + // EmulateTouchFromMouseEventParams emulates touch event from the mouse event // parameters. type EmulateTouchFromMouseEventParams struct { @@ -764,6 +779,7 @@ const ( CommandImeSetComposition = "Input.imeSetComposition" CommandDispatchMouseEvent = "Input.dispatchMouseEvent" CommandDispatchTouchEvent = "Input.dispatchTouchEvent" + CommandCancelDragging = "Input.cancelDragging" CommandEmulateTouchFromMouseEvent = "Input.emulateTouchFromMouseEvent" CommandSetIgnoreInputEvents = "Input.setIgnoreInputEvents" CommandSetInterceptDrags = "Input.setInterceptDrags" diff --git a/vendor/github.com/chromedp/cdproto/input/types.go b/vendor/github.com/chromedp/cdproto/input/types.go index 8c0c11cebe..aa2ae1efcd 100644 --- a/vendor/github.com/chromedp/cdproto/input/types.go +++ b/vendor/github.com/chromedp/cdproto/input/types.go @@ -23,8 +23,8 @@ type TouchPoint struct { RotationAngle float64 `json:"rotationAngle,omitempty"` // Rotation angle (default: 0.0). Force float64 `json:"force,omitempty"` // Force (default: 1.0). TangentialPressure float64 `json:"tangentialPressure,omitempty"` // The normalized tangential pressure, which has a range of [-1,1] (default: 0). - TiltX int64 `json:"tiltX,omitempty"` // The plane angle between the Y-Z plane and the plane containing both the stylus axis and the Y axis, in degrees of the range [-90,90], a positive tiltX is to the right (default: 0) - TiltY int64 `json:"tiltY,omitempty"` // The plane angle between the X-Z plane and the plane containing both the stylus axis and the X axis, in degrees of the range [-90,90], a positive tiltY is towards the user (default: 0). + TiltX float64 `json:"tiltX,omitempty"` // The plane angle between the Y-Z plane and the plane containing both the stylus axis and the Y axis, in degrees of the range [-90,90], a positive tiltX is to the right (default: 0) + TiltY float64 `json:"tiltY,omitempty"` // The plane angle between the X-Z plane and the plane containing both the stylus axis and the X axis, in degrees of the range [-90,90], a positive tiltY is towards the user (default: 0). Twist int64 `json:"twist,omitempty"` // The clockwise rotation of a pen stylus around its own major axis, in degrees in the range [0,359] (default: 0). ID float64 `json:"id,omitempty"` // Identifier used to track touch sources between events, must be unique within an event. } diff --git a/vendor/github.com/chromedp/cdproto/layertree/easyjson.go b/vendor/github.com/chromedp/cdproto/layertree/easyjson.go index ce40844ccf..0d1b54a087 100644 --- a/vendor/github.com/chromedp/cdproto/layertree/easyjson.go +++ b/vendor/github.com/chromedp/cdproto/layertree/easyjson.go @@ -1793,6 +1793,29 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoLayertree19(in *jlexer.Lexer, continue } switch key { + case "compositingReasons": + if in.IsNull() { + in.Skip() + out.CompositingReasons = nil + } else { + in.Delim('[') + if out.CompositingReasons == nil { + if !in.IsDelim(']') { + out.CompositingReasons = make([]string, 0, 4) + } else { + out.CompositingReasons = []string{} + } + } else { + out.CompositingReasons = (out.CompositingReasons)[:0] + } + for !in.IsDelim(']') { + var v22 string + v22 = string(in.String()) + out.CompositingReasons = append(out.CompositingReasons, v22) + in.WantComma() + } + in.Delim(']') + } case "compositingReasonIds": if in.IsNull() { in.Skip() @@ -1809,9 +1832,9 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoLayertree19(in *jlexer.Lexer, out.CompositingReasonIDs = (out.CompositingReasonIDs)[:0] } for !in.IsDelim(']') { - var v22 string - v22 = string(in.String()) - out.CompositingReasonIDs = append(out.CompositingReasonIDs, v22) + var v23 string + v23 = string(in.String()) + out.CompositingReasonIDs = append(out.CompositingReasonIDs, v23) in.WantComma() } in.Delim(']') @@ -1830,17 +1853,36 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoLayertree19(out *jwriter.Writ out.RawByte('{') first := true _ = first - if len(in.CompositingReasonIDs) != 0 { - const prefix string = ",\"compositingReasonIds\":" + if len(in.CompositingReasons) != 0 { + const prefix string = ",\"compositingReasons\":" first = false out.RawString(prefix[1:]) { out.RawByte('[') - for v23, v24 := range in.CompositingReasonIDs { - if v23 > 0 { + for v24, v25 := range in.CompositingReasons { + if v24 > 0 { + out.RawByte(',') + } + out.String(string(v25)) + } + out.RawByte(']') + } + } + if len(in.CompositingReasonIDs) != 0 { + const prefix string = ",\"compositingReasonIds\":" + if first { + first = false + out.RawString(prefix[1:]) + } else { + out.RawString(prefix) + } + { + out.RawByte('[') + for v26, v27 := range in.CompositingReasonIDs { + if v26 > 0 { out.RawByte(',') } - out.String(string(v24)) + out.String(string(v27)) } out.RawByte(']') } diff --git a/vendor/github.com/chromedp/cdproto/layertree/layertree.go b/vendor/github.com/chromedp/cdproto/layertree/layertree.go index 22949dc42f..ce8a58ddf1 100644 --- a/vendor/github.com/chromedp/cdproto/layertree/layertree.go +++ b/vendor/github.com/chromedp/cdproto/layertree/layertree.go @@ -36,6 +36,7 @@ func CompositingReasons(layerID LayerID) *CompositingReasonsParams { // CompositingReasonsReturns return values. type CompositingReasonsReturns struct { + CompositingReasons []string `json:"compositingReasons,omitempty"` // A list of strings specifying reasons for the given layer to become composited. CompositingReasonIDs []string `json:"compositingReasonIds,omitempty"` // A list of strings specifying reason IDs for the given layer to become composited. } @@ -43,16 +44,17 @@ type CompositingReasonsReturns struct { // // returns: // +// compositingReasons - A list of strings specifying reasons for the given layer to become composited. // compositingReasonIDs - A list of strings specifying reason IDs for the given layer to become composited. -func (p *CompositingReasonsParams) Do(ctx context.Context) (compositingReasonIDs []string, err error) { +func (p *CompositingReasonsParams) Do(ctx context.Context) (compositingReasons []string, compositingReasonIDs []string, err error) { // execute var res CompositingReasonsReturns err = cdp.Execute(ctx, CommandCompositingReasons, p, &res) if err != nil { - return nil, err + return nil, nil, err } - return res.CompositingReasonIDs, nil + return res.CompositingReasons, res.CompositingReasonIDs, nil } // DisableParams disables compositing tree inspection. diff --git a/vendor/github.com/chromedp/cdproto/network/easyjson.go b/vendor/github.com/chromedp/cdproto/network/easyjson.go index c9804e1dad..9f2a5a33ad 100644 --- a/vendor/github.com/chromedp/cdproto/network/easyjson.go +++ b/vendor/github.com/chromedp/cdproto/network/easyjson.go @@ -2140,6 +2140,37 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork19(in *jlexer.Lexer, o } (*out.Coep).UnmarshalEasyJSON(in) } + case "csp": + if in.IsNull() { + in.Skip() + out.Csp = nil + } else { + in.Delim('[') + if out.Csp == nil { + if !in.IsDelim(']') { + out.Csp = make([]*ContentSecurityPolicyStatus, 0, 8) + } else { + out.Csp = []*ContentSecurityPolicyStatus{} + } + } else { + out.Csp = (out.Csp)[:0] + } + for !in.IsDelim(']') { + var v32 *ContentSecurityPolicyStatus + if in.IsNull() { + in.Skip() + v32 = nil + } else { + if v32 == nil { + v32 = new(ContentSecurityPolicyStatus) + } + (*v32).UnmarshalEasyJSON(in) + } + out.Csp = append(out.Csp, v32) + in.WantComma() + } + in.Delim(']') + } default: in.SkipRecursive() } @@ -2170,6 +2201,29 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork19(out *jwriter.Writer } (*in.Coep).MarshalEasyJSON(out) } + if len(in.Csp) != 0 { + const prefix string = ",\"csp\":" + if first { + first = false + out.RawString(prefix[1:]) + } else { + out.RawString(prefix) + } + { + out.RawByte('[') + for v33, v34 := range in.Csp { + if v33 > 0 { + out.RawByte(',') + } + if v34 == nil { + out.RawString("null") + } else { + (*v34).MarshalEasyJSON(out) + } + } + out.RawByte(']') + } + } out.RawByte('}') } @@ -2245,9 +2299,9 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork20(in *jlexer.Lexer, o out.SanList = (out.SanList)[:0] } for !in.IsDelim(']') { - var v32 string - v32 = string(in.String()) - out.SanList = append(out.SanList, v32) + var v35 string + v35 = string(in.String()) + out.SanList = append(out.SanList, v35) in.WantComma() } in.Delim(']') @@ -2290,17 +2344,17 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork20(in *jlexer.Lexer, o out.SignedCertificateTimestampList = (out.SignedCertificateTimestampList)[:0] } for !in.IsDelim(']') { - var v33 *SignedCertificateTimestamp + var v36 *SignedCertificateTimestamp if in.IsNull() { in.Skip() - v33 = nil + v36 = nil } else { - if v33 == nil { - v33 = new(SignedCertificateTimestamp) + if v36 == nil { + v36 = new(SignedCertificateTimestamp) } - (*v33).UnmarshalEasyJSON(in) + (*v36).UnmarshalEasyJSON(in) } - out.SignedCertificateTimestampList = append(out.SignedCertificateTimestampList, v33) + out.SignedCertificateTimestampList = append(out.SignedCertificateTimestampList, v36) in.WantComma() } in.Delim(']') @@ -2367,11 +2421,11 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork20(out *jwriter.Writer out.RawString("null") } else { out.RawByte('[') - for v34, v35 := range in.SanList { - if v34 > 0 { + for v37, v38 := range in.SanList { + if v37 > 0 { out.RawByte(',') } - out.String(string(v35)) + out.String(string(v38)) } out.RawByte(']') } @@ -2406,14 +2460,14 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork20(out *jwriter.Writer out.RawString("null") } else { out.RawByte('[') - for v36, v37 := range in.SignedCertificateTimestampList { - if v36 > 0 { + for v39, v40 := range in.SignedCertificateTimestampList { + if v39 > 0 { out.RawByte(',') } - if v37 == nil { + if v40 == nil { out.RawString("null") } else { - (*v37).MarshalEasyJSON(out) + (*v40).MarshalEasyJSON(out) } } out.RawByte(']') @@ -2495,17 +2549,17 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork21(in *jlexer.Lexer, o out.Result = (out.Result)[:0] } for !in.IsDelim(']') { - var v38 *debugger.SearchMatch + var v41 *debugger.SearchMatch if in.IsNull() { in.Skip() - v38 = nil + v41 = nil } else { - if v38 == nil { - v38 = new(debugger.SearchMatch) + if v41 == nil { + v41 = new(debugger.SearchMatch) } - (*v38).UnmarshalEasyJSON(in) + (*v41).UnmarshalEasyJSON(in) } - out.Result = append(out.Result, v38) + out.Result = append(out.Result, v41) in.WantComma() } in.Delim(']') @@ -2530,14 +2584,14 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork21(out *jwriter.Writer out.RawString(prefix[1:]) { out.RawByte('[') - for v39, v40 := range in.Result { - if v39 > 0 { + for v42, v43 := range in.Result { + if v42 > 0 { out.RawByte(',') } - if v40 == nil { + if v43 == nil { out.RawString("null") } else { - (*v40).MarshalEasyJSON(out) + (*v43).MarshalEasyJSON(out) } } out.RawByte(']') @@ -2690,15 +2744,15 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork23(in *jlexer.Lexer, o for !in.IsDelim('}') { key := string(in.String()) in.WantColon() - var v41 interface{} - if m, ok := v41.(easyjson.Unmarshaler); ok { + var v44 interface{} + if m, ok := v44.(easyjson.Unmarshaler); ok { m.UnmarshalEasyJSON(in) - } else if m, ok := v41.(json.Unmarshaler); ok { + } else if m, ok := v44.(json.Unmarshaler); ok { _ = m.UnmarshalJSON(in.Raw()) } else { - v41 = in.Interface() + v44 = in.Interface() } - (out.Headers)[key] = v41 + (out.Headers)[key] = v44 in.WantComma() } in.Delim('}') @@ -2718,15 +2772,15 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork23(in *jlexer.Lexer, o for !in.IsDelim('}') { key := string(in.String()) in.WantColon() - var v42 interface{} - if m, ok := v42.(easyjson.Unmarshaler); ok { + var v45 interface{} + if m, ok := v45.(easyjson.Unmarshaler); ok { m.UnmarshalEasyJSON(in) - } else if m, ok := v42.(json.Unmarshaler); ok { + } else if m, ok := v45.(json.Unmarshaler); ok { _ = m.UnmarshalJSON(in.Raw()) } else { - v42 = in.Interface() + v45 = in.Interface() } - (out.RequestHeaders)[key] = v42 + (out.RequestHeaders)[key] = v45 in.WantComma() } in.Delim('}') @@ -2765,7 +2819,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork23(in *jlexer.Lexer, o out.ResponseTime = nil } else { if out.ResponseTime == nil { - out.ResponseTime = new(cdp.TimeSinceEpoch) + out.ResponseTime = new(cdp.TimeSinceEpochMilli) } (*out.ResponseTime).UnmarshalEasyJSON(in) } @@ -2823,21 +2877,21 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork23(out *jwriter.Writer out.RawString(`null`) } else { out.RawByte('{') - v43First := true - for v43Name, v43Value := range in.Headers { - if v43First { - v43First = false + v46First := true + for v46Name, v46Value := range in.Headers { + if v46First { + v46First = false } else { out.RawByte(',') } - out.String(string(v43Name)) + out.String(string(v46Name)) out.RawByte(':') - if m, ok := v43Value.(easyjson.Marshaler); ok { + if m, ok := v46Value.(easyjson.Marshaler); ok { m.MarshalEasyJSON(out) - } else if m, ok := v43Value.(json.Marshaler); ok { + } else if m, ok := v46Value.(json.Marshaler); ok { out.Raw(m.MarshalJSON()) } else { - out.Raw(json.Marshal(v43Value)) + out.Raw(json.Marshal(v46Value)) } } out.RawByte('}') @@ -2853,21 +2907,21 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork23(out *jwriter.Writer out.RawString(prefix) { out.RawByte('{') - v44First := true - for v44Name, v44Value := range in.RequestHeaders { - if v44First { - v44First = false + v47First := true + for v47Name, v47Value := range in.RequestHeaders { + if v47First { + v47First = false } else { out.RawByte(',') } - out.String(string(v44Name)) + out.String(string(v47Name)) out.RawByte(':') - if m, ok := v44Value.(easyjson.Marshaler); ok { + if m, ok := v47Value.(easyjson.Marshaler); ok { m.MarshalEasyJSON(out) - } else if m, ok := v44Value.(json.Marshaler); ok { + } else if m, ok := v47Value.(json.Marshaler); ok { out.Raw(m.MarshalJSON()) } else { - out.Raw(json.Marshal(v44Value)) + out.Raw(json.Marshal(v47Value)) } } out.RawByte('}') @@ -3032,6 +3086,8 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork24(in *jlexer.Lexer, o out.PushStart = float64(in.Float64()) case "pushEnd": out.PushEnd = float64(in.Float64()) + case "receiveHeadersStart": + out.ReceiveHeadersStart = float64(in.Float64()) case "receiveHeadersEnd": out.ReceiveHeadersEnd = float64(in.Float64()) default: @@ -3133,6 +3189,11 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork24(out *jwriter.Writer out.RawString(prefix) out.Float64(float64(in.PushEnd)) } + { + const prefix string = ",\"receiveHeadersStart\":" + out.RawString(prefix) + out.Float64(float64(in.ReceiveHeadersStart)) + } { const prefix string = ",\"receiveHeadersEnd\":" out.RawString(prefix) @@ -3289,15 +3350,15 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork26(in *jlexer.Lexer, o for !in.IsDelim('}') { key := string(in.String()) in.WantColon() - var v45 interface{} - if m, ok := v45.(easyjson.Unmarshaler); ok { + var v48 interface{} + if m, ok := v48.(easyjson.Unmarshaler); ok { m.UnmarshalEasyJSON(in) - } else if m, ok := v45.(json.Unmarshaler); ok { + } else if m, ok := v48.(json.Unmarshaler); ok { _ = m.UnmarshalJSON(in.Raw()) } else { - v45 = in.Interface() + v48 = in.Interface() } - (out.Headers)[key] = v45 + (out.Headers)[key] = v48 in.WantComma() } in.Delim('}') @@ -3322,17 +3383,17 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork26(in *jlexer.Lexer, o out.PostDataEntries = (out.PostDataEntries)[:0] } for !in.IsDelim(']') { - var v46 *PostDataEntry + var v49 *PostDataEntry if in.IsNull() { in.Skip() - v46 = nil + v49 = nil } else { - if v46 == nil { - v46 = new(PostDataEntry) + if v49 == nil { + v49 = new(PostDataEntry) } - (*v46).UnmarshalEasyJSON(in) + (*v49).UnmarshalEasyJSON(in) } - out.PostDataEntries = append(out.PostDataEntries, v46) + out.PostDataEntries = append(out.PostDataEntries, v49) in.WantComma() } in.Delim(']') @@ -3393,21 +3454,21 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork26(out *jwriter.Writer out.RawString(`null`) } else { out.RawByte('{') - v47First := true - for v47Name, v47Value := range in.Headers { - if v47First { - v47First = false + v50First := true + for v50Name, v50Value := range in.Headers { + if v50First { + v50First = false } else { out.RawByte(',') } - out.String(string(v47Name)) + out.String(string(v50Name)) out.RawByte(':') - if m, ok := v47Value.(easyjson.Marshaler); ok { + if m, ok := v50Value.(easyjson.Marshaler); ok { m.MarshalEasyJSON(out) - } else if m, ok := v47Value.(json.Marshaler); ok { + } else if m, ok := v50Value.(json.Marshaler); ok { out.Raw(m.MarshalJSON()) } else { - out.Raw(json.Marshal(v47Value)) + out.Raw(json.Marshal(v50Value)) } } out.RawByte('}') @@ -3428,14 +3489,14 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork26(out *jwriter.Writer out.RawString(prefix) { out.RawByte('[') - for v48, v49 := range in.PostDataEntries { - if v48 > 0 { + for v51, v52 := range in.PostDataEntries { + if v51 > 0 { out.RawByte(',') } - if v49 == nil { + if v52 == nil { out.RawString("null") } else { - (*v49).MarshalEasyJSON(out) + (*v52).MarshalEasyJSON(out) } } out.RawByte(']') @@ -4052,15 +4113,15 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork33(in *jlexer.Lexer, o for !in.IsDelim('}') { key := string(in.String()) in.WantColon() - var v50 interface{} - if m, ok := v50.(easyjson.Unmarshaler); ok { + var v53 interface{} + if m, ok := v53.(easyjson.Unmarshaler); ok { m.UnmarshalEasyJSON(in) - } else if m, ok := v50.(json.Unmarshaler); ok { + } else if m, ok := v53.(json.Unmarshaler); ok { _ = m.UnmarshalJSON(in.Raw()) } else { - v50 = in.Interface() + v53 = in.Interface() } - (out.Headers)[key] = v50 + (out.Headers)[key] = v53 in.WantComma() } in.Delim('}') @@ -4109,21 +4170,21 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork33(out *jwriter.Writer out.RawString(prefix) { out.RawByte('{') - v51First := true - for v51Name, v51Value := range in.Headers { - if v51First { - v51First = false + v54First := true + for v54Name, v54Value := range in.Headers { + if v54First { + v54First = false } else { out.RawByte(',') } - out.String(string(v51Name)) + out.String(string(v54Name)) out.RawByte(':') - if m, ok := v51Value.(easyjson.Marshaler); ok { + if m, ok := v54Value.(easyjson.Marshaler); ok { m.MarshalEasyJSON(out) - } else if m, ok := v51Value.(json.Marshaler); ok { + } else if m, ok := v54Value.(json.Marshaler); ok { out.Raw(m.MarshalJSON()) } else { - out.Raw(json.Marshal(v51Value)) + out.Raw(json.Marshal(v54Value)) } } out.RawByte('}') @@ -4937,17 +4998,17 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork44(in *jlexer.Lexer, o out.Cookies = (out.Cookies)[:0] } for !in.IsDelim(']') { - var v52 *Cookie + var v55 *Cookie if in.IsNull() { in.Skip() - v52 = nil + v55 = nil } else { - if v52 == nil { - v52 = new(Cookie) + if v55 == nil { + v55 = new(Cookie) } - (*v52).UnmarshalEasyJSON(in) + (*v55).UnmarshalEasyJSON(in) } - out.Cookies = append(out.Cookies, v52) + out.Cookies = append(out.Cookies, v55) in.WantComma() } in.Delim(']') @@ -4972,14 +5033,14 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork44(out *jwriter.Writer out.RawString(prefix[1:]) { out.RawByte('[') - for v53, v54 := range in.Cookies { - if v53 > 0 { + for v56, v57 := range in.Cookies { + if v56 > 0 { out.RawByte(',') } - if v54 == nil { + if v57 == nil { out.RawString("null") } else { - (*v54).MarshalEasyJSON(out) + (*v57).MarshalEasyJSON(out) } } out.RawByte(']') @@ -5046,9 +5107,9 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork45(in *jlexer.Lexer, o out.Urls = (out.Urls)[:0] } for !in.IsDelim(']') { - var v55 string - v55 = string(in.String()) - out.Urls = append(out.Urls, v55) + var v58 string + v58 = string(in.String()) + out.Urls = append(out.Urls, v58) in.WantComma() } in.Delim(']') @@ -5073,11 +5134,11 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork45(out *jwriter.Writer out.RawString(prefix[1:]) { out.RawByte('[') - for v56, v57 := range in.Urls { - if v56 > 0 { + for v59, v60 := range in.Urls { + if v59 > 0 { out.RawByte(',') } - out.String(string(v57)) + out.String(string(v60)) } out.RawByte(']') } @@ -5143,9 +5204,9 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork46(in *jlexer.Lexer, o out.TableNames = (out.TableNames)[:0] } for !in.IsDelim(']') { - var v58 string - v58 = string(in.String()) - out.TableNames = append(out.TableNames, v58) + var v61 string + v61 = string(in.String()) + out.TableNames = append(out.TableNames, v61) in.WantComma() } in.Delim(']') @@ -5170,11 +5231,11 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork46(out *jwriter.Writer out.RawString(prefix[1:]) { out.RawByte('[') - for v59, v60 := range in.TableNames { - if v59 > 0 { + for v62, v63 := range in.TableNames { + if v62 > 0 { out.RawByte(',') } - out.String(string(v60)) + out.String(string(v63)) } out.RawByte(']') } @@ -6386,9 +6447,9 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork59(in *jlexer.Lexer, o out.Urls = (out.Urls)[:0] } for !in.IsDelim(']') { - var v61 string - v61 = string(in.String()) - out.Urls = append(out.Urls, v61) + var v64 string + v64 = string(in.String()) + out.Urls = append(out.Urls, v64) in.WantComma() } in.Delim(']') @@ -6419,11 +6480,11 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork59(out *jwriter.Writer out.RawString("null") } else { out.RawByte('[') - for v62, v63 := range in.Urls { - if v62 > 0 { + for v65, v66 := range in.Urls { + if v65 > 0 { out.RawByte(',') } - out.String(string(v63)) + out.String(string(v66)) } out.RawByte(']') } @@ -6816,17 +6877,17 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork64(in *jlexer.Lexer, o out.BlockedCookies = (out.BlockedCookies)[:0] } for !in.IsDelim(']') { - var v64 *BlockedSetCookieWithReason + var v67 *BlockedSetCookieWithReason if in.IsNull() { in.Skip() - v64 = nil + v67 = nil } else { - if v64 == nil { - v64 = new(BlockedSetCookieWithReason) + if v67 == nil { + v67 = new(BlockedSetCookieWithReason) } - (*v64).UnmarshalEasyJSON(in) + (*v67).UnmarshalEasyJSON(in) } - out.BlockedCookies = append(out.BlockedCookies, v64) + out.BlockedCookies = append(out.BlockedCookies, v67) in.WantComma() } in.Delim(']') @@ -6840,15 +6901,15 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork64(in *jlexer.Lexer, o for !in.IsDelim('}') { key := string(in.String()) in.WantColon() - var v65 interface{} - if m, ok := v65.(easyjson.Unmarshaler); ok { + var v68 interface{} + if m, ok := v68.(easyjson.Unmarshaler); ok { m.UnmarshalEasyJSON(in) - } else if m, ok := v65.(json.Unmarshaler); ok { + } else if m, ok := v68.(json.Unmarshaler); ok { _ = m.UnmarshalJSON(in.Raw()) } else { - v65 = in.Interface() + v68 = in.Interface() } - (out.Headers)[key] = v65 + (out.Headers)[key] = v68 in.WantComma() } in.Delim('}') @@ -6889,14 +6950,14 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork64(out *jwriter.Writer out.RawString("null") } else { out.RawByte('[') - for v66, v67 := range in.BlockedCookies { - if v66 > 0 { + for v69, v70 := range in.BlockedCookies { + if v69 > 0 { out.RawByte(',') } - if v67 == nil { + if v70 == nil { out.RawString("null") } else { - (*v67).MarshalEasyJSON(out) + (*v70).MarshalEasyJSON(out) } } out.RawByte(']') @@ -6909,21 +6970,21 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork64(out *jwriter.Writer out.RawString(`null`) } else { out.RawByte('{') - v68First := true - for v68Name, v68Value := range in.Headers { - if v68First { - v68First = false + v71First := true + for v71Name, v71Value := range in.Headers { + if v71First { + v71First = false } else { out.RawByte(',') } - out.String(string(v68Name)) + out.String(string(v71Name)) out.RawByte(':') - if m, ok := v68Value.(easyjson.Marshaler); ok { + if m, ok := v71Value.(easyjson.Marshaler); ok { m.MarshalEasyJSON(out) - } else if m, ok := v68Value.(json.Marshaler); ok { + } else if m, ok := v71Value.(json.Marshaler); ok { out.Raw(m.MarshalJSON()) } else { - out.Raw(json.Marshal(v68Value)) + out.Raw(json.Marshal(v71Value)) } } out.RawByte('}') @@ -7241,17 +7302,17 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork67(in *jlexer.Lexer, o out.AssociatedCookies = (out.AssociatedCookies)[:0] } for !in.IsDelim(']') { - var v69 *BlockedCookieWithReason + var v72 *BlockedCookieWithReason if in.IsNull() { in.Skip() - v69 = nil + v72 = nil } else { - if v69 == nil { - v69 = new(BlockedCookieWithReason) + if v72 == nil { + v72 = new(BlockedCookieWithReason) } - (*v69).UnmarshalEasyJSON(in) + (*v72).UnmarshalEasyJSON(in) } - out.AssociatedCookies = append(out.AssociatedCookies, v69) + out.AssociatedCookies = append(out.AssociatedCookies, v72) in.WantComma() } in.Delim(']') @@ -7265,15 +7326,15 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork67(in *jlexer.Lexer, o for !in.IsDelim('}') { key := string(in.String()) in.WantColon() - var v70 interface{} - if m, ok := v70.(easyjson.Unmarshaler); ok { + var v73 interface{} + if m, ok := v73.(easyjson.Unmarshaler); ok { m.UnmarshalEasyJSON(in) - } else if m, ok := v70.(json.Unmarshaler); ok { + } else if m, ok := v73.(json.Unmarshaler); ok { _ = m.UnmarshalJSON(in.Raw()) } else { - v70 = in.Interface() + v73 = in.Interface() } - (out.Headers)[key] = v70 + (out.Headers)[key] = v73 in.WantComma() } in.Delim('}') @@ -7326,14 +7387,14 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork67(out *jwriter.Writer out.RawString("null") } else { out.RawByte('[') - for v71, v72 := range in.AssociatedCookies { - if v71 > 0 { + for v74, v75 := range in.AssociatedCookies { + if v74 > 0 { out.RawByte(',') } - if v72 == nil { + if v75 == nil { out.RawString("null") } else { - (*v72).MarshalEasyJSON(out) + (*v75).MarshalEasyJSON(out) } } out.RawByte(']') @@ -7346,21 +7407,21 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork67(out *jwriter.Writer out.RawString(`null`) } else { out.RawByte('{') - v73First := true - for v73Name, v73Value := range in.Headers { - if v73First { - v73First = false + v76First := true + for v76Name, v76Value := range in.Headers { + if v76First { + v76First = false } else { out.RawByte(',') } - out.String(string(v73Name)) + out.String(string(v76Name)) out.RawByte(':') - if m, ok := v73Value.(easyjson.Marshaler); ok { + if m, ok := v76Value.(easyjson.Marshaler); ok { m.MarshalEasyJSON(out) - } else if m, ok := v73Value.(json.Marshaler); ok { + } else if m, ok := v76Value.(json.Marshaler); ok { out.Raw(m.MarshalJSON()) } else { - out.Raw(json.Marshal(v73Value)) + out.Raw(json.Marshal(v76Value)) } } out.RawByte('}') @@ -7869,17 +7930,17 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork72(in *jlexer.Lexer, o out.Endpoints = (out.Endpoints)[:0] } for !in.IsDelim(']') { - var v74 *ReportingAPIEndpoint + var v77 *ReportingAPIEndpoint if in.IsNull() { in.Skip() - v74 = nil + v77 = nil } else { - if v74 == nil { - v74 = new(ReportingAPIEndpoint) + if v77 == nil { + v77 = new(ReportingAPIEndpoint) } - (*v74).UnmarshalEasyJSON(in) + (*v77).UnmarshalEasyJSON(in) } - out.Endpoints = append(out.Endpoints, v74) + out.Endpoints = append(out.Endpoints, v77) in.WantComma() } in.Delim(']') @@ -7910,14 +7971,14 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork72(out *jwriter.Writer out.RawString("null") } else { out.RawByte('[') - for v75, v76 := range in.Endpoints { - if v75 > 0 { + for v78, v79 := range in.Endpoints { + if v78 > 0 { out.RawByte(',') } - if v76 == nil { + if v79 == nil { out.RawString("null") } else { - (*v76).MarshalEasyJSON(out) + (*v79).MarshalEasyJSON(out) } } out.RawByte(']') @@ -7982,8 +8043,6 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork73(in *jlexer.Lexer, o } case "encodedDataLength": out.EncodedDataLength = float64(in.Float64()) - case "shouldReportCorbBlocking": - out.ShouldReportCorbBlocking = bool(in.Bool()) default: in.SkipRecursive() } @@ -8017,11 +8076,6 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork73(out *jwriter.Writer out.RawString(prefix) out.Float64(float64(in.EncodedDataLength)) } - if in.ShouldReportCorbBlocking { - const prefix string = ",\"shouldReportCorbBlocking\":" - out.RawString(prefix) - out.Bool(bool(in.ShouldReportCorbBlocking)) - } out.RawByte('}') } @@ -9361,7 +9415,87 @@ func (v *Cookie) UnmarshalJSON(data []byte) error { func (v *Cookie) UnmarshalEasyJSON(l *jlexer.Lexer) { easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork86(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork87(in *jlexer.Lexer, out *ConnectTiming) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork87(in *jlexer.Lexer, out *ContentSecurityPolicyStatus) { + 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 "effectiveDirectives": + out.EffectiveDirectives = string(in.String()) + case "isEnforced": + out.IsEnforced = bool(in.Bool()) + case "source": + (out.Source).UnmarshalEasyJSON(in) + default: + in.SkipRecursive() + } + in.WantComma() + } + in.Delim('}') + if isTopLevel { + in.Consumed() + } +} +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork87(out *jwriter.Writer, in ContentSecurityPolicyStatus) { + out.RawByte('{') + first := true + _ = first + { + const prefix string = ",\"effectiveDirectives\":" + out.RawString(prefix[1:]) + out.String(string(in.EffectiveDirectives)) + } + { + const prefix string = ",\"isEnforced\":" + out.RawString(prefix) + out.Bool(bool(in.IsEnforced)) + } + { + const prefix string = ",\"source\":" + out.RawString(prefix) + (in.Source).MarshalEasyJSON(out) + } + out.RawByte('}') +} + +// MarshalJSON supports json.Marshaler interface +func (v ContentSecurityPolicyStatus) MarshalJSON() ([]byte, error) { + w := jwriter.Writer{} + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork87(&w, v) + return w.Buffer.BuildBytes(), w.Error +} + +// MarshalEasyJSON supports easyjson.Marshaler interface +func (v ContentSecurityPolicyStatus) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork87(w, v) +} + +// UnmarshalJSON supports json.Unmarshaler interface +func (v *ContentSecurityPolicyStatus) UnmarshalJSON(data []byte) error { + r := jlexer.Lexer{Data: data} + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork87(&r, v) + return r.Error() +} + +// UnmarshalEasyJSON supports easyjson.Unmarshaler interface +func (v *ContentSecurityPolicyStatus) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork87(l, v) +} +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork88(in *jlexer.Lexer, out *ConnectTiming) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -9392,7 +9526,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork87(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork87(out *jwriter.Writer, in ConnectTiming) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork88(out *jwriter.Writer, in ConnectTiming) { out.RawByte('{') first := true _ = first @@ -9407,27 +9541,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork87(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v ConnectTiming) 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 ConnectTiming) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork87(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork88(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *ConnectTiming) 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 *ConnectTiming) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork87(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork88(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork88(in *jlexer.Lexer, out *ClientSecurityState) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork89(in *jlexer.Lexer, out *ClientSecurityState) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -9462,7 +9596,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork88(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork88(out *jwriter.Writer, in ClientSecurityState) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork89(out *jwriter.Writer, in ClientSecurityState) { out.RawByte('{') first := true _ = first @@ -9487,27 +9621,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork88(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v ClientSecurityState) 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 ClientSecurityState) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork88(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork89(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *ClientSecurityState) 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 *ClientSecurityState) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork88(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork89(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork89(in *jlexer.Lexer, out *ClearBrowserCookiesParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork90(in *jlexer.Lexer, out *ClearBrowserCookiesParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -9536,7 +9670,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork89(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork89(out *jwriter.Writer, in ClearBrowserCookiesParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork90(out *jwriter.Writer, in ClearBrowserCookiesParams) { out.RawByte('{') first := true _ = first @@ -9546,27 +9680,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork89(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v ClearBrowserCookiesParams) 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 ClearBrowserCookiesParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork89(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork90(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *ClearBrowserCookiesParams) 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 *ClearBrowserCookiesParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork89(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork90(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork90(in *jlexer.Lexer, out *ClearBrowserCacheParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork91(in *jlexer.Lexer, out *ClearBrowserCacheParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -9595,7 +9729,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork90(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork90(out *jwriter.Writer, in ClearBrowserCacheParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork91(out *jwriter.Writer, in ClearBrowserCacheParams) { out.RawByte('{') first := true _ = first @@ -9605,27 +9739,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork90(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v ClearBrowserCacheParams) 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 ClearBrowserCacheParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork90(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork91(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *ClearBrowserCacheParams) 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 *ClearBrowserCacheParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork90(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork91(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork91(in *jlexer.Lexer, out *ClearAcceptedEncodingsOverrideParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork92(in *jlexer.Lexer, out *ClearAcceptedEncodingsOverrideParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -9654,7 +9788,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork91(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork91(out *jwriter.Writer, in ClearAcceptedEncodingsOverrideParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork92(out *jwriter.Writer, in ClearAcceptedEncodingsOverrideParams) { out.RawByte('{') first := true _ = first @@ -9664,27 +9798,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork91(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v ClearAcceptedEncodingsOverrideParams) 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 ClearAcceptedEncodingsOverrideParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork91(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork92(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *ClearAcceptedEncodingsOverrideParams) 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 *ClearAcceptedEncodingsOverrideParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork91(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork92(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork92(in *jlexer.Lexer, out *CachedResource) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork93(in *jlexer.Lexer, out *CachedResource) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -9729,7 +9863,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork92(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork92(out *jwriter.Writer, in CachedResource) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork93(out *jwriter.Writer, in CachedResource) { out.RawByte('{') first := true _ = first @@ -9759,27 +9893,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork92(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v CachedResource) 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 CachedResource) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork92(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork93(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *CachedResource) 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 *CachedResource) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork92(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork93(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork93(in *jlexer.Lexer, out *BlockedSetCookieWithReason) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork94(in *jlexer.Lexer, out *BlockedSetCookieWithReason) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -9814,9 +9948,9 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork93(in *jlexer.Lexer, o out.BlockedReasons = (out.BlockedReasons)[:0] } for !in.IsDelim(']') { - var v77 SetCookieBlockedReason - (v77).UnmarshalEasyJSON(in) - out.BlockedReasons = append(out.BlockedReasons, v77) + var v80 SetCookieBlockedReason + (v80).UnmarshalEasyJSON(in) + out.BlockedReasons = append(out.BlockedReasons, v80) in.WantComma() } in.Delim(']') @@ -9843,7 +9977,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork93(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork93(out *jwriter.Writer, in BlockedSetCookieWithReason) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork94(out *jwriter.Writer, in BlockedSetCookieWithReason) { out.RawByte('{') first := true _ = first @@ -9854,11 +9988,11 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork93(out *jwriter.Writer out.RawString("null") } else { out.RawByte('[') - for v78, v79 := range in.BlockedReasons { - if v78 > 0 { + for v81, v82 := range in.BlockedReasons { + if v81 > 0 { out.RawByte(',') } - (v79).MarshalEasyJSON(out) + (v82).MarshalEasyJSON(out) } out.RawByte(']') } @@ -9879,27 +10013,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork93(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v BlockedSetCookieWithReason) 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 BlockedSetCookieWithReason) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork93(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork94(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *BlockedSetCookieWithReason) 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 *BlockedSetCookieWithReason) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork93(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork94(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork94(in *jlexer.Lexer, out *BlockedCookieWithReason) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork95(in *jlexer.Lexer, out *BlockedCookieWithReason) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -9934,9 +10068,9 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork94(in *jlexer.Lexer, o out.BlockedReasons = (out.BlockedReasons)[:0] } for !in.IsDelim(']') { - var v80 CookieBlockedReason - (v80).UnmarshalEasyJSON(in) - out.BlockedReasons = append(out.BlockedReasons, v80) + var v83 CookieBlockedReason + (v83).UnmarshalEasyJSON(in) + out.BlockedReasons = append(out.BlockedReasons, v83) in.WantComma() } in.Delim(']') @@ -9961,7 +10095,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork94(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork94(out *jwriter.Writer, in BlockedCookieWithReason) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork95(out *jwriter.Writer, in BlockedCookieWithReason) { out.RawByte('{') first := true _ = first @@ -9972,11 +10106,11 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork94(out *jwriter.Writer out.RawString("null") } else { out.RawByte('[') - for v81, v82 := range in.BlockedReasons { - if v81 > 0 { + for v84, v85 := range in.BlockedReasons { + if v84 > 0 { out.RawByte(',') } - (v82).MarshalEasyJSON(out) + (v85).MarshalEasyJSON(out) } out.RawByte(']') } @@ -9996,27 +10130,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork94(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v BlockedCookieWithReason) 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 BlockedCookieWithReason) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork94(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork95(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *BlockedCookieWithReason) 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 *BlockedCookieWithReason) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork94(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork95(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork95(in *jlexer.Lexer, out *AuthChallengeResponse) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork96(in *jlexer.Lexer, out *AuthChallengeResponse) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -10051,7 +10185,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork95(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork95(out *jwriter.Writer, in AuthChallengeResponse) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork96(out *jwriter.Writer, in AuthChallengeResponse) { out.RawByte('{') first := true _ = first @@ -10076,27 +10210,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork95(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v AuthChallengeResponse) 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 AuthChallengeResponse) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork95(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork96(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *AuthChallengeResponse) 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 *AuthChallengeResponse) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork95(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork96(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork96(in *jlexer.Lexer, out *AuthChallenge) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork97(in *jlexer.Lexer, out *AuthChallenge) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -10133,7 +10267,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork96(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork96(out *jwriter.Writer, in AuthChallenge) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork97(out *jwriter.Writer, in AuthChallenge) { out.RawByte('{') first := true _ = first @@ -10169,23 +10303,23 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork96(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v AuthChallenge) 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 AuthChallenge) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork96(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoNetwork97(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *AuthChallenge) 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 *AuthChallenge) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork96(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoNetwork97(l, v) } diff --git a/vendor/github.com/chromedp/cdproto/network/events.go b/vendor/github.com/chromedp/cdproto/network/events.go index 0a60994390..9255992e11 100644 --- a/vendor/github.com/chromedp/cdproto/network/events.go +++ b/vendor/github.com/chromedp/cdproto/network/events.go @@ -45,10 +45,9 @@ type EventLoadingFailed struct { // // See: https://chromedevtools.github.io/devtools-protocol/tot/Network#event-loadingFinished type EventLoadingFinished struct { - RequestID RequestID `json:"requestId"` // Request identifier. - Timestamp *cdp.MonotonicTime `json:"timestamp"` // Timestamp. - EncodedDataLength float64 `json:"encodedDataLength"` // Total number of bytes received for this request. - ShouldReportCorbBlocking bool `json:"shouldReportCorbBlocking,omitempty"` // Set when 1) response was blocked by Cross-Origin Read Blocking and also 2) this needs to be reported to the DevTools console. + RequestID RequestID `json:"requestId"` // Request identifier. + Timestamp *cdp.MonotonicTime `json:"timestamp"` // Timestamp. + EncodedDataLength float64 `json:"encodedDataLength"` // Total number of bytes received for this request. } // EventRequestServedFromCache fired if request ended up loading from cache. diff --git a/vendor/github.com/chromedp/cdproto/network/types.go b/vendor/github.com/chromedp/cdproto/network/types.go index c4fae4583b..3016d5a279 100644 --- a/vendor/github.com/chromedp/cdproto/network/types.go +++ b/vendor/github.com/chromedp/cdproto/network/types.go @@ -450,6 +450,7 @@ type ResourceTiming struct { SendEnd float64 `json:"sendEnd"` // Finished sending request. PushStart float64 `json:"pushStart"` // Time the server started pushing request. PushEnd float64 `json:"pushEnd"` // Time the server finished pushing request. + ReceiveHeadersStart float64 `json:"receiveHeadersStart"` // Started receiving response headers. ReceiveHeadersEnd float64 `json:"receiveHeadersEnd"` // Finished receiving response headers. } @@ -705,36 +706,40 @@ func (t CorsError) String() string { // CorsError values. const ( - CorsErrorDisallowedByMode CorsError = "DisallowedByMode" - CorsErrorInvalidResponse CorsError = "InvalidResponse" - CorsErrorWildcardOriginNotAllowed CorsError = "WildcardOriginNotAllowed" - CorsErrorMissingAllowOriginHeader CorsError = "MissingAllowOriginHeader" - CorsErrorMultipleAllowOriginValues CorsError = "MultipleAllowOriginValues" - CorsErrorInvalidAllowOriginValue CorsError = "InvalidAllowOriginValue" - CorsErrorAllowOriginMismatch CorsError = "AllowOriginMismatch" - CorsErrorInvalidAllowCredentials CorsError = "InvalidAllowCredentials" - CorsErrorCorsDisabledScheme CorsError = "CorsDisabledScheme" - CorsErrorPreflightInvalidStatus CorsError = "PreflightInvalidStatus" - CorsErrorPreflightDisallowedRedirect CorsError = "PreflightDisallowedRedirect" - CorsErrorPreflightWildcardOriginNotAllowed CorsError = "PreflightWildcardOriginNotAllowed" - CorsErrorPreflightMissingAllowOriginHeader CorsError = "PreflightMissingAllowOriginHeader" - CorsErrorPreflightMultipleAllowOriginValues CorsError = "PreflightMultipleAllowOriginValues" - CorsErrorPreflightInvalidAllowOriginValue CorsError = "PreflightInvalidAllowOriginValue" - CorsErrorPreflightAllowOriginMismatch CorsError = "PreflightAllowOriginMismatch" - CorsErrorPreflightInvalidAllowCredentials CorsError = "PreflightInvalidAllowCredentials" - CorsErrorPreflightMissingAllowExternal CorsError = "PreflightMissingAllowExternal" - CorsErrorPreflightInvalidAllowExternal CorsError = "PreflightInvalidAllowExternal" - CorsErrorPreflightMissingAllowPrivateNetwork CorsError = "PreflightMissingAllowPrivateNetwork" - CorsErrorPreflightInvalidAllowPrivateNetwork CorsError = "PreflightInvalidAllowPrivateNetwork" - CorsErrorInvalidAllowMethodsPreflightResponse CorsError = "InvalidAllowMethodsPreflightResponse" - CorsErrorInvalidAllowHeadersPreflightResponse CorsError = "InvalidAllowHeadersPreflightResponse" - CorsErrorMethodDisallowedByPreflightResponse CorsError = "MethodDisallowedByPreflightResponse" - CorsErrorHeaderDisallowedByPreflightResponse CorsError = "HeaderDisallowedByPreflightResponse" - CorsErrorRedirectContainsCredentials CorsError = "RedirectContainsCredentials" - CorsErrorInsecurePrivateNetwork CorsError = "InsecurePrivateNetwork" - CorsErrorInvalidPrivateNetworkAccess CorsError = "InvalidPrivateNetworkAccess" - CorsErrorUnexpectedPrivateNetworkAccess CorsError = "UnexpectedPrivateNetworkAccess" - CorsErrorNoCorsRedirectModeNotFollow CorsError = "NoCorsRedirectModeNotFollow" + CorsErrorDisallowedByMode CorsError = "DisallowedByMode" + CorsErrorInvalidResponse CorsError = "InvalidResponse" + CorsErrorWildcardOriginNotAllowed CorsError = "WildcardOriginNotAllowed" + CorsErrorMissingAllowOriginHeader CorsError = "MissingAllowOriginHeader" + CorsErrorMultipleAllowOriginValues CorsError = "MultipleAllowOriginValues" + CorsErrorInvalidAllowOriginValue CorsError = "InvalidAllowOriginValue" + CorsErrorAllowOriginMismatch CorsError = "AllowOriginMismatch" + CorsErrorInvalidAllowCredentials CorsError = "InvalidAllowCredentials" + CorsErrorCorsDisabledScheme CorsError = "CorsDisabledScheme" + CorsErrorPreflightInvalidStatus CorsError = "PreflightInvalidStatus" + CorsErrorPreflightDisallowedRedirect CorsError = "PreflightDisallowedRedirect" + CorsErrorPreflightWildcardOriginNotAllowed CorsError = "PreflightWildcardOriginNotAllowed" + CorsErrorPreflightMissingAllowOriginHeader CorsError = "PreflightMissingAllowOriginHeader" + CorsErrorPreflightMultipleAllowOriginValues CorsError = "PreflightMultipleAllowOriginValues" + CorsErrorPreflightInvalidAllowOriginValue CorsError = "PreflightInvalidAllowOriginValue" + CorsErrorPreflightAllowOriginMismatch CorsError = "PreflightAllowOriginMismatch" + CorsErrorPreflightInvalidAllowCredentials CorsError = "PreflightInvalidAllowCredentials" + CorsErrorPreflightMissingAllowExternal CorsError = "PreflightMissingAllowExternal" + CorsErrorPreflightInvalidAllowExternal CorsError = "PreflightInvalidAllowExternal" + CorsErrorPreflightMissingAllowPrivateNetwork CorsError = "PreflightMissingAllowPrivateNetwork" + CorsErrorPreflightInvalidAllowPrivateNetwork CorsError = "PreflightInvalidAllowPrivateNetwork" + CorsErrorInvalidAllowMethodsPreflightResponse CorsError = "InvalidAllowMethodsPreflightResponse" + CorsErrorInvalidAllowHeadersPreflightResponse CorsError = "InvalidAllowHeadersPreflightResponse" + CorsErrorMethodDisallowedByPreflightResponse CorsError = "MethodDisallowedByPreflightResponse" + CorsErrorHeaderDisallowedByPreflightResponse CorsError = "HeaderDisallowedByPreflightResponse" + CorsErrorRedirectContainsCredentials CorsError = "RedirectContainsCredentials" + CorsErrorInsecurePrivateNetwork CorsError = "InsecurePrivateNetwork" + CorsErrorInvalidPrivateNetworkAccess CorsError = "InvalidPrivateNetworkAccess" + CorsErrorUnexpectedPrivateNetworkAccess CorsError = "UnexpectedPrivateNetworkAccess" + CorsErrorNoCorsRedirectModeNotFollow CorsError = "NoCorsRedirectModeNotFollow" + CorsErrorPreflightMissingPrivateNetworkAccessID CorsError = "PreflightMissingPrivateNetworkAccessId" + CorsErrorPreflightMissingPrivateNetworkAccessName CorsError = "PreflightMissingPrivateNetworkAccessName" + CorsErrorPrivateNetworkAccessPermissionUnavailable CorsError = "PrivateNetworkAccessPermissionUnavailable" + CorsErrorPrivateNetworkAccessPermissionDenied CorsError = "PrivateNetworkAccessPermissionDenied" ) // MarshalEasyJSON satisfies easyjson.Marshaler. @@ -811,6 +816,14 @@ func (t *CorsError) UnmarshalEasyJSON(in *jlexer.Lexer) { *t = CorsErrorUnexpectedPrivateNetworkAccess case CorsErrorNoCorsRedirectModeNotFollow: *t = CorsErrorNoCorsRedirectModeNotFollow + case CorsErrorPreflightMissingPrivateNetworkAccessID: + *t = CorsErrorPreflightMissingPrivateNetworkAccessID + case CorsErrorPreflightMissingPrivateNetworkAccessName: + *t = CorsErrorPreflightMissingPrivateNetworkAccessName + case CorsErrorPrivateNetworkAccessPermissionUnavailable: + *t = CorsErrorPrivateNetworkAccessPermissionUnavailable + case CorsErrorPrivateNetworkAccessPermissionDenied: + *t = CorsErrorPrivateNetworkAccessPermissionDenied default: in.AddError(fmt.Errorf("unknown CorsError value: %v", v)) @@ -1024,7 +1037,7 @@ type Response struct { 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. ServiceWorkerResponseSource ServiceWorkerResponseSource `json:"serviceWorkerResponseSource,omitempty"` // Response source of response from ServiceWorker. - ResponseTime *cdp.TimeSinceEpoch `json:"responseTime,omitempty"` // The time at which the returned response was generated. + ResponseTime *cdp.TimeSinceEpochMilli `json:"responseTime,omitempty"` // The time at which the returned response was generated. CacheStorageCacheName string `json:"cacheStorageCacheName,omitempty"` // Cache Storage Cache Name. Protocol string `json:"protocol,omitempty"` // Protocol used to fetch this request. AlternateProtocolUsage AlternateProtocolUsage `json:"alternateProtocolUsage,omitempty"` // The reason why Chrome uses a specific transport protocol for HTTP semantics. @@ -1124,6 +1137,7 @@ const ( SetCookieBlockedReasonSameSiteUnspecifiedTreatedAsLax SetCookieBlockedReason = "SameSiteUnspecifiedTreatedAsLax" SetCookieBlockedReasonSameSiteNoneInsecure SetCookieBlockedReason = "SameSiteNoneInsecure" SetCookieBlockedReasonUserPreferences SetCookieBlockedReason = "UserPreferences" + SetCookieBlockedReasonThirdPartyPhaseout SetCookieBlockedReason = "ThirdPartyPhaseout" SetCookieBlockedReasonThirdPartyBlockedInFirstPartySet SetCookieBlockedReason = "ThirdPartyBlockedInFirstPartySet" SetCookieBlockedReasonSyntaxError SetCookieBlockedReason = "SyntaxError" SetCookieBlockedReasonSchemeNotSupported SetCookieBlockedReason = "SchemeNotSupported" @@ -1137,6 +1151,8 @@ const ( SetCookieBlockedReasonSamePartyFromCrossPartyContext SetCookieBlockedReason = "SamePartyFromCrossPartyContext" SetCookieBlockedReasonSamePartyConflictsWithOtherAttributes SetCookieBlockedReason = "SamePartyConflictsWithOtherAttributes" SetCookieBlockedReasonNameValuePairExceedsMaxSize SetCookieBlockedReason = "NameValuePairExceedsMaxSize" + SetCookieBlockedReasonDisallowedCharacter SetCookieBlockedReason = "DisallowedCharacter" + SetCookieBlockedReasonNoCookieContent SetCookieBlockedReason = "NoCookieContent" ) // MarshalEasyJSON satisfies easyjson.Marshaler. @@ -1165,6 +1181,8 @@ func (t *SetCookieBlockedReason) UnmarshalEasyJSON(in *jlexer.Lexer) { *t = SetCookieBlockedReasonSameSiteNoneInsecure case SetCookieBlockedReasonUserPreferences: *t = SetCookieBlockedReasonUserPreferences + case SetCookieBlockedReasonThirdPartyPhaseout: + *t = SetCookieBlockedReasonThirdPartyPhaseout case SetCookieBlockedReasonThirdPartyBlockedInFirstPartySet: *t = SetCookieBlockedReasonThirdPartyBlockedInFirstPartySet case SetCookieBlockedReasonSyntaxError: @@ -1191,6 +1209,10 @@ func (t *SetCookieBlockedReason) UnmarshalEasyJSON(in *jlexer.Lexer) { *t = SetCookieBlockedReasonSamePartyConflictsWithOtherAttributes case SetCookieBlockedReasonNameValuePairExceedsMaxSize: *t = SetCookieBlockedReasonNameValuePairExceedsMaxSize + case SetCookieBlockedReasonDisallowedCharacter: + *t = SetCookieBlockedReasonDisallowedCharacter + case SetCookieBlockedReasonNoCookieContent: + *t = SetCookieBlockedReasonNoCookieContent default: in.AddError(fmt.Errorf("unknown SetCookieBlockedReason value: %v", v)) @@ -1223,6 +1245,7 @@ const ( CookieBlockedReasonSameSiteUnspecifiedTreatedAsLax CookieBlockedReason = "SameSiteUnspecifiedTreatedAsLax" CookieBlockedReasonSameSiteNoneInsecure CookieBlockedReason = "SameSiteNoneInsecure" CookieBlockedReasonUserPreferences CookieBlockedReason = "UserPreferences" + CookieBlockedReasonThirdPartyPhaseout CookieBlockedReason = "ThirdPartyPhaseout" CookieBlockedReasonThirdPartyBlockedInFirstPartySet CookieBlockedReason = "ThirdPartyBlockedInFirstPartySet" CookieBlockedReasonUnknownError CookieBlockedReason = "UnknownError" CookieBlockedReasonSchemefulSameSiteStrict CookieBlockedReason = "SchemefulSameSiteStrict" @@ -1262,6 +1285,8 @@ func (t *CookieBlockedReason) UnmarshalEasyJSON(in *jlexer.Lexer) { *t = CookieBlockedReasonSameSiteNoneInsecure case CookieBlockedReasonUserPreferences: *t = CookieBlockedReasonUserPreferences + case CookieBlockedReasonThirdPartyPhaseout: + *t = CookieBlockedReasonThirdPartyPhaseout case CookieBlockedReasonThirdPartyBlockedInFirstPartySet: *t = CookieBlockedReasonThirdPartyBlockedInFirstPartySet case CookieBlockedReasonUnknownError: @@ -1426,7 +1451,7 @@ type SignedExchangeHeader struct { ResponseCode int64 `json:"responseCode"` // Signed exchange response code. ResponseHeaders Headers `json:"responseHeaders"` // Signed exchange response headers. Signatures []*SignedExchangeSignature `json:"signatures"` // Signed exchange response signature. - HeaderIntegrity string `json:"headerIntegrity"` // Signed exchange header integrity hash in the form of "sha256-". + HeaderIntegrity string `json:"headerIntegrity"` // Signed exchange header integrity hash in the form of sha256-. } // SignedExchangeErrorField field type for a signed exchange related error. @@ -1520,6 +1545,7 @@ const ( ContentEncodingDeflate ContentEncoding = "deflate" ContentEncodingGzip ContentEncoding = "gzip" ContentEncodingBr ContentEncoding = "br" + ContentEncodingZstd ContentEncoding = "zstd" ) // MarshalEasyJSON satisfies easyjson.Marshaler. @@ -1542,6 +1568,8 @@ func (t *ContentEncoding) UnmarshalEasyJSON(in *jlexer.Lexer) { *t = ContentEncodingGzip case ContentEncodingBr: *t = ContentEncodingBr + case ContentEncodingZstd: + *t = ContentEncodingZstd default: in.AddError(fmt.Errorf("unknown ContentEncoding value: %v", v)) @@ -1799,12 +1827,67 @@ type CrossOriginEmbedderPolicyStatus struct { ReportOnlyReportingEndpoint string `json:"reportOnlyReportingEndpoint,omitempty"` } +// ContentSecurityPolicySource [no description]. +// +// See: https://chromedevtools.github.io/devtools-protocol/tot/Network#type-ContentSecurityPolicySource +type ContentSecurityPolicySource string + +// String returns the ContentSecurityPolicySource as string value. +func (t ContentSecurityPolicySource) String() string { + return string(t) +} + +// ContentSecurityPolicySource values. +const ( + ContentSecurityPolicySourceHTTP ContentSecurityPolicySource = "HTTP" + ContentSecurityPolicySourceMeta ContentSecurityPolicySource = "Meta" +) + +// MarshalEasyJSON satisfies easyjson.Marshaler. +func (t ContentSecurityPolicySource) MarshalEasyJSON(out *jwriter.Writer) { + out.String(string(t)) +} + +// MarshalJSON satisfies json.Marshaler. +func (t ContentSecurityPolicySource) MarshalJSON() ([]byte, error) { + return easyjson.Marshal(t) +} + +// UnmarshalEasyJSON satisfies easyjson.Unmarshaler. +func (t *ContentSecurityPolicySource) UnmarshalEasyJSON(in *jlexer.Lexer) { + v := in.String() + switch ContentSecurityPolicySource(v) { + case ContentSecurityPolicySourceHTTP: + *t = ContentSecurityPolicySourceHTTP + case ContentSecurityPolicySourceMeta: + *t = ContentSecurityPolicySourceMeta + + default: + in.AddError(fmt.Errorf("unknown ContentSecurityPolicySource value: %v", v)) + } +} + +// UnmarshalJSON satisfies json.Unmarshaler. +func (t *ContentSecurityPolicySource) UnmarshalJSON(buf []byte) error { + return easyjson.Unmarshal(buf, t) +} + +// ContentSecurityPolicyStatus [no description]. +// +// See: https://chromedevtools.github.io/devtools-protocol/tot/Network#type-ContentSecurityPolicyStatus +type ContentSecurityPolicyStatus struct { + EffectiveDirectives string `json:"effectiveDirectives"` + IsEnforced bool `json:"isEnforced"` + Source ContentSecurityPolicySource `json:"source"` +} + // SecurityIsolationStatus [no description]. // // See: https://chromedevtools.github.io/devtools-protocol/tot/Network#type-SecurityIsolationStatus type SecurityIsolationStatus struct { Coop *CrossOriginOpenerPolicyStatus `json:"coop,omitempty"` Coep *CrossOriginEmbedderPolicyStatus `json:"coep,omitempty"` + Csp []*ContentSecurityPolicyStatus `json:"csp,omitempty"` } // ReportStatus the status of a Reporting API report. @@ -2194,6 +2277,7 @@ func (t TrustTokenOperationDoneStatus) String() string { const ( TrustTokenOperationDoneStatusOk TrustTokenOperationDoneStatus = "Ok" TrustTokenOperationDoneStatusInvalidArgument TrustTokenOperationDoneStatus = "InvalidArgument" + TrustTokenOperationDoneStatusMissingIssuerKeys TrustTokenOperationDoneStatus = "MissingIssuerKeys" TrustTokenOperationDoneStatusFailedPrecondition TrustTokenOperationDoneStatus = "FailedPrecondition" TrustTokenOperationDoneStatusResourceExhausted TrustTokenOperationDoneStatus = "ResourceExhausted" TrustTokenOperationDoneStatusAlreadyExists TrustTokenOperationDoneStatus = "AlreadyExists" @@ -2223,6 +2307,8 @@ func (t *TrustTokenOperationDoneStatus) UnmarshalEasyJSON(in *jlexer.Lexer) { *t = TrustTokenOperationDoneStatusOk case TrustTokenOperationDoneStatusInvalidArgument: *t = TrustTokenOperationDoneStatusInvalidArgument + case TrustTokenOperationDoneStatusMissingIssuerKeys: + *t = TrustTokenOperationDoneStatusMissingIssuerKeys case TrustTokenOperationDoneStatusFailedPrecondition: *t = TrustTokenOperationDoneStatusFailedPrecondition case TrustTokenOperationDoneStatusResourceExhausted: diff --git a/vendor/github.com/chromedp/cdproto/page/easyjson.go b/vendor/github.com/chromedp/cdproto/page/easyjson.go index a54074978a..e9c710dee0 100644 --- a/vendor/github.com/chromedp/cdproto/page/easyjson.go +++ b/vendor/github.com/chromedp/cdproto/page/easyjson.go @@ -721,7 +721,73 @@ func (v *SetRPHRegistrationModeParams) UnmarshalJSON(data []byte) error { func (v *SetRPHRegistrationModeParams) UnmarshalEasyJSON(l *jlexer.Lexer) { easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage8(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage9(in *jlexer.Lexer, out *SetLifecycleEventsEnabledParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage9(in *jlexer.Lexer, out *SetPrerenderingAllowedParams) { + 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 "isAllowed": + out.IsAllowed = bool(in.Bool()) + default: + in.SkipRecursive() + } + in.WantComma() + } + in.Delim('}') + if isTopLevel { + in.Consumed() + } +} +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage9(out *jwriter.Writer, in SetPrerenderingAllowedParams) { + out.RawByte('{') + first := true + _ = first + { + const prefix string = ",\"isAllowed\":" + out.RawString(prefix[1:]) + out.Bool(bool(in.IsAllowed)) + } + out.RawByte('}') +} + +// MarshalJSON supports json.Marshaler interface +func (v SetPrerenderingAllowedParams) MarshalJSON() ([]byte, error) { + w := jwriter.Writer{} + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage9(&w, v) + return w.Buffer.BuildBytes(), w.Error +} + +// MarshalEasyJSON supports easyjson.Marshaler interface +func (v SetPrerenderingAllowedParams) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage9(w, v) +} + +// UnmarshalJSON supports json.Unmarshaler interface +func (v *SetPrerenderingAllowedParams) UnmarshalJSON(data []byte) error { + r := jlexer.Lexer{Data: data} + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage9(&r, v) + return r.Error() +} + +// UnmarshalEasyJSON supports easyjson.Unmarshaler interface +func (v *SetPrerenderingAllowedParams) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage9(l, v) +} +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage10(in *jlexer.Lexer, out *SetLifecycleEventsEnabledParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -752,7 +818,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage9(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage9(out *jwriter.Writer, in SetLifecycleEventsEnabledParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage10(out *jwriter.Writer, in SetLifecycleEventsEnabledParams) { out.RawByte('{') first := true _ = first @@ -767,27 +833,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage9(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v SetLifecycleEventsEnabledParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage9(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage10(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v SetLifecycleEventsEnabledParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage9(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage10(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *SetLifecycleEventsEnabledParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage9(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage10(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *SetLifecycleEventsEnabledParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage9(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage10(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage10(in *jlexer.Lexer, out *SetInterceptFileChooserDialogParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage11(in *jlexer.Lexer, out *SetInterceptFileChooserDialogParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -818,7 +884,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage10(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage10(out *jwriter.Writer, in SetInterceptFileChooserDialogParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage11(out *jwriter.Writer, in SetInterceptFileChooserDialogParams) { out.RawByte('{') first := true _ = first @@ -833,27 +899,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage10(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v SetInterceptFileChooserDialogParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage10(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage11(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v SetInterceptFileChooserDialogParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage10(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage11(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *SetInterceptFileChooserDialogParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage10(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage11(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *SetInterceptFileChooserDialogParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage10(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage11(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage11(in *jlexer.Lexer, out *SetFontSizesParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage12(in *jlexer.Lexer, out *SetFontSizesParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -892,7 +958,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage11(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage11(out *jwriter.Writer, in SetFontSizesParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage12(out *jwriter.Writer, in SetFontSizesParams) { out.RawByte('{') first := true _ = first @@ -911,27 +977,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage11(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v SetFontSizesParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage11(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage12(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v SetFontSizesParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage11(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage12(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *SetFontSizesParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage11(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage12(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *SetFontSizesParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage11(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage12(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage12(in *jlexer.Lexer, out *SetFontFamiliesParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage13(in *jlexer.Lexer, out *SetFontFamiliesParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1001,7 +1067,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage12(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage12(out *jwriter.Writer, in SetFontFamiliesParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage13(out *jwriter.Writer, in SetFontFamiliesParams) { out.RawByte('{') first := true _ = first @@ -1038,27 +1104,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage12(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v SetFontFamiliesParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage12(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage13(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v SetFontFamiliesParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage12(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage13(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *SetFontFamiliesParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage12(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage13(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *SetFontFamiliesParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage12(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage13(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage13(in *jlexer.Lexer, out *SetDocumentContentParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage14(in *jlexer.Lexer, out *SetDocumentContentParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1091,7 +1157,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage13(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage13(out *jwriter.Writer, in SetDocumentContentParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage14(out *jwriter.Writer, in SetDocumentContentParams) { out.RawByte('{') first := true _ = first @@ -1111,27 +1177,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage13(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v SetDocumentContentParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage13(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage14(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v SetDocumentContentParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage13(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage14(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *SetDocumentContentParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage13(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage14(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *SetDocumentContentParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage13(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage14(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage14(in *jlexer.Lexer, out *SetBypassCSPParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage15(in *jlexer.Lexer, out *SetBypassCSPParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1162,7 +1228,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage14(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage14(out *jwriter.Writer, in SetBypassCSPParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage15(out *jwriter.Writer, in SetBypassCSPParams) { out.RawByte('{') first := true _ = first @@ -1177,27 +1243,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage14(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v SetBypassCSPParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage14(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage15(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v SetBypassCSPParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage14(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage15(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *SetBypassCSPParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage14(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage15(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *SetBypassCSPParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage14(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage15(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage15(in *jlexer.Lexer, out *SetAdBlockingEnabledParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage16(in *jlexer.Lexer, out *SetAdBlockingEnabledParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1228,7 +1294,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage15(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage15(out *jwriter.Writer, in SetAdBlockingEnabledParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage16(out *jwriter.Writer, in SetAdBlockingEnabledParams) { out.RawByte('{') first := true _ = first @@ -1243,27 +1309,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage15(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v SetAdBlockingEnabledParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage15(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage16(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v SetAdBlockingEnabledParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage15(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage16(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *SetAdBlockingEnabledParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage15(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage16(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *SetAdBlockingEnabledParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage15(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage16(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage16(in *jlexer.Lexer, out *SearchInResourceReturns) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage17(in *jlexer.Lexer, out *SearchInResourceReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1323,7 +1389,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage16(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage16(out *jwriter.Writer, in SearchInResourceReturns) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage17(out *jwriter.Writer, in SearchInResourceReturns) { out.RawByte('{') first := true _ = first @@ -1352,27 +1418,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage16(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v SearchInResourceReturns) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage16(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage17(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v SearchInResourceReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage16(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage17(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *SearchInResourceReturns) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage16(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage17(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *SearchInResourceReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage16(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage17(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage17(in *jlexer.Lexer, out *SearchInResourceParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage18(in *jlexer.Lexer, out *SearchInResourceParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1411,7 +1477,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage17(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage17(out *jwriter.Writer, in SearchInResourceParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage18(out *jwriter.Writer, in SearchInResourceParams) { out.RawByte('{') first := true _ = first @@ -1446,27 +1512,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage17(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v SearchInResourceParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage17(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage18(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v SearchInResourceParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage17(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage18(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *SearchInResourceParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage17(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage18(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *SearchInResourceParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage17(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage18(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage18(in *jlexer.Lexer, out *ScriptFontFamilies) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage19(in *jlexer.Lexer, out *ScriptFontFamilies) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1507,7 +1573,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage18(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage18(out *jwriter.Writer, in ScriptFontFamilies) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage19(out *jwriter.Writer, in ScriptFontFamilies) { out.RawByte('{') first := true _ = first @@ -1531,27 +1597,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage18(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v ScriptFontFamilies) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage18(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage19(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v ScriptFontFamilies) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage18(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage19(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *ScriptFontFamilies) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage18(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage19(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *ScriptFontFamilies) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage18(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage19(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage19(in *jlexer.Lexer, out *ScreencastFrameMetadata) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage20(in *jlexer.Lexer, out *ScreencastFrameMetadata) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1602,7 +1668,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage19(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage19(out *jwriter.Writer, in ScreencastFrameMetadata) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage20(out *jwriter.Writer, in ScreencastFrameMetadata) { out.RawByte('{') first := true _ = first @@ -1647,27 +1713,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage19(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v ScreencastFrameMetadata) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage19(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage20(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v ScreencastFrameMetadata) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage19(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage20(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *ScreencastFrameMetadata) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage19(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage20(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *ScreencastFrameMetadata) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage19(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage20(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage20(in *jlexer.Lexer, out *ScreencastFrameAckParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage21(in *jlexer.Lexer, out *ScreencastFrameAckParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1698,7 +1764,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage20(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage20(out *jwriter.Writer, in ScreencastFrameAckParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage21(out *jwriter.Writer, in ScreencastFrameAckParams) { out.RawByte('{') first := true _ = first @@ -1713,27 +1779,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage20(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v ScreencastFrameAckParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage20(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage21(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v ScreencastFrameAckParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage20(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage21(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *ScreencastFrameAckParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage20(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage21(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *ScreencastFrameAckParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage20(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage21(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage21(in *jlexer.Lexer, out *ResetNavigationHistoryParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage22(in *jlexer.Lexer, out *ResetNavigationHistoryParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1762,7 +1828,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage21(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage21(out *jwriter.Writer, in ResetNavigationHistoryParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage22(out *jwriter.Writer, in ResetNavigationHistoryParams) { out.RawByte('{') first := true _ = first @@ -1772,27 +1838,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage21(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v ResetNavigationHistoryParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage21(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage22(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v ResetNavigationHistoryParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage21(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage22(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *ResetNavigationHistoryParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage21(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage22(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *ResetNavigationHistoryParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage21(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage22(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage22(in *jlexer.Lexer, out *RemoveScriptToEvaluateOnNewDocumentParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage23(in *jlexer.Lexer, out *RemoveScriptToEvaluateOnNewDocumentParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1823,7 +1889,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage22(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage22(out *jwriter.Writer, in RemoveScriptToEvaluateOnNewDocumentParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage23(out *jwriter.Writer, in RemoveScriptToEvaluateOnNewDocumentParams) { out.RawByte('{') first := true _ = first @@ -1838,27 +1904,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage22(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v RemoveScriptToEvaluateOnNewDocumentParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage22(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage23(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v RemoveScriptToEvaluateOnNewDocumentParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage22(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage23(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *RemoveScriptToEvaluateOnNewDocumentParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage22(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage23(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *RemoveScriptToEvaluateOnNewDocumentParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage22(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage23(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage23(in *jlexer.Lexer, out *ReloadParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage24(in *jlexer.Lexer, out *ReloadParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1891,7 +1957,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage23(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage23(out *jwriter.Writer, in ReloadParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage24(out *jwriter.Writer, in ReloadParams) { out.RawByte('{') first := true _ = first @@ -1917,27 +1983,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage23(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v ReloadParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage23(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage24(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v ReloadParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage23(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage24(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *ReloadParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage23(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage24(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *ReloadParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage23(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage24(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage24(in *jlexer.Lexer, out *ProduceCompilationCacheParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage25(in *jlexer.Lexer, out *ProduceCompilationCacheParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1997,7 +2063,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage24(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage24(out *jwriter.Writer, in ProduceCompilationCacheParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage25(out *jwriter.Writer, in ProduceCompilationCacheParams) { out.RawByte('{') first := true _ = first @@ -2027,27 +2093,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage24(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v ProduceCompilationCacheParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage24(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage25(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v ProduceCompilationCacheParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage24(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage25(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *ProduceCompilationCacheParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage24(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage25(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *ProduceCompilationCacheParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage24(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage25(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage25(in *jlexer.Lexer, out *PrintToPDFReturns) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage26(in *jlexer.Lexer, out *PrintToPDFReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2080,7 +2146,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage25(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage25(out *jwriter.Writer, in PrintToPDFReturns) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage26(out *jwriter.Writer, in PrintToPDFReturns) { out.RawByte('{') first := true _ = first @@ -2106,27 +2172,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage25(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v PrintToPDFReturns) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage25(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage26(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v PrintToPDFReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage25(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage26(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *PrintToPDFReturns) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage25(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage26(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *PrintToPDFReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage25(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage26(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage26(in *jlexer.Lexer, out *PrintToPDFParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage27(in *jlexer.Lexer, out *PrintToPDFParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2175,6 +2241,8 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage26(in *jlexer.Lexer, out out.PreferCSSPageSize = bool(in.Bool()) case "transferMode": (out.TransferMode).UnmarshalEasyJSON(in) + case "generateTaggedPDF": + out.GenerateTaggedPDF = bool(in.Bool()) default: in.SkipRecursive() } @@ -2185,7 +2253,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage26(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage26(out *jwriter.Writer, in PrintToPDFParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage27(out *jwriter.Writer, in PrintToPDFParams) { out.RawByte('{') first := true _ = first @@ -2295,33 +2363,38 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage26(out *jwriter.Writer, i out.RawString(prefix) (in.TransferMode).MarshalEasyJSON(out) } + if in.GenerateTaggedPDF { + const prefix string = ",\"generateTaggedPDF\":" + out.RawString(prefix) + out.Bool(bool(in.GenerateTaggedPDF)) + } out.RawByte('}') } // MarshalJSON supports json.Marshaler interface func (v PrintToPDFParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage26(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage27(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v PrintToPDFParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage26(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage27(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *PrintToPDFParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage26(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage27(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *PrintToPDFParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage26(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage27(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage27(in *jlexer.Lexer, out *PermissionsPolicyFeatureState) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage28(in *jlexer.Lexer, out *PermissionsPolicyFeatureState) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2364,7 +2437,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage27(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage27(out *jwriter.Writer, in PermissionsPolicyFeatureState) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage28(out *jwriter.Writer, in PermissionsPolicyFeatureState) { out.RawByte('{') first := true _ = first @@ -2389,27 +2462,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage27(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v PermissionsPolicyFeatureState) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage27(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage28(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v PermissionsPolicyFeatureState) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage27(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage28(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *PermissionsPolicyFeatureState) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage27(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage28(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *PermissionsPolicyFeatureState) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage27(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage28(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage28(in *jlexer.Lexer, out *PermissionsPolicyBlockLocator) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage29(in *jlexer.Lexer, out *PermissionsPolicyBlockLocator) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2442,7 +2515,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage28(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage28(out *jwriter.Writer, in PermissionsPolicyBlockLocator) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage29(out *jwriter.Writer, in PermissionsPolicyBlockLocator) { out.RawByte('{') first := true _ = first @@ -2462,27 +2535,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage28(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v PermissionsPolicyBlockLocator) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage28(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage29(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v PermissionsPolicyBlockLocator) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage28(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage29(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *PermissionsPolicyBlockLocator) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage28(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage29(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *PermissionsPolicyBlockLocator) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage28(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage29(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage29(in *jlexer.Lexer, out *NavigationEntry) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage30(in *jlexer.Lexer, out *NavigationEntry) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2521,7 +2594,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage29(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage29(out *jwriter.Writer, in NavigationEntry) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage30(out *jwriter.Writer, in NavigationEntry) { out.RawByte('{') first := true _ = first @@ -2556,27 +2629,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage29(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v NavigationEntry) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage29(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage30(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v NavigationEntry) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage29(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage30(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *NavigationEntry) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage29(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage30(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *NavigationEntry) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage29(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage30(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage30(in *jlexer.Lexer, out *NavigateToHistoryEntryParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage31(in *jlexer.Lexer, out *NavigateToHistoryEntryParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2607,7 +2680,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage30(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage30(out *jwriter.Writer, in NavigateToHistoryEntryParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage31(out *jwriter.Writer, in NavigateToHistoryEntryParams) { out.RawByte('{') first := true _ = first @@ -2622,27 +2695,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage30(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v NavigateToHistoryEntryParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage30(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage31(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v NavigateToHistoryEntryParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage30(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage31(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *NavigateToHistoryEntryParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage30(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage31(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *NavigateToHistoryEntryParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage30(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage31(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage31(in *jlexer.Lexer, out *NavigateReturns) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage32(in *jlexer.Lexer, out *NavigateReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2677,7 +2750,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage31(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage31(out *jwriter.Writer, in NavigateReturns) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage32(out *jwriter.Writer, in NavigateReturns) { out.RawByte('{') first := true _ = first @@ -2713,27 +2786,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage31(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v NavigateReturns) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage31(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage32(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v NavigateReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage31(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage32(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *NavigateReturns) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage31(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage32(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *NavigateReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage31(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage32(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage32(in *jlexer.Lexer, out *NavigateParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage33(in *jlexer.Lexer, out *NavigateParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2772,7 +2845,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage32(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage32(out *jwriter.Writer, in NavigateParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage33(out *jwriter.Writer, in NavigateParams) { out.RawByte('{') first := true _ = first @@ -2807,27 +2880,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage32(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v NavigateParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage32(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage33(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v NavigateParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage32(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage33(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *NavigateParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage32(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage33(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *NavigateParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage32(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage33(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage33(in *jlexer.Lexer, out *LayoutViewport) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage34(in *jlexer.Lexer, out *LayoutViewport) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2864,7 +2937,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage33(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage33(out *jwriter.Writer, in LayoutViewport) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage34(out *jwriter.Writer, in LayoutViewport) { out.RawByte('{') first := true _ = first @@ -2894,27 +2967,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage33(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v LayoutViewport) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage33(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage34(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v LayoutViewport) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage33(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage34(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *LayoutViewport) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage33(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage34(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *LayoutViewport) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage33(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage34(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage34(in *jlexer.Lexer, out *InstallabilityErrorArgument) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage35(in *jlexer.Lexer, out *InstallabilityErrorArgument) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2947,7 +3020,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage34(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage34(out *jwriter.Writer, in InstallabilityErrorArgument) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage35(out *jwriter.Writer, in InstallabilityErrorArgument) { out.RawByte('{') first := true _ = first @@ -2967,27 +3040,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage34(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v InstallabilityErrorArgument) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage34(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage35(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v InstallabilityErrorArgument) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage34(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage35(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *InstallabilityErrorArgument) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage34(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage35(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *InstallabilityErrorArgument) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage34(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage35(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage35(in *jlexer.Lexer, out *InstallabilityError) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage36(in *jlexer.Lexer, out *InstallabilityError) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -3049,7 +3122,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage35(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage35(out *jwriter.Writer, in InstallabilityError) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage36(out *jwriter.Writer, in InstallabilityError) { out.RawByte('{') first := true _ = first @@ -3084,27 +3157,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage35(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v InstallabilityError) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage35(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage36(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v InstallabilityError) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage35(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage36(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *InstallabilityError) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage35(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage36(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *InstallabilityError) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage35(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage36(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage36(in *jlexer.Lexer, out *HandleJavaScriptDialogParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage37(in *jlexer.Lexer, out *HandleJavaScriptDialogParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -3137,7 +3210,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage36(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage36(out *jwriter.Writer, in HandleJavaScriptDialogParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage37(out *jwriter.Writer, in HandleJavaScriptDialogParams) { out.RawByte('{') first := true _ = first @@ -3157,27 +3230,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage36(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v HandleJavaScriptDialogParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage36(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage37(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v HandleJavaScriptDialogParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage36(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage37(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *HandleJavaScriptDialogParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage36(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage37(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *HandleJavaScriptDialogParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage36(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage37(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage37(in *jlexer.Lexer, out *GetResourceTreeReturns) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage38(in *jlexer.Lexer, out *GetResourceTreeReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -3216,7 +3289,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage37(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage37(out *jwriter.Writer, in GetResourceTreeReturns) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage38(out *jwriter.Writer, in GetResourceTreeReturns) { out.RawByte('{') first := true _ = first @@ -3232,27 +3305,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage37(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v GetResourceTreeReturns) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage37(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage38(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetResourceTreeReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage37(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage38(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetResourceTreeReturns) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage37(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage38(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetResourceTreeReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage37(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage38(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage38(in *jlexer.Lexer, out *GetResourceTreeParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage39(in *jlexer.Lexer, out *GetResourceTreeParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -3281,7 +3354,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage38(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage38(out *jwriter.Writer, in GetResourceTreeParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage39(out *jwriter.Writer, in GetResourceTreeParams) { out.RawByte('{') first := true _ = first @@ -3291,27 +3364,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage38(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v GetResourceTreeParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage38(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage39(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetResourceTreeParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage38(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage39(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetResourceTreeParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage38(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage39(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetResourceTreeParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage38(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage39(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage39(in *jlexer.Lexer, out *GetResourceContentReturns) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage40(in *jlexer.Lexer, out *GetResourceContentReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -3344,7 +3417,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage39(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage39(out *jwriter.Writer, in GetResourceContentReturns) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage40(out *jwriter.Writer, in GetResourceContentReturns) { out.RawByte('{') first := true _ = first @@ -3370,27 +3443,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage39(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v GetResourceContentReturns) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage39(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage40(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetResourceContentReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage39(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage40(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetResourceContentReturns) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage39(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage40(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetResourceContentReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage39(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage40(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage40(in *jlexer.Lexer, out *GetResourceContentParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage41(in *jlexer.Lexer, out *GetResourceContentParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -3423,7 +3496,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage40(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage40(out *jwriter.Writer, in GetResourceContentParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage41(out *jwriter.Writer, in GetResourceContentParams) { out.RawByte('{') first := true _ = first @@ -3443,27 +3516,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage40(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v GetResourceContentParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage40(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage41(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetResourceContentParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage40(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage41(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetResourceContentParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage40(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage41(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetResourceContentParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage40(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage41(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage41(in *jlexer.Lexer, out *GetPermissionsPolicyStateReturns) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage42(in *jlexer.Lexer, out *GetPermissionsPolicyStateReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -3523,7 +3596,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage41(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage41(out *jwriter.Writer, in GetPermissionsPolicyStateReturns) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage42(out *jwriter.Writer, in GetPermissionsPolicyStateReturns) { out.RawByte('{') first := true _ = first @@ -3552,27 +3625,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage41(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v GetPermissionsPolicyStateReturns) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage41(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage42(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetPermissionsPolicyStateReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage41(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage42(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetPermissionsPolicyStateReturns) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage41(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage42(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetPermissionsPolicyStateReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage41(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage42(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage42(in *jlexer.Lexer, out *GetPermissionsPolicyStateParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage43(in *jlexer.Lexer, out *GetPermissionsPolicyStateParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -3603,7 +3676,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage42(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage42(out *jwriter.Writer, in GetPermissionsPolicyStateParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage43(out *jwriter.Writer, in GetPermissionsPolicyStateParams) { out.RawByte('{') first := true _ = first @@ -3618,27 +3691,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage42(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v GetPermissionsPolicyStateParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage42(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage43(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetPermissionsPolicyStateParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage42(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage43(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetPermissionsPolicyStateParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage42(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage43(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetPermissionsPolicyStateParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage42(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage43(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage43(in *jlexer.Lexer, out *GetOriginTrialsReturns) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage44(in *jlexer.Lexer, out *GetOriginTrialsReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -3698,7 +3771,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage43(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage43(out *jwriter.Writer, in GetOriginTrialsReturns) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage44(out *jwriter.Writer, in GetOriginTrialsReturns) { out.RawByte('{') first := true _ = first @@ -3727,27 +3800,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage43(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v GetOriginTrialsReturns) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage43(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage44(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetOriginTrialsReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage43(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage44(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetOriginTrialsReturns) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage43(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage44(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetOriginTrialsReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage43(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage44(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage44(in *jlexer.Lexer, out *GetOriginTrialsParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage45(in *jlexer.Lexer, out *GetOriginTrialsParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -3778,7 +3851,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage44(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage44(out *jwriter.Writer, in GetOriginTrialsParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage45(out *jwriter.Writer, in GetOriginTrialsParams) { out.RawByte('{') first := true _ = first @@ -3793,27 +3866,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage44(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v GetOriginTrialsParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage44(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage45(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetOriginTrialsParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage44(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage45(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetOriginTrialsParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage44(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage45(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetOriginTrialsParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage44(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage45(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage45(in *jlexer.Lexer, out *GetNavigationHistoryReturns) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage46(in *jlexer.Lexer, out *GetNavigationHistoryReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -3875,7 +3948,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage45(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage45(out *jwriter.Writer, in GetNavigationHistoryReturns) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage46(out *jwriter.Writer, in GetNavigationHistoryReturns) { out.RawByte('{') first := true _ = first @@ -3914,27 +3987,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage45(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v GetNavigationHistoryReturns) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage45(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage46(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetNavigationHistoryReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage45(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage46(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetNavigationHistoryReturns) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage45(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage46(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetNavigationHistoryReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage45(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage46(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage46(in *jlexer.Lexer, out *GetNavigationHistoryParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage47(in *jlexer.Lexer, out *GetNavigationHistoryParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -3963,7 +4036,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage46(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage46(out *jwriter.Writer, in GetNavigationHistoryParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage47(out *jwriter.Writer, in GetNavigationHistoryParams) { out.RawByte('{') first := true _ = first @@ -3973,27 +4046,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage46(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v GetNavigationHistoryParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage46(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage47(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetNavigationHistoryParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage46(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage47(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetNavigationHistoryParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage46(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage47(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetNavigationHistoryParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage46(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage47(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage47(in *jlexer.Lexer, out *GetLayoutMetricsReturns) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage48(in *jlexer.Lexer, out *GetLayoutMetricsReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -4082,7 +4155,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage47(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage47(out *jwriter.Writer, in GetLayoutMetricsReturns) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage48(out *jwriter.Writer, in GetLayoutMetricsReturns) { out.RawByte('{') first := true _ = first @@ -4146,27 +4219,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage47(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v GetLayoutMetricsReturns) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage47(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage48(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetLayoutMetricsReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage47(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage48(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetLayoutMetricsReturns) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage47(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage48(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetLayoutMetricsReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage47(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage48(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage48(in *jlexer.Lexer, out *GetLayoutMetricsParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage49(in *jlexer.Lexer, out *GetLayoutMetricsParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -4195,7 +4268,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage48(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage48(out *jwriter.Writer, in GetLayoutMetricsParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage49(out *jwriter.Writer, in GetLayoutMetricsParams) { out.RawByte('{') first := true _ = first @@ -4205,27 +4278,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage48(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v GetLayoutMetricsParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage48(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage49(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetLayoutMetricsParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage48(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage49(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetLayoutMetricsParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage48(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage49(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetLayoutMetricsParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage48(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage49(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage49(in *jlexer.Lexer, out *GetInstallabilityErrorsReturns) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage50(in *jlexer.Lexer, out *GetInstallabilityErrorsReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -4285,7 +4358,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage49(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage49(out *jwriter.Writer, in GetInstallabilityErrorsReturns) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage50(out *jwriter.Writer, in GetInstallabilityErrorsReturns) { out.RawByte('{') first := true _ = first @@ -4314,27 +4387,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage49(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v GetInstallabilityErrorsReturns) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage49(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage50(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetInstallabilityErrorsReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage49(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage50(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetInstallabilityErrorsReturns) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage49(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage50(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetInstallabilityErrorsReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage49(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage50(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage50(in *jlexer.Lexer, out *GetInstallabilityErrorsParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage51(in *jlexer.Lexer, out *GetInstallabilityErrorsParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -4363,7 +4436,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage50(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage50(out *jwriter.Writer, in GetInstallabilityErrorsParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage51(out *jwriter.Writer, in GetInstallabilityErrorsParams) { out.RawByte('{') first := true _ = first @@ -4373,27 +4446,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage50(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v GetInstallabilityErrorsParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage50(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage51(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetInstallabilityErrorsParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage50(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage51(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetInstallabilityErrorsParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage50(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage51(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetInstallabilityErrorsParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage50(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage51(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage51(in *jlexer.Lexer, out *GetFrameTreeReturns) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage52(in *jlexer.Lexer, out *GetFrameTreeReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -4432,7 +4505,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage51(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage51(out *jwriter.Writer, in GetFrameTreeReturns) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage52(out *jwriter.Writer, in GetFrameTreeReturns) { out.RawByte('{') first := true _ = first @@ -4448,27 +4521,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage51(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v GetFrameTreeReturns) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage51(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage52(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetFrameTreeReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage51(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage52(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetFrameTreeReturns) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage51(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage52(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetFrameTreeReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage51(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage52(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage52(in *jlexer.Lexer, out *GetFrameTreeParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage53(in *jlexer.Lexer, out *GetFrameTreeParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -4497,7 +4570,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage52(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage52(out *jwriter.Writer, in GetFrameTreeParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage53(out *jwriter.Writer, in GetFrameTreeParams) { out.RawByte('{') first := true _ = first @@ -4507,27 +4580,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage52(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v GetFrameTreeParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage52(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage53(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetFrameTreeParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage52(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage53(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetFrameTreeParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage52(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage53(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetFrameTreeParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage52(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage53(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage53(in *jlexer.Lexer, out *GetAppManifestReturns) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage54(in *jlexer.Lexer, out *GetAppManifestReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -4601,7 +4674,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage53(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage53(out *jwriter.Writer, in GetAppManifestReturns) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage54(out *jwriter.Writer, in GetAppManifestReturns) { out.RawByte('{') first := true _ = first @@ -4660,27 +4733,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage53(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v GetAppManifestReturns) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage53(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage54(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetAppManifestReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage53(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage54(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetAppManifestReturns) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage53(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage54(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetAppManifestReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage53(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage54(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage54(in *jlexer.Lexer, out *GetAppManifestParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage55(in *jlexer.Lexer, out *GetAppManifestParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -4709,7 +4782,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage54(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage54(out *jwriter.Writer, in GetAppManifestParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage55(out *jwriter.Writer, in GetAppManifestParams) { out.RawByte('{') first := true _ = first @@ -4719,27 +4792,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage54(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v GetAppManifestParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage54(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage55(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetAppManifestParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage54(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage55(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetAppManifestParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage54(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage55(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetAppManifestParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage54(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage55(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage55(in *jlexer.Lexer, out *GetAppIDReturns) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage56(in *jlexer.Lexer, out *GetAppIDReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -4772,7 +4845,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage55(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage55(out *jwriter.Writer, in GetAppIDReturns) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage56(out *jwriter.Writer, in GetAppIDReturns) { out.RawByte('{') first := true _ = first @@ -4798,27 +4871,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage55(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v GetAppIDReturns) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage55(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage56(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetAppIDReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage55(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage56(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetAppIDReturns) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage55(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage56(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetAppIDReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage55(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage56(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage56(in *jlexer.Lexer, out *GetAppIDParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage57(in *jlexer.Lexer, out *GetAppIDParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -4847,7 +4920,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage56(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage56(out *jwriter.Writer, in GetAppIDParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage57(out *jwriter.Writer, in GetAppIDParams) { out.RawByte('{') first := true _ = first @@ -4857,27 +4930,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage56(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v GetAppIDParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage56(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage57(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetAppIDParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage56(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage57(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetAppIDParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage56(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage57(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetAppIDParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage56(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage57(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage57(in *jlexer.Lexer, out *GetAdScriptIDReturns) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage58(in *jlexer.Lexer, out *GetAdScriptIDReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -4916,7 +4989,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage57(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage57(out *jwriter.Writer, in GetAdScriptIDReturns) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage58(out *jwriter.Writer, in GetAdScriptIDReturns) { out.RawByte('{') first := true _ = first @@ -4932,27 +5005,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage57(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v GetAdScriptIDReturns) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage57(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage58(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetAdScriptIDReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage57(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage58(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetAdScriptIDReturns) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage57(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage58(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetAdScriptIDReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage57(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage58(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage58(in *jlexer.Lexer, out *GetAdScriptIDParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage59(in *jlexer.Lexer, out *GetAdScriptIDParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -4983,7 +5056,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage58(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage58(out *jwriter.Writer, in GetAdScriptIDParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage59(out *jwriter.Writer, in GetAdScriptIDParams) { out.RawByte('{') first := true _ = first @@ -4998,27 +5071,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage58(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v GetAdScriptIDParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage58(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage59(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetAdScriptIDParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage58(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage59(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetAdScriptIDParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage58(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage59(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetAdScriptIDParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage58(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage59(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage59(in *jlexer.Lexer, out *GenerateTestReportParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage60(in *jlexer.Lexer, out *GenerateTestReportParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -5051,7 +5124,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage59(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage59(out *jwriter.Writer, in GenerateTestReportParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage60(out *jwriter.Writer, in GenerateTestReportParams) { out.RawByte('{') first := true _ = first @@ -5071,27 +5144,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage59(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v GenerateTestReportParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage59(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage60(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GenerateTestReportParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage59(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage60(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GenerateTestReportParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage59(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage60(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GenerateTestReportParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage59(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage60(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage60(in *jlexer.Lexer, out *FrameTree) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage61(in *jlexer.Lexer, out *FrameTree) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -5161,7 +5234,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage60(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage60(out *jwriter.Writer, in FrameTree) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage61(out *jwriter.Writer, in FrameTree) { out.RawByte('{') first := true _ = first @@ -5198,27 +5271,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage60(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v FrameTree) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage60(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage61(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v FrameTree) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage60(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage61(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *FrameTree) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage60(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage61(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *FrameTree) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage60(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage61(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage61(in *jlexer.Lexer, out *FrameResourceTree) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage62(in *jlexer.Lexer, out *FrameResourceTree) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -5319,7 +5392,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage61(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage61(out *jwriter.Writer, in FrameResourceTree) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage62(out *jwriter.Writer, in FrameResourceTree) { out.RawByte('{') first := true _ = first @@ -5376,27 +5449,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage61(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v FrameResourceTree) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage61(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage62(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v FrameResourceTree) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage61(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage62(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *FrameResourceTree) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage61(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage62(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *FrameResourceTree) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage61(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage62(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage62(in *jlexer.Lexer, out *FrameResource) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage63(in *jlexer.Lexer, out *FrameResource) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -5447,7 +5520,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage62(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage62(out *jwriter.Writer, in FrameResource) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage63(out *jwriter.Writer, in FrameResource) { out.RawByte('{') first := true _ = first @@ -5492,27 +5565,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage62(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v FrameResource) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage62(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage63(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v FrameResource) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage62(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage63(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *FrameResource) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage62(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage63(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *FrameResource) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage62(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage63(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage63(in *jlexer.Lexer, out *FontSizes) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage64(in *jlexer.Lexer, out *FontSizes) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -5545,7 +5618,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage63(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage63(out *jwriter.Writer, in FontSizes) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage64(out *jwriter.Writer, in FontSizes) { out.RawByte('{') first := true _ = first @@ -5571,27 +5644,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage63(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v FontSizes) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage63(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage64(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v FontSizes) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage63(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage64(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *FontSizes) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage63(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage64(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *FontSizes) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage63(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage64(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage64(in *jlexer.Lexer, out *FontFamilies) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage65(in *jlexer.Lexer, out *FontFamilies) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -5634,7 +5707,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage64(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage64(out *jwriter.Writer, in FontFamilies) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage65(out *jwriter.Writer, in FontFamilies) { out.RawByte('{') first := true _ = first @@ -5710,27 +5783,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage64(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v FontFamilies) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage64(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage65(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v FontFamilies) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage64(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage65(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *FontFamilies) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage64(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage65(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *FontFamilies) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage64(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage65(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage65(in *jlexer.Lexer, out *EventWindowOpen) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage66(in *jlexer.Lexer, out *EventWindowOpen) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -5788,7 +5861,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage65(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage65(out *jwriter.Writer, in EventWindowOpen) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage66(out *jwriter.Writer, in EventWindowOpen) { out.RawByte('{') first := true _ = first @@ -5829,27 +5902,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage65(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v EventWindowOpen) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage65(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage66(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventWindowOpen) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage65(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage66(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventWindowOpen) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage65(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage66(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventWindowOpen) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage65(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage66(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage66(in *jlexer.Lexer, out *EventScreencastVisibilityChanged) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage67(in *jlexer.Lexer, out *EventScreencastVisibilityChanged) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -5880,7 +5953,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage66(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage66(out *jwriter.Writer, in EventScreencastVisibilityChanged) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage67(out *jwriter.Writer, in EventScreencastVisibilityChanged) { out.RawByte('{') first := true _ = first @@ -5895,27 +5968,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage66(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v EventScreencastVisibilityChanged) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage66(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage67(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventScreencastVisibilityChanged) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage66(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage67(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventScreencastVisibilityChanged) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage66(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage67(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventScreencastVisibilityChanged) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage66(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage67(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage67(in *jlexer.Lexer, out *EventScreencastFrame) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage68(in *jlexer.Lexer, out *EventScreencastFrame) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -5958,7 +6031,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage67(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage67(out *jwriter.Writer, in EventScreencastFrame) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage68(out *jwriter.Writer, in EventScreencastFrame) { out.RawByte('{') first := true _ = first @@ -5986,275 +6059,28 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage67(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v EventScreencastFrame) MarshalJSON() ([]byte, error) { - w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage67(&w, v) - return w.Buffer.BuildBytes(), w.Error -} - -// MarshalEasyJSON supports easyjson.Marshaler interface -func (v EventScreencastFrame) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage67(w, v) -} - -// UnmarshalJSON supports json.Unmarshaler interface -func (v *EventScreencastFrame) UnmarshalJSON(data []byte) error { - r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage67(&r, v) - return r.Error() -} - -// UnmarshalEasyJSON supports easyjson.Unmarshaler interface -func (v *EventScreencastFrame) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage67(l, v) -} -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage68(in *jlexer.Lexer, out *EventPrerenderStatusUpdated) { - 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 "initiatingFrameId": - (out.InitiatingFrameID).UnmarshalEasyJSON(in) - case "prerenderingUrl": - out.PrerenderingURL = string(in.String()) - case "status": - (out.Status).UnmarshalEasyJSON(in) - default: - in.SkipRecursive() - } - in.WantComma() - } - in.Delim('}') - if isTopLevel { - in.Consumed() - } -} -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage68(out *jwriter.Writer, in EventPrerenderStatusUpdated) { - out.RawByte('{') - first := true - _ = first - { - const prefix string = ",\"initiatingFrameId\":" - out.RawString(prefix[1:]) - out.String(string(in.InitiatingFrameID)) - } - { - const prefix string = ",\"prerenderingUrl\":" - out.RawString(prefix) - out.String(string(in.PrerenderingURL)) - } - { - const prefix string = ",\"status\":" - out.RawString(prefix) - (in.Status).MarshalEasyJSON(out) - } - out.RawByte('}') -} - -// MarshalJSON supports json.Marshaler interface -func (v EventPrerenderStatusUpdated) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage68(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface -func (v EventPrerenderStatusUpdated) MarshalEasyJSON(w *jwriter.Writer) { +func (v EventScreencastFrame) MarshalEasyJSON(w *jwriter.Writer) { easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage68(w, v) } // UnmarshalJSON supports json.Unmarshaler interface -func (v *EventPrerenderStatusUpdated) UnmarshalJSON(data []byte) error { +func (v *EventScreencastFrame) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage68(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface -func (v *EventPrerenderStatusUpdated) UnmarshalEasyJSON(l *jlexer.Lexer) { +func (v *EventScreencastFrame) UnmarshalEasyJSON(l *jlexer.Lexer) { easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage68(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage69(in *jlexer.Lexer, out *EventPrerenderAttemptCompleted) { - 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 "initiatingFrameId": - (out.InitiatingFrameID).UnmarshalEasyJSON(in) - case "prerenderingUrl": - out.PrerenderingURL = string(in.String()) - case "finalStatus": - (out.FinalStatus).UnmarshalEasyJSON(in) - case "disallowedApiMethod": - out.DisallowedAPIMethod = string(in.String()) - default: - in.SkipRecursive() - } - in.WantComma() - } - in.Delim('}') - if isTopLevel { - in.Consumed() - } -} -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage69(out *jwriter.Writer, in EventPrerenderAttemptCompleted) { - out.RawByte('{') - first := true - _ = first - { - const prefix string = ",\"initiatingFrameId\":" - out.RawString(prefix[1:]) - out.String(string(in.InitiatingFrameID)) - } - { - const prefix string = ",\"prerenderingUrl\":" - out.RawString(prefix) - out.String(string(in.PrerenderingURL)) - } - { - const prefix string = ",\"finalStatus\":" - out.RawString(prefix) - (in.FinalStatus).MarshalEasyJSON(out) - } - if in.DisallowedAPIMethod != "" { - const prefix string = ",\"disallowedApiMethod\":" - out.RawString(prefix) - out.String(string(in.DisallowedAPIMethod)) - } - out.RawByte('}') -} - -// MarshalJSON supports json.Marshaler interface -func (v EventPrerenderAttemptCompleted) MarshalJSON() ([]byte, error) { - w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage69(&w, v) - return w.Buffer.BuildBytes(), w.Error -} - -// MarshalEasyJSON supports easyjson.Marshaler interface -func (v EventPrerenderAttemptCompleted) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage69(w, v) -} - -// UnmarshalJSON supports json.Unmarshaler interface -func (v *EventPrerenderAttemptCompleted) UnmarshalJSON(data []byte) error { - r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage69(&r, v) - return r.Error() -} - -// UnmarshalEasyJSON supports easyjson.Unmarshaler interface -func (v *EventPrerenderAttemptCompleted) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage69(l, v) -} -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage70(in *jlexer.Lexer, out *EventPrefetchStatusUpdated) { - 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 "initiatingFrameId": - (out.InitiatingFrameID).UnmarshalEasyJSON(in) - case "prefetchUrl": - out.PrefetchURL = string(in.String()) - case "status": - (out.Status).UnmarshalEasyJSON(in) - default: - in.SkipRecursive() - } - in.WantComma() - } - in.Delim('}') - if isTopLevel { - in.Consumed() - } -} -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage70(out *jwriter.Writer, in EventPrefetchStatusUpdated) { - out.RawByte('{') - first := true - _ = first - { - const prefix string = ",\"initiatingFrameId\":" - out.RawString(prefix[1:]) - out.String(string(in.InitiatingFrameID)) - } - { - const prefix string = ",\"prefetchUrl\":" - out.RawString(prefix) - out.String(string(in.PrefetchURL)) - } - { - const prefix string = ",\"status\":" - out.RawString(prefix) - (in.Status).MarshalEasyJSON(out) - } - out.RawByte('}') -} - -// MarshalJSON supports json.Marshaler interface -func (v EventPrefetchStatusUpdated) MarshalJSON() ([]byte, error) { - w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage70(&w, v) - return w.Buffer.BuildBytes(), w.Error -} - -// MarshalEasyJSON supports easyjson.Marshaler interface -func (v EventPrefetchStatusUpdated) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage70(w, v) -} - -// UnmarshalJSON supports json.Unmarshaler interface -func (v *EventPrefetchStatusUpdated) UnmarshalJSON(data []byte) error { - r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage70(&r, v) - return r.Error() -} - -// UnmarshalEasyJSON supports easyjson.Unmarshaler interface -func (v *EventPrefetchStatusUpdated) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage70(l, v) -} -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage71(in *jlexer.Lexer, out *EventNavigatedWithinDocument) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage69(in *jlexer.Lexer, out *EventNavigatedWithinDocument) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -6287,7 +6113,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage71(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage71(out *jwriter.Writer, in EventNavigatedWithinDocument) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage69(out *jwriter.Writer, in EventNavigatedWithinDocument) { out.RawByte('{') first := true _ = first @@ -6307,27 +6133,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage71(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v EventNavigatedWithinDocument) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage71(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage69(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventNavigatedWithinDocument) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage71(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage69(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventNavigatedWithinDocument) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage71(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage69(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventNavigatedWithinDocument) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage71(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage69(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage72(in *jlexer.Lexer, out *EventLoadEventFired) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage70(in *jlexer.Lexer, out *EventLoadEventFired) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -6366,7 +6192,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage72(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage72(out *jwriter.Writer, in EventLoadEventFired) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage70(out *jwriter.Writer, in EventLoadEventFired) { out.RawByte('{') first := true _ = first @@ -6385,27 +6211,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage72(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v EventLoadEventFired) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage72(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage70(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventLoadEventFired) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage72(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage70(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventLoadEventFired) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage72(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage70(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventLoadEventFired) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage72(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage70(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage73(in *jlexer.Lexer, out *EventLifecycleEvent) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage71(in *jlexer.Lexer, out *EventLifecycleEvent) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -6450,7 +6276,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage73(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage73(out *jwriter.Writer, in EventLifecycleEvent) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage71(out *jwriter.Writer, in EventLifecycleEvent) { out.RawByte('{') first := true _ = first @@ -6484,27 +6310,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage73(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v EventLifecycleEvent) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage73(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage71(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventLifecycleEvent) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage73(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage71(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventLifecycleEvent) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage73(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage71(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventLifecycleEvent) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage73(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage71(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage74(in *jlexer.Lexer, out *EventJavascriptDialogOpening) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage72(in *jlexer.Lexer, out *EventJavascriptDialogOpening) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -6543,7 +6369,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage74(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage74(out *jwriter.Writer, in EventJavascriptDialogOpening) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage72(out *jwriter.Writer, in EventJavascriptDialogOpening) { out.RawByte('{') first := true _ = first @@ -6578,27 +6404,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage74(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v EventJavascriptDialogOpening) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage74(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage72(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventJavascriptDialogOpening) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage74(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage72(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventJavascriptDialogOpening) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage74(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage72(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventJavascriptDialogOpening) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage74(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage72(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage75(in *jlexer.Lexer, out *EventJavascriptDialogClosed) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage73(in *jlexer.Lexer, out *EventJavascriptDialogClosed) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -6631,7 +6457,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage75(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage75(out *jwriter.Writer, in EventJavascriptDialogClosed) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage73(out *jwriter.Writer, in EventJavascriptDialogClosed) { out.RawByte('{') first := true _ = first @@ -6651,27 +6477,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage75(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v EventJavascriptDialogClosed) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage75(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage73(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventJavascriptDialogClosed) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage75(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage73(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventJavascriptDialogClosed) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage75(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage73(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventJavascriptDialogClosed) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage75(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage73(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage76(in *jlexer.Lexer, out *EventInterstitialShown) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage74(in *jlexer.Lexer, out *EventInterstitialShown) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -6700,7 +6526,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage76(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage76(out *jwriter.Writer, in EventInterstitialShown) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage74(out *jwriter.Writer, in EventInterstitialShown) { out.RawByte('{') first := true _ = first @@ -6710,27 +6536,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage76(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v EventInterstitialShown) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage76(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage74(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventInterstitialShown) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage76(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage74(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventInterstitialShown) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage76(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage74(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventInterstitialShown) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage76(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage74(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage77(in *jlexer.Lexer, out *EventInterstitialHidden) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage75(in *jlexer.Lexer, out *EventInterstitialHidden) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -6759,7 +6585,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage77(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage77(out *jwriter.Writer, in EventInterstitialHidden) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage75(out *jwriter.Writer, in EventInterstitialHidden) { out.RawByte('{') first := true _ = first @@ -6769,27 +6595,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage77(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v EventInterstitialHidden) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage77(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage75(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventInterstitialHidden) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage77(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage75(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventInterstitialHidden) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage77(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage75(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventInterstitialHidden) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage77(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage75(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage78(in *jlexer.Lexer, out *EventFrameStoppedLoading) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage76(in *jlexer.Lexer, out *EventFrameStoppedLoading) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -6820,7 +6646,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage78(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage78(out *jwriter.Writer, in EventFrameStoppedLoading) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage76(out *jwriter.Writer, in EventFrameStoppedLoading) { out.RawByte('{') first := true _ = first @@ -6835,27 +6661,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage78(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v EventFrameStoppedLoading) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage78(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage76(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventFrameStoppedLoading) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage78(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage76(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventFrameStoppedLoading) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage78(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage76(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventFrameStoppedLoading) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage78(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage76(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage79(in *jlexer.Lexer, out *EventFrameStartedLoading) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage77(in *jlexer.Lexer, out *EventFrameStartedLoading) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -6886,7 +6712,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage79(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage79(out *jwriter.Writer, in EventFrameStartedLoading) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage77(out *jwriter.Writer, in EventFrameStartedLoading) { out.RawByte('{') first := true _ = first @@ -6901,27 +6727,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage79(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v EventFrameStartedLoading) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage79(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage77(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventFrameStartedLoading) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage79(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage77(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventFrameStartedLoading) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage79(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage77(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventFrameStartedLoading) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage79(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage77(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage80(in *jlexer.Lexer, out *EventFrameResized) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage78(in *jlexer.Lexer, out *EventFrameResized) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -6950,7 +6776,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage80(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage80(out *jwriter.Writer, in EventFrameResized) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage78(out *jwriter.Writer, in EventFrameResized) { out.RawByte('{') first := true _ = first @@ -6960,27 +6786,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage80(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v EventFrameResized) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage80(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage78(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventFrameResized) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage80(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage78(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventFrameResized) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage80(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage78(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventFrameResized) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage80(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage78(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage81(in *jlexer.Lexer, out *EventFrameRequestedNavigation) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage79(in *jlexer.Lexer, out *EventFrameRequestedNavigation) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -7017,7 +6843,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage81(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage81(out *jwriter.Writer, in EventFrameRequestedNavigation) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage79(out *jwriter.Writer, in EventFrameRequestedNavigation) { out.RawByte('{') first := true _ = first @@ -7047,27 +6873,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage81(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v EventFrameRequestedNavigation) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage81(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage79(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventFrameRequestedNavigation) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage81(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage79(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventFrameRequestedNavigation) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage81(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage79(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventFrameRequestedNavigation) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage81(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage79(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage82(in *jlexer.Lexer, out *EventFrameNavigated) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage80(in *jlexer.Lexer, out *EventFrameNavigated) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -7108,7 +6934,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage82(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage82(out *jwriter.Writer, in EventFrameNavigated) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage80(out *jwriter.Writer, in EventFrameNavigated) { out.RawByte('{') first := true _ = first @@ -7132,27 +6958,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage82(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v EventFrameNavigated) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage82(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage80(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventFrameNavigated) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage82(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage80(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventFrameNavigated) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage82(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage80(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventFrameNavigated) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage82(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage80(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage83(in *jlexer.Lexer, out *EventFrameDetached) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage81(in *jlexer.Lexer, out *EventFrameDetached) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -7185,7 +7011,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage83(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage83(out *jwriter.Writer, in EventFrameDetached) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage81(out *jwriter.Writer, in EventFrameDetached) { out.RawByte('{') first := true _ = first @@ -7205,27 +7031,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage83(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v EventFrameDetached) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage83(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage81(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventFrameDetached) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage83(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage81(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventFrameDetached) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage83(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage81(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventFrameDetached) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage83(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage81(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage84(in *jlexer.Lexer, out *EventFrameAttached) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage82(in *jlexer.Lexer, out *EventFrameAttached) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -7268,7 +7094,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage84(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage84(out *jwriter.Writer, in EventFrameAttached) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage82(out *jwriter.Writer, in EventFrameAttached) { out.RawByte('{') first := true _ = first @@ -7293,27 +7119,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage84(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v EventFrameAttached) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage84(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage82(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventFrameAttached) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage84(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage82(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventFrameAttached) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage84(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage82(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventFrameAttached) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage84(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage82(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage85(in *jlexer.Lexer, out *EventFileChooserOpened) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage83(in *jlexer.Lexer, out *EventFileChooserOpened) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -7348,7 +7174,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage85(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage85(out *jwriter.Writer, in EventFileChooserOpened) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage83(out *jwriter.Writer, in EventFileChooserOpened) { out.RawByte('{') first := true _ = first @@ -7373,27 +7199,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage85(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v EventFileChooserOpened) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage85(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage83(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventFileChooserOpened) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage85(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage83(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventFileChooserOpened) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage85(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage83(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventFileChooserOpened) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage85(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage83(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage86(in *jlexer.Lexer, out *EventDomContentEventFired) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage84(in *jlexer.Lexer, out *EventDomContentEventFired) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -7432,7 +7258,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage86(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage86(out *jwriter.Writer, in EventDomContentEventFired) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage84(out *jwriter.Writer, in EventDomContentEventFired) { out.RawByte('{') first := true _ = first @@ -7451,27 +7277,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage86(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v EventDomContentEventFired) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage86(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage84(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventDomContentEventFired) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage86(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage84(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventDomContentEventFired) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage86(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage84(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventDomContentEventFired) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage86(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage84(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage87(in *jlexer.Lexer, out *EventDocumentOpened) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage85(in *jlexer.Lexer, out *EventDocumentOpened) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -7510,7 +7336,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage87(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage87(out *jwriter.Writer, in EventDocumentOpened) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage85(out *jwriter.Writer, in EventDocumentOpened) { out.RawByte('{') first := true _ = first @@ -7529,27 +7355,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage87(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v EventDocumentOpened) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage87(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage85(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventDocumentOpened) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage87(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage85(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventDocumentOpened) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage87(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage85(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventDocumentOpened) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage87(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage85(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage88(in *jlexer.Lexer, out *EventCompilationCacheProduced) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage86(in *jlexer.Lexer, out *EventCompilationCacheProduced) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -7582,7 +7408,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage88(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage88(out *jwriter.Writer, in EventCompilationCacheProduced) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage86(out *jwriter.Writer, in EventCompilationCacheProduced) { out.RawByte('{') first := true _ = first @@ -7602,27 +7428,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage88(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v EventCompilationCacheProduced) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage88(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage86(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventCompilationCacheProduced) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage88(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage86(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventCompilationCacheProduced) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage88(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage86(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventCompilationCacheProduced) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage88(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage86(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage89(in *jlexer.Lexer, out *EventBackForwardCacheNotUsed) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage87(in *jlexer.Lexer, out *EventBackForwardCacheNotUsed) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -7696,7 +7522,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage89(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage89(out *jwriter.Writer, in EventBackForwardCacheNotUsed) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage87(out *jwriter.Writer, in EventBackForwardCacheNotUsed) { out.RawByte('{') first := true _ = first @@ -7741,27 +7567,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage89(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v EventBackForwardCacheNotUsed) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage89(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage87(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventBackForwardCacheNotUsed) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage89(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage87(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventBackForwardCacheNotUsed) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage89(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage87(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventBackForwardCacheNotUsed) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage89(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage87(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage90(in *jlexer.Lexer, out *EnableParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage88(in *jlexer.Lexer, out *EnableParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -7790,7 +7616,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage90(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage90(out *jwriter.Writer, in EnableParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage88(out *jwriter.Writer, in EnableParams) { out.RawByte('{') first := true _ = first @@ -7800,27 +7626,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage90(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v EnableParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage90(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage88(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EnableParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage90(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage88(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EnableParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage90(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage88(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EnableParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage90(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage88(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage91(in *jlexer.Lexer, out *DisableParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage89(in *jlexer.Lexer, out *DisableParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -7849,7 +7675,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage91(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage91(out *jwriter.Writer, in DisableParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage89(out *jwriter.Writer, in DisableParams) { out.RawByte('{') first := true _ = first @@ -7859,27 +7685,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage91(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v DisableParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage91(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage89(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v DisableParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage91(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage89(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *DisableParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage91(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage89(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *DisableParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage91(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage89(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage92(in *jlexer.Lexer, out *CreateIsolatedWorldReturns) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage90(in *jlexer.Lexer, out *CreateIsolatedWorldReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -7910,7 +7736,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage92(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage92(out *jwriter.Writer, in CreateIsolatedWorldReturns) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage90(out *jwriter.Writer, in CreateIsolatedWorldReturns) { out.RawByte('{') first := true _ = first @@ -7926,27 +7752,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage92(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v CreateIsolatedWorldReturns) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage92(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage90(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v CreateIsolatedWorldReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage92(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage90(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *CreateIsolatedWorldReturns) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage92(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage90(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *CreateIsolatedWorldReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage92(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage90(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage93(in *jlexer.Lexer, out *CreateIsolatedWorldParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage91(in *jlexer.Lexer, out *CreateIsolatedWorldParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -7981,7 +7807,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage93(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage93(out *jwriter.Writer, in CreateIsolatedWorldParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage91(out *jwriter.Writer, in CreateIsolatedWorldParams) { out.RawByte('{') first := true _ = first @@ -8006,27 +7832,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage93(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v CreateIsolatedWorldParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage93(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage91(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v CreateIsolatedWorldParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage93(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage91(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *CreateIsolatedWorldParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage93(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage91(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *CreateIsolatedWorldParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage93(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage91(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage94(in *jlexer.Lexer, out *CrashParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage92(in *jlexer.Lexer, out *CrashParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -8055,7 +7881,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage94(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage94(out *jwriter.Writer, in CrashParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage92(out *jwriter.Writer, in CrashParams) { out.RawByte('{') first := true _ = first @@ -8065,27 +7891,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage94(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v CrashParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage94(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage92(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v CrashParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage94(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage92(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *CrashParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage94(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage92(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *CrashParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage94(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage92(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage95(in *jlexer.Lexer, out *CompilationCacheParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage93(in *jlexer.Lexer, out *CompilationCacheParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -8118,7 +7944,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage95(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage95(out *jwriter.Writer, in CompilationCacheParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage93(out *jwriter.Writer, in CompilationCacheParams) { out.RawByte('{') first := true _ = first @@ -8138,27 +7964,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage95(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v CompilationCacheParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage95(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage93(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v CompilationCacheParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage95(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage93(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *CompilationCacheParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage95(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage93(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *CompilationCacheParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage95(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage93(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage96(in *jlexer.Lexer, out *CloseParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage94(in *jlexer.Lexer, out *CloseParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -8187,7 +8013,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage96(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage96(out *jwriter.Writer, in CloseParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage94(out *jwriter.Writer, in CloseParams) { out.RawByte('{') first := true _ = first @@ -8197,27 +8023,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage96(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v CloseParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage96(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage94(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v CloseParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage96(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage94(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *CloseParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage96(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage94(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *CloseParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage96(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage94(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage97(in *jlexer.Lexer, out *ClearCompilationCacheParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage95(in *jlexer.Lexer, out *ClearCompilationCacheParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -8246,7 +8072,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage97(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage97(out *jwriter.Writer, in ClearCompilationCacheParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage95(out *jwriter.Writer, in ClearCompilationCacheParams) { out.RawByte('{') first := true _ = first @@ -8256,27 +8082,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage97(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v ClearCompilationCacheParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage97(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage95(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v ClearCompilationCacheParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage97(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage95(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *ClearCompilationCacheParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage97(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage95(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *ClearCompilationCacheParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage97(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage95(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage98(in *jlexer.Lexer, out *CaptureSnapshotReturns) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage96(in *jlexer.Lexer, out *CaptureSnapshotReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -8307,7 +8133,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage98(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage98(out *jwriter.Writer, in CaptureSnapshotReturns) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage96(out *jwriter.Writer, in CaptureSnapshotReturns) { out.RawByte('{') first := true _ = first @@ -8323,27 +8149,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage98(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v CaptureSnapshotReturns) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage98(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage96(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v CaptureSnapshotReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage98(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage96(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *CaptureSnapshotReturns) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage98(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage96(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *CaptureSnapshotReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage98(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage96(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage99(in *jlexer.Lexer, out *CaptureSnapshotParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage97(in *jlexer.Lexer, out *CaptureSnapshotParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -8374,7 +8200,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage99(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage99(out *jwriter.Writer, in CaptureSnapshotParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage97(out *jwriter.Writer, in CaptureSnapshotParams) { out.RawByte('{') first := true _ = first @@ -8390,27 +8216,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage99(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v CaptureSnapshotParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage99(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage97(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v CaptureSnapshotParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage99(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage97(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *CaptureSnapshotParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage99(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage97(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *CaptureSnapshotParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage99(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage97(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage100(in *jlexer.Lexer, out *CaptureScreenshotReturns) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage98(in *jlexer.Lexer, out *CaptureScreenshotReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -8441,7 +8267,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage100(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage100(out *jwriter.Writer, in CaptureScreenshotReturns) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage98(out *jwriter.Writer, in CaptureScreenshotReturns) { out.RawByte('{') first := true _ = first @@ -8457,27 +8283,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage100(out *jwriter.Writer, // MarshalJSON supports json.Marshaler interface func (v CaptureScreenshotReturns) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage100(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage98(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v CaptureScreenshotReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage100(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage98(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *CaptureScreenshotReturns) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage100(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage98(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *CaptureScreenshotReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage100(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage98(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage101(in *jlexer.Lexer, out *CaptureScreenshotParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage99(in *jlexer.Lexer, out *CaptureScreenshotParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -8526,7 +8352,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage101(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage101(out *jwriter.Writer, in CaptureScreenshotParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage99(out *jwriter.Writer, in CaptureScreenshotParams) { out.RawByte('{') first := true _ = first @@ -8592,27 +8418,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage101(out *jwriter.Writer, // MarshalJSON supports json.Marshaler interface func (v CaptureScreenshotParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage101(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage99(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v CaptureScreenshotParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage101(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage99(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *CaptureScreenshotParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage101(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage99(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *CaptureScreenshotParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage101(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage99(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage102(in *jlexer.Lexer, out *BringToFrontParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage100(in *jlexer.Lexer, out *BringToFrontParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -8641,7 +8467,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage102(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage102(out *jwriter.Writer, in BringToFrontParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage100(out *jwriter.Writer, in BringToFrontParams) { out.RawByte('{') first := true _ = first @@ -8651,27 +8477,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage102(out *jwriter.Writer, // MarshalJSON supports json.Marshaler interface func (v BringToFrontParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage102(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage100(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v BringToFrontParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage102(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage100(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *BringToFrontParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage102(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage100(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *BringToFrontParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage102(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage100(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage103(in *jlexer.Lexer, out *BackForwardCacheNotRestoredExplanationTree) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage101(in *jlexer.Lexer, out *BackForwardCacheNotRestoredExplanationTree) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -8764,7 +8590,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage103(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage103(out *jwriter.Writer, in BackForwardCacheNotRestoredExplanationTree) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage101(out *jwriter.Writer, in BackForwardCacheNotRestoredExplanationTree) { out.RawByte('{') first := true _ = first @@ -8819,27 +8645,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage103(out *jwriter.Writer, // MarshalJSON supports json.Marshaler interface func (v BackForwardCacheNotRestoredExplanationTree) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage103(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage101(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v BackForwardCacheNotRestoredExplanationTree) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage103(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage101(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *BackForwardCacheNotRestoredExplanationTree) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage103(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage101(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *BackForwardCacheNotRestoredExplanationTree) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage103(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage101(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage104(in *jlexer.Lexer, out *BackForwardCacheNotRestoredExplanation) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage102(in *jlexer.Lexer, out *BackForwardCacheNotRestoredExplanation) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -8874,7 +8700,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage104(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage104(out *jwriter.Writer, in BackForwardCacheNotRestoredExplanation) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage102(out *jwriter.Writer, in BackForwardCacheNotRestoredExplanation) { out.RawByte('{') first := true _ = first @@ -8899,27 +8725,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage104(out *jwriter.Writer, // MarshalJSON supports json.Marshaler interface func (v BackForwardCacheNotRestoredExplanation) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage104(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage102(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v BackForwardCacheNotRestoredExplanation) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage104(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage102(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *BackForwardCacheNotRestoredExplanation) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage104(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage102(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *BackForwardCacheNotRestoredExplanation) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage104(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage102(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage105(in *jlexer.Lexer, out *AppManifestParsedProperties) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage103(in *jlexer.Lexer, out *AppManifestParsedProperties) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -8950,7 +8776,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage105(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage105(out *jwriter.Writer, in AppManifestParsedProperties) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage103(out *jwriter.Writer, in AppManifestParsedProperties) { out.RawByte('{') first := true _ = first @@ -8965,27 +8791,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage105(out *jwriter.Writer, // MarshalJSON supports json.Marshaler interface func (v AppManifestParsedProperties) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage105(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage103(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v AppManifestParsedProperties) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage105(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage103(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *AppManifestParsedProperties) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage105(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage103(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *AppManifestParsedProperties) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage105(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage103(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage106(in *jlexer.Lexer, out *AppManifestError) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage104(in *jlexer.Lexer, out *AppManifestError) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -9022,7 +8848,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage106(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage106(out *jwriter.Writer, in AppManifestError) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage104(out *jwriter.Writer, in AppManifestError) { out.RawByte('{') first := true _ = first @@ -9052,27 +8878,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage106(out *jwriter.Writer, // MarshalJSON supports json.Marshaler interface func (v AppManifestError) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage106(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage104(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v AppManifestError) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage106(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage104(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *AppManifestError) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage106(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage104(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *AppManifestError) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage106(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage104(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage107(in *jlexer.Lexer, out *AddScriptToEvaluateOnNewDocumentReturns) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage105(in *jlexer.Lexer, out *AddScriptToEvaluateOnNewDocumentReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -9103,7 +8929,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage107(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage107(out *jwriter.Writer, in AddScriptToEvaluateOnNewDocumentReturns) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage105(out *jwriter.Writer, in AddScriptToEvaluateOnNewDocumentReturns) { out.RawByte('{') first := true _ = first @@ -9119,27 +8945,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage107(out *jwriter.Writer, // MarshalJSON supports json.Marshaler interface func (v AddScriptToEvaluateOnNewDocumentReturns) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage107(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage105(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v AddScriptToEvaluateOnNewDocumentReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage107(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage105(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *AddScriptToEvaluateOnNewDocumentReturns) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage107(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage105(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *AddScriptToEvaluateOnNewDocumentReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage107(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage105(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage108(in *jlexer.Lexer, out *AddScriptToEvaluateOnNewDocumentParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage106(in *jlexer.Lexer, out *AddScriptToEvaluateOnNewDocumentParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -9164,6 +8990,8 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage108(in *jlexer.Lexer, out out.WorldName = string(in.String()) case "includeCommandLineAPI": out.IncludeCommandLineAPI = bool(in.Bool()) + case "runImmediately": + out.RunImmediately = bool(in.Bool()) default: in.SkipRecursive() } @@ -9174,7 +9002,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage108(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage108(out *jwriter.Writer, in AddScriptToEvaluateOnNewDocumentParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage106(out *jwriter.Writer, in AddScriptToEvaluateOnNewDocumentParams) { out.RawByte('{') first := true _ = first @@ -9193,33 +9021,38 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage108(out *jwriter.Writer, out.RawString(prefix) out.Bool(bool(in.IncludeCommandLineAPI)) } + if in.RunImmediately { + const prefix string = ",\"runImmediately\":" + out.RawString(prefix) + out.Bool(bool(in.RunImmediately)) + } out.RawByte('}') } // MarshalJSON supports json.Marshaler interface func (v AddScriptToEvaluateOnNewDocumentParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage108(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage106(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v AddScriptToEvaluateOnNewDocumentParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage108(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage106(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *AddScriptToEvaluateOnNewDocumentParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage108(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage106(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *AddScriptToEvaluateOnNewDocumentParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage108(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage106(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage109(in *jlexer.Lexer, out *AddCompilationCacheParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage107(in *jlexer.Lexer, out *AddCompilationCacheParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -9252,7 +9085,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage109(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage109(out *jwriter.Writer, in AddCompilationCacheParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage107(out *jwriter.Writer, in AddCompilationCacheParams) { out.RawByte('{') first := true _ = first @@ -9272,27 +9105,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage109(out *jwriter.Writer, // MarshalJSON supports json.Marshaler interface func (v AddCompilationCacheParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage109(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage107(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v AddCompilationCacheParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage109(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage107(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *AddCompilationCacheParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage109(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage107(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *AddCompilationCacheParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage109(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage107(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage110(in *jlexer.Lexer, out *AdScriptID) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage108(in *jlexer.Lexer, out *AdScriptID) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -9325,7 +9158,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage110(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage110(out *jwriter.Writer, in AdScriptID) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage108(out *jwriter.Writer, in AdScriptID) { out.RawByte('{') first := true _ = first @@ -9345,23 +9178,23 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage110(out *jwriter.Writer, // MarshalJSON supports json.Marshaler interface func (v AdScriptID) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage110(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage108(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v AdScriptID) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage110(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPage108(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *AdScriptID) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage110(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage108(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *AdScriptID) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage110(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPage108(l, v) } diff --git a/vendor/github.com/chromedp/cdproto/page/events.go b/vendor/github.com/chromedp/cdproto/page/events.go index 02b24c49f3..e37e12f1d0 100644 --- a/vendor/github.com/chromedp/cdproto/page/events.go +++ b/vendor/github.com/chromedp/cdproto/page/events.go @@ -143,37 +143,6 @@ type EventBackForwardCacheNotUsed struct { NotRestoredExplanationsTree *BackForwardCacheNotRestoredExplanationTree `json:"notRestoredExplanationsTree,omitempty"` // Tree structure of reasons why the page could not be cached for each frame. } -// EventPrerenderAttemptCompleted fired when a prerender attempt is -// completed. -// -// See: https://chromedevtools.github.io/devtools-protocol/tot/Page#event-prerenderAttemptCompleted -type EventPrerenderAttemptCompleted struct { - InitiatingFrameID cdp.FrameID `json:"initiatingFrameId"` // The frame id of the frame initiating prerendering. - PrerenderingURL string `json:"prerenderingUrl"` - FinalStatus PrerenderFinalStatus `json:"finalStatus"` - DisallowedAPIMethod string `json:"disallowedApiMethod,omitempty"` // This is used to give users more information about the name of the API call that is incompatible with prerender and has caused the cancellation of the attempt -} - -// EventPrefetchStatusUpdated tODO(crbug/1384419): Create a dedicated domain -// for preloading. Fired when a prefetch attempt is updated. -// -// See: https://chromedevtools.github.io/devtools-protocol/tot/Page#event-prefetchStatusUpdated -type EventPrefetchStatusUpdated struct { - InitiatingFrameID cdp.FrameID `json:"initiatingFrameId"` // The frame id of the frame initiating prefetch. - PrefetchURL string `json:"prefetchUrl"` - Status PreloadingStatus `json:"status"` -} - -// EventPrerenderStatusUpdated tODO(crbug/1384419): Create a dedicated domain -// for preloading. Fired when a prerender attempt is updated. -// -// See: https://chromedevtools.github.io/devtools-protocol/tot/Page#event-prerenderStatusUpdated -type EventPrerenderStatusUpdated struct { - InitiatingFrameID cdp.FrameID `json:"initiatingFrameId"` // The frame id of the frame initiating prerender. - PrerenderingURL string `json:"prerenderingUrl"` - Status PreloadingStatus `json:"status"` -} - // EventLoadEventFired [no description]. // // See: https://chromedevtools.github.io/devtools-protocol/tot/Page#event-loadEventFired diff --git a/vendor/github.com/chromedp/cdproto/page/page.go b/vendor/github.com/chromedp/cdproto/page/page.go index dfa5137307..02936d109c 100644 --- a/vendor/github.com/chromedp/cdproto/page/page.go +++ b/vendor/github.com/chromedp/cdproto/page/page.go @@ -26,6 +26,7 @@ type AddScriptToEvaluateOnNewDocumentParams struct { Source string `json:"source"` WorldName string `json:"worldName,omitempty"` // If specified, creates an isolated world with the given name and evaluates given script in it. This world name will be used as the ExecutionContextDescription::name when the corresponding event is emitted. IncludeCommandLineAPI bool `json:"includeCommandLineAPI,omitempty"` // Specifies whether command line API should be available to the script, defaults to false. + RunImmediately bool `json:"runImmediately,omitempty"` // If true, runs the script immediately on existing execution contexts or worlds. Default: false. } // AddScriptToEvaluateOnNewDocument evaluates given script in every frame @@ -57,6 +58,13 @@ func (p AddScriptToEvaluateOnNewDocumentParams) WithIncludeCommandLineAPI(includ return &p } +// WithRunImmediately if true, runs the script immediately on existing +// execution contexts or worlds. Default: false. +func (p AddScriptToEvaluateOnNewDocumentParams) WithRunImmediately(runImmediately bool) *AddScriptToEvaluateOnNewDocumentParams { + p.RunImmediately = runImmediately + return &p +} + // AddScriptToEvaluateOnNewDocumentReturns return values. type AddScriptToEvaluateOnNewDocumentReturns struct { Identifier ScriptIdentifier `json:"identifier,omitempty"` // Identifier of the added script. @@ -803,6 +811,7 @@ type PrintToPDFParams struct { FooterTemplate string `json:"footerTemplate,omitempty"` // HTML template for the print footer. Should use the same format as the headerTemplate. PreferCSSPageSize bool `json:"preferCSSPageSize,omitempty"` // Whether or not to prefer page size as defined by css. Defaults to false, in which case the content will be scaled to fit the paper size. TransferMode PrintToPDFTransferMode `json:"transferMode,omitempty"` // return as stream + GenerateTaggedPDF bool `json:"generateTaggedPDF,omitempty"` // Whether or not to generate tagged (accessible) PDF. Defaults to embedder choice. } // PrintToPDF print page as PDF. @@ -918,6 +927,13 @@ func (p PrintToPDFParams) WithTransferMode(transferMode PrintToPDFTransferMode) return &p } +// WithGenerateTaggedPDF whether or not to generate tagged (accessible) PDF. +// Defaults to embedder choice. +func (p PrintToPDFParams) WithGenerateTaggedPDF(generateTaggedPDF bool) *PrintToPDFParams { + p.GenerateTaggedPDF = generateTaggedPDF + return &p +} + // PrintToPDFReturns return values. type PrintToPDFReturns struct { Data string `json:"data,omitempty"` // Base64-encoded pdf data. Empty if |returnAsStream| is specified. @@ -1667,6 +1683,37 @@ func (p *SetInterceptFileChooserDialogParams) Do(ctx context.Context) (err error return cdp.Execute(ctx, CommandSetInterceptFileChooserDialog, p, nil) } +// SetPrerenderingAllowedParams enable/disable prerendering manually. This +// command is a short-term solution for https://crbug.com/1440085. See +// https://docs.google.com/document/d/12HVmFxYj5Jc-eJr5OmWsa2bqTJsbgGLKI6ZIyx0_wpA +// for more details. TODO(https://crbug.com/1440085): Remove this once Puppeteer +// supports tab targets. +type SetPrerenderingAllowedParams struct { + IsAllowed bool `json:"isAllowed"` +} + +// SetPrerenderingAllowed enable/disable prerendering manually. This command +// is a short-term solution for https://crbug.com/1440085. See +// https://docs.google.com/document/d/12HVmFxYj5Jc-eJr5OmWsa2bqTJsbgGLKI6ZIyx0_wpA +// for more details. TODO(https://crbug.com/1440085): Remove this once Puppeteer +// supports tab targets. +// +// See: https://chromedevtools.github.io/devtools-protocol/tot/Page#method-setPrerenderingAllowed +// +// parameters: +// +// isAllowed +func SetPrerenderingAllowed(isAllowed bool) *SetPrerenderingAllowedParams { + return &SetPrerenderingAllowedParams{ + IsAllowed: isAllowed, + } +} + +// Do executes Page.setPrerenderingAllowed against the provided context. +func (p *SetPrerenderingAllowedParams) Do(ctx context.Context) (err error) { + return cdp.Execute(ctx, CommandSetPrerenderingAllowed, p, nil) +} + // Command names. const ( CommandAddScriptToEvaluateOnNewDocument = "Page.addScriptToEvaluateOnNewDocument" @@ -1716,4 +1763,5 @@ const ( CommandGenerateTestReport = "Page.generateTestReport" CommandWaitForDebugger = "Page.waitForDebugger" CommandSetInterceptFileChooserDialog = "Page.setInterceptFileChooserDialog" + CommandSetPrerenderingAllowed = "Page.setPrerenderingAllowed" ) diff --git a/vendor/github.com/chromedp/cdproto/page/types.go b/vendor/github.com/chromedp/cdproto/page/types.go index 3b56f62ffb..87d55243e6 100644 --- a/vendor/github.com/chromedp/cdproto/page/types.go +++ b/vendor/github.com/chromedp/cdproto/page/types.go @@ -36,84 +36,85 @@ func (t PermissionsPolicyFeature) String() string { // PermissionsPolicyFeature values. const ( - PermissionsPolicyFeatureAccelerometer PermissionsPolicyFeature = "accelerometer" - PermissionsPolicyFeatureAmbientLightSensor PermissionsPolicyFeature = "ambient-light-sensor" - PermissionsPolicyFeatureAttributionReporting PermissionsPolicyFeature = "attribution-reporting" - PermissionsPolicyFeatureAutoplay PermissionsPolicyFeature = "autoplay" - PermissionsPolicyFeatureBluetooth PermissionsPolicyFeature = "bluetooth" - PermissionsPolicyFeatureBrowsingTopics PermissionsPolicyFeature = "browsing-topics" - PermissionsPolicyFeatureCamera PermissionsPolicyFeature = "camera" - PermissionsPolicyFeatureChDpr PermissionsPolicyFeature = "ch-dpr" - PermissionsPolicyFeatureChDeviceMemory PermissionsPolicyFeature = "ch-device-memory" - PermissionsPolicyFeatureChDownlink PermissionsPolicyFeature = "ch-downlink" - PermissionsPolicyFeatureChEct PermissionsPolicyFeature = "ch-ect" - PermissionsPolicyFeatureChPrefersColorScheme PermissionsPolicyFeature = "ch-prefers-color-scheme" - PermissionsPolicyFeatureChPrefersReducedMotion PermissionsPolicyFeature = "ch-prefers-reduced-motion" - PermissionsPolicyFeatureChRtt PermissionsPolicyFeature = "ch-rtt" - PermissionsPolicyFeatureChSaveData PermissionsPolicyFeature = "ch-save-data" - PermissionsPolicyFeatureChUa PermissionsPolicyFeature = "ch-ua" - PermissionsPolicyFeatureChUaArch PermissionsPolicyFeature = "ch-ua-arch" - PermissionsPolicyFeatureChUaBitness PermissionsPolicyFeature = "ch-ua-bitness" - PermissionsPolicyFeatureChUaPlatform PermissionsPolicyFeature = "ch-ua-platform" - PermissionsPolicyFeatureChUaModel PermissionsPolicyFeature = "ch-ua-model" - PermissionsPolicyFeatureChUaMobile PermissionsPolicyFeature = "ch-ua-mobile" - PermissionsPolicyFeatureChUaFull PermissionsPolicyFeature = "ch-ua-full" - PermissionsPolicyFeatureChUaFullVersion PermissionsPolicyFeature = "ch-ua-full-version" - PermissionsPolicyFeatureChUaFullVersionList PermissionsPolicyFeature = "ch-ua-full-version-list" - PermissionsPolicyFeatureChUaPlatformVersion PermissionsPolicyFeature = "ch-ua-platform-version" - PermissionsPolicyFeatureChUaReduced PermissionsPolicyFeature = "ch-ua-reduced" - PermissionsPolicyFeatureChUaWow64 PermissionsPolicyFeature = "ch-ua-wow64" - PermissionsPolicyFeatureChViewportHeight PermissionsPolicyFeature = "ch-viewport-height" - PermissionsPolicyFeatureChViewportWidth PermissionsPolicyFeature = "ch-viewport-width" - PermissionsPolicyFeatureChWidth PermissionsPolicyFeature = "ch-width" - PermissionsPolicyFeatureClipboardRead PermissionsPolicyFeature = "clipboard-read" - PermissionsPolicyFeatureClipboardWrite PermissionsPolicyFeature = "clipboard-write" - PermissionsPolicyFeatureComputePressure PermissionsPolicyFeature = "compute-pressure" - PermissionsPolicyFeatureCrossOriginIsolated PermissionsPolicyFeature = "cross-origin-isolated" - PermissionsPolicyFeatureDirectSockets PermissionsPolicyFeature = "direct-sockets" - PermissionsPolicyFeatureDisplayCapture PermissionsPolicyFeature = "display-capture" - PermissionsPolicyFeatureDocumentDomain PermissionsPolicyFeature = "document-domain" - PermissionsPolicyFeatureEncryptedMedia PermissionsPolicyFeature = "encrypted-media" - PermissionsPolicyFeatureExecutionWhileOutOfViewport PermissionsPolicyFeature = "execution-while-out-of-viewport" - PermissionsPolicyFeatureExecutionWhileNotRendered PermissionsPolicyFeature = "execution-while-not-rendered" - PermissionsPolicyFeatureFocusWithoutUserActivation PermissionsPolicyFeature = "focus-without-user-activation" - PermissionsPolicyFeatureFullscreen PermissionsPolicyFeature = "fullscreen" - PermissionsPolicyFeatureFrobulate PermissionsPolicyFeature = "frobulate" - PermissionsPolicyFeatureGamepad PermissionsPolicyFeature = "gamepad" - PermissionsPolicyFeatureGeolocation PermissionsPolicyFeature = "geolocation" - PermissionsPolicyFeatureGyroscope PermissionsPolicyFeature = "gyroscope" - PermissionsPolicyFeatureHid PermissionsPolicyFeature = "hid" - PermissionsPolicyFeatureIdentityCredentialsGet PermissionsPolicyFeature = "identity-credentials-get" - PermissionsPolicyFeatureIdleDetection PermissionsPolicyFeature = "idle-detection" - PermissionsPolicyFeatureInterestCohort PermissionsPolicyFeature = "interest-cohort" - PermissionsPolicyFeatureJoinAdInterestGroup PermissionsPolicyFeature = "join-ad-interest-group" - PermissionsPolicyFeatureKeyboardMap PermissionsPolicyFeature = "keyboard-map" - PermissionsPolicyFeatureLocalFonts PermissionsPolicyFeature = "local-fonts" - PermissionsPolicyFeatureMagnetometer PermissionsPolicyFeature = "magnetometer" - PermissionsPolicyFeatureMicrophone PermissionsPolicyFeature = "microphone" - PermissionsPolicyFeatureMidi PermissionsPolicyFeature = "midi" - PermissionsPolicyFeatureOtpCredentials PermissionsPolicyFeature = "otp-credentials" - PermissionsPolicyFeaturePayment PermissionsPolicyFeature = "payment" - PermissionsPolicyFeaturePictureInPicture PermissionsPolicyFeature = "picture-in-picture" - PermissionsPolicyFeaturePrivateAggregation PermissionsPolicyFeature = "private-aggregation" - PermissionsPolicyFeaturePublickeyCredentialsGet PermissionsPolicyFeature = "publickey-credentials-get" - PermissionsPolicyFeatureRunAdAuction PermissionsPolicyFeature = "run-ad-auction" - PermissionsPolicyFeatureScreenWakeLock PermissionsPolicyFeature = "screen-wake-lock" - PermissionsPolicyFeatureSerial PermissionsPolicyFeature = "serial" - PermissionsPolicyFeatureSharedAutofill PermissionsPolicyFeature = "shared-autofill" - PermissionsPolicyFeatureSharedStorage PermissionsPolicyFeature = "shared-storage" - PermissionsPolicyFeatureSharedStorageSelectURL PermissionsPolicyFeature = "shared-storage-select-url" - PermissionsPolicyFeatureSmartCard PermissionsPolicyFeature = "smart-card" - PermissionsPolicyFeatureStorageAccess PermissionsPolicyFeature = "storage-access" - PermissionsPolicyFeatureSyncXhr PermissionsPolicyFeature = "sync-xhr" - PermissionsPolicyFeatureTrustTokenRedemption PermissionsPolicyFeature = "trust-token-redemption" - PermissionsPolicyFeatureUnload PermissionsPolicyFeature = "unload" - PermissionsPolicyFeatureUsb PermissionsPolicyFeature = "usb" - PermissionsPolicyFeatureVerticalScroll PermissionsPolicyFeature = "vertical-scroll" - PermissionsPolicyFeatureWebShare PermissionsPolicyFeature = "web-share" - PermissionsPolicyFeatureWindowManagement PermissionsPolicyFeature = "window-management" - PermissionsPolicyFeatureWindowPlacement PermissionsPolicyFeature = "window-placement" - PermissionsPolicyFeatureXrSpatialTracking PermissionsPolicyFeature = "xr-spatial-tracking" + PermissionsPolicyFeatureAccelerometer PermissionsPolicyFeature = "accelerometer" + PermissionsPolicyFeatureAmbientLightSensor PermissionsPolicyFeature = "ambient-light-sensor" + PermissionsPolicyFeatureAttributionReporting PermissionsPolicyFeature = "attribution-reporting" + PermissionsPolicyFeatureAutoplay PermissionsPolicyFeature = "autoplay" + PermissionsPolicyFeatureBluetooth PermissionsPolicyFeature = "bluetooth" + PermissionsPolicyFeatureBrowsingTopics PermissionsPolicyFeature = "browsing-topics" + PermissionsPolicyFeatureCamera PermissionsPolicyFeature = "camera" + PermissionsPolicyFeatureChDpr PermissionsPolicyFeature = "ch-dpr" + PermissionsPolicyFeatureChDeviceMemory PermissionsPolicyFeature = "ch-device-memory" + PermissionsPolicyFeatureChDownlink PermissionsPolicyFeature = "ch-downlink" + PermissionsPolicyFeatureChEct PermissionsPolicyFeature = "ch-ect" + PermissionsPolicyFeatureChPrefersColorScheme PermissionsPolicyFeature = "ch-prefers-color-scheme" + PermissionsPolicyFeatureChPrefersReducedMotion PermissionsPolicyFeature = "ch-prefers-reduced-motion" + PermissionsPolicyFeatureChPrefersReducedTransparency PermissionsPolicyFeature = "ch-prefers-reduced-transparency" + PermissionsPolicyFeatureChRtt PermissionsPolicyFeature = "ch-rtt" + PermissionsPolicyFeatureChSaveData PermissionsPolicyFeature = "ch-save-data" + PermissionsPolicyFeatureChUa PermissionsPolicyFeature = "ch-ua" + PermissionsPolicyFeatureChUaArch PermissionsPolicyFeature = "ch-ua-arch" + PermissionsPolicyFeatureChUaBitness PermissionsPolicyFeature = "ch-ua-bitness" + PermissionsPolicyFeatureChUaPlatform PermissionsPolicyFeature = "ch-ua-platform" + PermissionsPolicyFeatureChUaModel PermissionsPolicyFeature = "ch-ua-model" + PermissionsPolicyFeatureChUaMobile PermissionsPolicyFeature = "ch-ua-mobile" + PermissionsPolicyFeatureChUaFormFactor PermissionsPolicyFeature = "ch-ua-form-factor" + PermissionsPolicyFeatureChUaFullVersion PermissionsPolicyFeature = "ch-ua-full-version" + PermissionsPolicyFeatureChUaFullVersionList PermissionsPolicyFeature = "ch-ua-full-version-list" + PermissionsPolicyFeatureChUaPlatformVersion PermissionsPolicyFeature = "ch-ua-platform-version" + PermissionsPolicyFeatureChUaWow64 PermissionsPolicyFeature = "ch-ua-wow64" + PermissionsPolicyFeatureChViewportHeight PermissionsPolicyFeature = "ch-viewport-height" + PermissionsPolicyFeatureChViewportWidth PermissionsPolicyFeature = "ch-viewport-width" + PermissionsPolicyFeatureChWidth PermissionsPolicyFeature = "ch-width" + PermissionsPolicyFeatureClipboardRead PermissionsPolicyFeature = "clipboard-read" + PermissionsPolicyFeatureClipboardWrite PermissionsPolicyFeature = "clipboard-write" + PermissionsPolicyFeatureComputePressure PermissionsPolicyFeature = "compute-pressure" + PermissionsPolicyFeatureCrossOriginIsolated PermissionsPolicyFeature = "cross-origin-isolated" + PermissionsPolicyFeatureDirectSockets PermissionsPolicyFeature = "direct-sockets" + PermissionsPolicyFeatureDisplayCapture PermissionsPolicyFeature = "display-capture" + PermissionsPolicyFeatureDocumentDomain PermissionsPolicyFeature = "document-domain" + PermissionsPolicyFeatureEncryptedMedia PermissionsPolicyFeature = "encrypted-media" + PermissionsPolicyFeatureExecutionWhileOutOfViewport PermissionsPolicyFeature = "execution-while-out-of-viewport" + PermissionsPolicyFeatureExecutionWhileNotRendered PermissionsPolicyFeature = "execution-while-not-rendered" + PermissionsPolicyFeatureFocusWithoutUserActivation PermissionsPolicyFeature = "focus-without-user-activation" + PermissionsPolicyFeatureFullscreen PermissionsPolicyFeature = "fullscreen" + PermissionsPolicyFeatureFrobulate PermissionsPolicyFeature = "frobulate" + PermissionsPolicyFeatureGamepad PermissionsPolicyFeature = "gamepad" + PermissionsPolicyFeatureGeolocation PermissionsPolicyFeature = "geolocation" + PermissionsPolicyFeatureGyroscope PermissionsPolicyFeature = "gyroscope" + PermissionsPolicyFeatureHid PermissionsPolicyFeature = "hid" + PermissionsPolicyFeatureIdentityCredentialsGet PermissionsPolicyFeature = "identity-credentials-get" + PermissionsPolicyFeatureIdleDetection PermissionsPolicyFeature = "idle-detection" + PermissionsPolicyFeatureInterestCohort PermissionsPolicyFeature = "interest-cohort" + PermissionsPolicyFeatureJoinAdInterestGroup PermissionsPolicyFeature = "join-ad-interest-group" + PermissionsPolicyFeatureKeyboardMap PermissionsPolicyFeature = "keyboard-map" + PermissionsPolicyFeatureLocalFonts PermissionsPolicyFeature = "local-fonts" + PermissionsPolicyFeatureMagnetometer PermissionsPolicyFeature = "magnetometer" + PermissionsPolicyFeatureMicrophone PermissionsPolicyFeature = "microphone" + PermissionsPolicyFeatureMidi PermissionsPolicyFeature = "midi" + PermissionsPolicyFeatureOtpCredentials PermissionsPolicyFeature = "otp-credentials" + PermissionsPolicyFeaturePayment PermissionsPolicyFeature = "payment" + PermissionsPolicyFeaturePictureInPicture PermissionsPolicyFeature = "picture-in-picture" + PermissionsPolicyFeaturePrivateAggregation PermissionsPolicyFeature = "private-aggregation" + PermissionsPolicyFeaturePrivateStateTokenIssuance PermissionsPolicyFeature = "private-state-token-issuance" + PermissionsPolicyFeaturePrivateStateTokenRedemption PermissionsPolicyFeature = "private-state-token-redemption" + PermissionsPolicyFeaturePublickeyCredentialsGet PermissionsPolicyFeature = "publickey-credentials-get" + PermissionsPolicyFeatureRunAdAuction PermissionsPolicyFeature = "run-ad-auction" + PermissionsPolicyFeatureScreenWakeLock PermissionsPolicyFeature = "screen-wake-lock" + PermissionsPolicyFeatureSerial PermissionsPolicyFeature = "serial" + PermissionsPolicyFeatureSharedAutofill PermissionsPolicyFeature = "shared-autofill" + PermissionsPolicyFeatureSharedStorage PermissionsPolicyFeature = "shared-storage" + PermissionsPolicyFeatureSharedStorageSelectURL PermissionsPolicyFeature = "shared-storage-select-url" + PermissionsPolicyFeatureSmartCard PermissionsPolicyFeature = "smart-card" + PermissionsPolicyFeatureStorageAccess PermissionsPolicyFeature = "storage-access" + PermissionsPolicyFeatureSyncXhr PermissionsPolicyFeature = "sync-xhr" + PermissionsPolicyFeatureUnload PermissionsPolicyFeature = "unload" + PermissionsPolicyFeatureUsb PermissionsPolicyFeature = "usb" + PermissionsPolicyFeatureVerticalScroll PermissionsPolicyFeature = "vertical-scroll" + PermissionsPolicyFeatureWebShare PermissionsPolicyFeature = "web-share" + PermissionsPolicyFeatureWindowManagement PermissionsPolicyFeature = "window-management" + PermissionsPolicyFeatureWindowPlacement PermissionsPolicyFeature = "window-placement" + PermissionsPolicyFeatureXrSpatialTracking PermissionsPolicyFeature = "xr-spatial-tracking" ) // MarshalEasyJSON satisfies easyjson.Marshaler. @@ -156,6 +157,8 @@ func (t *PermissionsPolicyFeature) UnmarshalEasyJSON(in *jlexer.Lexer) { *t = PermissionsPolicyFeatureChPrefersColorScheme case PermissionsPolicyFeatureChPrefersReducedMotion: *t = PermissionsPolicyFeatureChPrefersReducedMotion + case PermissionsPolicyFeatureChPrefersReducedTransparency: + *t = PermissionsPolicyFeatureChPrefersReducedTransparency case PermissionsPolicyFeatureChRtt: *t = PermissionsPolicyFeatureChRtt case PermissionsPolicyFeatureChSaveData: @@ -172,16 +175,14 @@ func (t *PermissionsPolicyFeature) UnmarshalEasyJSON(in *jlexer.Lexer) { *t = PermissionsPolicyFeatureChUaModel case PermissionsPolicyFeatureChUaMobile: *t = PermissionsPolicyFeatureChUaMobile - case PermissionsPolicyFeatureChUaFull: - *t = PermissionsPolicyFeatureChUaFull + case PermissionsPolicyFeatureChUaFormFactor: + *t = PermissionsPolicyFeatureChUaFormFactor case PermissionsPolicyFeatureChUaFullVersion: *t = PermissionsPolicyFeatureChUaFullVersion case PermissionsPolicyFeatureChUaFullVersionList: *t = PermissionsPolicyFeatureChUaFullVersionList case PermissionsPolicyFeatureChUaPlatformVersion: *t = PermissionsPolicyFeatureChUaPlatformVersion - case PermissionsPolicyFeatureChUaReduced: - *t = PermissionsPolicyFeatureChUaReduced case PermissionsPolicyFeatureChUaWow64: *t = PermissionsPolicyFeatureChUaWow64 case PermissionsPolicyFeatureChViewportHeight: @@ -250,6 +251,10 @@ func (t *PermissionsPolicyFeature) UnmarshalEasyJSON(in *jlexer.Lexer) { *t = PermissionsPolicyFeaturePictureInPicture case PermissionsPolicyFeaturePrivateAggregation: *t = PermissionsPolicyFeaturePrivateAggregation + case PermissionsPolicyFeaturePrivateStateTokenIssuance: + *t = PermissionsPolicyFeaturePrivateStateTokenIssuance + case PermissionsPolicyFeaturePrivateStateTokenRedemption: + *t = PermissionsPolicyFeaturePrivateStateTokenRedemption case PermissionsPolicyFeaturePublickeyCredentialsGet: *t = PermissionsPolicyFeaturePublickeyCredentialsGet case PermissionsPolicyFeatureRunAdAuction: @@ -270,8 +275,6 @@ func (t *PermissionsPolicyFeature) UnmarshalEasyJSON(in *jlexer.Lexer) { *t = PermissionsPolicyFeatureStorageAccess case PermissionsPolicyFeatureSyncXhr: *t = PermissionsPolicyFeatureSyncXhr - case PermissionsPolicyFeatureTrustTokenRedemption: - *t = PermissionsPolicyFeatureTrustTokenRedemption case PermissionsPolicyFeatureUnload: *t = PermissionsPolicyFeatureUnload case PermissionsPolicyFeatureUsb: @@ -1006,6 +1009,9 @@ const ( BackForwardCacheNotRestoredReasonActivationNavigationsDisallowedForBug1234857 BackForwardCacheNotRestoredReason = "ActivationNavigationsDisallowedForBug1234857" BackForwardCacheNotRestoredReasonErrorDocument BackForwardCacheNotRestoredReason = "ErrorDocument" BackForwardCacheNotRestoredReasonFencedFramesEmbedder BackForwardCacheNotRestoredReason = "FencedFramesEmbedder" + BackForwardCacheNotRestoredReasonCookieDisabled BackForwardCacheNotRestoredReason = "CookieDisabled" + BackForwardCacheNotRestoredReasonHTTPAuthRequired BackForwardCacheNotRestoredReason = "HTTPAuthRequired" + BackForwardCacheNotRestoredReasonCookieFlushed BackForwardCacheNotRestoredReason = "CookieFlushed" BackForwardCacheNotRestoredReasonWebSocket BackForwardCacheNotRestoredReason = "WebSocket" BackForwardCacheNotRestoredReasonWebTransport BackForwardCacheNotRestoredReason = "WebTransport" BackForwardCacheNotRestoredReasonWebRTC BackForwardCacheNotRestoredReason = "WebRTC" @@ -1017,14 +1023,12 @@ const ( BackForwardCacheNotRestoredReasonDocumentLoaded BackForwardCacheNotRestoredReason = "DocumentLoaded" BackForwardCacheNotRestoredReasonDedicatedWorkerOrWorklet BackForwardCacheNotRestoredReason = "DedicatedWorkerOrWorklet" BackForwardCacheNotRestoredReasonOutstandingNetworkRequestOthers BackForwardCacheNotRestoredReason = "OutstandingNetworkRequestOthers" - BackForwardCacheNotRestoredReasonOutstandingIndexedDBTransaction BackForwardCacheNotRestoredReason = "OutstandingIndexedDBTransaction" BackForwardCacheNotRestoredReasonRequestedMIDIPermission BackForwardCacheNotRestoredReason = "RequestedMIDIPermission" BackForwardCacheNotRestoredReasonRequestedAudioCapturePermission BackForwardCacheNotRestoredReason = "RequestedAudioCapturePermission" BackForwardCacheNotRestoredReasonRequestedVideoCapturePermission BackForwardCacheNotRestoredReason = "RequestedVideoCapturePermission" BackForwardCacheNotRestoredReasonRequestedBackForwardCacheBlockedSensors BackForwardCacheNotRestoredReason = "RequestedBackForwardCacheBlockedSensors" BackForwardCacheNotRestoredReasonRequestedBackgroundWorkPermission BackForwardCacheNotRestoredReason = "RequestedBackgroundWorkPermission" BackForwardCacheNotRestoredReasonBroadcastChannel BackForwardCacheNotRestoredReason = "BroadcastChannel" - BackForwardCacheNotRestoredReasonIndexedDBConnection BackForwardCacheNotRestoredReason = "IndexedDBConnection" BackForwardCacheNotRestoredReasonWebXR BackForwardCacheNotRestoredReason = "WebXR" BackForwardCacheNotRestoredReasonSharedWorker BackForwardCacheNotRestoredReason = "SharedWorker" BackForwardCacheNotRestoredReasonWebLocks BackForwardCacheNotRestoredReason = "WebLocks" @@ -1051,7 +1055,10 @@ const ( BackForwardCacheNotRestoredReasonKeepaliveRequest BackForwardCacheNotRestoredReason = "KeepaliveRequest" BackForwardCacheNotRestoredReasonIndexedDBEvent BackForwardCacheNotRestoredReason = "IndexedDBEvent" BackForwardCacheNotRestoredReasonDummy BackForwardCacheNotRestoredReason = "Dummy" - BackForwardCacheNotRestoredReasonAuthorizationHeader BackForwardCacheNotRestoredReason = "AuthorizationHeader" + BackForwardCacheNotRestoredReasonJsNetworkRequestReceivedCacheControlNoStoreResource BackForwardCacheNotRestoredReason = "JsNetworkRequestReceivedCacheControlNoStoreResource" + BackForwardCacheNotRestoredReasonWebRTCSticky BackForwardCacheNotRestoredReason = "WebRTCSticky" + BackForwardCacheNotRestoredReasonWebTransportSticky BackForwardCacheNotRestoredReason = "WebTransportSticky" + BackForwardCacheNotRestoredReasonWebSocketSticky BackForwardCacheNotRestoredReason = "WebSocketSticky" BackForwardCacheNotRestoredReasonContentSecurityHandler BackForwardCacheNotRestoredReason = "ContentSecurityHandler" BackForwardCacheNotRestoredReasonContentWebAuthenticationAPI BackForwardCacheNotRestoredReason = "ContentWebAuthenticationAPI" BackForwardCacheNotRestoredReasonContentFileChooser BackForwardCacheNotRestoredReason = "ContentFileChooser" @@ -1199,6 +1206,12 @@ func (t *BackForwardCacheNotRestoredReason) UnmarshalEasyJSON(in *jlexer.Lexer) *t = BackForwardCacheNotRestoredReasonErrorDocument case BackForwardCacheNotRestoredReasonFencedFramesEmbedder: *t = BackForwardCacheNotRestoredReasonFencedFramesEmbedder + case BackForwardCacheNotRestoredReasonCookieDisabled: + *t = BackForwardCacheNotRestoredReasonCookieDisabled + case BackForwardCacheNotRestoredReasonHTTPAuthRequired: + *t = BackForwardCacheNotRestoredReasonHTTPAuthRequired + case BackForwardCacheNotRestoredReasonCookieFlushed: + *t = BackForwardCacheNotRestoredReasonCookieFlushed case BackForwardCacheNotRestoredReasonWebSocket: *t = BackForwardCacheNotRestoredReasonWebSocket case BackForwardCacheNotRestoredReasonWebTransport: @@ -1221,8 +1234,6 @@ func (t *BackForwardCacheNotRestoredReason) UnmarshalEasyJSON(in *jlexer.Lexer) *t = BackForwardCacheNotRestoredReasonDedicatedWorkerOrWorklet case BackForwardCacheNotRestoredReasonOutstandingNetworkRequestOthers: *t = BackForwardCacheNotRestoredReasonOutstandingNetworkRequestOthers - case BackForwardCacheNotRestoredReasonOutstandingIndexedDBTransaction: - *t = BackForwardCacheNotRestoredReasonOutstandingIndexedDBTransaction case BackForwardCacheNotRestoredReasonRequestedMIDIPermission: *t = BackForwardCacheNotRestoredReasonRequestedMIDIPermission case BackForwardCacheNotRestoredReasonRequestedAudioCapturePermission: @@ -1235,8 +1246,6 @@ func (t *BackForwardCacheNotRestoredReason) UnmarshalEasyJSON(in *jlexer.Lexer) *t = BackForwardCacheNotRestoredReasonRequestedBackgroundWorkPermission case BackForwardCacheNotRestoredReasonBroadcastChannel: *t = BackForwardCacheNotRestoredReasonBroadcastChannel - case BackForwardCacheNotRestoredReasonIndexedDBConnection: - *t = BackForwardCacheNotRestoredReasonIndexedDBConnection case BackForwardCacheNotRestoredReasonWebXR: *t = BackForwardCacheNotRestoredReasonWebXR case BackForwardCacheNotRestoredReasonSharedWorker: @@ -1289,8 +1298,14 @@ func (t *BackForwardCacheNotRestoredReason) UnmarshalEasyJSON(in *jlexer.Lexer) *t = BackForwardCacheNotRestoredReasonIndexedDBEvent case BackForwardCacheNotRestoredReasonDummy: *t = BackForwardCacheNotRestoredReasonDummy - case BackForwardCacheNotRestoredReasonAuthorizationHeader: - *t = BackForwardCacheNotRestoredReasonAuthorizationHeader + case BackForwardCacheNotRestoredReasonJsNetworkRequestReceivedCacheControlNoStoreResource: + *t = BackForwardCacheNotRestoredReasonJsNetworkRequestReceivedCacheControlNoStoreResource + case BackForwardCacheNotRestoredReasonWebRTCSticky: + *t = BackForwardCacheNotRestoredReasonWebRTCSticky + case BackForwardCacheNotRestoredReasonWebTransportSticky: + *t = BackForwardCacheNotRestoredReasonWebTransportSticky + case BackForwardCacheNotRestoredReasonWebSocketSticky: + *t = BackForwardCacheNotRestoredReasonWebSocketSticky case BackForwardCacheNotRestoredReasonContentSecurityHandler: *t = BackForwardCacheNotRestoredReasonContentSecurityHandler case BackForwardCacheNotRestoredReasonContentWebAuthenticationAPI: @@ -1419,272 +1434,6 @@ type BackForwardCacheNotRestoredExplanationTree struct { Children []*BackForwardCacheNotRestoredExplanationTree `json:"children"` // Array of children frame } -// PrerenderFinalStatus list of FinalStatus reasons for Prerender2. -// -// See: https://chromedevtools.github.io/devtools-protocol/tot/Page#type-PrerenderFinalStatus -type PrerenderFinalStatus string - -// String returns the PrerenderFinalStatus as string value. -func (t PrerenderFinalStatus) String() string { - return string(t) -} - -// PrerenderFinalStatus values. -const ( - PrerenderFinalStatusActivated PrerenderFinalStatus = "Activated" - PrerenderFinalStatusDestroyed PrerenderFinalStatus = "Destroyed" - PrerenderFinalStatusLowEndDevice PrerenderFinalStatus = "LowEndDevice" - PrerenderFinalStatusInvalidSchemeRedirect PrerenderFinalStatus = "InvalidSchemeRedirect" - PrerenderFinalStatusInvalidSchemeNavigation PrerenderFinalStatus = "InvalidSchemeNavigation" - PrerenderFinalStatusInProgressNavigation PrerenderFinalStatus = "InProgressNavigation" - PrerenderFinalStatusNavigationRequestBlockedByCsp PrerenderFinalStatus = "NavigationRequestBlockedByCsp" - PrerenderFinalStatusMainFrameNavigation PrerenderFinalStatus = "MainFrameNavigation" - PrerenderFinalStatusMojoBinderPolicy PrerenderFinalStatus = "MojoBinderPolicy" - PrerenderFinalStatusRendererProcessCrashed PrerenderFinalStatus = "RendererProcessCrashed" - PrerenderFinalStatusRendererProcessKilled PrerenderFinalStatus = "RendererProcessKilled" - PrerenderFinalStatusDownload PrerenderFinalStatus = "Download" - PrerenderFinalStatusTriggerDestroyed PrerenderFinalStatus = "TriggerDestroyed" - PrerenderFinalStatusNavigationNotCommitted PrerenderFinalStatus = "NavigationNotCommitted" - PrerenderFinalStatusNavigationBadHTTPStatus PrerenderFinalStatus = "NavigationBadHttpStatus" - PrerenderFinalStatusClientCertRequested PrerenderFinalStatus = "ClientCertRequested" - PrerenderFinalStatusNavigationRequestNetworkError PrerenderFinalStatus = "NavigationRequestNetworkError" - PrerenderFinalStatusMaxNumOfRunningPrerendersExceeded PrerenderFinalStatus = "MaxNumOfRunningPrerendersExceeded" - PrerenderFinalStatusCancelAllHostsForTesting PrerenderFinalStatus = "CancelAllHostsForTesting" - PrerenderFinalStatusDidFailLoad PrerenderFinalStatus = "DidFailLoad" - PrerenderFinalStatusStop PrerenderFinalStatus = "Stop" - PrerenderFinalStatusSslCertificateError PrerenderFinalStatus = "SslCertificateError" - PrerenderFinalStatusLoginAuthRequested PrerenderFinalStatus = "LoginAuthRequested" - PrerenderFinalStatusUaChangeRequiresReload PrerenderFinalStatus = "UaChangeRequiresReload" - PrerenderFinalStatusBlockedByClient PrerenderFinalStatus = "BlockedByClient" - PrerenderFinalStatusAudioOutputDeviceRequested PrerenderFinalStatus = "AudioOutputDeviceRequested" - PrerenderFinalStatusMixedContent PrerenderFinalStatus = "MixedContent" - PrerenderFinalStatusTriggerBackgrounded PrerenderFinalStatus = "TriggerBackgrounded" - PrerenderFinalStatusEmbedderTriggeredAndCrossOriginRedirected PrerenderFinalStatus = "EmbedderTriggeredAndCrossOriginRedirected" - PrerenderFinalStatusMemoryLimitExceeded PrerenderFinalStatus = "MemoryLimitExceeded" - PrerenderFinalStatusFailToGetMemoryUsage PrerenderFinalStatus = "FailToGetMemoryUsage" - PrerenderFinalStatusDataSaverEnabled PrerenderFinalStatus = "DataSaverEnabled" - PrerenderFinalStatusHasEffectiveURL PrerenderFinalStatus = "HasEffectiveUrl" - PrerenderFinalStatusActivatedBeforeStarted PrerenderFinalStatus = "ActivatedBeforeStarted" - PrerenderFinalStatusInactivePageRestriction PrerenderFinalStatus = "InactivePageRestriction" - PrerenderFinalStatusStartFailed PrerenderFinalStatus = "StartFailed" - PrerenderFinalStatusTimeoutBackgrounded PrerenderFinalStatus = "TimeoutBackgrounded" - PrerenderFinalStatusCrossSiteRedirect PrerenderFinalStatus = "CrossSiteRedirect" - PrerenderFinalStatusCrossSiteNavigation PrerenderFinalStatus = "CrossSiteNavigation" - PrerenderFinalStatusSameSiteCrossOriginRedirect PrerenderFinalStatus = "SameSiteCrossOriginRedirect" - PrerenderFinalStatusSameSiteCrossOriginNavigation PrerenderFinalStatus = "SameSiteCrossOriginNavigation" - PrerenderFinalStatusSameSiteCrossOriginRedirectNotOptIn PrerenderFinalStatus = "SameSiteCrossOriginRedirectNotOptIn" - PrerenderFinalStatusSameSiteCrossOriginNavigationNotOptIn PrerenderFinalStatus = "SameSiteCrossOriginNavigationNotOptIn" - PrerenderFinalStatusActivationNavigationParameterMismatch PrerenderFinalStatus = "ActivationNavigationParameterMismatch" - PrerenderFinalStatusActivatedInBackground PrerenderFinalStatus = "ActivatedInBackground" - PrerenderFinalStatusEmbedderHostDisallowed PrerenderFinalStatus = "EmbedderHostDisallowed" - PrerenderFinalStatusActivationNavigationDestroyedBeforeSuccess PrerenderFinalStatus = "ActivationNavigationDestroyedBeforeSuccess" - PrerenderFinalStatusTabClosedByUserGesture PrerenderFinalStatus = "TabClosedByUserGesture" - PrerenderFinalStatusTabClosedWithoutUserGesture PrerenderFinalStatus = "TabClosedWithoutUserGesture" - PrerenderFinalStatusPrimaryMainFrameRendererProcessCrashed PrerenderFinalStatus = "PrimaryMainFrameRendererProcessCrashed" - PrerenderFinalStatusPrimaryMainFrameRendererProcessKilled PrerenderFinalStatus = "PrimaryMainFrameRendererProcessKilled" - PrerenderFinalStatusActivationFramePolicyNotCompatible PrerenderFinalStatus = "ActivationFramePolicyNotCompatible" - PrerenderFinalStatusPreloadingDisabled PrerenderFinalStatus = "PreloadingDisabled" - PrerenderFinalStatusBatterySaverEnabled PrerenderFinalStatus = "BatterySaverEnabled" - PrerenderFinalStatusActivatedDuringMainFrameNavigation PrerenderFinalStatus = "ActivatedDuringMainFrameNavigation" - PrerenderFinalStatusPreloadingUnsupportedByWebContents PrerenderFinalStatus = "PreloadingUnsupportedByWebContents" -) - -// MarshalEasyJSON satisfies easyjson.Marshaler. -func (t PrerenderFinalStatus) MarshalEasyJSON(out *jwriter.Writer) { - out.String(string(t)) -} - -// MarshalJSON satisfies json.Marshaler. -func (t PrerenderFinalStatus) MarshalJSON() ([]byte, error) { - return easyjson.Marshal(t) -} - -// UnmarshalEasyJSON satisfies easyjson.Unmarshaler. -func (t *PrerenderFinalStatus) UnmarshalEasyJSON(in *jlexer.Lexer) { - v := in.String() - switch PrerenderFinalStatus(v) { - case PrerenderFinalStatusActivated: - *t = PrerenderFinalStatusActivated - case PrerenderFinalStatusDestroyed: - *t = PrerenderFinalStatusDestroyed - case PrerenderFinalStatusLowEndDevice: - *t = PrerenderFinalStatusLowEndDevice - case PrerenderFinalStatusInvalidSchemeRedirect: - *t = PrerenderFinalStatusInvalidSchemeRedirect - case PrerenderFinalStatusInvalidSchemeNavigation: - *t = PrerenderFinalStatusInvalidSchemeNavigation - case PrerenderFinalStatusInProgressNavigation: - *t = PrerenderFinalStatusInProgressNavigation - case PrerenderFinalStatusNavigationRequestBlockedByCsp: - *t = PrerenderFinalStatusNavigationRequestBlockedByCsp - case PrerenderFinalStatusMainFrameNavigation: - *t = PrerenderFinalStatusMainFrameNavigation - case PrerenderFinalStatusMojoBinderPolicy: - *t = PrerenderFinalStatusMojoBinderPolicy - case PrerenderFinalStatusRendererProcessCrashed: - *t = PrerenderFinalStatusRendererProcessCrashed - case PrerenderFinalStatusRendererProcessKilled: - *t = PrerenderFinalStatusRendererProcessKilled - case PrerenderFinalStatusDownload: - *t = PrerenderFinalStatusDownload - case PrerenderFinalStatusTriggerDestroyed: - *t = PrerenderFinalStatusTriggerDestroyed - case PrerenderFinalStatusNavigationNotCommitted: - *t = PrerenderFinalStatusNavigationNotCommitted - case PrerenderFinalStatusNavigationBadHTTPStatus: - *t = PrerenderFinalStatusNavigationBadHTTPStatus - case PrerenderFinalStatusClientCertRequested: - *t = PrerenderFinalStatusClientCertRequested - case PrerenderFinalStatusNavigationRequestNetworkError: - *t = PrerenderFinalStatusNavigationRequestNetworkError - case PrerenderFinalStatusMaxNumOfRunningPrerendersExceeded: - *t = PrerenderFinalStatusMaxNumOfRunningPrerendersExceeded - case PrerenderFinalStatusCancelAllHostsForTesting: - *t = PrerenderFinalStatusCancelAllHostsForTesting - case PrerenderFinalStatusDidFailLoad: - *t = PrerenderFinalStatusDidFailLoad - case PrerenderFinalStatusStop: - *t = PrerenderFinalStatusStop - case PrerenderFinalStatusSslCertificateError: - *t = PrerenderFinalStatusSslCertificateError - case PrerenderFinalStatusLoginAuthRequested: - *t = PrerenderFinalStatusLoginAuthRequested - case PrerenderFinalStatusUaChangeRequiresReload: - *t = PrerenderFinalStatusUaChangeRequiresReload - case PrerenderFinalStatusBlockedByClient: - *t = PrerenderFinalStatusBlockedByClient - case PrerenderFinalStatusAudioOutputDeviceRequested: - *t = PrerenderFinalStatusAudioOutputDeviceRequested - case PrerenderFinalStatusMixedContent: - *t = PrerenderFinalStatusMixedContent - case PrerenderFinalStatusTriggerBackgrounded: - *t = PrerenderFinalStatusTriggerBackgrounded - case PrerenderFinalStatusEmbedderTriggeredAndCrossOriginRedirected: - *t = PrerenderFinalStatusEmbedderTriggeredAndCrossOriginRedirected - case PrerenderFinalStatusMemoryLimitExceeded: - *t = PrerenderFinalStatusMemoryLimitExceeded - case PrerenderFinalStatusFailToGetMemoryUsage: - *t = PrerenderFinalStatusFailToGetMemoryUsage - case PrerenderFinalStatusDataSaverEnabled: - *t = PrerenderFinalStatusDataSaverEnabled - case PrerenderFinalStatusHasEffectiveURL: - *t = PrerenderFinalStatusHasEffectiveURL - case PrerenderFinalStatusActivatedBeforeStarted: - *t = PrerenderFinalStatusActivatedBeforeStarted - case PrerenderFinalStatusInactivePageRestriction: - *t = PrerenderFinalStatusInactivePageRestriction - case PrerenderFinalStatusStartFailed: - *t = PrerenderFinalStatusStartFailed - case PrerenderFinalStatusTimeoutBackgrounded: - *t = PrerenderFinalStatusTimeoutBackgrounded - case PrerenderFinalStatusCrossSiteRedirect: - *t = PrerenderFinalStatusCrossSiteRedirect - case PrerenderFinalStatusCrossSiteNavigation: - *t = PrerenderFinalStatusCrossSiteNavigation - case PrerenderFinalStatusSameSiteCrossOriginRedirect: - *t = PrerenderFinalStatusSameSiteCrossOriginRedirect - case PrerenderFinalStatusSameSiteCrossOriginNavigation: - *t = PrerenderFinalStatusSameSiteCrossOriginNavigation - case PrerenderFinalStatusSameSiteCrossOriginRedirectNotOptIn: - *t = PrerenderFinalStatusSameSiteCrossOriginRedirectNotOptIn - case PrerenderFinalStatusSameSiteCrossOriginNavigationNotOptIn: - *t = PrerenderFinalStatusSameSiteCrossOriginNavigationNotOptIn - case PrerenderFinalStatusActivationNavigationParameterMismatch: - *t = PrerenderFinalStatusActivationNavigationParameterMismatch - case PrerenderFinalStatusActivatedInBackground: - *t = PrerenderFinalStatusActivatedInBackground - case PrerenderFinalStatusEmbedderHostDisallowed: - *t = PrerenderFinalStatusEmbedderHostDisallowed - case PrerenderFinalStatusActivationNavigationDestroyedBeforeSuccess: - *t = PrerenderFinalStatusActivationNavigationDestroyedBeforeSuccess - case PrerenderFinalStatusTabClosedByUserGesture: - *t = PrerenderFinalStatusTabClosedByUserGesture - case PrerenderFinalStatusTabClosedWithoutUserGesture: - *t = PrerenderFinalStatusTabClosedWithoutUserGesture - case PrerenderFinalStatusPrimaryMainFrameRendererProcessCrashed: - *t = PrerenderFinalStatusPrimaryMainFrameRendererProcessCrashed - case PrerenderFinalStatusPrimaryMainFrameRendererProcessKilled: - *t = PrerenderFinalStatusPrimaryMainFrameRendererProcessKilled - case PrerenderFinalStatusActivationFramePolicyNotCompatible: - *t = PrerenderFinalStatusActivationFramePolicyNotCompatible - case PrerenderFinalStatusPreloadingDisabled: - *t = PrerenderFinalStatusPreloadingDisabled - case PrerenderFinalStatusBatterySaverEnabled: - *t = PrerenderFinalStatusBatterySaverEnabled - case PrerenderFinalStatusActivatedDuringMainFrameNavigation: - *t = PrerenderFinalStatusActivatedDuringMainFrameNavigation - case PrerenderFinalStatusPreloadingUnsupportedByWebContents: - *t = PrerenderFinalStatusPreloadingUnsupportedByWebContents - - default: - in.AddError(fmt.Errorf("unknown PrerenderFinalStatus value: %v", v)) - } -} - -// UnmarshalJSON satisfies json.Unmarshaler. -func (t *PrerenderFinalStatus) UnmarshalJSON(buf []byte) error { - return easyjson.Unmarshal(buf, t) -} - -// PreloadingStatus preloading status values, see also -// PreloadingTriggeringOutcome. This status is shared by prefetchStatusUpdated -// and prerenderStatusUpdated. -// -// See: https://chromedevtools.github.io/devtools-protocol/tot/Page#type-PreloadingStatus -type PreloadingStatus string - -// String returns the PreloadingStatus as string value. -func (t PreloadingStatus) String() string { - return string(t) -} - -// PreloadingStatus values. -const ( - PreloadingStatusPending PreloadingStatus = "Pending" - PreloadingStatusRunning PreloadingStatus = "Running" - PreloadingStatusReady PreloadingStatus = "Ready" - PreloadingStatusSuccess PreloadingStatus = "Success" - PreloadingStatusFailure PreloadingStatus = "Failure" - PreloadingStatusNotSupported PreloadingStatus = "NotSupported" -) - -// MarshalEasyJSON satisfies easyjson.Marshaler. -func (t PreloadingStatus) MarshalEasyJSON(out *jwriter.Writer) { - out.String(string(t)) -} - -// MarshalJSON satisfies json.Marshaler. -func (t PreloadingStatus) MarshalJSON() ([]byte, error) { - return easyjson.Marshal(t) -} - -// UnmarshalEasyJSON satisfies easyjson.Unmarshaler. -func (t *PreloadingStatus) UnmarshalEasyJSON(in *jlexer.Lexer) { - v := in.String() - switch PreloadingStatus(v) { - case PreloadingStatusPending: - *t = PreloadingStatusPending - case PreloadingStatusRunning: - *t = PreloadingStatusRunning - case PreloadingStatusReady: - *t = PreloadingStatusReady - case PreloadingStatusSuccess: - *t = PreloadingStatusSuccess - case PreloadingStatusFailure: - *t = PreloadingStatusFailure - case PreloadingStatusNotSupported: - *t = PreloadingStatusNotSupported - - default: - in.AddError(fmt.Errorf("unknown PreloadingStatus value: %v", v)) - } -} - -// UnmarshalJSON satisfies json.Unmarshaler. -func (t *PreloadingStatus) UnmarshalJSON(buf []byte) error { - return easyjson.Unmarshal(buf, t) -} - // FileChooserOpenedMode input mode. // // See: https://chromedevtools.github.io/devtools-protocol/tot/Page#event-fileChooserOpened diff --git a/vendor/github.com/chromedp/cdproto/preload/easyjson.go b/vendor/github.com/chromedp/cdproto/preload/easyjson.go index 949c85d3b4..6affaaf6c2 100644 --- a/vendor/github.com/chromedp/cdproto/preload/easyjson.go +++ b/vendor/github.com/chromedp/cdproto/preload/easyjson.go @@ -5,6 +5,7 @@ package preload import ( json "encoding/json" cdp "github.com/chromedp/cdproto/cdp" + network "github.com/chromedp/cdproto/network" easyjson "github.com/mailru/easyjson" jlexer "github.com/mailru/easyjson/jlexer" jwriter "github.com/mailru/easyjson/jwriter" @@ -43,6 +44,14 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload(in *jlexer.Lexer, out out.LoaderID = cdp.LoaderID(in.String()) case "sourceText": out.SourceText = string(in.String()) + case "backendNodeId": + (out.BackendNodeID).UnmarshalEasyJSON(in) + case "url": + out.URL = string(in.String()) + case "requestId": + out.RequestID = network.RequestID(in.String()) + case "errorType": + (out.ErrorType).UnmarshalEasyJSON(in) default: in.SkipRecursive() } @@ -72,6 +81,26 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload(out *jwriter.Writer, out.RawString(prefix) out.String(string(in.SourceText)) } + if in.BackendNodeID != 0 { + const prefix string = ",\"backendNodeId\":" + out.RawString(prefix) + out.Int64(int64(in.BackendNodeID)) + } + if in.URL != "" { + const prefix string = ",\"url\":" + out.RawString(prefix) + out.String(string(in.URL)) + } + if in.RequestID != "" { + const prefix string = ",\"requestId\":" + out.RawString(prefix) + out.String(string(in.RequestID)) + } + if in.ErrorType != "" { + const prefix string = ",\"errorType\":" + out.RawString(prefix) + (in.ErrorType).MarshalEasyJSON(out) + } out.RawByte('}') } @@ -98,7 +127,250 @@ func (v *RuleSet) UnmarshalJSON(data []byte) error { func (v *RuleSet) UnmarshalEasyJSON(l *jlexer.Lexer) { easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload1(in *jlexer.Lexer, out *EventRuleSetUpdated) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload1(in *jlexer.Lexer, out *IngAttemptSource) { + 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 "key": + if in.IsNull() { + in.Skip() + out.Key = nil + } else { + if out.Key == nil { + out.Key = new(IngAttemptKey) + } + (*out.Key).UnmarshalEasyJSON(in) + } + case "ruleSetIds": + if in.IsNull() { + in.Skip() + out.RuleSetIDs = nil + } else { + in.Delim('[') + if out.RuleSetIDs == nil { + if !in.IsDelim(']') { + out.RuleSetIDs = make([]RuleSetID, 0, 4) + } else { + out.RuleSetIDs = []RuleSetID{} + } + } else { + out.RuleSetIDs = (out.RuleSetIDs)[:0] + } + for !in.IsDelim(']') { + var v1 RuleSetID + v1 = RuleSetID(in.String()) + out.RuleSetIDs = append(out.RuleSetIDs, v1) + in.WantComma() + } + in.Delim(']') + } + case "nodeIds": + if in.IsNull() { + in.Skip() + out.NodeIDs = nil + } else { + in.Delim('[') + if out.NodeIDs == nil { + if !in.IsDelim(']') { + out.NodeIDs = make([]cdp.BackendNodeID, 0, 8) + } else { + out.NodeIDs = []cdp.BackendNodeID{} + } + } else { + out.NodeIDs = (out.NodeIDs)[:0] + } + for !in.IsDelim(']') { + var v2 cdp.BackendNodeID + (v2).UnmarshalEasyJSON(in) + out.NodeIDs = append(out.NodeIDs, v2) + in.WantComma() + } + in.Delim(']') + } + default: + in.SkipRecursive() + } + in.WantComma() + } + in.Delim('}') + if isTopLevel { + in.Consumed() + } +} +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload1(out *jwriter.Writer, in IngAttemptSource) { + out.RawByte('{') + first := true + _ = first + { + const prefix string = ",\"key\":" + out.RawString(prefix[1:]) + if in.Key == nil { + out.RawString("null") + } else { + (*in.Key).MarshalEasyJSON(out) + } + } + { + const prefix string = ",\"ruleSetIds\":" + out.RawString(prefix) + if in.RuleSetIDs == nil && (out.Flags&jwriter.NilSliceAsEmpty) == 0 { + out.RawString("null") + } else { + out.RawByte('[') + for v3, v4 := range in.RuleSetIDs { + if v3 > 0 { + out.RawByte(',') + } + out.String(string(v4)) + } + out.RawByte(']') + } + } + { + const prefix string = ",\"nodeIds\":" + out.RawString(prefix) + if in.NodeIDs == nil && (out.Flags&jwriter.NilSliceAsEmpty) == 0 { + out.RawString("null") + } else { + out.RawByte('[') + for v5, v6 := range in.NodeIDs { + if v5 > 0 { + out.RawByte(',') + } + out.Int64(int64(v6)) + } + out.RawByte(']') + } + } + out.RawByte('}') +} + +// MarshalJSON supports json.Marshaler interface +func (v IngAttemptSource) MarshalJSON() ([]byte, error) { + w := jwriter.Writer{} + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload1(&w, v) + return w.Buffer.BuildBytes(), w.Error +} + +// MarshalEasyJSON supports easyjson.Marshaler interface +func (v IngAttemptSource) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload1(w, v) +} + +// UnmarshalJSON supports json.Unmarshaler interface +func (v *IngAttemptSource) UnmarshalJSON(data []byte) error { + r := jlexer.Lexer{Data: data} + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload1(&r, v) + return r.Error() +} + +// UnmarshalEasyJSON supports easyjson.Unmarshaler interface +func (v *IngAttemptSource) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload1(l, v) +} +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload2(in *jlexer.Lexer, out *IngAttemptKey) { + 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 "loaderId": + out.LoaderID = cdp.LoaderID(in.String()) + case "action": + (out.Action).UnmarshalEasyJSON(in) + case "url": + out.URL = string(in.String()) + case "targetHint": + (out.TargetHint).UnmarshalEasyJSON(in) + default: + in.SkipRecursive() + } + in.WantComma() + } + in.Delim('}') + if isTopLevel { + in.Consumed() + } +} +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload2(out *jwriter.Writer, in IngAttemptKey) { + out.RawByte('{') + first := true + _ = first + { + const prefix string = ",\"loaderId\":" + out.RawString(prefix[1:]) + out.String(string(in.LoaderID)) + } + { + const prefix string = ",\"action\":" + out.RawString(prefix) + (in.Action).MarshalEasyJSON(out) + } + { + const prefix string = ",\"url\":" + out.RawString(prefix) + out.String(string(in.URL)) + } + if in.TargetHint != "" { + const prefix string = ",\"targetHint\":" + out.RawString(prefix) + (in.TargetHint).MarshalEasyJSON(out) + } + out.RawByte('}') +} + +// MarshalJSON supports json.Marshaler interface +func (v IngAttemptKey) MarshalJSON() ([]byte, error) { + w := jwriter.Writer{} + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload2(&w, v) + return w.Buffer.BuildBytes(), w.Error +} + +// MarshalEasyJSON supports easyjson.Marshaler interface +func (v IngAttemptKey) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload2(w, v) +} + +// UnmarshalJSON supports json.Unmarshaler interface +func (v *IngAttemptKey) UnmarshalJSON(data []byte) error { + r := jlexer.Lexer{Data: data} + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload2(&r, v) + return r.Error() +} + +// UnmarshalEasyJSON supports easyjson.Unmarshaler interface +func (v *IngAttemptKey) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload2(l, v) +} +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload3(in *jlexer.Lexer, out *EventRuleSetUpdated) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -137,7 +409,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload1(in *jlexer.Lexer, ou in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload1(out *jwriter.Writer, in EventRuleSetUpdated) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload3(out *jwriter.Writer, in EventRuleSetUpdated) { out.RawByte('{') first := true _ = first @@ -156,27 +428,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload1(out *jwriter.Writer, // MarshalJSON supports json.Marshaler interface func (v EventRuleSetUpdated) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload1(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload3(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventRuleSetUpdated) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload1(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload3(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventRuleSetUpdated) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload1(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload3(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventRuleSetUpdated) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload1(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload3(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload2(in *jlexer.Lexer, out *EventRuleSetRemoved) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload4(in *jlexer.Lexer, out *EventRuleSetRemoved) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -207,7 +479,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload2(in *jlexer.Lexer, ou in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload2(out *jwriter.Writer, in EventRuleSetRemoved) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload4(out *jwriter.Writer, in EventRuleSetRemoved) { out.RawByte('{') first := true _ = first @@ -222,27 +494,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload2(out *jwriter.Writer, // MarshalJSON supports json.Marshaler interface func (v EventRuleSetRemoved) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload2(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload4(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventRuleSetRemoved) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload2(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload4(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventRuleSetRemoved) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload2(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload4(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventRuleSetRemoved) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload2(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload4(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload3(in *jlexer.Lexer, out *EnableParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload5(in *jlexer.Lexer, out *EventPrerenderStatusUpdated) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -261,6 +533,22 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload3(in *jlexer.Lexer, ou continue } switch key { + case "key": + if in.IsNull() { + in.Skip() + out.Key = nil + } else { + if out.Key == nil { + out.Key = new(IngAttemptKey) + } + (*out.Key).UnmarshalEasyJSON(in) + } + case "status": + (out.Status).UnmarshalEasyJSON(in) + case "prerenderStatus": + (out.PrerenderStatus).UnmarshalEasyJSON(in) + case "disallowedMojoInterface": + out.DisallowedMojoInterface = string(in.String()) default: in.SkipRecursive() } @@ -271,7 +559,414 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload3(in *jlexer.Lexer, ou in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload3(out *jwriter.Writer, in EnableParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload5(out *jwriter.Writer, in EventPrerenderStatusUpdated) { + out.RawByte('{') + first := true + _ = first + { + const prefix string = ",\"key\":" + out.RawString(prefix[1:]) + if in.Key == nil { + out.RawString("null") + } else { + (*in.Key).MarshalEasyJSON(out) + } + } + { + const prefix string = ",\"status\":" + out.RawString(prefix) + (in.Status).MarshalEasyJSON(out) + } + if in.PrerenderStatus != "" { + const prefix string = ",\"prerenderStatus\":" + out.RawString(prefix) + (in.PrerenderStatus).MarshalEasyJSON(out) + } + if in.DisallowedMojoInterface != "" { + const prefix string = ",\"disallowedMojoInterface\":" + out.RawString(prefix) + out.String(string(in.DisallowedMojoInterface)) + } + out.RawByte('}') +} + +// MarshalJSON supports json.Marshaler interface +func (v EventPrerenderStatusUpdated) MarshalJSON() ([]byte, error) { + w := jwriter.Writer{} + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload5(&w, v) + return w.Buffer.BuildBytes(), w.Error +} + +// MarshalEasyJSON supports easyjson.Marshaler interface +func (v EventPrerenderStatusUpdated) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload5(w, v) +} + +// UnmarshalJSON supports json.Unmarshaler interface +func (v *EventPrerenderStatusUpdated) UnmarshalJSON(data []byte) error { + r := jlexer.Lexer{Data: data} + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload5(&r, v) + return r.Error() +} + +// UnmarshalEasyJSON supports easyjson.Unmarshaler interface +func (v *EventPrerenderStatusUpdated) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload5(l, v) +} +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload6(in *jlexer.Lexer, out *EventPreloadingAttemptSourcesUpdated) { + 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 "loaderId": + out.LoaderID = cdp.LoaderID(in.String()) + case "preloadingAttemptSources": + if in.IsNull() { + in.Skip() + out.PreloadingAttemptSources = nil + } else { + in.Delim('[') + if out.PreloadingAttemptSources == nil { + if !in.IsDelim(']') { + out.PreloadingAttemptSources = make([]*IngAttemptSource, 0, 8) + } else { + out.PreloadingAttemptSources = []*IngAttemptSource{} + } + } else { + out.PreloadingAttemptSources = (out.PreloadingAttemptSources)[:0] + } + for !in.IsDelim(']') { + var v7 *IngAttemptSource + if in.IsNull() { + in.Skip() + v7 = nil + } else { + if v7 == nil { + v7 = new(IngAttemptSource) + } + (*v7).UnmarshalEasyJSON(in) + } + out.PreloadingAttemptSources = append(out.PreloadingAttemptSources, v7) + in.WantComma() + } + in.Delim(']') + } + default: + in.SkipRecursive() + } + in.WantComma() + } + in.Delim('}') + if isTopLevel { + in.Consumed() + } +} +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload6(out *jwriter.Writer, in EventPreloadingAttemptSourcesUpdated) { + out.RawByte('{') + first := true + _ = first + { + const prefix string = ",\"loaderId\":" + out.RawString(prefix[1:]) + out.String(string(in.LoaderID)) + } + { + const prefix string = ",\"preloadingAttemptSources\":" + out.RawString(prefix) + if in.PreloadingAttemptSources == nil && (out.Flags&jwriter.NilSliceAsEmpty) == 0 { + out.RawString("null") + } else { + out.RawByte('[') + for v8, v9 := range in.PreloadingAttemptSources { + if v8 > 0 { + out.RawByte(',') + } + if v9 == nil { + out.RawString("null") + } else { + (*v9).MarshalEasyJSON(out) + } + } + out.RawByte(']') + } + } + out.RawByte('}') +} + +// MarshalJSON supports json.Marshaler interface +func (v EventPreloadingAttemptSourcesUpdated) MarshalJSON() ([]byte, error) { + w := jwriter.Writer{} + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload6(&w, v) + return w.Buffer.BuildBytes(), w.Error +} + +// MarshalEasyJSON supports easyjson.Marshaler interface +func (v EventPreloadingAttemptSourcesUpdated) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload6(w, v) +} + +// UnmarshalJSON supports json.Unmarshaler interface +func (v *EventPreloadingAttemptSourcesUpdated) UnmarshalJSON(data []byte) error { + r := jlexer.Lexer{Data: data} + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload6(&r, v) + return r.Error() +} + +// UnmarshalEasyJSON supports easyjson.Unmarshaler interface +func (v *EventPreloadingAttemptSourcesUpdated) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload6(l, v) +} +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload7(in *jlexer.Lexer, out *EventPreloadEnabledStateUpdated) { + 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 "disabledByPreference": + out.DisabledByPreference = bool(in.Bool()) + case "disabledByDataSaver": + out.DisabledByDataSaver = bool(in.Bool()) + case "disabledByBatterySaver": + out.DisabledByBatterySaver = bool(in.Bool()) + case "disabledByHoldbackPrefetchSpeculationRules": + out.DisabledByHoldbackPrefetchSpeculationRules = bool(in.Bool()) + case "disabledByHoldbackPrerenderSpeculationRules": + out.DisabledByHoldbackPrerenderSpeculationRules = bool(in.Bool()) + default: + in.SkipRecursive() + } + in.WantComma() + } + in.Delim('}') + if isTopLevel { + in.Consumed() + } +} +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload7(out *jwriter.Writer, in EventPreloadEnabledStateUpdated) { + out.RawByte('{') + first := true + _ = first + { + const prefix string = ",\"disabledByPreference\":" + out.RawString(prefix[1:]) + out.Bool(bool(in.DisabledByPreference)) + } + { + const prefix string = ",\"disabledByDataSaver\":" + out.RawString(prefix) + out.Bool(bool(in.DisabledByDataSaver)) + } + { + const prefix string = ",\"disabledByBatterySaver\":" + out.RawString(prefix) + out.Bool(bool(in.DisabledByBatterySaver)) + } + { + const prefix string = ",\"disabledByHoldbackPrefetchSpeculationRules\":" + out.RawString(prefix) + out.Bool(bool(in.DisabledByHoldbackPrefetchSpeculationRules)) + } + { + const prefix string = ",\"disabledByHoldbackPrerenderSpeculationRules\":" + out.RawString(prefix) + out.Bool(bool(in.DisabledByHoldbackPrerenderSpeculationRules)) + } + out.RawByte('}') +} + +// MarshalJSON supports json.Marshaler interface +func (v EventPreloadEnabledStateUpdated) MarshalJSON() ([]byte, error) { + w := jwriter.Writer{} + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload7(&w, v) + return w.Buffer.BuildBytes(), w.Error +} + +// MarshalEasyJSON supports easyjson.Marshaler interface +func (v EventPreloadEnabledStateUpdated) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload7(w, v) +} + +// UnmarshalJSON supports json.Unmarshaler interface +func (v *EventPreloadEnabledStateUpdated) UnmarshalJSON(data []byte) error { + r := jlexer.Lexer{Data: data} + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload7(&r, v) + return r.Error() +} + +// UnmarshalEasyJSON supports easyjson.Unmarshaler interface +func (v *EventPreloadEnabledStateUpdated) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload7(l, v) +} +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload8(in *jlexer.Lexer, out *EventPrefetchStatusUpdated) { + 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 "key": + if in.IsNull() { + in.Skip() + out.Key = nil + } else { + if out.Key == nil { + out.Key = new(IngAttemptKey) + } + (*out.Key).UnmarshalEasyJSON(in) + } + case "initiatingFrameId": + (out.InitiatingFrameID).UnmarshalEasyJSON(in) + case "prefetchUrl": + out.PrefetchURL = string(in.String()) + case "status": + (out.Status).UnmarshalEasyJSON(in) + case "prefetchStatus": + (out.PrefetchStatus).UnmarshalEasyJSON(in) + case "requestId": + out.RequestID = network.RequestID(in.String()) + default: + in.SkipRecursive() + } + in.WantComma() + } + in.Delim('}') + if isTopLevel { + in.Consumed() + } +} +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload8(out *jwriter.Writer, in EventPrefetchStatusUpdated) { + out.RawByte('{') + first := true + _ = first + { + const prefix string = ",\"key\":" + out.RawString(prefix[1:]) + if in.Key == nil { + out.RawString("null") + } else { + (*in.Key).MarshalEasyJSON(out) + } + } + { + const prefix string = ",\"initiatingFrameId\":" + out.RawString(prefix) + out.String(string(in.InitiatingFrameID)) + } + { + const prefix string = ",\"prefetchUrl\":" + out.RawString(prefix) + out.String(string(in.PrefetchURL)) + } + { + const prefix string = ",\"status\":" + out.RawString(prefix) + (in.Status).MarshalEasyJSON(out) + } + { + const prefix string = ",\"prefetchStatus\":" + out.RawString(prefix) + (in.PrefetchStatus).MarshalEasyJSON(out) + } + { + const prefix string = ",\"requestId\":" + out.RawString(prefix) + out.String(string(in.RequestID)) + } + out.RawByte('}') +} + +// MarshalJSON supports json.Marshaler interface +func (v EventPrefetchStatusUpdated) MarshalJSON() ([]byte, error) { + w := jwriter.Writer{} + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload8(&w, v) + return w.Buffer.BuildBytes(), w.Error +} + +// MarshalEasyJSON supports easyjson.Marshaler interface +func (v EventPrefetchStatusUpdated) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload8(w, v) +} + +// UnmarshalJSON supports json.Unmarshaler interface +func (v *EventPrefetchStatusUpdated) UnmarshalJSON(data []byte) error { + r := jlexer.Lexer{Data: data} + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload8(&r, v) + return r.Error() +} + +// UnmarshalEasyJSON supports easyjson.Unmarshaler interface +func (v *EventPrefetchStatusUpdated) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload8(l, v) +} +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload9(in *jlexer.Lexer, out *EnableParams) { + 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 easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload9(out *jwriter.Writer, in EnableParams) { out.RawByte('{') first := true _ = first @@ -281,27 +976,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload3(out *jwriter.Writer, // MarshalJSON supports json.Marshaler interface func (v EnableParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload3(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload9(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EnableParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload3(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload9(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EnableParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload3(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload9(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EnableParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload3(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload9(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload4(in *jlexer.Lexer, out *DisableParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload10(in *jlexer.Lexer, out *DisableParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -330,7 +1025,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload4(in *jlexer.Lexer, ou in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload4(out *jwriter.Writer, in DisableParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload10(out *jwriter.Writer, in DisableParams) { out.RawByte('{') first := true _ = first @@ -340,23 +1035,23 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload4(out *jwriter.Writer, // MarshalJSON supports json.Marshaler interface func (v DisableParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload4(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload10(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v DisableParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload4(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoPreload10(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *DisableParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload4(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload10(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *DisableParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload4(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoPreload10(l, v) } diff --git a/vendor/github.com/chromedp/cdproto/preload/events.go b/vendor/github.com/chromedp/cdproto/preload/events.go index bab989b60d..ff84efbd55 100644 --- a/vendor/github.com/chromedp/cdproto/preload/events.go +++ b/vendor/github.com/chromedp/cdproto/preload/events.go @@ -2,6 +2,11 @@ package preload // Code generated by cdproto-gen. DO NOT EDIT. +import ( + "github.com/chromedp/cdproto/cdp" + "github.com/chromedp/cdproto/network" +) + // EventRuleSetUpdated upsert. Currently, it is only emitted when a rule set // added. // @@ -16,3 +21,46 @@ type EventRuleSetUpdated struct { type EventRuleSetRemoved struct { ID RuleSetID `json:"id"` } + +// EventPreloadEnabledStateUpdated fired when a preload enabled state is +// updated. +// +// See: https://chromedevtools.github.io/devtools-protocol/tot/Preload#event-preloadEnabledStateUpdated +type EventPreloadEnabledStateUpdated struct { + DisabledByPreference bool `json:"disabledByPreference"` + DisabledByDataSaver bool `json:"disabledByDataSaver"` + DisabledByBatterySaver bool `json:"disabledByBatterySaver"` + DisabledByHoldbackPrefetchSpeculationRules bool `json:"disabledByHoldbackPrefetchSpeculationRules"` + DisabledByHoldbackPrerenderSpeculationRules bool `json:"disabledByHoldbackPrerenderSpeculationRules"` +} + +// EventPrefetchStatusUpdated fired when a prefetch attempt is updated. +// +// See: https://chromedevtools.github.io/devtools-protocol/tot/Preload#event-prefetchStatusUpdated +type EventPrefetchStatusUpdated struct { + Key *IngAttemptKey `json:"key"` + InitiatingFrameID cdp.FrameID `json:"initiatingFrameId"` // The frame id of the frame initiating prefetch. + PrefetchURL string `json:"prefetchUrl"` + Status IngStatus `json:"status"` + PrefetchStatus PrefetchStatus `json:"prefetchStatus"` + RequestID network.RequestID `json:"requestId"` +} + +// EventPrerenderStatusUpdated fired when a prerender attempt is updated. +// +// See: https://chromedevtools.github.io/devtools-protocol/tot/Preload#event-prerenderStatusUpdated +type EventPrerenderStatusUpdated struct { + Key *IngAttemptKey `json:"key"` + Status IngStatus `json:"status"` + PrerenderStatus PrerenderFinalStatus `json:"prerenderStatus,omitempty"` + DisallowedMojoInterface string `json:"disallowedMojoInterface,omitempty"` // This is used to give users more information about the name of Mojo interface that is incompatible with prerender and has caused the cancellation of the attempt. +} + +// EventPreloadingAttemptSourcesUpdated send a list of sources for all +// preloading attempts in a document. +// +// See: https://chromedevtools.github.io/devtools-protocol/tot/Preload#event-preloadingAttemptSourcesUpdated +type EventPreloadingAttemptSourcesUpdated struct { + LoaderID cdp.LoaderID `json:"loaderId"` + PreloadingAttemptSources []*IngAttemptSource `json:"preloadingAttemptSources"` +} diff --git a/vendor/github.com/chromedp/cdproto/preload/types.go b/vendor/github.com/chromedp/cdproto/preload/types.go index 4ae82afb3d..c5b3b1fd77 100644 --- a/vendor/github.com/chromedp/cdproto/preload/types.go +++ b/vendor/github.com/chromedp/cdproto/preload/types.go @@ -3,7 +3,13 @@ package preload // Code generated by cdproto-gen. DO NOT EDIT. import ( + "fmt" + "github.com/chromedp/cdproto/cdp" + "github.com/chromedp/cdproto/network" + "github.com/mailru/easyjson" + "github.com/mailru/easyjson/jlexer" + "github.com/mailru/easyjson/jwriter" ) // RuleSetID unique id. @@ -20,7 +26,599 @@ func (t RuleSetID) String() string { // // See: https://chromedevtools.github.io/devtools-protocol/tot/Preload#type-RuleSet type RuleSet struct { - ID RuleSetID `json:"id"` - LoaderID cdp.LoaderID `json:"loaderId"` // Identifies a document which the rule set is associated with. - SourceText string `json:"sourceText"` // Source text of JSON representing the rule set. If it comes from