Do not announce robot account token before account ID is available
[chromium-blink-merge.git] / chrome / test / data / prerender / prerender_with_iframe.html
blobe265118c0f0019517062c954f5ecbb7947981e86
1 <html>
2 <head>
3 <title>Prerender with iframe</title>
4 <script>
5 var pageWasPrerendered = false;
7 function DidPrerenderPass() {
8 pageWasPrerendered = true;
9 return true;
12 // Make sure DidPrerenderPass() was called first. Otherwise, the page was
13 // most likely reloaded instead of using the prerendered page.
14 function DidDisplayPass() {
15 return pageWasPrerendered;
17 </script>
18 </head>
19 <body>
20 <iframe name="iframe"
21 src="REPLACE_WITH_URL"
22 width="0"
23 height="0"
24 frameborder="0">
25 </iframe>
26 </body>
27 </html>