Bug 1838484 - Don't create module loader for template contents owner document r=smaug
[gecko.git] / dom / base / crashtests / 1251361.html
blob57c76121f525c4c6041f145d9994c645cf25258b
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <meta charset="UTF-8">
5 <script>
7 var frameRoot;
9 function boom()
11 var frameWin = f.contentWindow;
12 frameRoot = frameWin.document.documentElement;
13 frameWin.location.replace("data:text/html;charset=UTF-8,<body onload='parent.g();'>2");
16 function g()
18 setTimeout(h, 0);
21 function h()
23 var newDoc = document.implementation.createDocument('', '', null);
24 newDoc.adoptNode(frameRoot);
27 </script>
28 <body onload="boom();">
30 <iframe id="f" src="data:text/html;charset=UTF-8,<marquee>1"></iframe>
32 </body>
33 </html>