summaryrefslogtreecommitdiffstats
path: root/dom/svg/crashtests/383685-1.svg
diff options
context:
space:
mode:
Diffstat (limited to 'dom/svg/crashtests/383685-1.svg')
-rw-r--r--dom/svg/crashtests/383685-1.svg16
1 files changed, 16 insertions, 0 deletions
diff --git a/dom/svg/crashtests/383685-1.svg b/dom/svg/crashtests/383685-1.svg
new file mode 100644
index 0000000000..3888ef29e6
--- /dev/null
+++ b/dom/svg/crashtests/383685-1.svg
@@ -0,0 +1,16 @@
+<svg xmlns="http://www.w3.org/2000/svg" onload="setTimeout(boom, 100);">
+
+<script>
+
+function boom()
+{
+ var gradient = document.getElementById("gradient");
+ gradient.spreadMethod.baseVal = undefined;
+ uneval({p: gradient.attributes});
+}
+
+</script>
+
+<linearGradient id="gradient" />
+
+</svg>