summaryrefslogtreecommitdiffstats
path: root/LayoutTests/http/tests/ssl/referer-301.html
blob: 2764a7e9884c51c4f3cc69b79500856d8e5e10ba (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-301.html";
else
    location = "resources/referer-301-redir.php";
</script>
</body>