|
1 <?xml version="1.0"?> |
|
2 <?xml-stylesheet type="text/css" href="chrome://global/skin"?> |
|
3 <?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css" |
|
4 type="text/css"?> |
|
5 <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> |
|
6 <script type="application/javascript" |
|
7 src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script> |
|
8 <script type="application/javascript" |
|
9 src="chrome://mochikit/content/chrome-harness.js"></script> |
|
10 |
|
11 <!-- test results are displayed in the html:body --> |
|
12 <body xmlns="http://www.w3.org/1999/xhtml"> |
|
13 </body> |
|
14 |
|
15 <!-- test code goes here --> |
|
16 <script type="application/javascript"> |
|
17 <![CDATA[ |
|
18 SimpleTest.waitForExplicitFinish(); |
|
19 // Run the test in a separate window so that the test runs as a chrome |
|
20 // window |
|
21 var root = getRootDirectory(window.location.href); |
|
22 window.open(root + "chrome_content_integration_window.xul", "chrome_content_integration", |
|
23 "chrome,width=200,height=300"); |
|
24 ]]> |
|
25 </script> |
|
26 </window> |