diff options
author | Iain Merrick <husky@google.com> | 2010-11-04 12:10:40 +0000 |
---|---|---|
committer | Iain Merrick <husky@google.com> | 2010-11-04 13:21:52 +0000 |
commit | 387bdab048790ba9d6585e963a4d26a3b98e675c (patch) | |
tree | 9adbb76070eb7c95b2fe2458b151f7e6a4bdd4df /LayoutTests/http/tests/ssl/referer-301.html | |
parent | d5a8aa497723e8ab3b77f0ecb8c9c6cc7ab5d7b0 (diff) | |
download | external_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-301.html')
-rw-r--r-- | LayoutTests/http/tests/ssl/referer-301.html | 14 |
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> |