dom/smil/crashtests/541297-1.svg

branch
TOR_BUG_9701
changeset 15
b8a032363ba2
equal deleted inserted replaced
-1:000000000000 0:5a77b9b8f9d7
1 <?xml version="1.0" encoding="UTF-8"?>
2 <svg xmlns="http://www.w3.org/2000/svg"><svg id="w"><animate/></svg><script type="text/javascript">
3 <![CDATA[
4
5 function boom()
6 {
7 anim = document.createElementNS("http://www.w3.org/2000/svg", "animate");
8 document.documentElement.appendChild(anim);
9 document.documentElement.removeChild(anim);
10
11 setTimeout(t, 0);
12
13 function t()
14 {
15 document.getElementById("w").appendChild(anim);
16 }
17 }
18
19 window.addEventListener("load", boom, false);
20
21 ]]>
22 </script></svg>

mercurial