Bug 1553028 - Fix the condition for enabling new aboutdebugging on DevEdition and Nightly r=jcristau a=jcristau l10n=flod
authorJulian Descottes <jdescottes@mozilla.com>
Tue, 21 May 2019 16:30:26 +0000
changeset 536392 0c54016947d1de23250a1cf002b97a0f875c726f
parent 536391 b0ba67e4a8a6a6ee657c65ef1be719167d3de19f
child 536393 27768d2aff06c3806922c5657d9f23020fdfcd4c
push id2082
push userffxbld-merge
push dateMon, 01 Jul 2019 08:34:18 +0000
treeherdermozilla-release@2fb19d0466d2 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjcristau, jcristau
bugs1553028
milestone68.0
Bug 1553028 - Fix the condition for enabling new aboutdebugging on DevEdition and Nightly r=jcristau a=jcristau l10n=flod Differential Revision: https://phabricator.services.mozilla.com/D32021
devtools/client/preferences/devtools-client.js
--- a/devtools/client/preferences/devtools-client.js
+++ b/devtools/client/preferences/devtools-client.js
@@ -344,20 +344,20 @@ pref("devtools.responsive.show-setting-t
 #if defined(NIGHTLY_BUILD)
 pref("devtools.responsive.showUserAgentInput", true);
 #else
 pref("devtools.responsive.showUserAgentInput", false);
 #endif
 
 // Enable new about:debugging in Nightly and DevEdition only.
 // Should ride the trains in Firefox 69. See Bug 1553042.
-#if defined(RELEASE_OR_BETA)
+#if defined(MOZ_DEV_EDITION) || defined(NIGHTLY_BUILD)
+pref("devtools.aboutdebugging.new-enabled", true);
+#else
 pref("devtools.aboutdebugging.new-enabled", false);
-#else
-pref("devtools.aboutdebugging.new-enabled", true);
 #endif
 
 // Show tab debug targets for This Firefox (on by default for local builds).
 #ifdef MOZILLA_OFFICIAL
   pref("devtools.aboutdebugging.local-tab-debugging", false);
 #else
   pref("devtools.aboutdebugging.local-tab-debugging", true);
 #endif