1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/generic/crashtests/385885-1.xul Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,19 @@ 1.4 +<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" onload="boom()"> 1.5 + 1.6 +<script> 1.7 +<![CDATA[ 1.8 + 1.9 +function boom() 1.10 +{ 1.11 + var de = document.documentElement; 1.12 + 1.13 + de.style.MozBinding = "url('data:text/xml,<bindings xmlns=%22http://www.mozilla.org/xbl%22><binding id=%22foo%22><content></content></binding></bindings>')"; 1.14 + 1.15 + document.removeChild(de); 1.16 + document.appendChild(de); 1.17 +} 1.18 + 1.19 +]]> 1.20 +</script> 1.21 + 1.22 +</window>