canAuthenticateAgainstProtectionSpace delegate calls should not be made when ResourceHandle has credentials
https://bugs.webkit.org/show_bug.cgi?id=131348
Summary canAuthenticateAgainstProtectionSpace delegate calls should not be made when ...
Alexey Proskuryakov
Reported 2014-04-07 23:28:25 PDT
When ResourceHandle already has credentials provided via XMLHttpRequest argument or a URL, it shouldn't ask make a canAuthenticateAgainstProtectionSpace delegate call. If the client doesn't implement UI for password authentication, and thus returns false, CFNetwork won't call didReceiveAuthenticationChallenge, so we won't use the existing credentials. We should only go ask the client if the existing credentials turned out to be incorrect.
Attachments
Note You need to log in before you can comment on or make changes to this bug.