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
parent 4e1a736f23
commit 7740e3972a

View File

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