gecko-dev/testing/mochitest/static/xul.template.txt
Bobby Holley d7c79fb1aa Bug 823120 - Fix templates. r=jmaher
Having <script> tags after the content, rather than before, encourages people to
do <iframe onload="go()"> before go is guaranteed to be defined.
2012-12-19 15:27:49 -08:00

28 lines
801 B
Plaintext

<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="chrome://global/skin"?>
<?xml-stylesheet type="text/css" href="/tests/SimpleTest/test.css"?>
<!--
https://bugzilla.mozilla.org/show_bug.cgi?id={BUGNUMBER}
-->
<window title="Mozilla Bug {BUGNUMBER}"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"/>
<!-- test code goes here -->
<script type="application/javascript">
<![CDATA[
/** Test for Bug {BUGNUMBER} **/
]]>
</script>
<!-- test results are displayed in the html:body -->
<body xmlns="http://www.w3.org/1999/xhtml">
<a href="https://bugzilla.mozilla.org/show_bug.cgi?id={BUGNUMBER}"
target="_blank">Mozilla Bug {BUGNUMBER}</a>
</body>
</window>