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

Unified Diff: chrome/test/data/panels/onbeforeunload.html

Issue 2263863002: Remove implementation of Panels on OSes other than ChromeOS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: CR feedback Created 4 years, 4 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/test/data/panels/context_menu2/test.js ('k') | chrome/test/data/panels/test_extension/128.png » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/panels/onbeforeunload.html
diff --git a/chrome/test/data/panels/onbeforeunload.html b/chrome/test/data/panels/onbeforeunload.html
deleted file mode 100644
index 5c36c45e4a40314a1e19afb541e4065ae49e135d..0000000000000000000000000000000000000000
--- a/chrome/test/data/panels/onbeforeunload.html
+++ /dev/null
@@ -1,26 +0,0 @@
-<html>
- <head>
- <script>
- var close_call_num = 1;
- var title_first_close = "TitleFirstClose";
- var title_second_close = "TitleSecondClose";
-
- function changeTitle() {
- if (close_call_num == 1)
- document.title = title_first_close;
- else if (close_call_num == 2)
- document.title = title_second_close;
- close_call_num++;
- }
-
- window.onbeforeunload = function() {
- if (close_call_num <= 2)
- setTimeout("changeTitle()", 0);
- return "some random string";
- }
- </script>
- </head>
- <body>
- OnBeforeUnloadHandler In Panels.
- </body>
-</html>
« no previous file with comments | « chrome/test/data/panels/context_menu2/test.js ('k') | chrome/test/data/panels/test_extension/128.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698