Reviewed by Rob (yay!).
authorap <ap@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 18 Nov 2006 13:52:36 +0000 (13:52 +0000)
committerap <ap@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 18 Nov 2006 13:52:36 +0000 (13:52 +0000)
commitabf9ab41483a0049fd21abaecb45adcaf7756b39
tree699fe7c25799bbc70259f4e7f436e227707aea32
parentc875a2ea8601bbea042a0dc0b0c53c9ba3befe9e
    Reviewed by Rob (yay!).

        http://bugs.webkit.org/show_bug.cgi?id=11640
        XMLHttpRequest produces undefined:undefined HTTP authentication

WebCore:
        * bindings/js/JSXMLHttpRequest.cpp:
        (KJS::JSXMLHttpRequestProtoFunc::callAsFunction):
        Treat undefined credentials as missing ones.

LayoutTests:
        * http/tests/xmlhttprequest/basic-auth-expected.txt:
        * http/tests/xmlhttprequest/basic-auth.html:
        Added tests for undefined.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@17842 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/http/tests/xmlhttprequest/basic-auth-expected.txt
LayoutTests/http/tests/xmlhttprequest/basic-auth.html
WebCore/ChangeLog
WebCore/bindings/js/JSXMLHttpRequest.cpp