Bug 997820 - part 1.1 - really disable telemetry during reftests; r=ted

This commit is contained in:
Nathan Froyd 2014-04-24 09:37:21 -04:00
parent d658215777
commit e7dcc24c18
2 changed files with 4 additions and 2 deletions

View File

@ -46,5 +46,3 @@
// reflow so that that rare edge case doesn't lead to reftest
// failures.
branch.setBoolPref("layout.interruptible-reflow.enabled", false);
// Don't try to connect to the telemetry server.
branch.setBoolPref("toolkit.telemetry.enabled", false);

View File

@ -165,6 +165,10 @@ class RefTest(object):
prefs['reftest.shuffle'] = True
prefs['reftest.focusFilterMode'] = options.focusFilterMode
# Ensure that telemetry is disabled, so we don't connect to the telemetry
# server in the middle of the tests.
prefs['toolkit.telemetry.enabled'] = False
if options.e10s:
prefs['browser.tabs.remote.autostart'] = True