summaryrefslogtreecommitdiff
path: root/layout/tools
diff options
context:
space:
mode:
authorPale Moon <git-repo@palemoon.org>2014-06-14 15:36:34 +0200
committerPale Moon <git-repo@palemoon.org>2014-06-14 15:36:34 +0200
commitd9753760035c10b2f7ed6e865fd82a11c745cd98 (patch)
treeaea34ae11fd252188396c4a38670391379d90445 /layout/tools
parent8a58d1e63499aa031276603b6414165a31c74d6a (diff)
downloadpalemoon-gre-d9753760035c10b2f7ed6e865fd82a11c745cd98.tar.gz
Update some tests.
Diffstat (limited to 'layout/tools')
-rw-r--r--layout/tools/reftest/runreftest.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/layout/tools/reftest/runreftest.py b/layout/tools/reftest/runreftest.py
index 683b0a1a1..c16955a6f 100644
--- a/layout/tools/reftest/runreftest.py
+++ b/layout/tools/reftest/runreftest.py
@@ -74,6 +74,12 @@ class RefTest(object):
# Ensure that telemetry is disabled, so we don't connect to the telemetry
# server in the middle of the tests.
prefsFile.write('user_pref("toolkit.telemetry.enabled", false);\n')
+ # Likewise for safebrowsing.
+ prefsFile.write('user_pref("browser.safebrowsing.enabled", false);\n')
+ prefsFile.write('user_pref("browser.safebrowsing.malware.enabled", false);\n')
+ # And for snippets.
+ prefsFile.write('user_pref("browser.snippets.enabled", false);\n')
+ prefsFile.write('user_pref("browser.snippets.syncPromo.enabled", false);\n')
for v in options.extraPrefs:
thispref = v.split("=")