2012-07-26 08:06:04 -07:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<!-- 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
|
|
|
|
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
|
|
|
|
<!DOCTYPE window [
|
|
|
|
<!ENTITY % webConsoleDTD SYSTEM "chrome://browser/locale/devtools/webConsole.dtd">
|
|
|
|
%webConsoleDTD;
|
|
|
|
]>
|
2012-08-13 11:52:19 -07:00
|
|
|
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
|
2012-08-25 05:29:20 -07:00
|
|
|
<?xml-stylesheet href="chrome://browser/skin/devtools/common.css"
|
|
|
|
type="text/css"?>
|
2012-07-26 08:06:04 -07:00
|
|
|
<?xml-stylesheet href="chrome://browser/skin/devtools/webconsole.css"
|
|
|
|
type="text/css"?>
|
|
|
|
<?xul-overlay href="chrome://global/content/editMenuOverlay.xul"?>
|
|
|
|
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
|
|
|
title="&window.title;"
|
|
|
|
windowtype="devtools:webconsole"
|
|
|
|
persist="screenX screenY width height sizemode">
|
|
|
|
<script type="text/javascript" src="chrome://global/content/globalOverlay.js"/>
|
|
|
|
<script type="text/javascript" src="webconsole.js"/>
|
|
|
|
|
|
|
|
<commandset id="editMenuCommands"/>
|
2012-08-22 13:18:48 -07:00
|
|
|
|
|
|
|
<commandset>
|
|
|
|
<command id="cmd_fullZoomEnlarge" oncommand="goDoCommand('cmd_fontSizeEnlarge');"/>
|
|
|
|
<command id="cmd_fullZoomReduce" oncommand="goDoCommand('cmd_fontSizeReduce');"/>
|
|
|
|
<command id="cmd_fullZoomReset" oncommand="goDoCommand('cmd_fontSizeReset');"/>
|
|
|
|
</commandset>
|
|
|
|
<keyset id="fontSizeChangeSet">
|
|
|
|
<key id="key_fullZoomReduce" key="&fullZoomReduceCmd.commandkey;" command="cmd_fullZoomReduce" modifiers="accel"/>
|
|
|
|
<key key="&fullZoomReduceCmd.commandkey2;" command="cmd_fullZoomReduce" modifiers="accel"/>
|
|
|
|
<key id="key_fullZoomEnlarge" key="&fullZoomEnlargeCmd.commandkey;" command="cmd_fullZoomEnlarge" modifiers="accel"/>
|
|
|
|
<key key="&fullZoomEnlargeCmd.commandkey2;" command="cmd_fullZoomEnlarge" modifiers="accel"/>
|
|
|
|
<key key="&fullZoomEnlargeCmd.commandkey3;" command="cmd_fullZoomEnlarge" modifiers="accel"/>
|
|
|
|
<key id="key_fullZoomReset" key="&fullZoomResetCmd.commandkey;" command="cmd_fullZoomReset" modifiers="accel"/>
|
|
|
|
<key key="&fullZoomResetCmd.commandkey2;" command="cmd_fullZoomReset" modifiers="accel"/>
|
|
|
|
</keyset>
|
2012-07-26 08:06:04 -07:00
|
|
|
<keyset id="editMenuKeys"/>
|
|
|
|
|
|
|
|
<popupset id="mainPopupSet">
|
|
|
|
<menupopup id="output-contextmenu">
|
|
|
|
<menuitem id="saveBodies" type="checkbox" label="&saveBodies.label;"
|
|
|
|
accesskey="&saveBodies.accesskey;"/>
|
|
|
|
<menuitem id="menu_copy"/>
|
|
|
|
<menuitem id="menu_selectAll"/>
|
|
|
|
</menupopup>
|
|
|
|
</popupset>
|
|
|
|
|
|
|
|
<vbox class="hud-outer-wrapper" flex="1">
|
|
|
|
<vbox class="hud-console-wrapper" flex="1">
|
2012-08-25 05:29:20 -07:00
|
|
|
<toolbar class="hud-console-filter-toolbar devtools-toolbar" mode="full">
|
2012-07-26 08:06:04 -07:00
|
|
|
#ifdef XP_MACOSX
|
2012-08-25 05:29:20 -07:00
|
|
|
<toolbarbutton id="webconsole-close-button"
|
|
|
|
class="devtools-closebutton"
|
2012-07-26 08:06:04 -07:00
|
|
|
tooltiptext="&btnClose.tooltip;"/>
|
|
|
|
#endif
|
|
|
|
|
|
|
|
<toolbarbutton label="&btnPageNet.label;" type="menu-button"
|
2012-08-25 05:29:20 -07:00
|
|
|
category="net" class="devtools-toolbarbutton webconsole-filter-button"
|
2012-07-26 08:06:04 -07:00
|
|
|
tooltiptext="&btnPageNet.tooltip;">
|
|
|
|
<menupopup>
|
|
|
|
<menuitem label="&btnConsoleErrors;" type="checkbox" autocheck="false"
|
|
|
|
prefKey="network"/>
|
|
|
|
<menuitem label="&btnConsoleLog;" type="checkbox" autocheck="false"
|
|
|
|
prefKey="networkinfo"/>
|
|
|
|
</menupopup>
|
|
|
|
</toolbarbutton>
|
|
|
|
<toolbarbutton label="&btnPageCSS.label;" type="menu-button"
|
2012-08-25 05:29:20 -07:00
|
|
|
category="css" class="devtools-toolbarbutton webconsole-filter-button"
|
2012-07-26 08:06:04 -07:00
|
|
|
tooltiptext="&btnPageCSS.tooltip;">
|
|
|
|
<menupopup>
|
|
|
|
<menuitem label="&btnConsoleErrors;" type="checkbox" autocheck="false"
|
|
|
|
prefKey="csserror"/>
|
|
|
|
<menuitem label="&btnConsoleWarnings;" type="checkbox"
|
|
|
|
autocheck="false" prefKey="cssparser"/>
|
|
|
|
</menupopup>
|
|
|
|
</toolbarbutton>
|
|
|
|
<toolbarbutton label="&btnPageJS.label;" type="menu-button"
|
2012-08-25 05:29:20 -07:00
|
|
|
category="js" class="devtools-toolbarbutton webconsole-filter-button"
|
2012-07-26 08:06:04 -07:00
|
|
|
tooltiptext="&btnPageJS.tooltip;">
|
|
|
|
<menupopup>
|
|
|
|
<menuitem label="&btnConsoleErrors;" type="checkbox"
|
|
|
|
autocheck="false" prefKey="exception"/>
|
|
|
|
<menuitem label="&btnConsoleWarnings;" type="checkbox"
|
|
|
|
autocheck="false" prefKey="jswarn"/>
|
|
|
|
</menupopup>
|
|
|
|
</toolbarbutton>
|
|
|
|
<toolbarbutton label="&btnPageLogging.label;" type="menu-button"
|
2012-08-25 05:29:20 -07:00
|
|
|
category="logging" class="devtools-toolbarbutton webconsole-filter-button"
|
2012-07-26 08:06:04 -07:00
|
|
|
tooltiptext="&btnPageLogging.tooltip;">
|
|
|
|
<menupopup>
|
|
|
|
<menuitem label="&btnConsoleErrors;" type="checkbox"
|
|
|
|
autocheck="false" prefKey="error"/>
|
|
|
|
<menuitem label="&btnConsoleWarnings;" type="checkbox"
|
|
|
|
autocheck="false" prefKey="warn"/>
|
|
|
|
<menuitem label="&btnConsoleInfo;" type="checkbox" autocheck="false"
|
|
|
|
prefKey="info"/>
|
|
|
|
<menuitem label="&btnConsoleLog;" type="checkbox" autocheck="false"
|
|
|
|
prefKey="log"/>
|
|
|
|
</menupopup>
|
|
|
|
</toolbarbutton>
|
|
|
|
|
|
|
|
<spacer flex="1"/>
|
|
|
|
|
|
|
|
<toolbarbutton label="&btnPosition.label;" type="menu"
|
2012-08-25 05:29:20 -07:00
|
|
|
class="devtools-toolbarbutton"
|
2012-07-26 08:06:04 -07:00
|
|
|
tooltiptext="&btnPosition.tooltip;">
|
|
|
|
<menupopup>
|
|
|
|
<menuitem label="&positionMenu.above;" type="checkbox"
|
|
|
|
autocheck="false" consolePosition="above"/>
|
|
|
|
<menuitem label="&positionMenu.below;" type="checkbox"
|
|
|
|
autocheck="false" consolePosition="below"/>
|
|
|
|
<menuitem label="&positionMenu.window;" type="checkbox"
|
|
|
|
autocheck="false" consolePosition="window"/>
|
|
|
|
</menupopup>
|
|
|
|
</toolbarbutton>
|
|
|
|
|
2012-08-25 05:29:20 -07:00
|
|
|
<textbox class="compact hud-filter-box devtools-searchinput" type="search"
|
2012-07-26 08:06:04 -07:00
|
|
|
placeholder="&filterBox.placeholder;"/>
|
2012-08-25 05:29:20 -07:00
|
|
|
<toolbarbutton class="webconsole-clear-console-button devtools-toolbarbutton"
|
2012-07-26 08:06:04 -07:00
|
|
|
label="&btnClear.label;" tooltiptext="&btnClear.tooltip;"/>
|
|
|
|
|
|
|
|
#ifndef XP_MACOSX
|
2012-08-25 05:29:20 -07:00
|
|
|
<toolbarbutton id="webconsole-close-button"
|
|
|
|
class="devtools-closebutton"
|
2012-07-26 08:06:04 -07:00
|
|
|
tooltiptext="&btnClose.tooltip;"/>
|
|
|
|
#endif
|
|
|
|
</toolbar>
|
|
|
|
<richlistbox class="hud-output-node" orient="vertical" flex="1"
|
|
|
|
seltype="multiple" context="output-contextmenu"
|
|
|
|
style="direction:ltr;"/>
|
|
|
|
<hbox class="jsterm-input-container" style="direction:ltr">
|
|
|
|
<stack class="jsterm-stack-node" flex="1">
|
|
|
|
<textbox class="jsterm-complete-node" multiline="true" rows="1"
|
|
|
|
tabindex="-1"/>
|
|
|
|
<textbox class="jsterm-input-node" multiline="true" rows="1"/>
|
|
|
|
</stack>
|
|
|
|
</hbox>
|
|
|
|
</vbox>
|
|
|
|
</vbox>
|
|
|
|
</window>
|