Bug 1433501 - Include marionette.debugging.clicktostart in prefs list. r?whimboo draft
authorAndreas Tolfsen <ato@sny.no>
Fri, 26 Jan 2018 17:03:32 +0000
changeset 747684 07fbd734e26a5b1fab9287e72d2133cbf872435e
parent 747683 96d12e3cb669e53c715d63bbe3c200eefd6169dc
push id96979
push userbmo:ato@sny.no
push dateFri, 26 Jan 2018 17:04:57 +0000
reviewerswhimboo
bugs1433501
milestone60.0a1
Bug 1433501 - Include marionette.debugging.clicktostart in prefs list. r?whimboo This includes the marionette.debugging.clicktostart preference we use when --jsdebugger is passed to "./mach marionette test" or geckodriver in the Marionette preference listing. This will expose it in about:config. MozReview-Commit-ID: 4iIcSR4LB7M
testing/marionette/prefs/marionette.js
--- a/testing/marionette/prefs/marionette.js
+++ b/testing/marionette/prefs/marionette.js
@@ -5,16 +5,20 @@
 /* global pref */
 
 // Marionette is the remote protocol that lets OOP programs communicate
 // with, instrument, and control Gecko.
 //
 // It is included in Firefox, but not enabled by default unless the
 // -marionette flag is passed.
 
+// Delay server startup until a modal dialogue has been clicked to
+// allow time for user to set breakpoints in Browser Toolbox.
+pref("marionette.debugging.clicktostart", false);
+
 // Marionette logging verbosity.  Allowed values are "fatal", "error",
 // "warn", "info", "config", "debug", and "trace".
 pref("marionette.log.level", "info");
 
 // Port to start Marionette server on.
 pref("marionette.port", 2828);
 
 // Sets preferences recommended when using Firefox in automation with