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:
Michael Cooper 2021-07-20 20:12:40 +00:00
parent 08dccdd536
commit 8c5d5ad8f6
5 changed files with 10 additions and 1 deletions

View File

@ -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

View File

@ -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 = {

View File

@ -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__(

View File

@ -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");

View File

@ -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);