summaryrefslogtreecommitdiffstats
path: root/chrome_frame/test/data/window_close_frame.html
diff options
context:
space:
mode:
Diffstat (limited to 'chrome_frame/test/data/window_close_frame.html')
-rw-r--r--chrome_frame/test/data/window_close_frame.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/chrome_frame/test/data/window_close_frame.html b/chrome_frame/test/data/window_close_frame.html
new file mode 100644
index 0000000..c8a1d53
--- /dev/null
+++ b/chrome_frame/test/data/window_close_frame.html
@@ -0,0 +1,20 @@
+<html>
+ <head><title>window.close test</title>
+ <script type="text/javascript" src="chrome_frame_tester_helpers.js">
+ </script>
+ <script type="text/javascript">
+ function close_window() {
+ if (!isRunningInChrome()) {
+ onFailure("WindowCloseTest", 1,
+ "window_close_frame.html should load in Chrome");
+ return;
+ }
+ window.close();
+ }
+ </script>
+ </head>
+ <body onLoad="setTimeout(close_window, 100);">
+ <h2>Prepare close!</h2>
+ <p>Content closing the window...</p>
+ </body>
+</html> \ No newline at end of file