Bug 1838484 - Don't create module loader for template contents owner document r=smaug
[gecko.git] / dom / base / crashtests / 420620-1.html
blob74ae6dcbe3f3d6d70d638a18f3a4c2cc7de4fa57
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script type="text/javascript">
6 function boom()
8 var a = document.documentElement;
9 var b = document.body;
11 document.removeChild(a);
12 b.contentEditable = "true";
13 document.appendChild(a);
15 function t() {
16 document.removeEventListener("DOMAttrModified", t);
17 document.removeChild(a);
20 document.addEventListener("DOMAttrModified", t);
21 document.execCommand("insertunorderedlist", false, "<h1>");
22 document.removeEventListener("DOMAttrModified", t);
25 </script>
26 </head>
28 <body onload="boom()"></body>
29 </html>