file_bug540462.html (514B)
1 <html> 2 <head> 3 <script> 4 // <!-- 5 function test() { 6 document.open(); 7 document.write( 8 `<html> 9 <body onload='opener.documentWriteLoad(); rel();'> 10 <a href='foo.html'>foo</a> 11 <script> 12 function rel() { setTimeout('location.reload()', 0); } 13 <\/script> 14 </body> 15 </html>` 16 ); 17 document.close(); 18 } 19 // --> 20 </script> 21 </head> 22 <body onload="setTimeout('test()', 0)"> 23 Test for bug 540462 24 </body> 25 </html>