summaryrefslogtreecommitdiff
path: root/dom/base/crashtests/693212.xhtml
blob: 6cc600d3b437500840b1a11d6950a14bdd821ef2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<script type="text/javascript">
  function boom() { 
    select = document.createElementNS("http://www.w3.org/1999/xhtml", "select");
    text = document.body.childNodes[0];
    select.setAttribute("onDOMSubtreeModified", "text.parentNode.removeChild(text);");
    select.appendChild(text);
  }
</script>
</head>

<body onload="boom()">

</body>
</html>