1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/docshell/base/crashtests/678872-1.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,36 @@ 1.4 +<!DOCTYPE html> 1.5 +<html> 1.6 +<head> 1.7 +<script> 1.8 + 1.9 +var f1, f2; 1.10 + 1.11 +function b1() 1.12 +{ 1.13 + f1 = document.getElementById("f1"); 1.14 + f2 = document.getElementById("f2"); 1.15 + f1.contentWindow.document.write("11"); 1.16 + f1.contentWindow.history.back(); 1.17 + setTimeout(b2, 0); 1.18 +} 1.19 + 1.20 +function b2() 1.21 +{ 1.22 + f2.contentWindow.history.forward(); 1.23 + f2.contentWindow.location.reload(); 1.24 + f1.parentNode.removeChild(f1); 1.25 +} 1.26 + 1.27 +</script> 1.28 + 1.29 + 1.30 +</script> 1.31 +</head> 1.32 + 1.33 +<body onload="setTimeout(b1, 0);"> 1.34 + 1.35 +<iframe id="f1" src="data:text/html,1"></iframe> 1.36 +<iframe id="f2" src="data:text/html,2"></iframe> 1.37 + 1.38 +</body> 1.39 +</html>