Merge mozilla-central to autoland on a CLOSED TREE
[gecko.git] / widget / tests / test_bug593307.xhtml
blob770dd390cbfe6995bebbfa5edcd4e370f4312b3e
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"
4 type="text/css"?>
5 <!--
6 https://bugzilla.mozilla.org/show_bug.cgi?id=593307
7 -->
8 <window title="Mozilla Bug 593307"
9 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
11 <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js" />
13 <body xmlns="http://www.w3.org/1999/xhtml">
14 <div id="content" style="display: none">
16 </div>
17 <pre id="test">
18 </pre>
19 </body>
21 <script class="testbody" type="application/javascript">
22 <![CDATA[
24 SimpleTest.waitForExplicitFinish();
26 function finish() {
27 offscreenWindow.close();
28 SimpleTest.finish();
31 var mainWindow = window.browsingContext.topChromeWindow;
33 var offscreenWindow = mainWindow.openDialog("window_bug593307_offscreen.xhtml", "",
34 "dialog=no,chrome,width=200,height=200,screenX=-3000,screenY=-3000",
35 SimpleTest, finish);
37 ]]>
38 </script>
40 </window>