Bug 1839316: part 5) Guard the "fetchpriority" attribute behind a pref. r=kershaw...
[gecko.git] / docshell / test / chrome / window.template.txt
blob4c520dc075545fab5fafd7e0a346dcdfc096199e
1 <?xml version="1.0"?>
2 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
4 <window id="{BUGNUMBER}Test"
5 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
6 width="600"
7 height="600"
8 onload="setTimeout(nextTest,0);"
9 title="bug {BUGNUMBER} test">
11 <script type="application/javascript"
12 src="docshell_helpers.js">
13 </script>
15 <script type="application/javascript"><![CDATA[
17 // Define the generator-iterator for the tests.
18 var tests = testIterator();
20 ////
21 // Execute the next test in the generator function.
23 function nextTest() {
24 tests.next();
27 ////
28 // Generator function for test steps for bug {BUGNUMBER}:
29 // Description goes here.
31 function testIterator()
33 // Test steps go here. See bug303267_window.xhtml for an example.
35 // Tell the framework the test is finished. Include the final 'yield'
36 // statement to prevent a StopIteration exception from being thrown.
37 finish();
38 yield undefined;
41 ]]></script>
43 <browser type="content" primary="true" flex="1" id="content" src="about:blank"/>
44 </window>