editor/libeditor/html/crashtests/766795.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/editor/libeditor/html/crashtests/766795.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,21 @@
     1.4 +<html>
     1.5 +<head>
     1.6 +<script>
     1.7 +
     1.8 +function boom()
     1.9 +{
    1.10 +  var fragEl = document.createElement("span");
    1.11 +  fragEl.setAttribute("contenteditable", "true");
    1.12 +  fragEl.setAttribute("style", "position: absolute;");
    1.13 +
    1.14 +  var frag = document.createDocumentFragment();
    1.15 +  frag.appendChild(fragEl);
    1.16 +
    1.17 +  window.getSelection().selectAllChildren(fragEl);
    1.18 +}
    1.19 +
    1.20 +</script>
    1.21 +</head>
    1.22 +
    1.23 +<body contenteditable="true" onload="boom();"></body>
    1.24 +</html>

mercurial