summaryrefslogtreecommitdiffstats
path: root/layout/base/crashtests/344340-1.xhtml
diff options
context:
space:
mode:
Diffstat (limited to 'layout/base/crashtests/344340-1.xhtml')
-rw-r--r--layout/base/crashtests/344340-1.xhtml28
1 files changed, 28 insertions, 0 deletions
diff --git a/layout/base/crashtests/344340-1.xhtml b/layout/base/crashtests/344340-1.xhtml
new file mode 100644
index 0000000000..8a54f759ac
--- /dev/null
+++ b/layout/base/crashtests/344340-1.xhtml
@@ -0,0 +1,28 @@
+<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" onload="setTimeout(foopy, 30);" class="reftest-wait">
+
+<script>
+
+<![CDATA[
+
+var XUL_NS = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";
+
+function foopy()
+{
+ var hbox = document.createElementNS(XUL_NS, 'hbox');
+ var tooltip = document.createElementNS(XUL_NS, 'tooltip');
+ var vbox = document.createElementNS(XUL_NS, 'vbox');
+ var toolbarspring = document.createElementNS(XUL_NS, 'toolbarspring');
+
+ document.documentElement.appendChild(hbox);
+ hbox.appendChild(toolbarspring);
+
+ vbox.appendChild(tooltip);
+ toolbarspring.appendChild(vbox);
+
+ document.documentElement.removeAttribute("class");
+}
+
+]]>
+</script>
+
+</window>