1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/content/html/document/crashtests/564461.xhtml Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,26 @@ 1.4 +<html xmlns="http://www.w3.org/1999/xhtml"> 1.5 +<head> 1.6 + 1.7 + 1.8 +<bindings xmlns="http://www.mozilla.org/xbl"> 1.9 + <binding id="editable"><content><div contenteditable="true" xmlns="http://www.w3.org/1999/xhtml"></div></content></binding> 1.10 +</bindings> 1.11 + 1.12 +<script type="text/javascript"> 1.13 +<![CDATA[ 1.14 + 1.15 +function boom() 1.16 +{ 1.17 + while (document.documentElement.firstChild) document.documentElement.removeChild(document.documentElement.firstChild); 1.18 + 1.19 + document.addEventListener("DOMSubtreeModified", function(){}, false); 1.20 + document.addEventListener("DOMNodeInsertedIntoDocument", function(){}, false); 1.21 + document.documentElement.appendChild(document.createElementNS("http://www.w3.org/1999/xhtml", "body")); 1.22 + document.body.style.MozBinding = 'url(#editable)'; 1.23 +} 1.24 + 1.25 +]]> 1.26 +</script></head> 1.27 + 1.28 +<body onload="boom();"></body> 1.29 +</html>