file_bug670318.html (517B)
1 <html><head> 2 <meta http-equiv="content-type" content="text/html; charset=UTF-8"> 3 <script> 4 function load() { 5 function next() { 6 if (count < 5) 7 iframe.src = "data:text/html;charset=utf-8,iframe " + (++count); 8 } 9 10 var count = 0; 11 var iframe = document.createElement("iframe"); 12 iframe.src = "data:text/html;charset=utf-8,iframe " + (++count); 13 iframe.onload = function() { setTimeout(next, 0); }; 14 document.body.appendChild(iframe); 15 } 16 </script> 17 </head> 18 19 <body onload="load()"> 20 Testcase 21 </body> 22 </html>