summaryrefslogtreecommitdiffstats
path: root/dom/smil/crashtests/669225-2.svg
diff options
context:
space:
mode:
Diffstat (limited to 'dom/smil/crashtests/669225-2.svg')
-rw-r--r--dom/smil/crashtests/669225-2.svg21
1 files changed, 21 insertions, 0 deletions
diff --git a/dom/smil/crashtests/669225-2.svg b/dom/smil/crashtests/669225-2.svg
new file mode 100644
index 000000000..00d52c1f4
--- /dev/null
+++ b/dom/smil/crashtests/669225-2.svg
@@ -0,0 +1,21 @@
+<?xml version="1.0"?>
+
+<svg xmlns="http://www.w3.org/2000/svg">
+
+<script type="text/javascript">
+<![CDATA[
+
+function boom()
+{
+ var a = document.getElementById("a");
+ a.removeAttribute("end");
+ a.setAttribute("end", "a.begin");
+}
+
+window.addEventListener("load", boom, false);
+
+]]>
+</script>
+
+<animate end="0" id="a" onend="boom()"/>
+</svg>