diff --git a/build/patches/00Disable-FedCm.patch b/build/patches/00Disable-FedCm.patch index c628db28..1b034da1 100644 --- a/build/patches/00Disable-FedCm.patch +++ b/build/patches/00Disable-FedCm.patch @@ -3,9 +3,9 @@ Date: Tue, 14 Feb 2023 16:26:17 +0000 Subject: Disable FedCm --- - content/public/common/content_features.cc | 2 +- - .../blink/renderer/platform/runtime_enabled_features.json5 | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) + content/public/common/content_features.cc | 10 +++++----- + .../renderer/platform/runtime_enabled_features.json5 | 2 +- + 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/content/public/common/content_features.cc b/content/public/common/content_features.cc --- a/content/public/common/content_features.cc @@ -19,6 +19,26 @@ diff --git a/content/public/common/content_features.cc b/content/public/common/c // Field trial boolean parameter which indicates whether FedCM IDP sign-out // is enabled. +@@ -453,15 +453,15 @@ BASE_FEATURE(kFedCmLoginHint, + // Enables metrics collection for signin status mismatches. Also enables + // parsing the signin status HTTP headers. + // kFedCmIdpSigninStatusEnabled takes precedence over this feature flag. +-BASE_FEATURE(kFedCmIdpSigninStatusMetrics, // disabled ++BASE_FEATURE(kFedCmIdpSigninStatusMetrics, // enabled + "FedCmIdpSigninStatusMetrics", // by default +- base::FEATURE_DISABLED_BY_DEFAULT); // on bromite ++ base::FEATURE_ENABLED_BY_DEFAULT); // on bromite + + // Enables the IDP signin status API for use with FedCM, including avoiding + // network requests when not signed in and mismatch handling. +-BASE_FEATURE(kFedCmIdpSigninStatusEnabled, // disabled ++BASE_FEATURE(kFedCmIdpSigninStatusEnabled, // enabled + "FedCmIdpSigninStatusEnabled", // by default +- base::FEATURE_DISABLED_BY_DEFAULT); // on bromite ++ base::FEATURE_ENABLED_BY_DEFAULT); // on bromite + + // Enables the MDocs API in the IdentityCredential. + BASE_FEATURE(kWebIdentityMDocs, diff --git a/third_party/blink/renderer/platform/runtime_enabled_features.json5 b/third_party/blink/renderer/platform/runtime_enabled_features.json5 --- a/third_party/blink/renderer/platform/runtime_enabled_features.json5 +++ b/third_party/blink/renderer/platform/runtime_enabled_features.json5