Bug 1899782 - flip wallpaper v2 pref for nightly r=home-newtab-reviewers,thecount,webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D214999
This commit is contained in:
@@ -1732,10 +1732,11 @@ pref("browser.newtabpage.activity-stream.weather.display", "simple");
|
|||||||
// Preference to enable wallpaper selection in the Customize Menu of new tab page
|
// Preference to enable wallpaper selection in the Customize Menu of new tab page
|
||||||
#ifdef NIGHTLY_BUILD
|
#ifdef NIGHTLY_BUILD
|
||||||
pref("browser.newtabpage.activity-stream.newtabWallpapers.enabled", true);
|
pref("browser.newtabpage.activity-stream.newtabWallpapers.enabled", true);
|
||||||
|
pref("browser.newtabpage.activity-stream.newtabWallpapers.v2.enabled", true);
|
||||||
#else
|
#else
|
||||||
|
pref("browser.newtabpage.activity-stream.newtabWallpapers.v2.enabled", false);
|
||||||
pref("browser.newtabpage.activity-stream.newtabWallpapers.enabled", false);
|
pref("browser.newtabpage.activity-stream.newtabWallpapers.enabled", false);
|
||||||
#endif
|
#endif
|
||||||
pref("browser.newtabpage.activity-stream.newtabWallpapers.v2.enabled", false);
|
|
||||||
|
|
||||||
// Current new tab page background images.
|
// Current new tab page background images.
|
||||||
pref("browser.newtabpage.activity-stream.newtabWallpapers.wallpaper-light", "");
|
pref("browser.newtabpage.activity-stream.newtabWallpapers.wallpaper-light", "");
|
||||||
|
|||||||
@@ -85,6 +85,10 @@ add_setup(async function () {
|
|||||||
"browser.newtabpage.activity-stream.newtabWallpapers.enabled",
|
"browser.newtabpage.activity-stream.newtabWallpapers.enabled",
|
||||||
false
|
false
|
||||||
);
|
);
|
||||||
|
Services.prefs.setBoolPref(
|
||||||
|
"browser.newtabpage.activity-stream.newtabWallpapers.v2.enabled",
|
||||||
|
false
|
||||||
|
);
|
||||||
|
|
||||||
let defaultDSConfig = JSON.parse(
|
let defaultDSConfig = JSON.parse(
|
||||||
PREFS_CONFIG.get("discoverystream.config").getValue({
|
PREFS_CONFIG.get("discoverystream.config").getValue({
|
||||||
|
|||||||
@@ -111,6 +111,7 @@ const COMMON_PREFERENCES = new Map([
|
|||||||
|
|
||||||
// Make sure newtab wallpapers don't hit the network to retrieve wallpaper data.
|
// Make sure newtab wallpapers don't hit the network to retrieve wallpaper data.
|
||||||
["browser.newtabpage.activity-stream.newtabWallpapers.enabled", false],
|
["browser.newtabpage.activity-stream.newtabWallpapers.enabled", false],
|
||||||
|
["browser.newtabpage.activity-stream.newtabWallpapers.v2.enabled", false],
|
||||||
|
|
||||||
// Make sure Topsites doesn't hit the network to retrieve sponsored tiles.
|
// Make sure Topsites doesn't hit the network to retrieve sponsored tiles.
|
||||||
["browser.newtabpage.activity-stream.showSponsoredTopSites", false],
|
["browser.newtabpage.activity-stream.showSponsoredTopSites", false],
|
||||||
|
|||||||
@@ -49,6 +49,7 @@ class GeckoInstance(object):
|
|||||||
"browser.newtabpage.activity-stream.discoverystream.region-weather-config": "",
|
"browser.newtabpage.activity-stream.discoverystream.region-weather-config": "",
|
||||||
# Don't pull wallpaper content from the network
|
# Don't pull wallpaper content from the network
|
||||||
"browser.newtabpage.activity-stream.newtabWallpapers.enabled": False,
|
"browser.newtabpage.activity-stream.newtabWallpapers.enabled": False,
|
||||||
|
"browser.newtabpage.activity-stream.newtabWallpapers.v2.enabled": False,
|
||||||
# Don't pull sponsored Top Sites content from the network
|
# Don't pull sponsored Top Sites content from the network
|
||||||
"browser.newtabpage.activity-stream.showSponsoredTopSites": False,
|
"browser.newtabpage.activity-stream.showSponsoredTopSites": False,
|
||||||
# Disable geolocation ping (#1)
|
# Disable geolocation ping (#1)
|
||||||
|
|||||||
@@ -77,6 +77,7 @@ user_pref("browser.topsites.contile.enabled", false);
|
|||||||
user_pref("browser.newtabpage.activity-stream.discoverystream.region-weather-config", "");
|
user_pref("browser.newtabpage.activity-stream.discoverystream.region-weather-config", "");
|
||||||
// Don't pull wallpaper content from the network
|
// Don't pull wallpaper content from the network
|
||||||
user_pref("browser.newtabpage.activity-stream.newtabWallpapers.enabled", false);
|
user_pref("browser.newtabpage.activity-stream.newtabWallpapers.enabled", false);
|
||||||
|
user_pref("browser.newtabpage.activity-stream.newtabWallpapers.v2.enabled", false);
|
||||||
// Don't pull sponsored Top Sites content from the network
|
// Don't pull sponsored Top Sites content from the network
|
||||||
user_pref("browser.newtabpage.activity-stream.showSponsoredTopSites", false);
|
user_pref("browser.newtabpage.activity-stream.showSponsoredTopSites", false);
|
||||||
// Default Glean to "record but don't report" mode, and to never trigger
|
// Default Glean to "record but don't report" mode, and to never trigger
|
||||||
|
|||||||
@@ -42,6 +42,7 @@ user_pref("browser.topsites.contile.enabled", false);
|
|||||||
user_pref("browser.newtabpage.activity-stream.discoverystream.region-weather-config", "");
|
user_pref("browser.newtabpage.activity-stream.discoverystream.region-weather-config", "");
|
||||||
// Don't pull wallpaper content from the network
|
// Don't pull wallpaper content from the network
|
||||||
user_pref("browser.newtabpage.activity-stream.newtabWallpapers.enabled", false);
|
user_pref("browser.newtabpage.activity-stream.newtabWallpapers.enabled", false);
|
||||||
|
user_pref("browser.newtabpage.activity-stream.newtabWallpapers.v2.enabled", false);
|
||||||
// Don't pull sponsored Top Sites content from the network
|
// Don't pull sponsored Top Sites content from the network
|
||||||
user_pref("browser.newtabpage.activity-stream.showSponsoredTopSites", false);
|
user_pref("browser.newtabpage.activity-stream.showSponsoredTopSites", false);
|
||||||
user_pref("security.turn_off_all_security_so_that_viruses_can_take_over_this_computer", true);
|
user_pref("security.turn_off_all_security_so_that_viruses_can_take_over_this_computer", true);
|
||||||
|
|||||||
Reference in New Issue
Block a user