3 This test checks to make sure that a prerendered page is loaded.
6 <title>Prerender Page
</title>
9 var pageWasPrerendered
= false;
11 function DidPrerenderPass() {
12 pageWasPrerendered
= 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
;