Bug 1395711: Enable dump() by default in local builds. r=jryans
authorKris Maglione <maglione.k@gmail.com>
Thu, 31 Aug 2017 13:16:07 -0700
changeset 378163 faa9ec784d9dfb36b5bd77e85fc93e034a03a004
parent 378162 eb75dcb49495d0aa4c4eac03193bf0f92fb6348e
child 378164 8411ec11c95e00c885d46c6b424438e18df4bf97
push id50200
push userarchaeopteryx@coole-files.de
push dateFri, 01 Sep 2017 08:44:00 +0000
treeherderautoland@10bb5830a5b2 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjryans
bugs1395711
milestone57.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 1395711: Enable dump() by default in local builds. r=jryans MozReview-Commit-ID: 5tUaoLcT6ZS
modules/libpref/init/all.js
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -1046,20 +1046,23 @@ sticky_pref("devtools.debugger.prompt-co
 sticky_pref("devtools.debugger.prompt-connection", true);
 #endif
 
 #ifdef MOZILLA_OFFICIAL
 // Disable debugging chrome
 sticky_pref("devtools.chrome.enabled", false);
 // Disable remote debugging connections
 sticky_pref("devtools.debugger.remote-enabled", false);
+// enable JS dump() function.
+sticky_pref("browser.dom.window.dump.enabled", false);
 #else
 // In local builds, enable the browser toolbox by default
 sticky_pref("devtools.chrome.enabled", true);
 sticky_pref("devtools.debugger.remote-enabled", true);
+sticky_pref("browser.dom.window.dump.enabled", true);
 #endif
 
 
 // Disable remote debugging protocol logging
 pref("devtools.debugger.log", false);
 pref("devtools.debugger.log.verbose", false);
 
 pref("devtools.debugger.remote-port", 6000);
@@ -5172,19 +5175,16 @@ pref("media.ondevicechange.fakeDeviceCha
 // a no-op.
 pref("layout.css.touch_action.enabled", true);
 
 // Enables some assertions in nsStyleContext that are too expensive
 // for general use, but might be useful to enable for specific tests.
 // This only has an effect in DEBUG-builds.
 pref("layout.css.expensive-style-struct-assertions.enabled", false);
 
-// enable JS dump() function.
-pref("browser.dom.window.dump.enabled", false);
-
 #if defined(MOZ_WIDGET_ANDROID)
 // Network Information API
 pref("dom.netinfo.enabled", true);
 #else
 pref("dom.netinfo.enabled", false);
 #endif
 
 #ifdef XP_WIN