summaryrefslogtreecommitdiffstats
path: root/LayoutTests/http/tests/ssl/referer-301.html
diff options
context:
space:
mode:
Diffstat (limited to 'LayoutTests/http/tests/ssl/referer-301.html')
-rw-r--r--LayoutTests/http/tests/ssl/referer-301.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/LayoutTests/http/tests/ssl/referer-301.html b/LayoutTests/http/tests/ssl/referer-301.html
new file mode 100644
index 0000000..2764a7e
--- /dev/null
+++ b/LayoutTests/http/tests/ssl/referer-301.html
@@ -0,0 +1,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>