summaryrefslogtreecommitdiffstats
path: root/dom/svg/crashtests/880544-2.svg
diff options
context:
space:
mode:
Diffstat (limited to 'dom/svg/crashtests/880544-2.svg')
-rw-r--r--dom/svg/crashtests/880544-2.svg15
1 files changed, 15 insertions, 0 deletions
diff --git a/dom/svg/crashtests/880544-2.svg b/dom/svg/crashtests/880544-2.svg
new file mode 100644
index 000000000..7570c7cbf
--- /dev/null
+++ b/dom/svg/crashtests/880544-2.svg
@@ -0,0 +1,15 @@
+<svg xmlns="http://www.w3.org/2000/svg">
+ <script>//<![CDATA[
+
+function add_watch()
+{
+ document.getElementById("e").x.baseVal.watch("0", function(){});
+}
+
+window.addEventListener("load", add_watch, false);
+
+ //]]></script>
+
+ <text id="e" x="10">foo</text>
+
+</svg>