|
1 <?xml version="1.0"?> |
|
2 <?xml-stylesheet href="chrome://global/skin" type="text/css"?> |
|
3 <?xml-stylesheet |
|
4 href="chrome://mochikit/content/tests/SimpleTest/test.css" |
|
5 type="text/css"?> |
|
6 <!-- |
|
7 https://bugzilla.mozilla.org/show_bug.cgi?id=311007.xul |
|
8 --> |
|
9 <window title="Mozilla Bug 311007" |
|
10 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> |
|
11 |
|
12 <script type="application/javascript" |
|
13 src="chrome://mochikit/content/MochiKit/packed.js"></script> |
|
14 <script type="application/javascript" |
|
15 src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script> |
|
16 |
|
17 <body xmlns="http://www.w3.org/1999/xhtml"> |
|
18 <a target="_blank" |
|
19 href="https://bugzilla.mozilla.org/show_bug.cgi?id=311007"> |
|
20 Mozilla Bug 311007</a> |
|
21 <p id="display"></p> |
|
22 <div id="content" style="display: none"> |
|
23 |
|
24 </div> |
|
25 <pre id="test"> |
|
26 </pre> |
|
27 </body> |
|
28 |
|
29 <script class="testbody" type="application/javascript"> |
|
30 <![CDATA[ |
|
31 |
|
32 if (navigator.platform.startsWith("Win")) { |
|
33 SimpleTest.expectAssertions(0, 1); |
|
34 } |
|
35 |
|
36 /** Test for Bug 311007 **/ |
|
37 |
|
38 SimpleTest.waitForExplicitFinish(); |
|
39 window.open("bug311007_window.xul", "bug311007", |
|
40 "chrome,width=600,height=600"); |
|
41 |
|
42 ]]> |
|
43 </script> |
|
44 |
|
45 </window> |