Unregister from GCM when the only GCM app is removed
[chromium-blink-merge.git] / chrome / test / data / prerender / prerender_with_image.html
blob70c6c5fd73071fe8c25da15acd8ededff5c25db3
1 <html>
2 <!--
3 This test checks to make sure that a prerendered page is loaded.
4 -->
5 <head>
6 <title>Prerendered Page</title>
8 <script>
9 var pageWasPrerendered = false;
11 // Make sure plugin was not loaded while prerendering.
12 function DidPrerenderPass() {
13 pageWasPrerendered = true;
14 return true;
17 // Make sure DidPrerenderPass() was called first. Otherwise, the page was
18 // most likely reloaded instead of using the prerendered page.
19 function DidDisplayPass() {
20 return pageWasPrerendered;
22 </script>
24 </head>
25 <body>
27 <img src="REPLACE_WITH_IMAGE_URL"/>
28 </body>
29 </html>