Unregister from GCM when the only GCM app is removed
[chromium-blink-merge.git] / chrome / test / data / prerender / prerender_referrer_policy.html
blob9ad3eb45995a5220233e9c699b444614b2e81521
1 <html>
2 <!--
3 This test makes sure that referrer is properly set.
4 -->
5 <head>
6 <title>Prerender Referrer Test</title>
7 <script>
8 // Check referrer.
9 function DidPrerenderPass() {
10 return document.referrer != "" &&
11 document.referrer.indexOf("prerender_loader") == -1;
14 // Check referrer.
15 function DidDisplayPass() {
16 return document.referrer != "" &&
17 document.referrer.indexOf("prerender_loader") == -1;
19 </script>
20 </head>
21 <body></body>
22 </html>