Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(583)

Unified Diff: chrome_frame/test/data/window_close.html

Issue 126143005: Remove Chrome Frame code and resources. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync to r244038 Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome_frame/test/data/version.html ('k') | chrome_frame/test/data/window_close_frame.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome_frame/test/data/window_close.html
diff --git a/chrome_frame/test/data/window_close.html b/chrome_frame/test/data/window_close.html
deleted file mode 100644
index 6b78cea588d664bb3e9f2fdf8404480a2d9b6ab0..0000000000000000000000000000000000000000
--- a/chrome_frame/test/data/window_close.html
+++ /dev/null
@@ -1,45 +0,0 @@
-<html>
- <head><title>window.close test</title>
- <script type="text/javascript" src="chrome_frame_tester_helpers.js">
- </script>
- <script type="text/javascript">
- function OnNavigationFailed() {
- onFailure("WindowCloseTest", 1, "ChromeFrame Navigation failed");
- }
-
- function OnChromeFrameLoaded(url) {
- appendStatus("Loaded URL: " + url.data);
- var cf = window.document.ChromeFrame;
- if (cf.attachEvent) { // Special case for IE
- appendStatus("Attaching close event handler");
- cf.attachEvent("onclose", OnCloseWindow);
- }
- }
-
- function OnCloseWindow() {
- appendStatus("Received window close event.");
- return onSuccess("WindowCloseTest", 1);
- }
-
- </script>
- </head>
- <body>
- <div id="statusPanel" style="border: 1px solid red; width: 100%">
- Test running....
- </div>
-
- <span id="ChromeFrameSpan"></span>
- <script type="text/javascript">
-insertControl(
- "ChromeFrameSpan",
- { "src": "window_close_frame.html",
- "eventHandlers": {
- "onload": "return OnChromeFrameLoaded(arguments[0]);",
- "onloaderror": "return OnNavigationFailed(arguments[0]);",
- "onclose": "return OnCloseWindow();"
- }
- });
- </script>
- <p>Tests window.close notification from ChromeFrame to its container</p>
- </body>
-</html>
« no previous file with comments | « chrome_frame/test/data/version.html ('k') | chrome_frame/test/data/window_close_frame.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698