diff --git a/audits/types.go b/audits/types.go index ab2244e..e665247 100644 --- a/audits/types.go +++ b/audits/types.go @@ -1243,7 +1243,7 @@ const ( FederatedAuthRequestIssueReasonThirdPartyCookiesBlocked FederatedAuthRequestIssueReason = "ThirdPartyCookiesBlocked" FederatedAuthRequestIssueReasonNotSignedInWithIdp FederatedAuthRequestIssueReason = "NotSignedInWithIdp" FederatedAuthRequestIssueReasonMissingTransientUserActivation FederatedAuthRequestIssueReason = "MissingTransientUserActivation" - FederatedAuthRequestIssueReasonReplacedByButtonMode FederatedAuthRequestIssueReason = "ReplacedByButtonMode" + FederatedAuthRequestIssueReasonReplacedByActiveMode FederatedAuthRequestIssueReason = "ReplacedByActiveMode" FederatedAuthRequestIssueReasonInvalidFieldsSpecified FederatedAuthRequestIssueReason = "InvalidFieldsSpecified" FederatedAuthRequestIssueReasonRelyingPartyOriginIsOpaque FederatedAuthRequestIssueReason = "RelyingPartyOriginIsOpaque" FederatedAuthRequestIssueReasonTypeNotMatching FederatedAuthRequestIssueReason = "TypeNotMatching" @@ -1345,8 +1345,8 @@ func (t *FederatedAuthRequestIssueReason) UnmarshalEasyJSON(in *jlexer.Lexer) { *t = FederatedAuthRequestIssueReasonNotSignedInWithIdp case FederatedAuthRequestIssueReasonMissingTransientUserActivation: *t = FederatedAuthRequestIssueReasonMissingTransientUserActivation - case FederatedAuthRequestIssueReasonReplacedByButtonMode: - *t = FederatedAuthRequestIssueReasonReplacedByButtonMode + case FederatedAuthRequestIssueReasonReplacedByActiveMode: + *t = FederatedAuthRequestIssueReasonReplacedByActiveMode case FederatedAuthRequestIssueReasonInvalidFieldsSpecified: *t = FederatedAuthRequestIssueReasonInvalidFieldsSpecified case FederatedAuthRequestIssueReasonRelyingPartyOriginIsOpaque: diff --git a/preload/types.go b/preload/types.go index 49b9deb..98d0f74 100644 --- a/preload/types.go +++ b/preload/types.go @@ -284,6 +284,7 @@ const ( PrerenderFinalStatusSlowNetwork PrerenderFinalStatus = "SlowNetwork" PrerenderFinalStatusOtherPrerenderedPageActivated PrerenderFinalStatus = "OtherPrerenderedPageActivated" PrerenderFinalStatusV8optimizerDisabled PrerenderFinalStatus = "V8OptimizerDisabled" + PrerenderFinalStatusPrerenderFailedDuringPrefetch PrerenderFinalStatus = "PrerenderFailedDuringPrefetch" ) // MarshalEasyJSON satisfies easyjson.Marshaler. @@ -444,6 +445,8 @@ func (t *PrerenderFinalStatus) UnmarshalEasyJSON(in *jlexer.Lexer) { *t = PrerenderFinalStatusOtherPrerenderedPageActivated case PrerenderFinalStatusV8optimizerDisabled: *t = PrerenderFinalStatusV8optimizerDisabled + case PrerenderFinalStatusPrerenderFailedDuringPrefetch: + *t = PrerenderFinalStatusPrerenderFailedDuringPrefetch default: in.AddError(fmt.Errorf("unknown PrerenderFinalStatus value: %v", v))