editor/libeditor/html/crashtests/612565-1.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/editor/libeditor/html/crashtests/612565-1.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,17 @@
     1.4 +<!DOCTYPE html>
     1.5 +<html>
     1.6 +  <body>
     1.7 +    <iframe></iframe>
     1.8 +  </body>
     1.9 +  <script>
    1.10 +    onload = function() {
    1.11 +      var i = document.querySelector("iframe");
    1.12 +      var doc = i.contentDocument;
    1.13 +      doc.body.appendChild(doc.createTextNode("foo"));
    1.14 +      doc.designMode = "on";
    1.15 +      while (doc.body.firstChild) {
    1.16 +        doc.body.removeChild(doc.body.firstChild);
    1.17 +      }
    1.18 +    };
    1.19 +  </script>
    1.20 +</html>

mercurial