Bug 1882714 [wpt PR 44850] - Update wpt metadata, a=testonly
[gecko.git] / widget / tests / window_bug593307_offscreen.xhtml
blob10ab701a55b9968c7ceee75b1bbfdc656c43e99b
1 <?xml version="1.0"?>
2 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
3 <window title="Mozilla Bug 593307"
4 width="100" height="100"
5 onload="onLoad();"
6 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
8 <script src="chrome://mochikit/content/tests/SimpleTest/EventUtils.js" />
10 <body xmlns="http://www.w3.org/1999/xhtml" id="body">
11 </body>
13 <script class="testbody" type="application/javascript">
14 <![CDATA[
16 var centerscreen = null;
17 var SimpleTest = window.arguments[0];
18 var finish = window.arguments[1];
20 function onLoad()
22 setTimeout(() => {
23 centerscreen = window.openDialog('window_bug593307_centerscreen.xhtml','', 'chrome,centerscreen,dependent,dialog=no');
24 }, 0);
27 function finished() {
28 centerscreen.close();
29 finish();
32 ]]>
33 </script>
35 </window>