mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 07:42:04 +00:00
17 lines
426 B
HTML
17 lines
426 B
HTML
<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>
|