From 4cd95c9966040219706e3a0304a769ed6585bb07 Mon Sep 17 00:00:00 2001 From: Kenneth Shaw Date: Mon, 12 Jun 2023 05:11:35 +0700 Subject: [PATCH] Updating to 116.0.5826.1_11.6.113 definitions --- audits/easyjson.go | 639 ++++++++++++++++++++++++++++++++------------- audits/types.go | 211 ++++++++++++--- network/types.go | 3 + page/types.go | 9 - preload/types.go | 3 + 5 files changed, 644 insertions(+), 221 deletions(-) diff --git a/audits/easyjson.go b/audits/easyjson.go index edb4e20..db53634 100644 --- a/audits/easyjson.go +++ b/audits/easyjson.go @@ -20,7 +20,107 @@ var ( _ easyjson.Marshaler ) -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits(in *jlexer.Lexer, out *SourceCodeLocation) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits(in *jlexer.Lexer, out *StylesheetLoadingIssueDetails) { + 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 "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() + } + in.WantComma() + } + in.Delim('}') + if isTopLevel { + in.Consumed() + } +} +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits(out *jwriter.Writer, in StylesheetLoadingIssueDetails) { + out.RawByte('{') + first := true + _ = first + { + const prefix string = ",\"sourceCodeLocation\":" + out.RawString(prefix[1:]) + if in.SourceCodeLocation == nil { + out.RawString("null") + } else { + (*in.SourceCodeLocation).MarshalEasyJSON(out) + } + } + { + const prefix string = ",\"styleSheetLoadingIssueReason\":" + out.RawString(prefix) + (in.StyleSheetLoadingIssueReason).MarshalEasyJSON(out) + } + if in.FailedRequestInfo != nil { + const prefix string = ",\"failedRequestInfo\":" + out.RawString(prefix) + (*in.FailedRequestInfo).MarshalEasyJSON(out) + } + out.RawByte('}') +} + +// MarshalJSON supports json.Marshaler interface +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 StylesheetLoadingIssueDetails) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits(w, v) +} + +// UnmarshalJSON supports json.Unmarshaler interface +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 *StylesheetLoadingIssueDetails) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits(l, v) +} +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits1(in *jlexer.Lexer, out *SourceCodeLocation) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -57,7 +157,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits(out *jwriter.Writer, in SourceCodeLocation) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits1(out *jwriter.Writer, in SourceCodeLocation) { out.RawByte('{') first := true _ = first @@ -93,27 +193,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits(out *jwriter.Writer, i // MarshalJSON supports json.Marshaler interface func (v SourceCodeLocation) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits1(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v SourceCodeLocation) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits1(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *SourceCodeLocation) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits1(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *SourceCodeLocation) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits1(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits1(in *jlexer.Lexer, out *SharedArrayBufferIssueDetails) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits2(in *jlexer.Lexer, out *SharedArrayBufferIssueDetails) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -156,7 +256,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits1(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits1(out *jwriter.Writer, in SharedArrayBufferIssueDetails) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits2(out *jwriter.Writer, in SharedArrayBufferIssueDetails) { out.RawByte('{') first := true _ = first @@ -185,27 +285,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits1(out *jwriter.Writer, // MarshalJSON supports json.Marshaler interface func (v SharedArrayBufferIssueDetails) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits1(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits2(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v SharedArrayBufferIssueDetails) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits1(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits2(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *SharedArrayBufferIssueDetails) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits1(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits2(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *SharedArrayBufferIssueDetails) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits1(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits2(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits2(in *jlexer.Lexer, out *QuirksModeIssueDetails) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits3(in *jlexer.Lexer, out *QuirksModeIssueDetails) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -244,7 +344,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits2(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits2(out *jwriter.Writer, in QuirksModeIssueDetails) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits3(out *jwriter.Writer, in QuirksModeIssueDetails) { out.RawByte('{') first := true _ = first @@ -279,27 +379,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits2(out *jwriter.Writer, // MarshalJSON supports json.Marshaler interface func (v QuirksModeIssueDetails) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits2(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits3(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v QuirksModeIssueDetails) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits2(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits3(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *QuirksModeIssueDetails) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits2(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits3(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *QuirksModeIssueDetails) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits2(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits3(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits3(in *jlexer.Lexer, out *NavigatorUserAgentIssueDetails) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits4(in *jlexer.Lexer, out *NavigatorUserAgentIssueDetails) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -340,7 +440,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits3(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits3(out *jwriter.Writer, in NavigatorUserAgentIssueDetails) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits4(out *jwriter.Writer, in NavigatorUserAgentIssueDetails) { out.RawByte('{') first := true _ = first @@ -360,27 +460,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits3(out *jwriter.Writer, // MarshalJSON supports json.Marshaler interface func (v NavigatorUserAgentIssueDetails) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits3(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits4(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v NavigatorUserAgentIssueDetails) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits3(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits4(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *NavigatorUserAgentIssueDetails) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits3(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits4(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *NavigatorUserAgentIssueDetails) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits3(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits4(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits4(in *jlexer.Lexer, out *MixedContentIssueDetails) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits5(in *jlexer.Lexer, out *MixedContentIssueDetails) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -437,7 +537,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits4(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits4(out *jwriter.Writer, in MixedContentIssueDetails) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits5(out *jwriter.Writer, in MixedContentIssueDetails) { out.RawByte('{') first := true _ = first @@ -483,27 +583,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits4(out *jwriter.Writer, // MarshalJSON supports json.Marshaler interface func (v MixedContentIssueDetails) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits4(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits5(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v MixedContentIssueDetails) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits4(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits5(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *MixedContentIssueDetails) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits4(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits5(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *MixedContentIssueDetails) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits4(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits5(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits5(in *jlexer.Lexer, out *LowTextContrastIssueDetails) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits6(in *jlexer.Lexer, out *LowTextContrastIssueDetails) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -546,7 +646,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits5(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits5(out *jwriter.Writer, in LowTextContrastIssueDetails) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits6(out *jwriter.Writer, in LowTextContrastIssueDetails) { out.RawByte('{') first := true _ = first @@ -591,27 +691,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits5(out *jwriter.Writer, // MarshalJSON supports json.Marshaler interface func (v LowTextContrastIssueDetails) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits5(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits6(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v LowTextContrastIssueDetails) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits5(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits6(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *LowTextContrastIssueDetails) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits5(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits6(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *LowTextContrastIssueDetails) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits5(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits6(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits6(in *jlexer.Lexer, out *InspectorIssueDetails) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits7(in *jlexer.Lexer, out *InspectorIssueDetails) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -790,6 +890,26 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits6(in *jlexer.Lexer, out } (*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 "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() } @@ -800,7 +920,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits6(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits6(out *jwriter.Writer, in InspectorIssueDetails) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits7(out *jwriter.Writer, in InspectorIssueDetails) { out.RawByte('{') first := true _ = first @@ -960,33 +1080,53 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits6(out *jwriter.Writer, } (*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.FederatedAuthUserInfoRequestIssueDetails != nil { + const prefix string = ",\"federatedAuthUserInfoRequestIssueDetails\":" + if first { + first = false + out.RawString(prefix[1:]) + } else { + out.RawString(prefix) + } + (*in.FederatedAuthUserInfoRequestIssueDetails).MarshalEasyJSON(out) + } out.RawByte('}') } // MarshalJSON supports json.Marshaler interface func (v InspectorIssueDetails) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits6(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits7(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v InspectorIssueDetails) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits6(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits7(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *InspectorIssueDetails) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits6(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits7(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *InspectorIssueDetails) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits6(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits7(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits7(in *jlexer.Lexer, out *InspectorIssue) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits8(in *jlexer.Lexer, out *InspectorIssue) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1029,7 +1169,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits7(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits7(out *jwriter.Writer, in InspectorIssue) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits8(out *jwriter.Writer, in InspectorIssue) { out.RawByte('{') first := true _ = first @@ -1058,27 +1198,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits7(out *jwriter.Writer, // MarshalJSON supports json.Marshaler interface func (v InspectorIssue) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits7(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits8(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v InspectorIssue) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits7(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits8(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *InspectorIssue) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits7(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits8(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *InspectorIssue) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits7(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits8(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits8(in *jlexer.Lexer, out *HeavyAdIssueDetails) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits9(in *jlexer.Lexer, out *HeavyAdIssueDetails) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1121,7 +1261,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits8(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits8(out *jwriter.Writer, in HeavyAdIssueDetails) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits9(out *jwriter.Writer, in HeavyAdIssueDetails) { out.RawByte('{') first := true _ = first @@ -1150,27 +1290,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits8(out *jwriter.Writer, // MarshalJSON supports json.Marshaler interface func (v HeavyAdIssueDetails) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits8(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits9(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v HeavyAdIssueDetails) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits8(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits9(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *HeavyAdIssueDetails) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits8(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits9(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *HeavyAdIssueDetails) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits8(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits9(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits9(in *jlexer.Lexer, out *GetEncodedResponseReturns) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits10(in *jlexer.Lexer, out *GetEncodedResponseReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1205,7 +1345,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits9(in *jlexer.Lexer, out in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits9(out *jwriter.Writer, in GetEncodedResponseReturns) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits10(out *jwriter.Writer, in GetEncodedResponseReturns) { out.RawByte('{') first := true _ = first @@ -1241,27 +1381,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits9(out *jwriter.Writer, // MarshalJSON supports json.Marshaler interface func (v GetEncodedResponseReturns) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits9(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits10(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetEncodedResponseReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits9(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits10(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetEncodedResponseReturns) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits9(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits10(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetEncodedResponseReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits9(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits10(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits10(in *jlexer.Lexer, out *GetEncodedResponseParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits11(in *jlexer.Lexer, out *GetEncodedResponseParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1298,7 +1438,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits10(in *jlexer.Lexer, ou in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits10(out *jwriter.Writer, in GetEncodedResponseParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits11(out *jwriter.Writer, in GetEncodedResponseParams) { out.RawByte('{') first := true _ = first @@ -1328,27 +1468,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits10(out *jwriter.Writer, // MarshalJSON supports json.Marshaler interface func (v GetEncodedResponseParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits10(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits11(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GetEncodedResponseParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits10(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits11(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetEncodedResponseParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits10(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits11(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GetEncodedResponseParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits10(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits11(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits11(in *jlexer.Lexer, out *GenericIssueDetails) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits12(in *jlexer.Lexer, out *GenericIssueDetails) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1385,7 +1525,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits11(in *jlexer.Lexer, ou in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits11(out *jwriter.Writer, in GenericIssueDetails) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits12(out *jwriter.Writer, in GenericIssueDetails) { out.RawByte('{') first := true _ = first @@ -1415,27 +1555,93 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits11(out *jwriter.Writer, // MarshalJSON supports json.Marshaler interface func (v GenericIssueDetails) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits11(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits12(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v GenericIssueDetails) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits11(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits12(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GenericIssueDetails) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits11(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits12(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *GenericIssueDetails) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits11(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits12(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits12(in *jlexer.Lexer, out *FederatedAuthRequestIssueDetails) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits13(in *jlexer.Lexer, out *FederatedAuthUserInfoRequestIssueDetails) { + 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 "federatedAuthUserInfoRequestIssueReason": + (out.FederatedAuthUserInfoRequestIssueReason).UnmarshalEasyJSON(in) + default: + in.SkipRecursive() + } + in.WantComma() + } + in.Delim('}') + if isTopLevel { + in.Consumed() + } +} +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits13(out *jwriter.Writer, in FederatedAuthUserInfoRequestIssueDetails) { + out.RawByte('{') + first := true + _ = first + { + const prefix string = ",\"federatedAuthUserInfoRequestIssueReason\":" + out.RawString(prefix[1:]) + (in.FederatedAuthUserInfoRequestIssueReason).MarshalEasyJSON(out) + } + out.RawByte('}') +} + +// MarshalJSON supports json.Marshaler interface +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 FederatedAuthUserInfoRequestIssueDetails) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits13(w, v) +} + +// UnmarshalJSON supports json.Unmarshaler interface +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 *FederatedAuthUserInfoRequestIssueDetails) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits13(l, v) +} +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits14(in *jlexer.Lexer, out *FederatedAuthRequestIssueDetails) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1466,7 +1672,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits12(in *jlexer.Lexer, ou in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits12(out *jwriter.Writer, in FederatedAuthRequestIssueDetails) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits14(out *jwriter.Writer, in FederatedAuthRequestIssueDetails) { out.RawByte('{') first := true _ = first @@ -1481,27 +1687,100 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits12(out *jwriter.Writer, // MarshalJSON supports json.Marshaler interface func (v FederatedAuthRequestIssueDetails) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits12(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits14(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v FederatedAuthRequestIssueDetails) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits12(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits14(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *FederatedAuthRequestIssueDetails) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits12(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits14(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *FederatedAuthRequestIssueDetails) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits12(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits14(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits13(in *jlexer.Lexer, out *EventIssueAdded) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits15(in *jlexer.Lexer, out *FailedRequestInfo) { + isTopLevel := in.IsStart() + if in.IsNull() { + if isTopLevel { + in.Consumed() + } + in.Skip() + return + } + in.Delim('{') + for !in.IsDelim('}') { + key := in.UnsafeFieldName(false) + in.WantColon() + if in.IsNull() { + in.Skip() + in.WantComma() + continue + } + switch key { + case "url": + out.URL = string(in.String()) + case "failureMessage": + out.FailureMessage = string(in.String()) + default: + in.SkipRecursive() + } + in.WantComma() + } + in.Delim('}') + if isTopLevel { + in.Consumed() + } +} +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)) + } + out.RawByte('}') +} + +// MarshalJSON supports json.Marshaler interface +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 FailedRequestInfo) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits15(w, v) +} + +// UnmarshalJSON supports json.Unmarshaler interface +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 *FailedRequestInfo) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits15(l, v) +} +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits16(in *jlexer.Lexer, out *EventIssueAdded) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1540,7 +1819,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits13(in *jlexer.Lexer, ou in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits13(out *jwriter.Writer, in EventIssueAdded) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits16(out *jwriter.Writer, in EventIssueAdded) { out.RawByte('{') first := true _ = first @@ -1559,27 +1838,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits13(out *jwriter.Writer, // MarshalJSON supports json.Marshaler interface func (v EventIssueAdded) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits13(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits16(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventIssueAdded) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits13(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits16(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventIssueAdded) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits13(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits16(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventIssueAdded) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits13(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits16(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits14(in *jlexer.Lexer, out *EnableParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits17(in *jlexer.Lexer, out *EnableParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1608,7 +1887,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits14(in *jlexer.Lexer, ou in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits14(out *jwriter.Writer, in EnableParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits17(out *jwriter.Writer, in EnableParams) { out.RawByte('{') first := true _ = first @@ -1618,27 +1897,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits14(out *jwriter.Writer, // MarshalJSON supports json.Marshaler interface func (v EnableParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits14(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits17(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EnableParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits14(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits17(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EnableParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits14(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits17(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EnableParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits14(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits17(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits15(in *jlexer.Lexer, out *DisableParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits18(in *jlexer.Lexer, out *DisableParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1667,7 +1946,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits15(in *jlexer.Lexer, ou in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits15(out *jwriter.Writer, in DisableParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits18(out *jwriter.Writer, in DisableParams) { out.RawByte('{') first := true _ = first @@ -1677,27 +1956,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits15(out *jwriter.Writer, // MarshalJSON supports json.Marshaler interface func (v DisableParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits15(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits18(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v DisableParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits15(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits18(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *DisableParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits15(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits18(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *DisableParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits15(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits18(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits16(in *jlexer.Lexer, out *DeprecationIssueDetails) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits19(in *jlexer.Lexer, out *DeprecationIssueDetails) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1748,7 +2027,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits16(in *jlexer.Lexer, ou in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits16(out *jwriter.Writer, in DeprecationIssueDetails) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits19(out *jwriter.Writer, in DeprecationIssueDetails) { out.RawByte('{') first := true _ = first @@ -1783,27 +2062,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits16(out *jwriter.Writer, // MarshalJSON supports json.Marshaler interface func (v DeprecationIssueDetails) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits16(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits19(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v DeprecationIssueDetails) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits16(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits19(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *DeprecationIssueDetails) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits16(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits19(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *DeprecationIssueDetails) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits16(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits19(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits17(in *jlexer.Lexer, out *CorsIssueDetails) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits20(in *jlexer.Lexer, out *CorsIssueDetails) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1878,7 +2157,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits17(in *jlexer.Lexer, ou in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits17(out *jwriter.Writer, in CorsIssueDetails) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits20(out *jwriter.Writer, in CorsIssueDetails) { out.RawByte('{') first := true _ = first @@ -1931,27 +2210,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits17(out *jwriter.Writer, // MarshalJSON supports json.Marshaler interface func (v CorsIssueDetails) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits17(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits20(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v CorsIssueDetails) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits17(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits20(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *CorsIssueDetails) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits17(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits20(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *CorsIssueDetails) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits17(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits20(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits18(in *jlexer.Lexer, out *CookieIssueDetails) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits21(in *jlexer.Lexer, out *CookieIssueDetails) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2054,7 +2333,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits18(in *jlexer.Lexer, ou in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits18(out *jwriter.Writer, in CookieIssueDetails) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits21(out *jwriter.Writer, in CookieIssueDetails) { out.RawByte('{') first := true _ = first @@ -2137,27 +2416,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits18(out *jwriter.Writer, // MarshalJSON supports json.Marshaler interface func (v CookieIssueDetails) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits18(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits21(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v CookieIssueDetails) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits18(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits21(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *CookieIssueDetails) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits18(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits21(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *CookieIssueDetails) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits18(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits21(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits19(in *jlexer.Lexer, out *ContentSecurityPolicyIssueDetails) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits22(in *jlexer.Lexer, out *ContentSecurityPolicyIssueDetails) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2216,7 +2495,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits19(in *jlexer.Lexer, ou in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits19(out *jwriter.Writer, in ContentSecurityPolicyIssueDetails) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits22(out *jwriter.Writer, in ContentSecurityPolicyIssueDetails) { out.RawByte('{') first := true _ = first @@ -2267,27 +2546,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits19(out *jwriter.Writer, // MarshalJSON supports json.Marshaler interface func (v ContentSecurityPolicyIssueDetails) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits19(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits22(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v ContentSecurityPolicyIssueDetails) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits19(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits22(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *ContentSecurityPolicyIssueDetails) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits19(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits22(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *ContentSecurityPolicyIssueDetails) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits19(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits22(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits20(in *jlexer.Lexer, out *ClientHintIssueDetails) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits23(in *jlexer.Lexer, out *ClientHintIssueDetails) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2328,7 +2607,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits20(in *jlexer.Lexer, ou in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits20(out *jwriter.Writer, in ClientHintIssueDetails) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits23(out *jwriter.Writer, in ClientHintIssueDetails) { out.RawByte('{') first := true _ = first @@ -2352,27 +2631,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits20(out *jwriter.Writer, // MarshalJSON supports json.Marshaler interface func (v ClientHintIssueDetails) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits20(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits23(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v ClientHintIssueDetails) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits20(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits23(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *ClientHintIssueDetails) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits20(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits23(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *ClientHintIssueDetails) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits20(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits23(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits21(in *jlexer.Lexer, out *CheckFormsIssuesReturns) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits24(in *jlexer.Lexer, out *CheckFormsIssuesReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2432,7 +2711,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits21(in *jlexer.Lexer, ou in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits21(out *jwriter.Writer, in CheckFormsIssuesReturns) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits24(out *jwriter.Writer, in CheckFormsIssuesReturns) { out.RawByte('{') first := true _ = first @@ -2461,27 +2740,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits21(out *jwriter.Writer, // MarshalJSON supports json.Marshaler interface func (v CheckFormsIssuesReturns) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits21(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits24(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v CheckFormsIssuesReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits21(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits24(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *CheckFormsIssuesReturns) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits21(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits24(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *CheckFormsIssuesReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits21(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits24(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits22(in *jlexer.Lexer, out *CheckFormsIssuesParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits25(in *jlexer.Lexer, out *CheckFormsIssuesParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2510,7 +2789,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits22(in *jlexer.Lexer, ou in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits22(out *jwriter.Writer, in CheckFormsIssuesParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits25(out *jwriter.Writer, in CheckFormsIssuesParams) { out.RawByte('{') first := true _ = first @@ -2520,27 +2799,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits22(out *jwriter.Writer, // MarshalJSON supports json.Marshaler interface func (v CheckFormsIssuesParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits22(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits25(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v CheckFormsIssuesParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits22(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits25(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *CheckFormsIssuesParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits22(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits25(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *CheckFormsIssuesParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits22(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits25(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits23(in *jlexer.Lexer, out *CheckContrastParams) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits26(in *jlexer.Lexer, out *CheckContrastParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2571,7 +2850,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits23(in *jlexer.Lexer, ou in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits23(out *jwriter.Writer, in CheckContrastParams) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits26(out *jwriter.Writer, in CheckContrastParams) { out.RawByte('{') first := true _ = first @@ -2587,27 +2866,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits23(out *jwriter.Writer, // MarshalJSON supports json.Marshaler interface func (v CheckContrastParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits23(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits26(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v CheckContrastParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits23(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits26(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *CheckContrastParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits23(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits26(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *CheckContrastParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits23(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits26(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits24(in *jlexer.Lexer, out *BounceTrackingIssueDetails) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits27(in *jlexer.Lexer, out *BounceTrackingIssueDetails) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2659,7 +2938,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits24(in *jlexer.Lexer, ou in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits24(out *jwriter.Writer, in BounceTrackingIssueDetails) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits27(out *jwriter.Writer, in BounceTrackingIssueDetails) { out.RawByte('{') first := true _ = first @@ -2685,27 +2964,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits24(out *jwriter.Writer, // MarshalJSON supports json.Marshaler interface func (v BounceTrackingIssueDetails) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits24(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits27(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v BounceTrackingIssueDetails) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits24(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits27(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *BounceTrackingIssueDetails) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits24(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits27(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *BounceTrackingIssueDetails) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits24(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits27(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits25(in *jlexer.Lexer, out *BlockedByResponseIssueDetails) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits28(in *jlexer.Lexer, out *BlockedByResponseIssueDetails) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2766,7 +3045,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits25(in *jlexer.Lexer, ou in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits25(out *jwriter.Writer, in BlockedByResponseIssueDetails) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits28(out *jwriter.Writer, in BlockedByResponseIssueDetails) { out.RawByte('{') first := true _ = first @@ -2800,27 +3079,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits25(out *jwriter.Writer, // MarshalJSON supports json.Marshaler interface func (v BlockedByResponseIssueDetails) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits25(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits28(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v BlockedByResponseIssueDetails) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits25(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits28(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *BlockedByResponseIssueDetails) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits25(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits28(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *BlockedByResponseIssueDetails) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits25(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits28(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits26(in *jlexer.Lexer, out *AttributionReportingIssueDetails) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits29(in *jlexer.Lexer, out *AttributionReportingIssueDetails) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2865,7 +3144,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits26(in *jlexer.Lexer, ou in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits26(out *jwriter.Writer, in AttributionReportingIssueDetails) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits29(out *jwriter.Writer, in AttributionReportingIssueDetails) { out.RawByte('{') first := true _ = first @@ -2895,27 +3174,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits26(out *jwriter.Writer, // MarshalJSON supports json.Marshaler interface func (v AttributionReportingIssueDetails) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits26(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits29(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v AttributionReportingIssueDetails) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits26(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits29(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *AttributionReportingIssueDetails) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits26(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits29(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *AttributionReportingIssueDetails) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits26(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits29(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits27(in *jlexer.Lexer, out *AffectedRequest) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits30(in *jlexer.Lexer, out *AffectedRequest) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2948,7 +3227,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits27(in *jlexer.Lexer, ou in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits27(out *jwriter.Writer, in AffectedRequest) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits30(out *jwriter.Writer, in AffectedRequest) { out.RawByte('{') first := true _ = first @@ -2968,27 +3247,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits27(out *jwriter.Writer, // MarshalJSON supports json.Marshaler interface func (v AffectedRequest) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits27(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits30(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v AffectedRequest) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits27(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits30(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *AffectedRequest) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits27(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits30(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *AffectedRequest) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits27(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits30(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits28(in *jlexer.Lexer, out *AffectedFrame) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits31(in *jlexer.Lexer, out *AffectedFrame) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -3019,7 +3298,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits28(in *jlexer.Lexer, ou in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits28(out *jwriter.Writer, in AffectedFrame) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits31(out *jwriter.Writer, in AffectedFrame) { out.RawByte('{') first := true _ = first @@ -3034,27 +3313,27 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits28(out *jwriter.Writer, // MarshalJSON supports json.Marshaler interface func (v AffectedFrame) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits28(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits31(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v AffectedFrame) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits28(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits31(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *AffectedFrame) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits28(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits31(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *AffectedFrame) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits28(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits31(l, v) } -func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits29(in *jlexer.Lexer, out *AffectedCookie) { +func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits32(in *jlexer.Lexer, out *AffectedCookie) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -3089,7 +3368,7 @@ func easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits29(in *jlexer.Lexer, ou in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits29(out *jwriter.Writer, in AffectedCookie) { +func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits32(out *jwriter.Writer, in AffectedCookie) { out.RawByte('{') first := true _ = first @@ -3114,23 +3393,23 @@ func easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits29(out *jwriter.Writer, // MarshalJSON supports json.Marshaler interface func (v AffectedCookie) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits29(&w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits32(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v AffectedCookie) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits29(w, v) + easyjsonC5a4559bEncodeGithubComChromedpCdprotoAudits32(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *AffectedCookie) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits29(&r, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits32(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *AffectedCookie) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits29(l, v) + easyjsonC5a4559bDecodeGithubComChromedpCdprotoAudits32(l, v) } diff --git a/audits/types.go b/audits/types.go index b9d075b..3a53602 100644 --- a/audits/types.go +++ b/audits/types.go @@ -1163,6 +1163,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. @@ -1173,6 +1249,69 @@ 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. +} + +// 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. +} + // 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. @@ -1187,22 +1326,24 @@ 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" - 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" + 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" ) // MarshalEasyJSON satisfies easyjson.Marshaler. @@ -1251,6 +1392,10 @@ func (t *InspectorIssueCode) UnmarshalEasyJSON(in *jlexer.Lexer) { *t = InspectorIssueCodeFederatedAuthRequestIssue case InspectorIssueCodeBounceTrackingIssue: *t = InspectorIssueCodeBounceTrackingIssue + case InspectorIssueCodeStylesheetLoadingIssue: + *t = InspectorIssueCodeStylesheetLoadingIssue + case InspectorIssueCodeFederatedAuthUserInfoRequestIssue: + *t = InspectorIssueCodeFederatedAuthUserInfoRequestIssue default: in.AddError(fmt.Errorf("unknown InspectorIssueCode value: %v", v)) @@ -1268,22 +1413,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"` - 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"` - BounceTrackingIssueDetails *BounceTrackingIssueDetails `json:"bounceTrackingIssueDetails,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"` + 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"` + BounceTrackingIssueDetails *BounceTrackingIssueDetails `json:"bounceTrackingIssueDetails,omitempty"` + StylesheetLoadingIssueDetails *StylesheetLoadingIssueDetails `json:"stylesheetLoadingIssueDetails,omitempty"` + FederatedAuthUserInfoRequestIssueDetails *FederatedAuthUserInfoRequestIssueDetails `json:"federatedAuthUserInfoRequestIssueDetails,omitempty"` } // IssueID a unique id for a DevTools inspector issue. Allows other entities diff --git a/network/types.go b/network/types.go index 068fa9c..ecf4f76 100644 --- a/network/types.go +++ b/network/types.go @@ -2250,6 +2250,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" @@ -2279,6 +2280,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/page/types.go b/page/types.go index f6e7ce8..d16104b 100644 --- a/page/types.go +++ b/page/types.go @@ -57,11 +57,9 @@ const ( 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" @@ -173,16 +171,12 @@ func (t *PermissionsPolicyFeature) UnmarshalEasyJSON(in *jlexer.Lexer) { *t = PermissionsPolicyFeatureChUaModel case PermissionsPolicyFeatureChUaMobile: *t = PermissionsPolicyFeatureChUaMobile - case PermissionsPolicyFeatureChUaFull: - *t = PermissionsPolicyFeatureChUaFull case PermissionsPolicyFeatureChUaFullVersion: *t = PermissionsPolicyFeatureChUaFullVersion case PermissionsPolicyFeatureChUaFullVersionList: *t = PermissionsPolicyFeatureChUaFullVersionList case PermissionsPolicyFeatureChUaPlatformVersion: *t = PermissionsPolicyFeatureChUaPlatformVersion - case PermissionsPolicyFeatureChUaReduced: - *t = PermissionsPolicyFeatureChUaReduced case PermissionsPolicyFeatureChUaWow64: *t = PermissionsPolicyFeatureChUaWow64 case PermissionsPolicyFeatureChViewportHeight: @@ -1056,7 +1050,6 @@ const ( BackForwardCacheNotRestoredReasonIndexedDBEvent BackForwardCacheNotRestoredReason = "IndexedDBEvent" BackForwardCacheNotRestoredReasonDummy BackForwardCacheNotRestoredReason = "Dummy" BackForwardCacheNotRestoredReasonAuthorizationHeader BackForwardCacheNotRestoredReason = "AuthorizationHeader" - BackForwardCacheNotRestoredReasonWebSerial BackForwardCacheNotRestoredReason = "WebSerial" BackForwardCacheNotRestoredReasonContentSecurityHandler BackForwardCacheNotRestoredReason = "ContentSecurityHandler" BackForwardCacheNotRestoredReasonContentWebAuthenticationAPI BackForwardCacheNotRestoredReason = "ContentWebAuthenticationAPI" BackForwardCacheNotRestoredReasonContentFileChooser BackForwardCacheNotRestoredReason = "ContentFileChooser" @@ -1298,8 +1291,6 @@ func (t *BackForwardCacheNotRestoredReason) UnmarshalEasyJSON(in *jlexer.Lexer) *t = BackForwardCacheNotRestoredReasonDummy case BackForwardCacheNotRestoredReasonAuthorizationHeader: *t = BackForwardCacheNotRestoredReasonAuthorizationHeader - case BackForwardCacheNotRestoredReasonWebSerial: - *t = BackForwardCacheNotRestoredReasonWebSerial case BackForwardCacheNotRestoredReasonContentSecurityHandler: *t = BackForwardCacheNotRestoredReasonContentSecurityHandler case BackForwardCacheNotRestoredReasonContentWebAuthenticationAPI: diff --git a/preload/types.go b/preload/types.go index 542c0c1..486dd77 100644 --- a/preload/types.go +++ b/preload/types.go @@ -273,6 +273,7 @@ const ( PrerenderFinalStatusMemoryPressureOnTrigger PrerenderFinalStatus = "MemoryPressureOnTrigger" PrerenderFinalStatusMemoryPressureAfterTriggered PrerenderFinalStatus = "MemoryPressureAfterTriggered" PrerenderFinalStatusPrerenderingDisabledByDevTools PrerenderFinalStatus = "PrerenderingDisabledByDevTools" + PrerenderFinalStatusResourceLoadBlockedByClient PrerenderFinalStatus = "ResourceLoadBlockedByClient" ) // MarshalEasyJSON satisfies easyjson.Marshaler. @@ -411,6 +412,8 @@ func (t *PrerenderFinalStatus) UnmarshalEasyJSON(in *jlexer.Lexer) { *t = PrerenderFinalStatusMemoryPressureAfterTriggered case PrerenderFinalStatusPrerenderingDisabledByDevTools: *t = PrerenderFinalStatusPrerenderingDisabledByDevTools + case PrerenderFinalStatusResourceLoadBlockedByClient: + *t = PrerenderFinalStatusResourceLoadBlockedByClient default: in.AddError(fmt.Errorf("unknown PrerenderFinalStatus value: %v", v))