[Webkit-unassigned] [Bug 153407] New: WebKitTestRunner: Credential cache is not cleared between tests

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jan 24 10:59:41 PST 2016


https://bugs.webkit.org/show_bug.cgi?id=153407

            Bug ID: 153407
           Summary: WebKitTestRunner: Credential cache is not cleared
                    between tests
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: All
                OS: All
            Status: NEW
          Keywords: InRadar
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: dbates at webkit.org
                CC: achristensen at apple.com, ap at webkit.org,
                    beidson at apple.com, lforschler at apple.com,
                    webkit-bug-importer at group.apple.com

Created attachment 269696
  --> https://bugs.webkit.org/attachment.cgi?id=269696&action=review
LayoutTestToDemonstrateIssue

WebKitTestRunner does not clear cached credentials between test runs.

* STEPS TO REPRODUCE
The following steps assume you have a build of WebKit.

1. Apply the attached diff to the top-level WebKit checkout, LayoutTestToDemonstrateIssued.diff.
2. In the terminal, inside the top-level WebKit checkout directory, run: Tools/Scripts/run-webkit-tests --no-retry-failures --child-processes 1 http/tests/loading/basic-auth-load-URL-with-consecutive-slashes.html http/tests/loading/basic-auth-resend-wrong-credentials.html

Then the test LayoutTests/http/tests/loading/basic-auth-resend-wrong-credentials.html will fail because it uses the credentials set in LayoutTests/http/tests/loading/basic-auth-load-URL-with-consecutive-slashes.html, (username, password) = (webkit, rocks), when accessing the protected resource <ttp://127.0.0.1:8000/loading/resources/test2/protected-resource.php>.

Notice that both LayoutTests/http/tests/loading/basic-auth-load-URL-with-consecutive-slashes.html and LayoutTests/http/tests/loading/basic-auth-resend-wrong-credentials.html access a protected resource in the same protection space, <http://127.0.0.1:8000/resources>.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160124/4263b085/attachment.html>


More information about the webkit-unassigned mailing list