Bug 1518469 - Enable new about:debugging by default;r=ladybenko
authorJulian Descottes <jdescottes@mozilla.com>
Fri, 29 Mar 2019 17:48:19 +0000
changeset 466799 4039a7cad5d80a18a4e687963e2850c803e3083f
parent 466798 78a419376c0c38cd462c096f05d2e0fcd5924e16
child 466800 97f6ade10460b0d2e528418afd52a843acc28cdd
push id35780
push useropoprus@mozilla.com
push dateFri, 29 Mar 2019 21:53:01 +0000
treeherdermozilla-central@414f37afbe07 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersladybenko
bugs1518469
milestone68.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1518469 - Enable new about:debugging by default;r=ladybenko Differential Revision: https://phabricator.services.mozilla.com/D25061
devtools/client/aboutdebugging/test/head.js
devtools/client/preferences/devtools-client.js
--- a/devtools/client/aboutdebugging/test/head.js
+++ b/devtools/client/aboutdebugging/test/head.js
@@ -12,16 +12,19 @@ Services.scriptloader.loadSubScript(
   "chrome://mochitests/content/browser/devtools/client/shared/test/shared-head.js",
   this);
 
 const { AddonManager } = ChromeUtils.import("resource://gre/modules/AddonManager.jsm");
 const { Management } = ChromeUtils.import("resource://gre/modules/Extension.jsm", null);
 const { ExtensionTestCommon } = ChromeUtils.import("resource://testing-common/ExtensionTestCommon.jsm");
 
 async function openAboutDebugging(page, win) {
+  info("Turn off the new about:debugging for the test");
+  await pushPref("devtools.aboutdebugging.new-enabled", false);
+
   info("opening about:debugging");
   let url = "about:debugging";
   if (page) {
     url += "#" + page;
   }
 
   const tab = await addTab(url, { window: win });
   const browser = tab.linkedBrowser;
--- a/devtools/client/preferences/devtools-client.js
+++ b/devtools/client/preferences/devtools-client.js
@@ -338,17 +338,17 @@ pref("devtools.responsive.show-setting-t
 // Show the custom user agent input in Nightly builds.
 #if defined(NIGHTLY_BUILD)
 pref("devtools.responsive.showUserAgentInput", true);
 #else
 pref("devtools.responsive.showUserAgentInput", false);
 #endif
 
 // Enable new about:debugging.
-pref("devtools.aboutdebugging.new-enabled", false);
+pref("devtools.aboutdebugging.new-enabled", true);
 
 // 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