summaryrefslogtreecommitdiffstats
path: root/editor/libeditor/crashtests/407256-1.html
blob: 36c146f4c5d2d321250a0cc779d7c3a2d376f263 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<html>
<head>
<script type="text/javascript">

function boom()
{
  document.addEventListener("DOMNodeInserted", x);
    
  function x()
  {
    document.removeEventListener("DOMNodeInserted", x);
    document.execCommand("insertParagraph", false, "");
  }

  document.execCommand("insertorderedlist", false, "");
}

</script>
</head>

<body contenteditable="true" onload="boom()"></body>

</html>