Unregister from GCM when the only GCM app is removed
[chromium-blink-merge.git] / chrome / test / data / prerender / prerender_page_with_link.html
blob737c7d76612e247837d716a5c599a27f5110d444
1 <html>
2 <head>
3 <title>Prerendered page with link</title>
5 <script>
6 var pageWasPrerendered = false;
8 function DidPrerenderPass() {
9 pageWasPrerendered = true;
10 return true;
13 function DidDisplayPass() {
14 return pageWasPrerendered;
17 function ClickOpenLink() {
18 var eventObject = document.createEvent('MouseEvents');
19 eventObject.initMouseEvent('click');
20 document.getElementById('toClick').dispatchEvent(eventObject);
23 function IsOriginalPrerenderPage() {
24 return true;
26 </script>
28 </head>
29 <body>
30 <a id="toClick" href="prerender_page.html">Link to click</a>
31 </body>
32 </html>