summaryrefslogtreecommitdiffstats
path: root/dom/html/crashtests/395340-1.html
blob: ddbccfe9689abb4e60e8846895226223f1851371 (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 type="text/javascript">

function boom()
{
  var div1 = document.createElement("div");
  div1.style.counterIncrement = "chicken";
  div1.contentEditable = "true";

  var div2 = document.createElement("div");
  div2.style.counterIncrement = "chicken";

  document.body.style.content = "'A'";

  div1.appendChild(div2);
  document.body.appendChild(div1);
  div1.removeChild(div2);
}

</script>

</head>

<body onload="boom();">

</body>
</html>