summaryrefslogtreecommitdiffstats
path: root/layout/svg/crashtests/757704-1.svg
diff options
context:
space:
mode:
Diffstat (limited to 'layout/svg/crashtests/757704-1.svg')
-rw-r--r--layout/svg/crashtests/757704-1.svg17
1 files changed, 17 insertions, 0 deletions
diff --git a/layout/svg/crashtests/757704-1.svg b/layout/svg/crashtests/757704-1.svg
new file mode 100644
index 0000000000..b7e610e0e1
--- /dev/null
+++ b/layout/svg/crashtests/757704-1.svg
@@ -0,0 +1,17 @@
+<?xml version="1.0"?>
+
+<svg xmlns="http://www.w3.org/2000/svg"><script>
+<![CDATA[
+
+function boom()
+{
+ var rect = document.createElementNS("http://www.w3.org/2000/svg", "rect");
+ document.documentElement.appendChild(rect);
+ document.removeChild(document.documentElement);
+ rect.getScreenCTM();
+}
+
+window.addEventListener("load", boom, false);
+
+]]>
+</script></svg>