summaryrefslogtreecommitdiffstats
path: root/editor/libeditor/crashtests/407256-1.html
blob: 824162ac56a7e3407d6676f428461aa56a1808ca (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, false);
    
  function x()
  {
    document.removeEventListener("DOMNodeInserted", x, false);
    document.execCommand("insertParagraph", false, "");
  }

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

</script>
</head>

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

</html>