Html程序  |  15行  |  417 B

<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>