Reviewed by Darin.
authorap <ap@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 10 Apr 2006 04:40:28 +0000 (04:40 +0000)
committerap <ap@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 10 Apr 2006 04:40:28 +0000 (04:40 +0000)
commit8fd19c2eb90413f4b200724adaf5b478448a040a
treedf1a8ac912de178055bb20aefb1fd8f563c356d4
parent6b2b782fb2c0a5d137b38e5198b9e5554fedd57c
    Reviewed by Darin.

        - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7877
        XMLHttpRequest ignores username/password passed to open()

        Test: http/tests/xmlhttprequest/basic-auth.html

        * platform/KURL.cpp:
        (KURL::setUser): Enable a code path that handles non-empty user name -
        it was already present, but commented out and protected with an assertion.
        (KURL::setPass): Ditto.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@13751 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/http/tests/xmlhttprequest/basic-auth-expected.txt [new file with mode: 0644]
LayoutTests/http/tests/xmlhttprequest/basic-auth.html [new file with mode: 0644]
LayoutTests/http/tests/xmlhttprequest/resources/basic-auth.php [new file with mode: 0644]
WebCore/ChangeLog
WebCore/platform/KURL.cpp