1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/xul/crashtests/583957-1.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,20 @@ 1.4 +<html> 1.5 +<head> 1.6 +<script> 1.7 + 1.8 +function boom() 1.9 +{ 1.10 + window.addEventListener("DOMSubtreeModified", function(){}, false); 1.11 + 1.12 + var m = document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul", "menuitem"); 1.13 + document.body.appendChild(m); 1.14 + m.setAttribute("type", "checkbox"); 1.15 + m.setAttribute("checked", "true"); 1.16 + m.removeAttribute("type"); 1.17 +} 1.18 + 1.19 +</script> 1.20 +</head> 1.21 + 1.22 +<body onload="boom();"></body> 1.23 +</html>