dom/tests/mochitest/chrome/test_DOMWindowCreated.xul

branch
TOR_BUG_9701
changeset 8
97036ab72558
equal deleted inserted replaced
-1:000000000000 0:8fd3c5e58914
1 <?xml version="1.0"?>
2 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
3 <?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css" type="text/css"?>
4 <!--
5 Test for Persistent Storage in chrome
6 -->
7 <window id="sample-window" width="400" height="400"
8 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
9 <script type="application/javascript"
10 src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
11 <script type="application/javascript"
12 src="chrome://mochikit/content/chrome-harness.js"></script>
13
14 <body xmlns="http://www.w3.org/1999/xhtml">
15 <p id="display">
16 </p>
17 <div id="content" style="display: none">
18 </div>
19 <pre id="test">
20 </pre>
21 </body>
22
23 <script>
24 SimpleTest.waitForExplicitFinish();
25 var root = getRootDirectory(window.location.href);
26 window.open(root + "DOMWindowCreated_chrome.xul", "_blank", "chrome,width=600,height=550");
27 </script>
28
29 </window>

mercurial