summaryrefslogtreecommitdiff
path: root/editor/libeditor/crashtests/713427-2.xhtml
blob: b04a5d7736a2100c575e9e79004ddd858aa6fe74 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<script>
<![CDATA[

function boom()
{
  while (document.documentElement.firstChild) {
    document.documentElement.removeChild(document.documentElement.firstChild);
  }

  var td = document.createElementNS("http://www.w3.org/1999/xhtml", "td");
  td.setAttributeNS(null, "contenteditable", "true");
  (document.documentElement).appendChild(td);
  var head = document.createElementNS("http://www.w3.org/1999/xhtml", "head");
  (document.documentElement).appendChild(head);

  head.appendChild(td);
}

window.addEventListener("load", boom, false);

]]>
</script>
</head>

<body></body>
</html>