1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/dom/xbl/crashtests/415301-1.xul Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,34 @@ 1.4 +<?xml version="1.0"?> 1.5 +<?xml-stylesheet href="chrome://global/skin/global.css"?> 1.6 + 1.7 +<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" 1.8 + xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" 1.9 + onload="boom();"> 1.10 + 1.11 + 1.12 +<bindings xmlns="http://www.mozilla.org/xbl"> 1.13 + 1.14 +<binding id="chil"><content><children/></content></binding> 1.15 + 1.16 +<binding id="ichil"><content> 1.17 +<xul:hbox style="-moz-binding: url(#chil)"><children/></xul:hbox> 1.18 +</content></binding> 1.19 + 1.20 +</bindings> 1.21 + 1.22 + 1.23 +<script type="text/javascript"> 1.24 + 1.25 +function boom() 1.26 +{ 1.27 + document.getElementById("inner").removeChild(document.getElementById("lbb")); 1.28 + document.getElementById("outer").style.MozBinding = ""; 1.29 +} 1.30 + 1.31 +</script> 1.32 + 1.33 + 1.34 +<hbox id="outer" style="-moz-binding: url(#chil)"><hbox id="inner" style="-moz-binding: url(#ichil)"><listboxbody id="lbb" /></hbox></hbox> 1.35 + 1.36 + 1.37 +</window>