4 <script src=
"../../../resources/js-test.js"></script>
7 <link id=
"lnk" rel=
"preload" as=
"image" href=
"http://prefetch.wut.com.test/3.gif">
9 description("Inserting a <link rel=preload> into a bare document shouldn't crash.");
11 window
.jsTestIsAsync
= true;
14 var doc
= document
.implementation
.createDocument("", "", null);
15 doc
.appendChild(document
.getElementById("lnk"));
16 testPassed("no crash");
20 window
.onload
= runTest
;