summaryrefslogtreecommitdiffstats
path: root/LayoutTests/http/tests/ssl/referer-303.html
diff options
context:
space:
mode:
authorIain Merrick <husky@google.com>2010-11-04 12:10:40 +0000
committerIain Merrick <husky@google.com>2010-11-04 13:21:52 +0000
commit387bdab048790ba9d6585e963a4d26a3b98e675c (patch)
tree9adbb76070eb7c95b2fe2458b151f7e6a4bdd4df /LayoutTests/http/tests/ssl/referer-303.html
parentd5a8aa497723e8ab3b77f0ecb8c9c6cc7ab5d7b0 (diff)
downloadexternal_webkit-387bdab048790ba9d6585e963a4d26a3b98e675c.zip
external_webkit-387bdab048790ba9d6585e963a4d26a3b98e675c.tar.gz
external_webkit-387bdab048790ba9d6585e963a4d26a3b98e675c.tar.bz2
Add SSL layout tests at WebKit r70209.
Only 3 tests, all passing. See http://b/issue?id=3164771 Change-Id: I2f3b03969a97618f1d4ba9dd91d782e1814914f0
Diffstat (limited to 'LayoutTests/http/tests/ssl/referer-303.html')
-rw-r--r--LayoutTests/http/tests/ssl/referer-303.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/LayoutTests/http/tests/ssl/referer-303.html b/LayoutTests/http/tests/ssl/referer-303.html
new file mode 100644
index 0000000..b6a3c2e
--- /dev/null
+++ b/LayoutTests/http/tests/ssl/referer-303.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-303.html";
+else
+ location = "resources/referer-303-redir.php";
+</script>
+</body>