Bug 1852740: add tests for the `fetchpriority` attribute in Link headers. r=necko...
[gecko.git] / dom / base / test / test_bug1375050.html
blob5f598d74692b75e2faec4fb0320fc5e18e3f1d4f
1 <!DOCTYPE HTML>
2 <html>
3 <!--
4 https://bugzilla.mozilla.org/show_bug.cgi?id=1375050
5 -->
6 <head>
7 <meta charset="utf-8">
8 <title>Test for Bug 1375050</title>
9 <script src="/tests/SimpleTest/SimpleTest.js"></script>
10 <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
11 <script type="application/javascript">
12 try { o1 = document.createElement('input'); } catch(e) { console.log(e); };
13 try { o2 = document.createElement('col'); } catch(e) { console.log(e); };
14 try { o4 = document.createRange(); } catch(e) { console.log(e); };
15 try { document.documentElement.appendChild(o1); } catch(e) { console.log(e); };
16 try { for (let p in o1) { let x = o1[p] }; } catch(e) { console.log(e); };
17 try { o4.selectNode(o1); } catch(e) { console.log(e); };
18 try { o6 = document.createComment(" x"); } catch(e) { console.log(e); }
19 try { o4.surroundContents(o6); } catch(e) { console.log(e); }
20 try { o7 = document.implementation.createDocument('', '', null).adoptNode(o1); } catch(e) { console.log(e);};
21 try { o2.appendChild(o1); } catch(e) { console.log(e); };
22 ok(true, "Didn't crash.");
23 </script>
24 </head>
25 <body>
26 <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1375050">Mozilla Bug 1375050</a>
27 <p id="display"></p>
28 <div id="content" style="display: none">
29 </div>
30 <pre id="test">
31 </pre>
32 </body>
33 </html>