Title: [139108] trunk/LayoutTests
Revision
139108
Author
[email protected]
Date
2013-01-08 13:54:32 -0800 (Tue, 08 Jan 2013)

Log Message

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

Patch by Martin Robinson <[email protected]> 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.

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (139107 => 139108)


--- trunk/LayoutTests/ChangeLog	2013-01-08 21:50:08 UTC (rev 139107)
+++ trunk/LayoutTests/ChangeLog	2013-01-08 21:54:32 UTC (rev 139108)
@@ -1,3 +1,17 @@
+2013-01-08  Martin Robinson  <[email protected]>
+
+        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  <[email protected]>
 
         WebKit does not reject some cubic-bezier form values for transition-timing-function.

Modified: trunk/LayoutTests/http/tests/misc/authentication-redirect-4/resources/auth-then-redirect.php (139107 => 139108)


--- trunk/LayoutTests/http/tests/misc/authentication-redirect-4/resources/auth-then-redirect.php	2013-01-08 21:50:08 UTC (rev 139107)
+++ trunk/LayoutTests/http/tests/misc/authentication-redirect-4/resources/auth-then-redirect.php	2013-01-08 21:54:32 UTC (rev 139108)
@@ -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;
 }
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to