editor/libeditor/base/crashtests/407256-1.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/editor/libeditor/base/crashtests/407256-1.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,23 @@
     1.4 +<html>
     1.5 +<head>
     1.6 +<script type="text/javascript">
     1.7 +
     1.8 +function boom()
     1.9 +{
    1.10 +  document.addEventListener("DOMNodeInserted", x, false);
    1.11 +    
    1.12 +  function x()
    1.13 +  {
    1.14 +    document.removeEventListener("DOMNodeInserted", x, false);
    1.15 +    document.execCommand("insertParagraph", false, "");
    1.16 +  }
    1.17 +
    1.18 +  document.execCommand("insertorderedlist", false, "");
    1.19 +}
    1.20 +
    1.21 +</script>
    1.22 +</head>
    1.23 +
    1.24 +<body contenteditable="true" onload="boom()"></body>
    1.25 +
    1.26 +</html>

mercurial