1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/content/base/crashtests/343730-1.xhtml Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,35 @@ 1.4 +<html xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait"> 1.5 +<head> 1.6 + 1.7 +<script> 1.8 +<![CDATA[ 1.9 + 1.10 +var div; 1.11 + 1.12 +function boo() 1.13 +{ 1.14 + var newSpan = document.createElement('span'); 1.15 + div = document.getElementById('div'); 1.16 + 1.17 + var newScript = document.createElement('script'); 1.18 + var nt = document.createTextNode("document.body.removeChild(div);"); 1.19 + newScript.appendChild(nt); 1.20 + newSpan.appendChild(newScript); 1.21 + 1.22 + div.appendChild(newSpan); 1.23 + 1.24 + document.documentElement.removeAttribute("class"); 1.25 +} 1.26 + 1.27 +]]> 1.28 +</script> 1.29 + 1.30 +</head> 1.31 + 1.32 +<body onload="setTimeout(boo, 30);"> 1.33 + 1.34 +<div id="div"></div> 1.35 + 1.36 +</body> 1.37 + 1.38 +</html>