test_xul.xhtml (1590B)
1 <?xml version="1.0"?> 2 <?csp default-src chrome:; ?> 3 4 <!-- This Source Code Form is subject to the terms of the Mozilla Public 5 - License, v. 2.0. If a copy of the MPL was not distributed with this 6 - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> 7 8 <!-- Test file for a XUL window. --> 9 10 <window 11 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" 12 xmlns:html="http://www.w3.org/1999/xhtml" 13 id="remote-window" 14 title="Test Window" 15 windowtype="remote:xul" 16 > 17 <linkset> 18 <html:link rel="stylesheet" href="chrome://global/skin/global.css" /> 19 </linkset> 20 21 <popupset id="options-popupset"> 22 <menupopup id="options-menupopup" position="before_end"> 23 <menuitem id="option-enabled" type="checkbox" label="enabled" /> 24 <menuitem 25 id="option-hidden" 26 type="checkbox" 27 label="hidden" 28 hidden="true" 29 /> 30 <menuitem 31 id="option-disabled" 32 type="checkbox" 33 label="disabled" 34 disabled="true" 35 /> 36 </menupopup> 37 </popupset> 38 39 <vbox id="types"> 40 <html:input id="textInput" size="6" value="test" label="input" /> 41 <checkbox id="testBox" label="box" /> 42 <button id="button" class="foo" label="button" /> 43 <button id="options-button" popup="options-menupopup" label="options" /> 44 </vbox> 45 46 <vbox id="frames"> 47 <html:iframe 48 id="iframe" 49 src="chrome://marionette-chrome/content/test_iframe.xhtml" 50 /> 51 <html:iframe 52 id="iframe-nested" 53 src="chrome://marionette-chrome/content/test_nested_iframe.xhtml" 54 /> 55 </vbox> 56 </window>