1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/docshell/test/browser/file_bug670318.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,23 @@ 1.4 +<html><head> 1.5 +<meta http-equiv="content-type" content="text/html; charset=UTF-8"> 1.6 +<script> 1.7 +function load() { 1.8 + function next() { 1.9 + if (count < 5) 1.10 + iframe.src = 'data:text/html,iframe ' + (++count); 1.11 + } 1.12 + 1.13 + var count = 0; 1.14 + var iframe = document.createElement('iframe'); 1.15 + iframe.onload = function () { setTimeout(next, 0) }; 1.16 + document.body.appendChild(iframe); 1.17 + 1.18 + setTimeout(next, 0); 1.19 +} 1.20 +</script> 1.21 +</head> 1.22 + 1.23 +<body onload="load()"> 1.24 +Testcase 1.25 +</body> 1.26 +</html>