dom/smil/crashtests/606101-1.svg

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/dom/smil/crashtests/606101-1.svg	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,23 @@
     1.4 +<svg xmlns="http://www.w3.org/2000/svg"
     1.5 +     class="reftest-wait">
     1.6 +<script>
     1.7 +
     1.8 +function boom()
     1.9 +{
    1.10 +  var origSVG = document.documentElement;
    1.11 +
    1.12 +  var a = document.createElementNS("http://www.w3.org/2000/svg", "animate");
    1.13 +  var g = document.createElementNS("http://www.w3.org/2000/svg", "g");
    1.14 +  var s = document.createElementNS("http://www.w3.org/2000/svg", "svg");
    1.15 +  document.removeChild(document.documentElement);
    1.16 +  document.appendChild(g);
    1.17 +  s.appendChild(a);
    1.18 +  g.appendChild(s);
    1.19 +
    1.20 +  origSVG.removeAttribute("class");
    1.21 +}
    1.22 +
    1.23 +window.addEventListener("load", boom, false);
    1.24 +
    1.25 +</script>
    1.26 +</svg>

mercurial