Bug 1381569 - Turn on Activity Stream by default for Nightly. r=mconley draft
authorEd Lee <edilee@mozilla.com>
Mon, 17 Jul 2017 10:53:20 -0700
changeset 610083 fd4cbe309224731fb2f78860fd4c659383c86e5b
parent 610082 26e9eca7208d76a6d10b3bd054b5b9862bbed3eb
child 637772 e8a6eff1931170aa47a8110790feb5bfe34e45cb
push id68794
push userbmo:edilee@mozilla.com
push dateMon, 17 Jul 2017 23:15:47 +0000
reviewersmconley
bugs1381569
milestone56.0a1
Bug 1381569 - Turn on Activity Stream by default for Nightly. r=mconley MozReview-Commit-ID: Bsv1hIigZ0K
browser/app/profile/firefox.js
browser/extensions/activity-stream/moz.build
browser/extensions/activity-stream/test/functional/mochitest/browser.ini
--- a/browser/app/profile/firefox.js
+++ b/browser/app/profile/firefox.js
@@ -1271,17 +1271,21 @@ pref("browser.newtabpage.rows", 3);
 
 // number of columns of newtab grid
 pref("browser.newtabpage.columns", 5);
 
 // directory tiles download URL
 pref("browser.newtabpage.directory.source", "https://tiles.services.mozilla.com/v3/links/fetch/%LOCALE%/%CHANNEL%");
 
 // activates Activity Stream
+#ifdef NIGHTLY_BUILD
+pref("browser.newtabpage.activity-stream.enabled", true);
+#else
 pref("browser.newtabpage.activity-stream.enabled", false);
+#endif
 
 // Enable the DOM fullscreen API.
 pref("full-screen-api.enabled", true);
 
 // Startup Crash Tracking
 // number of startup crashes that can occur before starting into safe mode automatically
 // (this pref has no effect if more than 6 hours have passed since the last crash)
 pref("toolkit.startup.max_resumed_crashes", 3);
--- a/browser/extensions/activity-stream/moz.build
+++ b/browser/extensions/activity-stream/moz.build
@@ -11,8 +11,10 @@ FINAL_TARGET_FILES.features['activity-st
   'bootstrap.js',
 ]
 
 FINAL_TARGET_PP_FILES.features['activity-stream@mozilla.org'] += [
   'install.rdf.in'
 ]
 
 JAR_MANIFESTS += ['jar.mn']
+
+BROWSER_CHROME_MANIFESTS += ['test/functional/mochitest/browser.ini']
--- a/browser/extensions/activity-stream/test/functional/mochitest/browser.ini
+++ b/browser/extensions/activity-stream/test/functional/mochitest/browser.ini
@@ -1,12 +1,8 @@
 [DEFAULT]
-# XXX This defaults to forcing activity-stream tests to be skipped in m-c,
-# since, as of this writing, mozilla-central itself is still turned off.
-# The tests can be run locally using 'npm run mochitest' which does various
-# overrides.
-skip-if=!activity_stream
+skip-if=!nightly_build
 support-files =
   blue_page.html
 
 [browser_as_load_location.js]
 [browser_getScreenshots.js]
 skip-if=true # issue 2851