зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1117158 followup: disable GeoIP lookup in services/healthreport/tests/xpcshell/test_provider_searches.js to fix xpcshell bustage on CLOSED TREE
This commit is contained in:
Родитель
a4adf2fde1
Коммит
9793510ef5
|
@ -33,6 +33,11 @@ MockSearchesProvider.prototype = {
|
|||
};
|
||||
|
||||
function run_test() {
|
||||
// Tell the search service we are running in the US. This also has the
|
||||
// desired side-effect of preventing our geoip lookup.
|
||||
Services.prefs.setBoolPref("browser.search.isUS", true);
|
||||
Services.prefs.setCharPref("browser.search.countryCode", "US"); Services.prefs.setCharPref("browser.search.geoip.url", "");
|
||||
|
||||
run_next_test();
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче