Bug 1025959 - disable checks for webapp updates during tests; r=jmaher

This commit is contained in:
Nathan Froyd 2014-06-16 11:47:05 -04:00
parent 85647df24b
commit 80ad2a9bd1
3 changed files with 6 additions and 0 deletions

View File

@ -28,3 +28,4 @@ user_pref("browser.safebrowsing.malware.enabled", false);
user_pref("browser.snippets.enabled", false);
user_pref("browser.snippets.syncPromo.enabled", false);
user_pref("general.useragent.updates.enabled", false);
user_pref("browser.webapps.checkForUpdates", 0);

View File

@ -176,6 +176,8 @@ class RefTest(object):
prefs['browser.snippets.syncPromo.enabled'] = False
# And for useragent updates.
prefs['general.useragent.updates.enabled'] = False
# And for webapp updates. Yes, it is supposed to be an integer.
prefs['browser.webapps.checkForUpdates'] = 0
if options.e10s:
prefs['browser.tabs.remote.autostart'] = True

View File

@ -175,6 +175,9 @@ user_pref("browser.snippets.syncPromo.enabled", false);
// Disable useragent updates.
user_pref("general.useragent.updates.enabled", false);
// Disable webapp updates. Yes, it is supposed to be an integer.
user_pref("browser.webapps.checkForUpdates", 0);
// Do not turn HTTP cache v2 for our infra tests (some tests are failing)
user_pref("browser.cache.use_new_backend_temp", false);