summaryrefslogtreecommitdiff
path: root/system/docshell/test/file_bug540462.html
diff options
context:
space:
mode:
Diffstat (limited to 'system/docshell/test/file_bug540462.html')
-rw-r--r--system/docshell/test/file_bug540462.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/system/docshell/test/file_bug540462.html b/system/docshell/test/file_bug540462.html
new file mode 100644
index 000000000..52d1580c7
--- /dev/null
+++ b/system/docshell/test/file_bug540462.html
@@ -0,0 +1,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>