| <html> | |
| <!-- | |
| This test makes sure that referrer is not set when it shouldn't be, | |
| such as when the referrer uses https and the destination page does | |
| not. | |
| --> | |
| <head> | |
| <title>Prerender No Referrer Test</title> | |
| <script> | |
| // Check there is no referrer. | |
| function DidPrerenderPass() { | |
| return document.referrer == ""; | |
| } | |
| // Check there is no referrer. | |
| function DidDisplayPass() { | |
| return document.referrer == ""; | |
| } | |
| </script> | |
| </head> | |
| <body></body> | |
| </html> |