1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/xul/crashtests/321056-1.xhtml Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,10 @@ 1.4 +<html xmlns="http://www.w3.org/1999/xhtml" xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> 1.5 +<xul:titlebar id="a"/> 1.6 + 1.7 +<script> 1.8 +var html = document.firstChild; 1.9 +var a = document.getElementById('a') 1.10 +document.removeChild(html) 1.11 +document.appendChild(a) 1.12 +</script> 1.13 +</html>