summaryrefslogtreecommitdiffstats
path: root/LayoutTests/http/tests/ssl/referer-303.html
blob: b6a3c2e708424d62aec905c7a0ebd9d122578a4a (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.layoutTestController) {
    layoutTestController.dumpAsText();
    layoutTestController.waitUntilDone();
}

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