layout/base/crashtests/496011-1.xhtml

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/base/crashtests/496011-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">
     1.5 +<head>
     1.6 +<script type="text/javascript">
     1.7 +<![CDATA[
     1.8 +
     1.9 +function boom()
    1.10 +{
    1.11 +  document.body.setAttribute("contenteditable", "true");
    1.12 +  document.execCommand("selectAll", false, null);
    1.13 +  document.execCommand("inserthtml", false, "<span><div><\/div><\/span>");
    1.14 +  document.execCommand("undo", false, null);
    1.15 +}
    1.16 +
    1.17 +]]>
    1.18 +</script>
    1.19 +</head>
    1.20 +
    1.21 +<body onload="boom();"><textarea><span/></textarea></body>
    1.22 +
    1.23 +</html>

mercurial