editor/composer/src/crashtests/419563-1.xhtml

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/editor/composer/src/crashtests/419563-1.xhtml	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,20 @@
     1.4 +<html xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait">
     1.5 +<head>
     1.6 +<script type="text/javascript">
     1.7 +
     1.8 +function boom()
     1.9 +{
    1.10 +  document.documentElement.appendChild(document.body);
    1.11 +  document.getElementById("s").contentEditable = "true";
    1.12 +  document.getElementById("v").focus();
    1.13 +  document.body.focus();
    1.14 +  document.execCommand("delete", false, null);
    1.15 +  document.documentElement.removeAttribute("class");
    1.16 +}
    1.17 +
    1.18 +</script>
    1.19 +</head>
    1.20 +
    1.21 +<span id="s">thesewords arenot realwords</span><body contenteditable="true" onload="setTimeout(boom, 0);"><span contenteditable="false"><div id="v" contenteditable="true"></div>Five</span></body>
    1.22 +
    1.23 +</html>

mercurial