Bug 1434293 - Move mochitest off deprecated Marionette prefs. r?gbrown draft
authorAndreas Tolfsen <ato@sny.no>
Tue, 30 Jan 2018 18:37:07 +0000
changeset 748956 c9018ce7ee373e550f590ed76b5051fd1dceb5b2
parent 748899 fd995039d89708923b5673ecebc652967d40bd4e
push id97283
push userbmo:ato@sny.no
push dateTue, 30 Jan 2018 18:38:33 +0000
reviewersgbrown
bugs1434293
milestone60.0a1
Bug 1434293 - Move mochitest off deprecated Marionette prefs. r?gbrown The marionette.logging preference has been deprecated for some time. We will want to use the official marionette.log.level preference instead. Supported preferences are listed in testing/marionette/prefs/marionette.js. MozReview-Commit-ID: 4Z6OgqITe14
testing/mochitest/runtests.py
--- a/testing/mochitest/runtests.py
+++ b/testing/mochitest/runtests.py
@@ -1824,19 +1824,17 @@ toolbar#nav-bar {
             ('true' if options.nested_oop else 'false'))
 
         options.extraPrefs.append(
             "idle.lastDailyNotification=%d" %
             int(time.time()))
 
         # Enable tracing output for detailed failures in case of
         # failing connection attempts, and hangs (bug 1397201)
-        options.extraPrefs.append(
-            "marionette.logging=%s" %
-            "TRACE")
+        options.extraPrefs.append("marionette.log.level=%s" % "TRACE")
 
         # get extensions to install
         extensions = self.getExtensionsToInstall(options)
 
         # preferences
         preferences = [
             os.path.join(
                 SCRIPT_DIR,