Bug 1486834 - Remove browserConsoleUsesHTML and browserConsoleURL from webconsole definition;r=nchevobbe
authorBrian Grinstead <bgrinstead@mozilla.com>
Tue, 28 Aug 2018 16:21:57 +0000
changeset 488692 2a94f63cc2f89533b4f591e972c601f564b72560
parent 488691 400d4a90fe04ed684626d700ca3fc104835d82df
child 488693 b0b8164bd25a5f750464ea7ce7555d477fa99c87
push id9734
push usershindli@mozilla.com
push dateThu, 30 Aug 2018 12:18:07 +0000
treeherdermozilla-beta@71c71ab3afae [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersnchevobbe
bugs1486834
milestone63.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 1486834 - Remove browserConsoleUsesHTML and browserConsoleURL from webconsole definition;r=nchevobbe These were used when we were working on the HTML version of the frontend, but now we don't even ship the XUL version, and these properties got missed during removal. Differential Revision: https://phabricator.services.mozilla.com/D4463
devtools/client/definitions.js
--- a/devtools/client/definitions.js
+++ b/devtools/client/definitions.js
@@ -102,24 +102,16 @@ Tools.inspector = {
     return new InspectorPanel(iframeWindow, toolbox);
   }
 };
 Tools.webConsole = {
   id: "webconsole",
   accesskey: l10n("webConsoleCmd.accesskey"),
   ordinal: 2,
   url: "chrome://devtools/content/webconsole/index.html",
-  get browserConsoleUsesHTML() {
-    return Services.prefs.getBoolPref("devtools.browserconsole.html");
-  },
-  get browserConsoleURL() {
-    return this.browserConsoleUsesHTML ?
-      "chrome://devtools/content/webconsole/index.html" :
-      "chrome://devtools/content/webconsole/browserconsole.xul";
-  },
   icon: "chrome://devtools/skin/images/tool-webconsole.svg",
   label: l10n("ToolboxTabWebconsole.label"),
   menuLabel: l10n("MenuWebconsole.label"),
   panelLabel: l10n("ToolboxWebConsole.panelLabel"),
   get tooltip() {
     return l10n("ToolboxWebconsole.tooltip2",
     (osString == "Darwin" ? "Cmd+Opt+" : "Ctrl+Shift+") +
     l10n("webconsole.commandkey"));