1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/xul/crashtests/344228-1.xul Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,27 @@ 1.4 +<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" onload="setTimeout(boom, 30);" class="reftest-wait"> 1.5 + 1.6 +<script> 1.7 + 1.8 +function remove(q1) { q1.parentNode.removeChild(q1); } 1.9 + 1.10 +function boom() 1.11 +{ 1.12 + var x = document.getElementById("x"); 1.13 + var y = document.getElementById("y"); 1.14 + remove(x); 1.15 + remove(y); 1.16 + 1.17 + document.documentElement.removeAttribute("class"); 1.18 +} 1.19 + 1.20 +</script> 1.21 + 1.22 +<tree> 1.23 + <treechildren id="y"/> 1.24 + <richlistbox> 1.25 + <hbox id="x"/> 1.26 + <menulist/> 1.27 + </richlistbox> 1.28 +</tree> 1.29 + 1.30 +</window> 1.31 \ No newline at end of file