docshell/test/file_bug540462.html
author Olli Pettay <Olli.Pettay@helsinki.fi>
Sat, 23 Jan 2010 13:41:41 +0200
changeset 37433 582e1c0c2b21c75f2ef38196feb809bd48a9004e
child 439146 58adc643dcdc20eccb4d30bc454b50420e96c020
permissions -rw-r--r--
Bug 540462 - Move GetDocument from nsIDocumentViewer to nsIContentViewer, r=bz

<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>