Bug 1339992 - Use common spelling for all source map prefs. r=jdescottes draft
authorJ. Ryan Stinnett <jryans@gmail.com>
Wed, 15 Feb 2017 17:44:42 -0600
changeset 484906 ac8b9482edcf7922b58fac5bcb2f7d5688aba504
parent 484626 ec3ef9f77a52693e9732ca480df16017af0d9504
child 545899 2d8e73d41917583ad08a1d9b7cc0be72f6b93ddf
push id45600
push userbmo:jryans@gmail.com
push dateThu, 16 Feb 2017 00:40:52 +0000
reviewersjdescottes
bugs1339992
milestone54.0a1
Bug 1339992 - Use common spelling for all source map prefs. r=jdescottes MozReview-Commit-ID: K0MmghEuRa7
devtools/client/framework/toolbox.js
devtools/client/preferences/devtools.js
--- a/devtools/client/framework/toolbox.js
+++ b/devtools/client/framework/toolbox.js
@@ -88,17 +88,17 @@ loader.lazyGetter(this, "registerHarOver
  */
 function Toolbox(target, selectedTool, hostType, contentWindow, frameId) {
   this._target = target;
   this._win = contentWindow;
   this.frameId = frameId;
 
   this._toolPanels = new Map();
   this._telemetry = new Telemetry();
-  if (Services.prefs.getBoolPref("devtools.sourcemap.locations.enabled")) {
+  if (Services.prefs.getBoolPref("devtools.source-map.locations.enabled")) {
     this._sourceMapService = new SourceMapService(this._target);
   }
 
   this._initInspector = null;
   this._inspector = null;
 
   // Map of frames (id => frame-info) and currently selected frame id.
   this.frameMap = new Map();
--- a/devtools/client/preferences/devtools.js
+++ b/devtools/client/preferences/devtools.js
@@ -296,17 +296,17 @@ pref("devtools.webconsole.autoMultiline"
 // Enable the experimental webconsole frontend
 #if defined(NIGHTLY_BUILD)
 pref("devtools.webconsole.new-frontend-enabled", true);
 #else
 pref("devtools.webconsole.new-frontend-enabled", false);
 #endif
 
 // Enable the experimental support for source maps in console (work in progress)
-pref("devtools.sourcemap.locations.enabled", false);
+pref("devtools.source-map.locations.enabled", false);
 
 // The number of lines that are displayed in the web console.
 pref("devtools.hud.loglimit", 1000);
 
 // The number of lines that are displayed in the web console for the Net,
 // CSS, JS and Web Developer categories. These defaults should be kept in sync
 // with DEFAULT_LOG_LIMIT in the webconsole frontend.
 pref("devtools.hud.loglimit.network", 1000);