summaryrefslogtreecommitdiff
path: root/layout/base/crashtests/414175-1.xul
diff options
context:
space:
mode:
authorMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
committerMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
commitad18d877ddd2a44d98fa12ccd3dbbcf4d0ac4299 (patch)
tree10027f336435511475e392454359edea8e25895d /layout/base/crashtests/414175-1.xul
parent15477ed9af4859dacb069040b5d4de600803d3bc (diff)
downloadaura-central-ad18d877ddd2a44d98fa12ccd3dbbcf4d0ac4299.tar.gz
Add m-esr52 at 52.6.0
Diffstat (limited to 'layout/base/crashtests/414175-1.xul')
-rw-r--r--layout/base/crashtests/414175-1.xul26
1 files changed, 26 insertions, 0 deletions
diff --git a/layout/base/crashtests/414175-1.xul b/layout/base/crashtests/414175-1.xul
new file mode 100644
index 000000000..6d3c3d31f
--- /dev/null
+++ b/layout/base/crashtests/414175-1.xul
@@ -0,0 +1,26 @@
+<xul xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" onload="boom();">
+
+<script type="text/javascript">
+
+function boom()
+{
+ var XUL_NS = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";
+
+ var oldListbox = document.getElementById("oldListbox");
+ var listitem = document.getElementById("listitem");
+ var newListbox = document.createElementNS(XUL_NS, "listbox");
+ var newHbox = document.createElementNS(XUL_NS, "hbox");
+
+ oldListbox.appendChild(newListbox);
+ listitem.appendChild(newHbox);
+
+ newListbox.style.display = "inline";
+ oldListbox.style.display = "block";
+ newHbox.style.display = "inline";
+}
+
+</script>
+
+<listbox id="oldListbox"><listitem id="listitem" /></listbox>
+
+</xul>