зеркало из https://github.com/mozilla/gecko-dev.git
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 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
876f7ad09f
Коммит
faa5c193d5
|
@ -107,14 +107,6 @@ Tools.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"),
|
||||
|
|
Загрузка…
Ссылка в новой задаче