Bug 1355888 - Mark marionette.enabled pref in client as a deprecated; r?whimboo draft
authorAndreas Tolfsen <ato@mozilla.com>
Thu, 13 Apr 2017 15:08:49 +0100
changeset 571911 c6dd72d35baff4c8694ebc044fc02c03c413956d
parent 571910 ef7dcffe78ca40f880ade13f7cfaadabffdaed9f
child 571912 5c77e2694f8ac0269e6b333efd222212e21e73ac
push id56952
push userbmo:ato@mozilla.com
push dateWed, 03 May 2017 13:42:09 +0000
reviewerswhimboo
bugs1355888
milestone55.0a1
Bug 1355888 - Mark marionette.enabled pref in client as a deprecated; r?whimboo To preserve backwards compatibility for in-app restarts using Services.startup.quit(eRestart), we want to continue using the marionette.enabled preference in the Python client until the patch introducing the MARIONETTE environment variable (preceding this) makes it into an official release. This is due to the fact that the Marionette Python client is being used for upgrade tests, and it is needs to stay compatible with all release trains. MozReview-Commit-ID: KstsJRu4lIP
testing/marionette/client/marionette_driver/geckoinstance.py
--- a/testing/marionette/client/marionette_driver/geckoinstance.py
+++ b/testing/marionette/client/marionette_driver/geckoinstance.py
@@ -68,19 +68,20 @@ class GeckoInstance(object):
         "geo.wifi.scan": False,
 
         # No hang monitor
         "hangmonitor.timeout": 0,
 
         "javascript.options.showInConsole": True,
 
         # Enable Marionette component
+        # (deprecated and can be removed when Firefox 60 ships)
         "marionette.enabled": True,
-        # Deprecated, and can be removed in Firefox 60.0
         "marionette.defaultPrefs.enabled": True,
+
         # Disable recommended automation prefs in CI
         "marionette.prefs.recommended": False,
 
         "media.volume_scale": "0.01",
 
         # Make sure the disk cache doesn't get auto disabled
         "network.http.bypass-cachelock-threshold": 200000,
         # Do not prompt for temporary redirects