bug 1443572 draft
authorAkshita <akshitadvlp@gmail.com>
Mon, 19 Mar 2018 12:30:15 +0530
changeset 771613 32299726fb52c4610431da6ded8ae2c58877c10e
parent 765972 8863806b9e28e9a5267c34c2e000f3cc0265f944
push id103733
push userbmo:akshitadvlp@gmail.com
push dateFri, 23 Mar 2018 15:41:00 +0000
bugs1443572
milestone60.0a1
bug 1443572 MozReview-Commit-ID: 4QPtsi70IHz
testing/geckodriver/src/prefs.rs
testing/marionette/client/marionette_driver/geckoinstance.py
testing/marionette/components/marionette.js
--- a/testing/geckodriver/src/prefs.rs
+++ b/testing/geckodriver/src/prefs.rs
@@ -13,16 +13,19 @@ lazy_static! {
         // tends to be slower than production environments (with the
         // b2g emulator being the slowest of them all), resulting in the
         // production timeout value sometimes being exceeded and causing
         // false-positive test failures.
         //
         // (bug 1176798, bug 1177018, bug 1210465)
         ("apz.content_response_timeout", Pref::new(60000)),
 
+        // (bug 1443572)
+        ("browser.onboarding.enabled", Pref::new(false)),
+
         // Enable the dump function, which sends messages to the system
         // console
         ("browser.dom.window.dump.enabled", Pref::new(true)),
 
         // Indicate that the download panel has been shown once so
         // that whichever download test runs first does not show the popup
         // inconsistently
         ("browser.download.panel.shown", Pref::new(true)),
--- a/testing/marionette/client/marionette_driver/geckoinstance.py
+++ b/testing/marionette/client/marionette_driver/geckoinstance.py
@@ -360,16 +360,19 @@ class FennecInstance(GeckoInstance):
         # Enable output of dump()
         "browser.dom.window.dump.enabled": True,
 
         # Disable Android snippets
         "browser.snippets.enabled": False,
         "browser.snippets.syncPromo.enabled": False,
         "browser.snippets.firstrunHomepage.enabled": False,
 
+        # (bug 1443572)
+        "browser.onboarding.enabled", False,
+
         # Disable safebrowsing components
         "browser.safebrowsing.blockedURIs.enabled": False,
         "browser.safebrowsing.downloads.enabled": False,
         "browser.safebrowsing.passwords.enabled": False,
         "browser.safebrowsing.malware.enabled": False,
         "browser.safebrowsing.phishing.enabled": False,
 
         # Do not restore the last open set of tabs if the browser has crashed
@@ -482,16 +485,19 @@ class FennecInstance(GeckoInstance):
                 traceback.print_exception(*sys.exc_info())
 
 
 class DesktopInstance(GeckoInstance):
     desktop_prefs = {
         # Disable application updates
         "app.update.enabled": False,
 
+        # (bug 1443572)
+        "browser.onboarding.enabled", False,
+
         # Enable output of dump()
         "browser.dom.window.dump.enabled": True,
 
         # Indicate that the download panel has been shown once so that whichever
         # download test runs first doesn"t show the popup inconsistently
         "browser.download.panel.shown": True,
 
         # Do not show the EULA notification which can interfer with tests
--- a/testing/marionette/components/marionette.js
+++ b/testing/marionette/components/marionette.js
@@ -70,16 +70,19 @@ const RECOMMENDED_PREFS = new Map([
   // This is to accommodate the fact that test environments tends to be
   // slower than production environments (with the b2g emulator being
   // the slowest of them all), resulting in the production timeout value
   // sometimes being exceeded and causing false-positive test failures.
   //
   // (bug 1176798, bug 1177018, bug 1210465)
   ["apz.content_response_timeout", 60000],
 
+  // (bug 1443572)
+  ["browser.onboarding.enabled", false],
+
   // Indicate that the download panel has been shown once so that
   // whichever download test runs first doesn't show the popup
   // inconsistently.
   ["browser.download.panel.shown", true],
 
   // Do not show the EULA notification.
   //
   // This should also be set in the profile prior to starting Firefox,