content/base/crashtests/605672-1.svg

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/content/base/crashtests/605672-1.svg	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,17 @@
     1.4 +<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
     1.5 +
     1.6 +<script>
     1.7 +function boom()
     1.8 +{
     1.9 +  var fr = document.createElementNS("http://www.w3.org/1999/xhtml", "iframe");
    1.10 +  fr.src = "data:text/html,X";
    1.11 +  document.documentElement.appendChild(fr);
    1.12 +  var docType = fr.contentDocument.implementation.createDocumentType(undefined, "", "");
    1.13 +  document.removeChild(document.documentElement);
    1.14 +  document.appendChild(docType);
    1.15 +}
    1.16 +
    1.17 +window.addEventListener("load", boom, false);
    1.18 +</script>
    1.19 +
    1.20 +</svg>

mercurial