diff --git a/browser/components/newtab/lib/OnboardingMessageProvider.jsm b/browser/components/newtab/lib/OnboardingMessageProvider.jsm index 6b2c6ad616e5..5b20b0071252 100644 --- a/browser/components/newtab/lib/OnboardingMessageProvider.jsm +++ b/browser/components/newtab/lib/OnboardingMessageProvider.jsm @@ -55,18 +55,6 @@ const L10N = new Localization([ const HOMEPAGE_PREF = "browser.startup.homepage"; const NEWTAB_PREF = "browser.newtabpage.enabled"; -/** - * return the retargeting delay in days for the cookiebanner nimbus experiment - */ -const cbhRetargetingDelay = () => { - const featureVal = lazy.NimbusFeatures.cookieBannerHandling.getVariable( - "retargetingDelayInDays" - ); - - if (!featureVal) return 1; - return featureVal; -}; - const BASE_MESSAGES = () => [ { id: "FXA_ACCOUNTS_BADGE", @@ -1058,7 +1046,7 @@ const BASE_MESSAGES = () => [ skip_address_bar_notifier: true, }, frequency: { - custom: [{ period: 24 * 60 * 60 * 1000 * cbhRetargetingDelay(), cap: 1 }], + custom: [{ period: 86400000, cap: 1 }], lifetime: 2, }, trigger: { @@ -1106,7 +1094,7 @@ const BASE_MESSAGES = () => [ skip_address_bar_notifier: true, }, frequency: { - custom: [{ period: 24 * 60 * 60 * 1000 * cbhRetargetingDelay(), cap: 1 }], + custom: [{ period: 86400000 * 2, cap: 1 }], lifetime: 2, }, trigger: { @@ -1154,7 +1142,7 @@ const BASE_MESSAGES = () => [ skip_address_bar_notifier: true, }, frequency: { - custom: [{ period: 24 * 60 * 60 * 1000 * cbhRetargetingDelay(), cap: 1 }], + custom: [{ period: 86400000 * 7, cap: 1 }], lifetime: 2, }, trigger: { diff --git a/toolkit/components/nimbus/FeatureManifest.yaml b/toolkit/components/nimbus/FeatureManifest.yaml index 643d428af3f6..0a84445e902f 100644 --- a/toolkit/components/nimbus/FeatureManifest.yaml +++ b/toolkit/components/nimbus/FeatureManifest.yaml @@ -952,9 +952,6 @@ cookieBannerHandling: desktopCfrVariant: type: int description: Which variant of the doorhanger the user should receive. 0=unenrolled; 1=control; 2=A; 3=B - retargetingDelayInDays: - type: int - description: How many days to wait before attempting to show the doorhanger a second time. accessibilityCache: description: Caches all accessibility information from all documents in the Firefox main process.