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

Side by Side Diff: chrome/test/data/prerender/prerender_loader_with_unload.html

Issue 9623018: Prerendered pages are swapped in at browser::Navigate time. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 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
1 <html> 1 <html>
2 <head> 2 <head>
3 <title>Preloader</title> 3 <title>Preloader</title>
4 4
5 <script> 5 <script>
6 function UnloadHandler() { 6 function UnloadHandler() {
7 document.title = 'Unloaded'; 7 document.title = 'Unloaded';
8 } 8 }
9 9
10 addEventListener('unload', UnloadHandler, false); 10 addEventListener('unload', UnloadHandler, false);
11 </script> 11 </script>
12 12
13 </head> 13 </head>
14 <body> 14 <body>
15 <script> 15 <script>
16 document.write('<link rel="prerender" href="REPLACE_WITH_PRERENDER_URL"/>'); 16 document.write('<link rel="prerender" href="REPLACE_WITH_PRERENDER_URL"/>');
17 </script> 17 </script>
18 <a href="REPLACE_WITH_PRERENDER_URL">Link To Click</a> 18 <a href="REPLACE_WITH_DESTINATION_URL">Link To Click</a>
19 </body> 19 </body>
20 </html> 20 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698