1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/xul/crashtests/394120-1.xhtml Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,19 @@ 1.4 +<html xmlns="http://www.w3.org/1999/xhtml" 1.5 + xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> 1.6 +<head> 1.7 +<script> 1.8 +function boom() 1.9 +{ 1.10 + var XUL_NS = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"; 1.11 + var xultext = document.createElementNS(XUL_NS, "text"); 1.12 + var hbox = document.getElementById("hbox") 1.13 + hbox.appendChild(xultext); 1.14 +} 1.15 +</script> 1.16 +</head> 1.17 +<body onload="boom();"> 1.18 + 1.19 +<xul:listboxbody><xul:hbox id="hbox" /></xul:listboxbody> 1.20 + 1.21 +</body> 1.22 +</html>