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-19 18:19:44 +00:00
Родитель d25e85fb5d
Коммит df03e8380b
4 изменённых файлов: 8 добавлений и 1 удалений

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

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