Bug 1496671 - Final pref changes for Content Blocking in Firefox 63. r=Gijs,baku

Differential Revision: https://phabricator.services.mozilla.com/D8068

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Johann Hofmann 2018-10-09 13:26:24 +00:00
Родитель 791ac47786
Коммит 8794f35242
2 изменённых файлов: 11 добавлений и 7 удалений

Просмотреть файл

@ -1503,11 +1503,21 @@ pref("media.gmp-provider.enabled", true);
pref("browser.contentblocking.allowlist.storage.enabled", true);
#ifdef NIGHTLY_BUILD
pref("browser.contentblocking.global-toggle.enabled", true);
#else
pref("browser.contentblocking.global-toggle.enabled", false);
#endif
// Define a set of default features for the Content Blocking UI
#ifdef EARLY_BETA_OR_EARLIER
pref("browser.contentblocking.fastblock.ui.enabled", true);
pref("browser.contentblocking.fastblock.control-center.ui.enabled", true);
#else
pref("browser.contentblocking.fastblock.ui.enabled", false);
pref("browser.contentblocking.fastblock.control-center.ui.enabled", false);
#endif
pref("browser.contentblocking.trackingprotection.ui.enabled", true);
pref("browser.contentblocking.trackingprotection.control-center.ui.enabled", true);
pref("browser.contentblocking.rejecttrackers.ui.enabled", true);

Просмотреть файл

@ -1617,18 +1617,12 @@ VARCACHE_PREF(
bool, true
)
#ifdef NIGHTLY_BUILD
# define PREF_VALUE true
#else
# define PREF_VALUE false
#endif
// Whether Content Blocking UI has been enabled.
VARCACHE_PREF(
"browser.contentblocking.ui.enabled",
browser_contentblocking_ui_enabled,
bool, PREF_VALUE
bool, true
)
#undef PREF_VALUE
// Whether Content Blocking Third-Party Cookies UI has been enabled.
VARCACHE_PREF(