Changeset 139108 in webkit


Ignore:
Timestamp:
Jan 8, 2013 1:54:32 PM (11 years ago)
Author:
rniwa@webkit.org
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 <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.

Location:
trunk/LayoutTests
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r139106 r139108  
     12013-01-08  Martin Robinson  <mrobinson@igalia.com>
     2
     3        Layout Test http/tests/misc/authentication-redirect-4/authentication-sent-to-redirect-same-origin-url.html is timing out
     4        https://bugs.webkit.org/show_bug.cgi?id=106332
     5
     6        Reviewed by Ryosuke Niwa.
     7
     8        Fix this flaky test by adjusting the authentication realm
     9        used in the HTTP headers.
     10
     11        * http/tests/misc/authentication-redirect-4/resources/auth-then-redirect.php: The authentication realm used
     12        in the HTTP headers is shared with several other HTTP tests, so cached credentials can "leak" from one
     13        test to another. Make the authentication realm unique for this test.
     14
    1152013-01-08  Alexis Menard  <alexis@webkit.org>
    216
  • trunk/LayoutTests/http/tests/misc/authentication-redirect-4/resources/auth-then-redirect.php

    r139062 r139108  
    33if (!strlen($_SERVER["PHP_AUTH_USER"]) || !strlen($_SERVER["PHP_AUTH_PW"]))
    44{
    5     header("WWW-Authenticate: Basic realm=\"WebKit Bug Test\"");
     5    header("WWW-Authenticate: Basic realm=\"WebKit Authentication Redirect 4\"");
    66    header("HTTP/1.0 401 Unauthorized");
    77    exit;
Note: See TracChangeset for help on using the changeset viewer.