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

Side by Side Diff: chrome_frame/test/data/fulltab_before_unload_event_test.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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <html>
2 <head>
3 <title>ChromeFrame fulltab mode unload event test</title>
4 <script type="text/javascript"
5 src="chrome_frame_tester_helpers.js"></script>
6
7 <script type="text/javascript">
8 var new_window;
9 function ValidateUserAgent() {
10 if (isRunningInChrome()) {
11 window.localStorage.unload_success = 0;
12 new_window = window.open("fulltab_before_unload_event_main.html",
13 "_self");
14 }
15 }
16
17 function onBeforeUnload() {
18 if (isRunningInChrome()) {
19 new_window.localStorage.unload_success = 1;
20 }
21 }
22 </script>
23 </head>
24
25 <body onLoad="setTimeout(ValidateUserAgent, 100);"
26 onbeforeunload="onBeforeUnload();">
27 ChromeFrame full tab mode unload event test.
28 Validates that page unload events are received in ChromeFrame.
29 </body>
30 </html>
OLDNEW
« no previous file with comments | « chrome_frame/test/data/fulltab_before_unload_event_main.html ('k') | chrome_frame/test/data/fulltab_delete_cookie_test.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698