dom/smil/crashtests/541297-1.svg

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/dom/smil/crashtests/541297-1.svg	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,22 @@
     1.4 +<?xml version="1.0" encoding="UTF-8"?>
     1.5 +<svg xmlns="http://www.w3.org/2000/svg"><svg id="w"><animate/></svg><script type="text/javascript">
     1.6 +<![CDATA[
     1.7 +
     1.8 +function boom()
     1.9 +{
    1.10 +  anim = document.createElementNS("http://www.w3.org/2000/svg", "animate");
    1.11 +  document.documentElement.appendChild(anim);
    1.12 +  document.documentElement.removeChild(anim);
    1.13 +  
    1.14 +  setTimeout(t, 0);
    1.15 +  
    1.16 +  function t()
    1.17 +  {
    1.18 +    document.getElementById("w").appendChild(anim);
    1.19 +  }
    1.20 +}
    1.21 +
    1.22 +window.addEventListener("load", boom, false);
    1.23 +
    1.24 +]]>
    1.25 +</script></svg>

mercurial