summaryrefslogtreecommitdiffstats
path: root/dom/base/crashtests/543645.html
blob: c9b80f4cdfd88917d4de11ca51a8675b4b5d520b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<!doctype html>
<body> <span></span> <script>
function boom() {
  var range = document.createRange();
  range.setEnd(document.body.childNodes[2], 0);
  window.addEventListener("DOMNodeInserted", f, true);
  function f() {
    window.removeEventListener("DOMNodeInserted", f, true);
    range.deleteContents();
  }
  range.deleteContents();
}
window.addEventListener("load", boom);
</script>