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:
Gavin Sharp 2015-01-05 13:04:05 -08:00
Родитель a4adf2fde1
Коммит 9793510ef5
1 изменённых файлов: 5 добавлений и 0 удалений

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

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