editor/libeditor/base/crashtests/713427-2.xhtml

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/editor/libeditor/base/crashtests/713427-2.xhtml	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,28 @@
     1.4 +<html xmlns="http://www.w3.org/1999/xhtml">
     1.5 +<head>
     1.6 +<script>
     1.7 +<![CDATA[
     1.8 +
     1.9 +function boom()
    1.10 +{
    1.11 +  while (document.documentElement.firstChild) {
    1.12 +    document.documentElement.removeChild(document.documentElement.firstChild);
    1.13 +  }
    1.14 +
    1.15 +  var td = document.createElementNS("http://www.w3.org/1999/xhtml", "td");
    1.16 +  td.setAttributeNS(null, "contenteditable", "true");
    1.17 +  (document.documentElement).appendChild(td);
    1.18 +  var head = document.createElementNS("http://www.w3.org/1999/xhtml", "head");
    1.19 +  (document.documentElement).appendChild(head);
    1.20 +
    1.21 +  head.appendChild(td);
    1.22 +}
    1.23 +
    1.24 +window.addEventListener("load", boom, false);
    1.25 +
    1.26 +]]>
    1.27 +</script>
    1.28 +</head>
    1.29 +
    1.30 +<body></body>
    1.31 +</html>

mercurial