[tor-commits] [tor-browser/esr24] Bug 997820 - Properly set the reftest pref on esr24. a=bustage

mikeperry at torproject.org mikeperry at torproject.org
Fri Aug 29 05:26:40 UTC 2014


commit 6317e1c9d1d835fffbbcb3a871d52681038de416
Author: Ryan VanderMeulen <ryanvm at gmail.com>
Date:   Tue Apr 29 10:50:52 2014 -0400

    Bug 997820 - Properly set the reftest pref on esr24. a=bustage
---
 layout/tools/reftest/runreftest.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/layout/tools/reftest/runreftest.py b/layout/tools/reftest/runreftest.py
index 70323a7..683b0a1 100644
--- a/layout/tools/reftest/runreftest.py
+++ b/layout/tools/reftest/runreftest.py
@@ -73,7 +73,7 @@ class RefTest(object):
 
     # 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
+    prefsFile.write('user_pref("toolkit.telemetry.enabled", false);\n')
 
     for v in options.extraPrefs:
       thispref = v.split("=")





More information about the tor-commits mailing list