summaryrefslogtreecommitdiffstats
path: root/dom/svg/crashtests/369291-2.svg
diff options
context:
space:
mode:
Diffstat (limited to 'dom/svg/crashtests/369291-2.svg')
-rw-r--r--dom/svg/crashtests/369291-2.svg19
1 files changed, 19 insertions, 0 deletions
diff --git a/dom/svg/crashtests/369291-2.svg b/dom/svg/crashtests/369291-2.svg
new file mode 100644
index 000000000..097e3dde2
--- /dev/null
+++ b/dom/svg/crashtests/369291-2.svg
@@ -0,0 +1,19 @@
+<svg xmlns="http://www.w3.org/2000/svg"
+ xmlns:html="http://www.w3.org/1999/xhtml"
+ onload="setTimeout(boom, 30);"
+ class="reftest-wait">
+
+<html:script>
+
+function boom()
+{
+ document.getElementById("rect").getBBox();
+
+ document.documentElement.removeAttribute("class");
+}
+
+</html:script>
+
+<rect id="rect" />
+
+</svg>