summaryrefslogtreecommitdiffstats
path: root/layout/base/crashtests/344340-1.xul
diff options
context:
space:
mode:
Diffstat (limited to 'layout/base/crashtests/344340-1.xul')
-rw-r--r--layout/base/crashtests/344340-1.xul28
1 files changed, 28 insertions, 0 deletions
diff --git a/layout/base/crashtests/344340-1.xul b/layout/base/crashtests/344340-1.xul
new file mode 100644
index 000000000..8a54f759a
--- /dev/null
+++ b/layout/base/crashtests/344340-1.xul
@@ -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>