summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/http/tests/ssl/referer-301.html
blob: ff8a6326af25c56cf3788d9c34c972d7c2aa0996 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<body>
<a href="redir.php">Click me.<a/> The resulting request (as dumped on screen) should not have a Referer header.
<script>
if (window.testRunner) {
    testRunner.dumpAsText();
    testRunner.waitUntilDone();
}

if (location.protocol != "https:")
    location = "https://127.0.0.1:8443/ssl/referer-301.html";
else
    location = "resources/referer-301-redir.php";
</script>
</body>