Roll src/third_party/WebKit d9c6159:8139f33 (svn 201974:201975)
[chromium-blink-merge.git] / chrome / test / data / prerender / prerender_referrer.html
blobbd05a6f9cf98a662faa07e06ecd99d883ffe2c3a
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.indexOf("prerender_loader") >= 0;
13 // Check referrer.
14 function DidDisplayPass() {
15 return document.referrer.indexOf("prerender_loader") >= 0;
17 </script>
18 </head>
19 <body></body>
20 </html>