forked from mirrors/gecko-dev
Bug 1900137 - Home and newtab turn on wallpaper for nightly r=home-newtab-reviewers,webdriver-reviewers,whimboo,nbarrett
Differential Revision: https://phabricator.services.mozilla.com/D212334
This commit is contained in:
parent
6a8043e4b1
commit
9f9cbb32d0
6 changed files with 22 additions and 5 deletions
|
|
@ -1713,7 +1713,11 @@ pref("browser.newtabpage.activity-stream.weather.display", "simple");
|
|||
#endif
|
||||
|
||||
// Preference to enable wallpaper selection in the Customize Menu of new tab page
|
||||
#ifdef NIGHTLY_BUILD
|
||||
pref("browser.newtabpage.activity-stream.newtabWallpapers.enabled", true);
|
||||
#else
|
||||
pref("browser.newtabpage.activity-stream.newtabWallpapers.enabled", false);
|
||||
#endif
|
||||
pref("browser.newtabpage.activity-stream.newtabWallpapers.v2.enabled", false);
|
||||
|
||||
// Current new tab page background images.
|
||||
|
|
|
|||
|
|
@ -81,6 +81,10 @@ add_setup(async function () {
|
|||
"browser.newtabpage.activity-stream.discoverystream.region-weather-config",
|
||||
""
|
||||
);
|
||||
Services.prefs.setBoolPref(
|
||||
"browser.newtabpage.activity-stream.newtabWallpapers.enabled",
|
||||
false
|
||||
);
|
||||
|
||||
let defaultDSConfig = JSON.parse(
|
||||
PREFS_CONFIG.get("discoverystream.config").getValue({
|
||||
|
|
|
|||
|
|
@ -109,6 +109,9 @@ const COMMON_PREFERENCES = new Map([
|
|||
"",
|
||||
],
|
||||
|
||||
// Make sure newtab wallpapers don't hit the network to retrieve wallpaper data.
|
||||
["browser.newtabpage.activity-stream.newtabWallpapers.enabled", false],
|
||||
|
||||
// Make sure Topsites doesn't hit the network to retrieve sponsored tiles.
|
||||
["browser.newtabpage.activity-stream.showSponsoredTopSites", false],
|
||||
|
||||
|
|
|
|||
|
|
@ -47,6 +47,8 @@ class GeckoInstance(object):
|
|||
"apz.content_response_timeout": 60000,
|
||||
# Don't pull weather data from the network
|
||||
"browser.newtabpage.activity-stream.discoverystream.region-weather-config": "",
|
||||
# Don't pull wallpaper content from the network
|
||||
"browser.newtabpage.activity-stream.newtabWallpapers.enabled": False,
|
||||
# Don't pull sponsored Top Sites content from the network
|
||||
"browser.newtabpage.activity-stream.showSponsoredTopSites": False,
|
||||
# Disable geolocation ping (#1)
|
||||
|
|
|
|||
|
|
@ -73,10 +73,12 @@ user_pref("browser.region.network.url", "");
|
|||
user_pref("browser.tabs.unloadOnLowMemory", false);
|
||||
// Don't pull Top Sites content from the network
|
||||
user_pref("browser.topsites.contile.enabled", false);
|
||||
// Don't pull sponsored Top Sites content from the network
|
||||
user_pref("browser.newtabpage.activity-stream.showSponsoredTopSites", false);
|
||||
// Don't pull weather data from the network
|
||||
user_pref("browser.newtabpage.activity-stream.discoverystream.region-weather-config", "");
|
||||
// Don't pull wallpaper content from the network
|
||||
user_pref("browser.newtabpage.activity-stream.newtabWallpapers.enabled", false);
|
||||
// Don't pull sponsored Top Sites content from the network
|
||||
user_pref("browser.newtabpage.activity-stream.showSponsoredTopSites", false);
|
||||
// Default Glean to "record but don't report" mode. Docs:
|
||||
// https://firefox-source-docs.mozilla.org/toolkit/components/glean/dev/preferences.html
|
||||
user_pref("telemetry.fog.test.localhost_port", -1);
|
||||
|
|
|
|||
|
|
@ -33,10 +33,12 @@ user_pref("gfx.color_management.force_srgb", true);
|
|||
user_pref("gfx.color_management.mode", 1);
|
||||
// Don't enable remote tiles on new-tab pages in xpcshell
|
||||
user_pref("browser.topsites.contile.enabled", false);
|
||||
// Don't pull sponsored Top Sites content from the network
|
||||
user_pref("browser.newtabpage.activity-stream.showSponsoredTopSites", false);
|
||||
// Don't pull weather data from the network
|
||||
user_pref("browser.newtabpage.activity-stream.discoverystream.region-weather-config", "");
|
||||
// Don't pull wallpaper content from the network
|
||||
user_pref("browser.newtabpage.activity-stream.newtabWallpapers.enabled", false);
|
||||
// Don't pull sponsored Top Sites content from the network
|
||||
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("preferences.force-disable.check.once.policy", true);
|
||||
// Turn off update
|
||||
|
|
|
|||
Loading…
Reference in a new issue