1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/base/crashtests/414175-1.xul Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,26 @@ 1.4 +<xul xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" onload="boom();"> 1.5 + 1.6 +<script type="text/javascript"> 1.7 + 1.8 +function boom() 1.9 +{ 1.10 + var XUL_NS = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"; 1.11 + 1.12 + var oldListbox = document.getElementById("oldListbox"); 1.13 + var listitem = document.getElementById("listitem"); 1.14 + var newListbox = document.createElementNS(XUL_NS, "listbox"); 1.15 + var newHbox = document.createElementNS(XUL_NS, "hbox"); 1.16 + 1.17 + oldListbox.appendChild(newListbox); 1.18 + listitem.appendChild(newHbox); 1.19 + 1.20 + newListbox.style.display = "inline"; 1.21 + oldListbox.style.display = "block"; 1.22 + newHbox.style.display = "inline"; 1.23 +} 1.24 + 1.25 +</script> 1.26 + 1.27 +<listbox id="oldListbox"><listitem id="listitem" /></listbox> 1.28 + 1.29 +</xul>