mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-28 12:45:27 +00:00
Bug 1115440 - Don't rely on preference values for firefox. r=markh
This commit is contained in:
parent
c6a10e7bb5
commit
5339f7076c
@ -205,7 +205,11 @@ function isSubObjectOf(expectedObj, actualObj) {
|
||||
// Expand the amount of information available in error logs
|
||||
Services.prefs.setBoolPref("browser.search.log", true);
|
||||
|
||||
// Disable geoip lookups
|
||||
// The geo-specific search tests assume certain prefs are already setup, which
|
||||
// might not be true when run in comm-central etc. So create them here.
|
||||
Services.prefs.setBoolPref("browser.search.geoSpecificDefaults", true);
|
||||
Services.prefs.setIntPref("browser.search.geoip.timeout", 2000);
|
||||
// But still disable geoip lookups - tests that need it will re-configure this.
|
||||
Services.prefs.setCharPref("browser.search.geoip.url", "");
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user