docshell/test/file_bug540462.html
author Neil Rashbrook <neil@parkwaycc.co.uk>
Sat, 13 Mar 2010 23:13:09 +0000
changeset 39410 99e20852ffe08e2eb36c8af8c05a7fa1ed333dc8
parent 37433 582e1c0c2b21c75f2ef38196feb809bd48a9004e
child 439146 58adc643dcdc20eccb4d30bc454b50420e96c020
permissions -rw-r--r--
Bug 551050 Disable warning C4702: unreachable code in dlmalloc.c r=dwitte

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