docshell/test/file_bug540462.html
author Ehsan Akhgari <ehsan@mozilla.com>
Wed, 10 Aug 2011 01:36:00 -0400
changeset 74937 89bbee4ec270fadde04578b2b8765a588535e0fc
parent 37433 582e1c0c2b21c75f2ef38196feb809bd48a9004e
permissions -rw-r--r--
Bug 677661 - Remove nsTPtrArray and add a SafeElementAt(index_type) API to nsTArray when it's instantiated with a pointer type; r=sicking

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