Bug 1042876 - Reftest bustage to correctly disable remote connections for reftests [r=froydnj]
authorEd Lee <edilee@mozilla.com>
Fri, 22 Aug 2014 18:05:09 -0700
changeset 201233 d5cb280f36bfc428c16e406e5203bc78450ac15f
parent 201232 bc145686164efb07985e3b43c164af1d9f2589f2
child 201234 456567bc1a2b39a01df184f30a5178e2c17adad1
push id27365
push userryanvm@gmail.com
push dateMon, 25 Aug 2014 15:24:30 +0000
treeherdermozilla-central@23c70481ed91 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersfroydnj
bugs1042876
milestone34.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1042876 - Reftest bustage to correctly disable remote connections for reftests [r=froydnj]
layout/tools/reftest/runreftest.py
--- a/layout/tools/reftest/runreftest.py
+++ b/layout/tools/reftest/runreftest.py
@@ -174,16 +174,19 @@ class RefTest(object):
     # And for snippets.
     prefs['browser.snippets.enabled'] = False
     prefs['browser.snippets.syncPromo.enabled'] = False
     prefs['browser.snippets.firstrunHomepage.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
+    # And for about:newtab content fetch and pings.
+    prefs['browser.newtabpage.directory.source'] = 'data:application/json,{"reftest":1}'
+    prefs['browser.newtabpage.directory.ping'] = ''
 
     if options.e10s:
       prefs['browser.tabs.remote.autostart'] = True
 
     for v in options.extraPrefs:
       thispref = v.split('=')
       if len(thispref) < 2:
         print "Error: syntax error in --setpref=" + v