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