summaryrefslogtreecommitdiffstats
path: root/dom/svg/crashtests/1250725.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--dom/svg/crashtests/1250725.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/dom/svg/crashtests/1250725.html b/dom/svg/crashtests/1250725.html
new file mode 100644
index 0000000000..3edc8d223c
--- /dev/null
+++ b/dom/svg/crashtests/1250725.html
@@ -0,0 +1,16 @@
+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
+
+ <script>
+ function boom()
+ {
+ document.getElementById("u").setAttribute("width", "30");
+ document.getElementById("p").remove();
+ }
+ window.addEventListener("load", boom);
+ </script>
+
+ <symbol id="p" viewBox="0 0 100 20"/>
+
+ <use id="u" xlink:href="#p"/>
+
+</svg>