From 06a19eb62bec0c774f027895927b51aa39226d38 Mon Sep 17 00:00:00 2001 From: Paul Zuehlcke Date: Wed, 28 Sep 2022 17:06:39 +0000 Subject: [PATCH] Bug 1790100 - Enable cookie banner handling by default in Nightly in private browsing mode. r=timhuang Differential Revision: https://phabricator.services.mozilla.com/D157676 --- browser/app/profile/firefox.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/browser/app/profile/firefox.js b/browser/app/profile/firefox.js index 8e242d00e5e3..33440af56afb 100644 --- a/browser/app/profile/firefox.js +++ b/browser/app/profile/firefox.js @@ -2722,3 +2722,10 @@ pref("browser.places.snapshots.expiration.userManaged.days", 420); pref("browser.firefox-view.feature-tour", "{\"message\":\"FIREFOX_VIEW_FEATURE_TOUR\",\"screen\":\"FIREFOX_VIEW_SPOTLIGHT\",\"complete\":false}"); // Number of times the user visited about:firefoxview pref("browser.firefox-view.view-count", 0); + +// Enables cookie banner handling in Nightly in Private Browsing Mode. See +// StaticPrefList.yaml for a description of the prefs. +#ifdef NIGHTLY_BUILD + pref("cookiebanners.service.mode.privateBrowsing", 1); + pref("cookiebanners.bannerClicking.enabled", true); +#endif