Bug 1686495 [wpt PR 27132] - Add tests for proposed WebDriver Shadow DOM support...
[gecko.git] / editor / libeditor / crashtests / 713427-2.xhtml
blob39ac18ed07e7409c62e0aab54030641396afc9fe
1 <html xmlns="http://www.w3.org/1999/xhtml">
2 <head>
3 <script>
4 <![CDATA[
6 function boom()
8 while (document.documentElement.firstChild) {
9 document.documentElement.firstChild.remove();
12 var td = document.createElementNS("http://www.w3.org/1999/xhtml", "td");
13 td.setAttributeNS(null, "contenteditable", "true");
14 (document.documentElement).appendChild(td);
15 var head = document.createElementNS("http://www.w3.org/1999/xhtml", "head");
16 (document.documentElement).appendChild(head);
18 head.appendChild(td);
21 window.addEventListener("load", boom);
23 ]]>
24 </script>
25 </head>
27 <body></body>
28 </html>