Bug 1580871 - Enable editor mode in DevEdition. r=Honza. a=lizzard
authorNicolas Chevobbe <nchevobbe@mozilla.com>
Fri, 13 Sep 2019 08:23:18 +0000
changeset 555069 a32faba2e5e601fe9cf0f702a8b8be18444ff8ea
parent 555068 11d82c1441524922cbfaaa0464571a16cf4e9a8b
child 555070 d45c3cd5b904bf59827b0d92949ceddf5eb6658a
push id2165
push userffxbld-merge
push dateMon, 14 Oct 2019 16:30:58 +0000
treeherdermozilla-release@0eae18af659f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersHonza, lizzard
bugs1580871
milestone70.0
Bug 1580871 - Enable editor mode in DevEdition. r=Honza. a=lizzard Differential Revision: https://phabricator.services.mozilla.com/D45682
browser/app/profile/firefox.js
--- a/browser/app/profile/firefox.js
+++ b/browser/app/profile/firefox.js
@@ -2242,18 +2242,18 @@ pref("devtools.webconsole.timestampMessa
 
 // Enable the webconsole sidebar toggle in Nightly builds.
 #if defined(NIGHTLY_BUILD)
   pref("devtools.webconsole.sidebarToggle", true);
 #else
   pref("devtools.webconsole.sidebarToggle", false);
 #endif
 
-// Enable editor mode in the console in Nightly builds.
-#if defined(NIGHTLY_BUILD)
+// Enable editor mode in the console in Nightly and DevEdition builds.
+#if defined(NIGHTLY_BUILD) || defined(MOZ_DEV_EDITION)
   pref("devtools.webconsole.features.editor", true);
 #else
   pref("devtools.webconsole.features.editor", false);
 #endif
 
 // Saved editor mode state in the console.
 pref("devtools.webconsole.input.editor", false);