1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/browser/devtools/webconsole/webconsole.xul Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,194 @@ 1.4 +<?xml version="1.0" encoding="utf-8"?> 1.5 +<!-- This Source Code Form is subject to the terms of the Mozilla Public 1.6 + - License, v. 2.0. If a copy of the MPL was not distributed with this 1.7 + - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> 1.8 +<!DOCTYPE window [ 1.9 +<!ENTITY % webConsoleDTD SYSTEM "chrome://browser/locale/devtools/webConsole.dtd"> 1.10 +%webConsoleDTD; 1.11 +]> 1.12 +<?xml-stylesheet href="chrome://global/skin/" type="text/css"?> 1.13 +<?xml-stylesheet href="chrome://browser/skin/devtools/common.css" 1.14 + type="text/css"?> 1.15 +<?xml-stylesheet href="chrome://browser/skin/devtools/webconsole.css" 1.16 + type="text/css"?> 1.17 +<?xul-overlay href="chrome://global/content/editMenuOverlay.xul"?> 1.18 +<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" 1.19 + id="devtools-webconsole" 1.20 + macanimationtype="document" 1.21 + fullscreenbutton="true" 1.22 + title="&window.title;" 1.23 + browserConsoleTitle="&browserConsole.title;" 1.24 + windowtype="devtools:webconsole" 1.25 + width="900" height="350" 1.26 + persist="screenX screenY width height sizemode"> 1.27 + 1.28 + <script type="application/javascript;version=1.8" 1.29 + src="chrome://browser/content/devtools/theme-switching.js"/> 1.30 + <script type="text/javascript" src="chrome://global/content/globalOverlay.js"/> 1.31 + <script type="text/javascript"><![CDATA[ 1.32 +function goUpdateConsoleCommands() { 1.33 + goUpdateCommand("consoleCmd_openURL"); 1.34 + goUpdateCommand("consoleCmd_copyURL"); 1.35 +} 1.36 + // ]]></script> 1.37 + 1.38 + <commandset id="editMenuCommands"/> 1.39 + 1.40 + <commandset id="consoleCommands" 1.41 + commandupdater="true" 1.42 + events="focus,select" 1.43 + oncommandupdate="goUpdateConsoleCommands();"> 1.44 + <command id="consoleCmd_openURL" 1.45 + oncommand="goDoCommand('consoleCmd_openURL');"/> 1.46 + <command id="consoleCmd_copyURL" 1.47 + oncommand="goDoCommand('consoleCmd_copyURL');"/> 1.48 + <command id="consoleCmd_clearOutput" 1.49 + oncommand="goDoCommand('consoleCmd_clearOutput');"/> 1.50 + <command id="cmd_find" oncommand="goDoCommand('cmd_find');"/> 1.51 + <command id="cmd_fullZoomEnlarge" oncommand="goDoCommand('cmd_fontSizeEnlarge');" disabled="true"/> 1.52 + <command id="cmd_fullZoomReduce" oncommand="goDoCommand('cmd_fontSizeReduce');" disabled="true"/> 1.53 + <command id="cmd_fullZoomReset" oncommand="goDoCommand('cmd_fontSizeReset');" disabled="true"/> 1.54 + <command id="cmd_close" oncommand="goDoCommand('cmd_close');" disabled="true"/> 1.55 + </commandset> 1.56 + <keyset id="consoleKeys"> 1.57 + <key id="key_fullZoomReduce" key="&fullZoomReduceCmd.commandkey;" command="cmd_fullZoomReduce" modifiers="accel"/> 1.58 + <key key="&fullZoomReduceCmd.commandkey2;" command="cmd_fullZoomReduce" modifiers="accel"/> 1.59 + <key id="key_fullZoomEnlarge" key="&fullZoomEnlargeCmd.commandkey;" command="cmd_fullZoomEnlarge" modifiers="accel"/> 1.60 + <key key="&fullZoomEnlargeCmd.commandkey2;" command="cmd_fullZoomEnlarge" modifiers="accel"/> 1.61 + <key key="&fullZoomEnlargeCmd.commandkey3;" command="cmd_fullZoomEnlarge" modifiers="accel"/> 1.62 + <key id="key_fullZoomReset" key="&fullZoomResetCmd.commandkey;" command="cmd_fullZoomReset" modifiers="accel"/> 1.63 + <key key="&fullZoomResetCmd.commandkey2;" command="cmd_fullZoomReset" modifiers="accel"/> 1.64 + <key key="&findCmd.key;" command="cmd_find" modifiers="accel"/> 1.65 + <key key="&closeCmd.key;" command="cmd_close" modifiers="accel"/> 1.66 + <key key="&clearOutputCtrl.key;" command="consoleCmd_clearOutput" modifiers="control"/> 1.67 + </keyset> 1.68 + <keyset id="editMenuKeys"/> 1.69 + 1.70 + <popupset id="mainPopupSet"> 1.71 + <menupopup id="output-contextmenu" onpopupshowing="goUpdateGlobalEditMenuItems()"> 1.72 + <menuitem id="saveBodiesContextMenu" type="checkbox" label="&saveBodies.label;" 1.73 + accesskey="&saveBodies.accesskey;"/> 1.74 + <menuitem id="menu_openURL" label="&openURL.label;" 1.75 + accesskey="&openURL.accesskey;" command="consoleCmd_openURL" 1.76 + selection="network" selectionType="single"/> 1.77 + <menuitem id="menu_copyURL" label="©URLCmd.label;" 1.78 + accesskey="©URLCmd.accesskey;" command="consoleCmd_copyURL" 1.79 + selection="network" selectionType="single"/> 1.80 + <menuitem id="cMenu_copy"/> 1.81 + <menuitem id="cMenu_selectAll"/> 1.82 + </menupopup> 1.83 + </popupset> 1.84 + 1.85 + <tooltip id="aHTMLTooltip" page="true"/> 1.86 + 1.87 + <box class="hud-outer-wrapper devtools-responsive-container theme-body" flex="1"> 1.88 + <vbox class="hud-console-wrapper" flex="1"> 1.89 + <toolbar class="hud-console-filter-toolbar devtools-toolbar" mode="full"> 1.90 + <toolbarbutton label="&btnPageNet.label;" type="menu-button" 1.91 + category="net" class="devtools-toolbarbutton webconsole-filter-button" 1.92 + tooltiptext="&btnPageNet.tooltip;" 1.93 + accesskeyMacOSX="&btnPageNet.accesskeyMacOSX;" 1.94 + accesskey="&btnPageNet.accesskey;" 1.95 + tabindex="3"> 1.96 + <menupopup> 1.97 + <menuitem label="&btnConsoleErrors;" type="checkbox" autocheck="false" 1.98 + prefKey="network"/> 1.99 + <menuitem label="&btnConsoleWarnings;" type="checkbox" autocheck="false" 1.100 + prefKey="netwarn"/> 1.101 + <menuitem label="&btnConsoleLog;" type="checkbox" autocheck="false" 1.102 + prefKey="networkinfo"/> 1.103 + <menuseparator id="saveBodiesSeparator" /> 1.104 + <menuitem id="saveBodies" type="checkbox" label="&saveBodies.label;" 1.105 + accesskey="&saveBodies.accesskey;"/> 1.106 + </menupopup> 1.107 + </toolbarbutton> 1.108 + <toolbarbutton label="&btnPageCSS.label;" type="menu-button" 1.109 + category="css" class="devtools-toolbarbutton webconsole-filter-button" 1.110 + tooltiptext="&btnPageCSS.tooltip;" 1.111 + accesskey="&btnPageCSS.accesskey;" 1.112 + tabindex="4"> 1.113 + <menupopup> 1.114 + <menuitem label="&btnConsoleErrors;" type="checkbox" autocheck="false" 1.115 + prefKey="csserror"/> 1.116 + <menuitem label="&btnConsoleWarnings;" type="checkbox" 1.117 + autocheck="false" prefKey="cssparser"/> 1.118 + <menuitem label="&btnConsoleReflows;" type="checkbox" 1.119 + autocheck="false" prefKey="csslog"/> 1.120 + </menupopup> 1.121 + </toolbarbutton> 1.122 + <toolbarbutton label="&btnPageJS.label;" type="menu-button" 1.123 + category="js" class="devtools-toolbarbutton webconsole-filter-button" 1.124 + tooltiptext="&btnPageJS.tooltip;" 1.125 + accesskey="&btnPageJS.accesskey;" 1.126 + tabindex="5"> 1.127 + <menupopup> 1.128 + <menuitem label="&btnConsoleErrors;" type="checkbox" 1.129 + autocheck="false" prefKey="exception"/> 1.130 + <menuitem label="&btnConsoleWarnings;" type="checkbox" 1.131 + autocheck="false" prefKey="jswarn"/> 1.132 + <menuitem label="&btnConsoleLog;" type="checkbox" 1.133 + autocheck="false" prefKey="jslog"/> 1.134 + </menupopup> 1.135 + </toolbarbutton> 1.136 + <toolbarbutton label="&btnPageSecurity.label;" type="menu-button" 1.137 + category="security" class="devtools-toolbarbutton webconsole-filter-button" 1.138 + tooltiptext="&btnPageSecurity.tooltip;" 1.139 + accesskey="&btnPageSecurity.accesskey;" 1.140 + tabindex="6"> 1.141 + <menupopup> 1.142 + <menuitem label="&btnConsoleErrors;" type="checkbox" 1.143 + autocheck="false" prefKey="secerror"/> 1.144 + <menuitem label="&btnConsoleWarnings;" type="checkbox" 1.145 + autocheck="false" prefKey="secwarn"/> 1.146 + </menupopup> 1.147 + </toolbarbutton> 1.148 + <toolbarbutton label="&btnPageLogging.label;" type="menu-button" 1.149 + category="logging" class="devtools-toolbarbutton webconsole-filter-button" 1.150 + tooltiptext="&btnPageLogging.tooltip;" 1.151 + accesskey="&btnPageLogging.accesskey3;" 1.152 + tabindex="7"> 1.153 + <menupopup> 1.154 + <menuitem label="&btnConsoleErrors;" type="checkbox" 1.155 + autocheck="false" prefKey="error"/> 1.156 + <menuitem label="&btnConsoleWarnings;" type="checkbox" 1.157 + autocheck="false" prefKey="warn"/> 1.158 + <menuitem label="&btnConsoleInfo;" type="checkbox" autocheck="false" 1.159 + prefKey="info"/> 1.160 + <menuitem label="&btnConsoleLog;" type="checkbox" autocheck="false" 1.161 + prefKey="log"/> 1.162 + </menupopup> 1.163 + </toolbarbutton> 1.164 + 1.165 + <toolbarbutton class="webconsole-clear-console-button devtools-toolbarbutton" 1.166 + label="&btnClear.label;" tooltiptext="&btnClear.tooltip;" 1.167 + accesskey="&btnClear.accesskey;" 1.168 + tabindex="8"/> 1.169 + 1.170 + <spacer flex="1"/> 1.171 + 1.172 + <textbox class="compact hud-filter-box devtools-searchinput" type="search" 1.173 + placeholder="&filterOutput.placeholder;" tabindex="2"/> 1.174 + </toolbar> 1.175 + 1.176 + <hbox id="output-wrapper" flex="1" context="output-contextmenu" tooltip="aHTMLTooltip"> 1.177 + <div xmlns="http://www.w3.org/1999/xhtml" id="output-container" tabindex="1" /> 1.178 + </hbox> 1.179 + 1.180 + <hbox class="jsterm-input-container" style="direction:ltr"> 1.181 + <stack class="jsterm-stack-node" flex="1"> 1.182 + <textbox class="jsterm-complete-node devtools-monospace" 1.183 + multiline="true" rows="1" tabindex="-1"/> 1.184 + <textbox class="jsterm-input-node devtools-monospace" 1.185 + multiline="true" rows="1" tabindex="0"/> 1.186 + </stack> 1.187 + </hbox> 1.188 + </vbox> 1.189 + 1.190 + <splitter class="devtools-side-splitter"/> 1.191 + 1.192 + <tabbox id="webconsole-sidebar" class="devtools-sidebar-tabs" hidden="true" width="300"> 1.193 + <tabs/> 1.194 + <tabpanels flex="1"/> 1.195 + </tabbox> 1.196 + </box> 1.197 +</window>