Revision control
Copy as Markdown
Other Tools
<?xml version="1.0"?> <!-- -*- tab-width: 4; indent-tabs-mode: nil -*- -->
<!-- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this
<window id="JSConsoleWindow"
title="&errorConsole.title;"
windowtype="suite:console"
width="640"
height="480"
screenX="10"
screenY="10"
persist="screenX screenY width height sizemode"
onclose="return closeWindow(false);">
<commandset id="consoleCommands">
<commandset id="tasksCommands"/>
<command id="cmd_close" oncommand="closeWindow(true);"/>
</commandset>
<keyset id="consoleKeys">
<keyset id="tasksKeys"/>
<key id="key_close"
key="&closeCmd.commandkey;"
modifiers="accel"
command="cmd_close"/>
<key id="key_close2"
disabled="true"
keycode="VK_ESCAPE"
command="cmd_close"/>
<key id="key_focus1"
key="&focus1.commandkey;"
modifiers="accel"
oncommand="gTextBoxEval.focus();"/>
<key id="key_focus2"
key="&focus2.commandkey;"
modifiers="alt"
oncommand="gTextBoxEval.focus();"/>
<key id="key_copy"/>
</keyset>
<popupset id="ContextMenus">
<menupopup id="ConsoleContext">
<menuitem type="radio"
id="Console:sortAscend"
label="&sortFirst.label;"
accesskey="&sortFirst.accesskey;"
oncommand="changeSortOrder('forward');"/>
<menuitem type="radio"
id="Console:sortDescend"
label="&sortLast.label;"
accesskey="&sortLast.accesskey;"
oncommand="changeSortOrder('reverse');"/>
<menuseparator/>
<menuitem id="menu_copy_cm"
label="©Cmd.label;"
accesskey="©Cmd.accesskey;"
command="cmd_copy"/>
</menupopup>
</popupset>
<toolbox id="console-toolbox">
<menubar id="main-menubar"
class="chromeclass-menubar"
grippytooltiptext="&menuBar.tooltip;">
<menu id="menu_File">
<menupopup id="menu_FilePopup">
<menuitem id="menu_close"/>
</menupopup>
</menu>
<menu id="menu_Edit">
<menupopup>
<menuitem id="menu_copy"/>
</menupopup>
</menu>
<menu id="menu_View">
<menupopup>
<menu label="&toolbarsCmd.label;"
accesskey="&toolbarsCmd.accesskey;">
<menupopup>
<menuitem id="toggleToolbarMode"
type="checkbox"
checked="true"
label="&toolbarMode.label;"
accesskey="&toolbarMode.accesskey;"
oncommand="goToggleToolbar('ToolbarMode','toggleToolbarMode');"/>
<menuitem id="toggleToolbarEval"
type="checkbox"
checked="true"
label="&toolbarEval.label;"
accesskey="&toolbarEval.accesskey;"
oncommand="goToggleToolbar('ToolbarEval','toggleToolbarEval');"/>
</menupopup>
</menu>
<menuseparator/>
<menuitem type="radio" observes="Console:sortAscend"/>
<menuitem type="radio" observes="Console:sortDescend"/>
</menupopup>
</menu>
<!-- tasks menu filled from tasksOverlay -->
<menu id="tasksMenu"/>
<!-- window menu filled from tasksOverlay -->
<menu id="windowMenu"/>
<!-- help menu filled from globalOverlay -->
<menu id="menu_Help"/>
</menubar>
<toolbar class="chromeclass-toolbar"
id="ToolbarMode"
grippytooltiptext="&modeToolbar.tooltip;">
<hbox id="viewGroup">
<toolbarbutton type="radio"
group="mode"
id="Console:modeAll"
label="&all.label;"
accesskey="&all.accesskey;"
oncommand="changeMode('All');"/>
<toolbarbutton type="radio"
group="mode"
id="Console:modeErrors"
label="&errors.label;"
accesskey="&errors.accesskey;"
oncommand="changeMode('Errors');"/>
<toolbarbutton type="radio"
group="mode"
id="Console:modeWarnings"
label="&warnings.label;"
accesskey="&warnings.accesskey;"
oncommand="changeMode('Warnings');"/>
<toolbarbutton type="radio"
group="mode"
id="Console:modeMessages"
label="&messages.label;"
accesskey="&messages.accesskey;"
oncommand="changeMode('Messages');"/>
</hbox>
<toolbarseparator/>
<toolbarbutton id="Console:clear"
label="&clear.label;"
accesskey="&clear.accesskey;"
oncommand="clearConsole();"/>
</toolbar>
<toolbar class="chromeclass-toolbar"
id="ToolbarEval"
align="center"
nowindowdrag="true"
grippytooltiptext="&entryToolbar.tooltip;">
<label value="&codeEval.label;"
accesskey="&codeEval.accesskey;"
control="TextboxEval"/>
<textbox id="TextboxEval"
class="toolbar"
flex="1"
value=""
onkeypress="onEvalKeyPress(event);"/>
<toolbarbutton id="ButtonEval"
label="&evaluate.label;"
accesskey="&evaluate.accesskey;"
oncommand="evaluateTypein();"/>
</toolbar>
</toolbox>
<vbox id="ConsoleBox"
class="console-box"
flex="1"
context="ConsoleContext"
persist="sortOrder"/>
<iframe name="Evaluator"
id="Evaluator"
collapsed="true"/>
<statusbar>
<statusbarpanel flex="1" pack="start">
<label value="&filter2.label;" control="Filter"/>
<textbox type="search"
id="Filter"
accesskey="&filter2.accesskey;"
oncommand="changeFilter();"/>
</statusbarpanel>
</statusbar>
</window>