summaryrefslogtreecommitdiffstats
path: root/layout/base/crashtests/400185-1.xul
diff options
context:
space:
mode:
Diffstat (limited to 'layout/base/crashtests/400185-1.xul')
-rw-r--r--layout/base/crashtests/400185-1.xul21
1 files changed, 21 insertions, 0 deletions
diff --git a/layout/base/crashtests/400185-1.xul b/layout/base/crashtests/400185-1.xul
new file mode 100644
index 000000000..1ca944240
--- /dev/null
+++ b/layout/base/crashtests/400185-1.xul
@@ -0,0 +1,21 @@
+<?xml-stylesheet href="chrome://browser/skin/" type="text/css"?>
+<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" onload="setTimeout(doe, 30);" class="reftest-wait">
+<popupgroup id="a"/>
+<listcols>
+<nativescrollbar id="c">
+<treecols/>
+</nativescrollbar>
+</listcols>
+
+<script>
+function doe() {
+ document.documentElement.id = "true";
+ document.documentElement.removeChild(document.getElementById('a'));
+ var ne = document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul", 'popupgroup');
+ document.documentElement.appendChild(ne);
+ document.getElementById('c').appendChild(document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul", 'treecols'));
+ document.documentElement.removeChild(ne);
+ document.documentElement.removeAttribute("class");
+}
+</script>
+</window>