summaryrefslogtreecommitdiffstats
path: root/dom/smil/crashtests/615872-1.svg
blob: e0cdf21546d372bbb074e7138b523647b6a86e20 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?xml version="1.0"?>

<svg xmlns="http://www.w3.org/2000/svg"><script>
<![CDATA[

function boom()
{
  var r = document.documentElement;
  var s = document.createElementNS("http://www.w3.org/2000/svg", "set");
  s.setAttributeNS(null, "begin", "1s");
  r.appendChild(s);
  r.setCurrentTime(2);
  document.removeChild(r);
  r.setCurrentTime(0);
  s.beginElementAt(0);
}

window.addEventListener("load", boom, false);

]]>
</script></svg>