2010-03-04 22:52:59 +00:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
<?xml-stylesheet type="text/css" href="chrome://global/skin"?>
|
|
|
|
<?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css"
|
|
|
|
type="text/css"?>
|
|
|
|
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
|
|
|
<script type="application/javascript"
|
|
|
|
src="chrome://mochikit/content/MochiKit/packed.js"></script>
|
|
|
|
<script type="application/javascript"
|
|
|
|
src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
|
2010-12-09 22:47:21 +00:00
|
|
|
<script type="application/javascript"
|
|
|
|
src="chrome://mochikit/content/chrome-harness.js"></script>
|
2010-03-04 22:52:59 +00:00
|
|
|
|
|
|
|
<!-- test results are displayed in the html:body -->
|
|
|
|
<body xmlns="http://www.w3.org/1999/xhtml">
|
|
|
|
</body>
|
|
|
|
|
|
|
|
<!-- test code goes here -->
|
|
|
|
<script type="application/javascript">
|
|
|
|
<![CDATA[
|
|
|
|
SimpleTest.waitForExplicitFinish();
|
2010-08-27 03:01:43 +00:00
|
|
|
// Run the test in a separate window so that the test runs as a chrome
|
|
|
|
// window
|
2010-12-09 22:47:21 +00:00
|
|
|
var root = getRootDirectory(window.location.href);
|
|
|
|
window.open(root + "chrome_content_integration_window.xul", "chrome_content_integration",
|
2010-03-04 22:52:59 +00:00
|
|
|
"chrome,width=200,height=300");
|
|
|
|
]]>
|
|
|
|
</script>
|
|
|
|
</window>
|