Bug 1382719 - Disable Activity Stream telemetry during test runs to avoid nonlocal connection crashes. r=dmose, a=RyanVM
authorEd Lee <edilee@mozilla.com>
Thu, 20 Jul 2017 11:01:16 -0700
changeset 369827 7d2e89fb92331d7e4296391213c1e63db628e046
parent 369826 d3ebc6448a62d38b134e957eb4fd5c2565ad40b8
child 369928 0faada5c2f308f101ab7c54a87b3dce80b97d0e3
push id32207
push userryanvm@gmail.com
push dateThu, 20 Jul 2017 21:51:18 +0000
treeherdermozilla-central@7d2e89fb9233 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdmose, RyanVM
bugs1382719
milestone56.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 1382719 - Disable Activity Stream telemetry during test runs to avoid nonlocal connection crashes. r=dmose, a=RyanVM MozReview-Commit-ID: 9KLcjpnh2Jp
testing/profiles/prefs_general.js
testing/talos/talos/config.py
--- a/testing/profiles/prefs_general.js
+++ b/testing/profiles/prefs_general.js
@@ -292,16 +292,17 @@ user_pref("browser.translation.bing.tran
 user_pref("browser.translation.yandex.translateURLOverride", "http://%(server)s/browser/browser/components/translation/test/yandex.sjs");
 user_pref("browser.translation.engine", "bing");
 
 // Make sure we don't try to load snippets from the network.
 user_pref("browser.aboutHomeSnippets.updateUrl", "nonexistent://test");
 
 // Use an empty list of sites to avoid fetching
 user_pref("browser.newtabpage.activity-stream.default.sites", "");
+user_pref("browser.newtabpage.activity-stream.telemetry", false);
 
 // Don't fetch directory tiles data from real servers
 user_pref("browser.newtabpage.directory.source", 'data:application/json,{"testing":1}');
 
 // Ensure UITour won't hit the network
 user_pref("browser.uitour.pinnedTabUrl", "http://%(server)s/uitour-dummy/pinnedTab");
 user_pref("browser.uitour.url", "http://%(server)s/uitour-dummy/tour");
 
--- a/testing/talos/talos/config.py
+++ b/testing/talos/talos/config.py
@@ -92,16 +92,17 @@ DEFAULTS = dict(
         'network.proxy.http_port': 80,
         'network.proxy.type': 1,
         'security.enable_java': False,
         'security.fileuri.strict_origin_policy': False,
         'dom.send_after_paint_to_content': True,
         'security.turn_off_all_security_so_that_viruses_can_'
         'take_over_this_computer': True,
         'browser.newtabpage.activity-stream.default.sites': '',
+        'browser.newtabpage.activity-stream.telemetry': False,
         'browser.newtabpage.directory.source':
             '${webserver}/directoryLinks.json',
         'browser.newtabpage.introShown': True,
         'browser.safebrowsing.downloads.remote.url':
             'http://127.0.0.1/safebrowsing-dummy/downloads',
         'browser.safebrowsing.provider.google.gethashURL':
             'http://127.0.0.1/safebrowsing-dummy/gethash',
         'browser.safebrowsing.provider.google.updateURL':