editor/libeditor/html/crashtests/761861.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/editor/libeditor/html/crashtests/761861.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,15 @@
     1.4 +<!doctype html>
     1.5 +<script>
     1.6 +function boom() {
     1.7 +  var r = document.documentElement;
     1.8 +  while (r.firstChild) {
     1.9 +    r.removeChild(r.firstChild);
    1.10 +  }
    1.11 +
    1.12 +  document.documentElement.contentEditable = "true";
    1.13 +  document.documentElement.appendChild(document.createElement("span"));
    1.14 +  document.documentElement.firstChild.appendChild(document.createTextNode("_"));
    1.15 +  document.execCommand("forwarddelete");
    1.16 +}
    1.17 +</script>
    1.18 +<body onload="boom()">

mercurial