summaryrefslogtreecommitdiffstats
path: root/docshell/test/file_bug540462.html
blob: 52d1580c7ee1dba58fc719d64f887fcb4c30d6d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<html>
  <head>
    <script>
    //<!--
    function test() {
      document.open();
      document.write("<html><body onload='opener.documentWriteLoad(); rel();'><a href='foo.html'>foo</a><script>function rel() { setTimeout('location.reload()', 0); }</script></body></html>");
      document.close();
    }
    //-->
    </script>
  </head>
  <body onload="setTimeout('test()', 0)">
    Test for bug 540462
  </body>
</html>