Bug 1852740: add tests for the `fetchpriority` attribute in Link headers. r=necko...
[gecko.git] / dom / base / test / test_bug1037687.html
blob62f886c8375dfd39ccc2386789788e31629cd37a
1 <!DOCTYPE HTML>
2 <html>
3 <!--
4 https://bugzilla.mozilla.org/show_bug.cgi?id=1037687
5 -->
6 <head>
7 <meta charset="utf-8">
8 <title>Test for Bug 1037687</title>
9 <script src="/tests/SimpleTest/SimpleTest.js"></script>
10 <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
11 </head>
12 <body>
13 <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1037687">Mozilla Bug 1037687</a>
14 <p id="display"></p>
15 <div id="content" style="display: none">
17 </div>
18 <pre id="test">
19 </pre>
20 <script type="application/javascript">
21 /** Test for Bug 1037687 **/
22 SimpleTest.waitForExplicitFinish();
23 window.onload = function() {
24 // This test loads in an iframe, to ensure that the element instance is
25 // loaded with the correct value of the preference.
26 let iframe = document.createElement("iframe");
27 iframe.src = "test_bug1037687_subframe.html";
28 document.body.appendChild(iframe);
30 </script>
31 </body>
32 </html>