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