Unregister from GCM when the only GCM app is removed
[chromium-blink-merge.git] / chrome / test / data / prerender / prerender_no_referrer.html
blobe8a67d13aa9107aa5b50b1c3754b0a9fa80be1e5
1 <html>
2 <!--
3 This test makes sure that referrer is not set when it shouldn't be,
4 such as when the referrer uses https and the destination page does
5 not.
6 -->
7 <head>
8 <title>Prerender No Referrer Test</title>
9 <script>
10 // Check there is no referrer.
11 function DidPrerenderPass() {
12 return document.referrer == "";
15 // Check there is no referrer.
16 function DidDisplayPass() {
17 return document.referrer == "";
19 </script>
20 </head>
21 <body></body>
22 </html>