Roll src/third_party/WebKit d9c6159:8139f33 (svn 201974:201975)
[chromium-blink-merge.git] / chrome / test / data / prerender / prerender_favicon.html
blobce87aaa89f1a55dcafe93d6a7418a9a285290876
1 <html>
2 <!--
3 This test checks to make sure that a prerendered page is loaded.
4 -->
5 <head>
6 <link rel="icon" href="favicon.ico">
7 <title>Prerender Page</title>
9 <script>
10 var pageWasPrerendered = false;
12 // Make sure plugin was not loaded while prerendering.
13 function DidPrerenderPass() {
14 pageWasPrerendered = true;
15 return true;
18 // Make sure DidPrerenderPass() was called first. Otherwise, the page was
19 // most likely reloaded instead of using the prerendered page.
20 function DidDisplayPass() {
21 return pageWasPrerendered;
23 </script>
25 </head>
26 <body></body>
27 </html>