1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/docshell/test/file_bug540462.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,16 @@ 1.4 +<html> 1.5 + <head> 1.6 + <script> 1.7 + //<!-- 1.8 + function test() { 1.9 + document.open(); 1.10 + document.write("<html><body onload='opener.documentWriteLoad(); rel();'><a href='foo.html'>foo</a><script>function rel() { setTimeout('location.reload()', 0); }</script></body></html>"); 1.11 + document.close(); 1.12 + } 1.13 + //--> 1.14 + </script> 1.15 + </head> 1.16 + <body onload="setTimeout('test()', 0)"> 1.17 + Test for bug 540462 1.18 + </body> 1.19 +</html>