summaryrefslogtreecommitdiffstats
path: root/dom/svg/crashtests/1250725.html
diff options
context:
space:
mode:
Diffstat (limited to 'dom/svg/crashtests/1250725.html')
-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 000000000..68052f344
--- /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, false);
+ </script>
+
+ <symbol id="p" viewBox="0 0 100 20"/>
+
+ <use id="u" xlink:href="#p"/>
+
+</svg>