Bug 1523703 - Part 2. Set discovery stream pref to [] for tests r=andreio
authork88hudson <k88hudson@gmail.com>
Thu, 07 Feb 2019 18:44:26 +0000
changeset 457656 1b2817234164d9a6fd06e993495af9558dceda2a
parent 457655 55f7952d947c940951cb04bc2da69b9a3779f5da
child 457657 858b4a542bf417cdefb380bc293be7a523d67bea
push id35516
push userrmaries@mozilla.com
push dateFri, 08 Feb 2019 04:23:26 +0000
treeherdermozilla-central@d599d1a73a3a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersandreio
bugs1523703
milestone67.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 1523703 - Part 2. Set discovery stream pref to [] for tests r=andreio Differential Revision: https://phabricator.services.mozilla.com/D18992
testing/profiles/common/user.js
--- a/testing/profiles/common/user.js
+++ b/testing/profiles/common/user.js
@@ -5,16 +5,18 @@ user_pref("app.update.disabledForTesting
 user_pref("browser.chrome.guess_favicon", false);
 user_pref("browser.dom.window.dump.enabled", true);
 user_pref("devtools.console.stdout.chrome", true);
 // Use a python-eval-able empty JSON array even though asrouter expects plain object
 user_pref("browser.newtabpage.activity-stream.asrouter.providers.snippets", "[]");
 user_pref("browser.newtabpage.activity-stream.feeds.section.topstories", false);
 user_pref("browser.newtabpage.activity-stream.feeds.snippets", false);
 user_pref("browser.newtabpage.activity-stream.tippyTop.service.endpoint", "");
+user_pref("browser.newtabpage.activity-stream.discoverystream.config", "[]");
+
 // For Activity Stream firstrun page, use an empty string to avoid fetching.
 user_pref("browser.newtabpage.activity-stream.fxaccounts.endpoint", "");
 // Background thumbnails in particular cause grief, and disabling thumbnails
 // in general can't hurt - we re-enable them when tests need them.
 user_pref("browser.pagethumbnails.capturing_disabled", true);
 // Tell the search service we are running in the US.  This also has the desired
 // side-effect of preventing our geoip lookup.
 user_pref("browser.search.region", "US");