Roll src/third_party/WebKit d9c6159:8139f33 (svn 201974:201975)
[chromium-blink-merge.git] / chrome / test / data / prerender / prerender_page.html
blob06cd6f44a682761d120863a30a825c6ca79d08a7
1 <html>
2 <!--
3 This test checks to make sure that a prerendered page is loaded.
4 -->
5 <head>
6 <title>Prerender Page</title>
8 <script>
9 var pageWasPrerendered = false;
11 function DidPrerenderPass() {
12 pageWasPrerendered = true;
13 return true;
16 // Make sure DidPrerenderPass() was called first. Otherwise, the page was
17 // most likely reloaded instead of using the prerendered page.
18 function DidDisplayPass() {
19 return pageWasPrerendered;
21 </script>
23 </head>
24 <body></body>
25 </html>