diff options
Diffstat (limited to 'testing/mochitest/static/xul.template.txt')
-rw-r--r-- | testing/mochitest/static/xul.template.txt | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/testing/mochitest/static/xul.template.txt b/testing/mochitest/static/xul.template.txt new file mode 100644 index 000000000..5d42dd555 --- /dev/null +++ b/testing/mochitest/static/xul.template.txt @@ -0,0 +1,28 @@ +<?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="chrome://mochikit/content/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> |