Layout Test http/tests/misc/authentication-redirect-4/authentication-sent-to-redirect...
authorrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 8 Jan 2013 21:54:32 +0000 (21:54 +0000)
committerrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 8 Jan 2013 21:54:32 +0000 (21:54 +0000)
https://bugs.webkit.org/show_bug.cgi?id=106332

Patch by Martin Robinson <mrobinson@igalia.com> on 2013-01-08
Reviewed by Ryosuke Niwa.

Fix this flaky test by adjusting the authentication realm
used in the HTTP headers.

* http/tests/misc/authentication-redirect-4/resources/auth-then-redirect.php: The authentication realm used
in the HTTP headers is shared with several other HTTP tests, so cached credentials can "leak" from one
test to another. Make the authentication realm unique for this test.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@139108 268f45cc-cd09-0410-ab3c-d52691b4dbfc

LayoutTests/ChangeLog
LayoutTests/http/tests/misc/authentication-redirect-4/resources/auth-then-redirect.php

index cea145290cfa5cddc9e915e08e5772669cf61eff..8d0fa6546b03078b674c6c9b8f283f6004a1cbe3 100644 (file)
@@ -1,3 +1,17 @@
+2013-01-08  Martin Robinson  <mrobinson@igalia.com>
+
+        Layout Test http/tests/misc/authentication-redirect-4/authentication-sent-to-redirect-same-origin-url.html is timing out
+        https://bugs.webkit.org/show_bug.cgi?id=106332
+
+        Reviewed by Ryosuke Niwa.
+
+        Fix this flaky test by adjusting the authentication realm
+        used in the HTTP headers.
+
+        * http/tests/misc/authentication-redirect-4/resources/auth-then-redirect.php: The authentication realm used
+        in the HTTP headers is shared with several other HTTP tests, so cached credentials can "leak" from one
+        test to another. Make the authentication realm unique for this test.
+
 2013-01-08  Alexis Menard  <alexis@webkit.org>
 
         WebKit does not reject some cubic-bezier form values for transition-timing-function.
index aa8775c539500e98f4fa07f709ef824d9f2ad6fd..04c6734ea5383fef7ca01bd2da00fab88ec093fe 100644 (file)
@@ -2,7 +2,7 @@
 
 if (!strlen($_SERVER["PHP_AUTH_USER"]) || !strlen($_SERVER["PHP_AUTH_PW"]))
 {
-    header("WWW-Authenticate: Basic realm=\"WebKit Bug Test\"");
+    header("WWW-Authenticate: Basic realm=\"WebKit Authentication Redirect 4\"");
     header("HTTP/1.0 401 Unauthorized");
     exit;
 }