1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/dom/smil/crashtests/547333-1.svg Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,22 @@ 1.4 +<?xml version="1.0"?> 1.5 +<svg xmlns="http://www.w3.org/2000/svg" 1.6 + class="reftest-wait"> 1.7 +<script type="text/javascript"> 1.8 +<![CDATA[ 1.9 + 1.10 +function boom() 1.11 +{ 1.12 + document.getElementsByTagName("animate")[0].setAttributeNS(null, "attributeName", "font-size"); 1.13 + document.getElementsByTagName("text")[0].setAttributeNS(null, "fill", "green"); 1.14 + document.documentElement.removeAttributeNS(null, "x"); 1.15 + document.documentElement.removeAttribute("class"); 1.16 +} 1.17 + 1.18 +window.addEventListener("load", boom, false); 1.19 + 1.20 +]]> 1.21 +</script> 1.22 + 1.23 +<text>abc<animate/></text> 1.24 + 1.25 +</svg>