summaryrefslogtreecommitdiffstats
path: root/dom/base/crashtests/325730-1.html
blob: 113f697abc6c03bda314a6ebfbf3ffb1be7b94fc (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
<html>

<head>

<script>

function init()
{
  document.addEventListener("DOMNodeRemoved", meep);
  document.body.appendChild(document.getElementById("b"));

  function meep()
  {
    document.removeEventListener("DOMNodeRemoved", meep);
    document.body.removeChild(document.getElementById("c"));
  }
}

window.addEventListener("load", init);


</script>

</head>

<body><div id="b"></div><div id="c"></div></body>
</html>