|
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"> |
|
7 |
|
8 <script type="application/javascript" |
|
9 src="chrome://mochikit/content/tests/SimpleTest/EventUtils.js" /> |
|
10 |
|
11 <body xmlns="http://www.w3.org/1999/xhtml" id="body"> |
|
12 </body> |
|
13 |
|
14 <script class="testbody" type="application/javascript"> |
|
15 <![CDATA[ |
|
16 |
|
17 var centerscreen = null; |
|
18 var SimpleTest = window.arguments[0]; |
|
19 var finish = window.arguments[1]; |
|
20 |
|
21 function onLoad() |
|
22 { |
|
23 centerscreen = window.openDialog('window_bug593307_centerscreen.xul','', 'chrome,centerscreen,dependent,dialog=no'); |
|
24 } |
|
25 |
|
26 function finished() { |
|
27 centerscreen.close(); |
|
28 finish(); |
|
29 } |
|
30 |
|
31 ]]> |
|
32 </script> |
|
33 |
|
34 </window> |