mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-07 18:04:46 +00:00
Bug 1719755 - Get sponsored topsites data from Contile by default r=dao,webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D119462
This commit is contained in:
parent
08dccdd536
commit
8c5d5ad8f6
@ -1416,7 +1416,7 @@ pref("prompts.defaultModalType", 3);
|
||||
|
||||
pref("browser.topsites.useRemoteSetting", true);
|
||||
// Fetch sponsored Top Sites from Mozilla Tiles Service (Contile)
|
||||
pref("browser.topsites.contile.enabled", false);
|
||||
pref("browser.topsites.contile.enabled", true);
|
||||
pref("browser.topsites.contile.endpoint", "https://contile.services.mozilla.com/v1/tiles");
|
||||
|
||||
// The base URL for the Quick Suggest anonymizing proxy. To make a request to
|
||||
|
@ -258,6 +258,9 @@ const COMMON_PREFERENCES = new Map([
|
||||
|
||||
// Prevent starting into safe mode after application crashes
|
||||
["toolkit.startup.max_resumed_crashes", -1],
|
||||
|
||||
// Make sure Topsites doesn't hit the network to retrieve tiles from Contile.
|
||||
["browser.topsites.contile.enabled", false],
|
||||
]);
|
||||
|
||||
const RecommendedPreferences = {
|
||||
|
@ -112,6 +112,8 @@ class GeckoInstance(object):
|
||||
"toolkit.startup.max_resumed_crashes": -1,
|
||||
# Enabling the support for File object creation in the content process.
|
||||
"dom.file.createInChild": True,
|
||||
# Don't pull Top Sites content from the network
|
||||
"browser.topsites.contile.enabled": False,
|
||||
}
|
||||
|
||||
def __init__(
|
||||
|
@ -76,3 +76,5 @@ user_pref("geo.provider.network.compare.url", "");
|
||||
user_pref("browser.region.network.url", "");
|
||||
// Do not unload tabs on low memory when testing
|
||||
user_pref("browser.tabs.unloadOnLowMemory", false);
|
||||
// Don't pull Top Sites content from the network
|
||||
user_pref("browser.topsites.contile.endpoint", "http://localhost/contile-dummy/v1");
|
||||
|
@ -36,3 +36,5 @@ user_pref("network.cookie.sameSite.laxByDefault", false);
|
||||
// Bug 455077 - Ensure we use sRGB as the output profile for test consistency.
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user