RetroZilla/extensions/inspector/resources/content/viewers/jsObject/jsObject.xul

48 lines
1.9 KiB
Plaintext
Raw Normal View History

2015-10-21 05:03:22 +02:00
<?xml version="1.0"?>
<!DOCTYPE page [
<!ENTITY % dtd1 SYSTEM "chrome://inspector/locale/inspector.dtd"> %dtd1;
<!ENTITY % dtd2 SYSTEM "chrome://inspector/content/util.dtd"> %dtd2;
<!ENTITY % dtd3 SYSTEM "chrome://inspector/locale/viewers/jsObject.dtd"> %dtd3;
]>
<?xml-stylesheet href="chrome://inspector/skin/"?>
<page id="winJSObject"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<script type="application/x-javascript" src="chrome://inspector/content/viewers/jsObject/jsObject.js"/>
<script type="application/x-javascript" src="chrome://inspector/content/jsutil/xpcom/XPCU.js"/>
<script type="application/x-javascript" src="chrome://inspector/content/jsutil/events/ObserverManager.js"/>
<script type="application/x-javascript" src="chrome://inspector/content/hooks.js"/>
<script type="application/x-javascript" src="chrome://inspector/content/utils.js"/>
<stringbundle id="inspector-bundle" src="chrome://inspector/locale/inspector.properties"/>
<commandset>
<command id="cmdCopyValue" oncommand="viewer.cmdCopyValue()"/>
<command id="cmdEvalExpr" oncommand="viewer.cmdEvalExpr()"/>
<command id="cmdInspectInNewView" oncommand="viewer.cmdInspectInNewView()"/>
</commandset>
<popupset>
<popup id="popupContext">
<menuitem label="&inspectNewWindow.label;" observes="cmdInspectInNewView"/>
<menuseparator/>
<menuitem label="&jsCopyValue.label;" observes="cmdCopyValue"/>
<menuitem label="&jsEval.label;" observes="cmdEvalExpr"/>
</popup>
</popupset>
<tree id="treeJSObject" flex="1" context="popupContext">
<treecols>
<treecol id="colProp" flex="1" primary="true" label="&jsProperty.label;"/>
<splitter class="tree-splitter"/>
<treecol id="colVal" flex="1" label="&jsValue.label;"/>
</treecols>
<treechildren id="trchJSObject"/>
</tree>
</page>