editor/libeditor/html/crashtests/513375-1.xhtml

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/editor/libeditor/html/crashtests/513375-1.xhtml	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,19 @@
     1.4 +<html xmlns="http://www.w3.org/1999/xhtml">
     1.5 +<head contenteditable="true">
     1.6 +<script type="text/javascript">
     1.7 +<![CDATA[
     1.8 +
     1.9 +function boom()
    1.10 +{
    1.11 +  var r = document.createRange();
    1.12 +  r.selectNode(document.body);
    1.13 +  r.deleteContents();
    1.14 +  try { document.execCommand("selectAll", false, null); } catch(e) { }
    1.15 +}
    1.16 +
    1.17 +]]>
    1.18 +</script>
    1.19 +</head>
    1.20 +
    1.21 +<body onload="boom();" contenteditable="true"></body>
    1.22 +</html>

mercurial