1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/dom/smil/crashtests/605345-1.svg Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,25 @@ 1.4 +<?xml version="1.0"?> 1.5 +<svg xmlns="http://www.w3.org/2000/svg" class="reftest-wait"> 1.6 +<script> 1.7 +<![CDATA[ 1.8 + 1.9 +function boom() 1.10 +{ 1.11 + var anim = document.getElementById("a"); 1.12 + var newSvg = document.createElementNS("http://www.w3.org/2000/svg", "svg"); 1.13 + var oldSvg = document.removeChild(document.documentElement); 1.14 + document.appendChild(newSvg); 1.15 + document.removeChild(document.documentElement); 1.16 + newSvg.pauseAnimations(); 1.17 + document.appendChild(newSvg); 1.18 + newSvg.appendChild(anim); 1.19 + 1.20 + oldSvg.removeAttribute("class"); 1.21 +} 1.22 + 1.23 +window.addEventListener("load", function() { setTimeout(boom, 200); }, false); 1.24 + 1.25 +]]> 1.26 +</script> 1.27 +<animate id="a"/> 1.28 +</svg>