Bug 1407230 - Don't set devtools.debugger.client-source-maps-enabled pref; r=jdescottes
authorTom Tromey <tom@tromey.com>
Tue, 10 Oct 2017 07:35:49 -0600
changeset 385367 a94bf3908a349df271d6b090e8391a386ef29252
parent 385366 e464d1cc05a6cc106bd96fd2e48676f5574e0096
child 385368 447614924cd21b68c55aef75f500e2659c9962f5
push id52994
push userttromey@mozilla.com
push dateTue, 10 Oct 2017 18:52:20 +0000
treeherderautoland@a94bf3908a34 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjdescottes
bugs1407230
milestone58.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 1407230 - Don't set devtools.debugger.client-source-maps-enabled pref; r=jdescottes This removes the last spot that sets the obsolete devtools.debugger.client-source-maps-enabled pref. Note that the definition of the pref remains; it will be deleted upstream once this lands, and then removed from M-C by the next debugger bundle landing. MozReview-Commit-ID: DTd2iDJI1y0
devtools/client/framework/toolbox-process-window.js
--- a/devtools/client/framework/toolbox-process-window.js
+++ b/devtools/client/framework/toolbox-process-window.js
@@ -71,17 +71,16 @@ function setPrefDefaults() {
   Services.prefs.setBoolPref("devtools.performance.ui.show-platform-data", true);
   Services.prefs.setBoolPref("devtools.inspector.showAllAnonymousContent", true);
   Services.prefs.setBoolPref("browser.dom.window.dump.enabled", true);
   Services.prefs.setBoolPref("devtools.command-button-noautohide.enabled", true);
   Services.prefs.setBoolPref("devtools.scratchpad.enabled", true);
   // Bug 1225160 - Using source maps with browser debugging can lead to a crash
   Services.prefs.setBoolPref("devtools.debugger.source-maps-enabled", false);
   Services.prefs.setBoolPref("devtools.debugger.new-debugger-frontend", true);
-  Services.prefs.setBoolPref("devtools.debugger.client-source-maps-enabled", true);
   Services.prefs.setBoolPref("devtools.webconsole.new-frontend-enabled", false);
 }
 window.addEventListener("load", function () {
   let cmdClose = document.getElementById("toolbox-cmd-close");
   cmdClose.addEventListener("command", onCloseCommand);
   setPrefDefaults();
   connect().catch(e => {
     let errorMessageContainer = document.getElementById("error-message-container");