Changeset 176752 in webkit


Ignore:
Timestamp:
Dec 3, 2014 1:45:34 PM (9 years ago)
Author:
ap@apple.com
Message:

http/tests/misc/authentication-redirect tests use the same authentication realm
https://bugs.webkit.org/show_bug.cgi?id=139225

Reviewed by Tim Horton.

  • http/tests/misc/authentication-redirect-1/resources/auth-then-redirect.php:
  • http/tests/misc/authentication-redirect-2/resources/auth-then-redirect.php:
  • http/tests/misc/authentication-redirect-3/resources/auth-then-redirect-with-url-credentials.php:
  • http/tests/misc/authentication-redirect-3/resources/auth-then-redirect.php:

Use different realms.

  • http/tests/misc/authentication-redirect-3/authentication-sent-to-redirect-same-origin-with-location-credentials-expected.txt:

This test's results no longer depend on previous tests.

Location:
trunk/LayoutTests
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r176750 r176752  
     12014-12-03  Alexey Proskuryakov  <ap@apple.com>
     2
     3        http/tests/misc/authentication-redirect tests use the same authentication realm
     4        https://bugs.webkit.org/show_bug.cgi?id=139225
     5
     6        Reviewed by Tim Horton.
     7
     8        * http/tests/misc/authentication-redirect-1/resources/auth-then-redirect.php:
     9        * http/tests/misc/authentication-redirect-2/resources/auth-then-redirect.php:
     10        * http/tests/misc/authentication-redirect-3/resources/auth-then-redirect-with-url-credentials.php:
     11        * http/tests/misc/authentication-redirect-3/resources/auth-then-redirect.php:
     12        Use different realms.
     13
     14        * http/tests/misc/authentication-redirect-3/authentication-sent-to-redirect-same-origin-with-location-credentials-expected.txt:
     15        This test's results no longer depend on previous tests.
     16
    1172014-12-03  Zalan Bujtas  <zalan@apple.com>
    218
  • trunk/LayoutTests/http/tests/misc/authentication-redirect-1/resources/auth-then-redirect.php

    r93247 r176752  
    44if (!strlen($_SERVER["PHP_AUTH_USER"]) || !strlen($_SERVER["PHP_AUTH_PW"]))
    55{
    6     header("WWW-Authenticate: Basic realm=\"WebKit Bug Test\"");
     6    header("WWW-Authenticate: Basic realm=\"http/tests/misc/authentication-redirect-1\"");
    77    header("HTTP/1.0 401 Unauthorized");
    88    exit;
  • trunk/LayoutTests/http/tests/misc/authentication-redirect-2/resources/auth-then-redirect.php

    r93247 r176752  
    44if (!strlen($_SERVER["PHP_AUTH_USER"]) || !strlen($_SERVER["PHP_AUTH_PW"]))
    55{
    6     header("WWW-Authenticate: Basic realm=\"WebKit Bug Test\"");
     6    header("WWW-Authenticate: Basic realm=\"http/tests/misc/authentication-redirect-2\"");
    77    header("HTTP/1.0 401 Unauthorized");
    88    exit;
  • trunk/LayoutTests/http/tests/misc/authentication-redirect-3/authentication-sent-to-redirect-same-origin-with-location-credentials-expected.txt

    r93247 r176752  
     1http://127.0.0.1:8000/misc/authentication-redirect-3/resources/auth-then-redirect-with-url-credentials.php?redirect=301 - didReceiveAuthenticationChallenge - Responding with testUser:testPassword
    12https://bugs.webkit.org/show_bug.cgi?id=66354
    23You should load this page at 127.0.0.1:8000 because the test relies on redirects within the 127.0.0.1:8000 security origin.
  • trunk/LayoutTests/http/tests/misc/authentication-redirect-3/resources/auth-then-redirect-with-url-credentials.php

    r93247 r176752  
    44if (!strlen($_SERVER["PHP_AUTH_USER"]) || !strlen($_SERVER["PHP_AUTH_PW"]))
    55{
    6     header("WWW-Authenticate: Basic realm=\"WebKit Bug Test\"");
     6    header("WWW-Authenticate: Basic realm=\"http/tests/misc/authentication-redirect-3\"");
    77    header("HTTP/1.0 401 Unauthorized");
    88    exit;
  • trunk/LayoutTests/http/tests/misc/authentication-redirect-3/resources/auth-then-redirect.php

    r93247 r176752  
    44if (!strlen($_SERVER["PHP_AUTH_USER"]) || !strlen($_SERVER["PHP_AUTH_PW"]))
    55{
    6     header("WWW-Authenticate: Basic realm=\"WebKit Bug Test\"");
     6    header("WWW-Authenticate: Basic realm=\"http/tests/misc/authentication-redirect-3\"");
    77    header("HTTP/1.0 401 Unauthorized");
    88    exit;
Note: See TracChangeset for help on using the changeset viewer.