[Webkit-unassigned] [Bug 81627] [WK2] Four http/tests/xmlhttprequest tests fail on mac-wk2

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Apr 5 21:54:29 PDT 2014


Alexey Proskuryakov <ap at webkit.org> changed:

           What    |Removed                     |Added
                 CC|                            |andersca at apple.com,
                   |                            |beidson at apple.com

--- Comment #3 from Alexey Proskuryakov <ap at webkit.org>  2014-04-05 21:54:48 PST ---
1. WebKitTestRunner doesn't implement PageLoaderClient.canAuthenticateAgainstProtectionSpaceInFrame. If we add it, and make it return true, tests will pass.

2. In WebKit1, the unimplemented delegate defaults to true for all "old" authentication schemes, and only defaults to false for new ones. This was presumably necessary to not break clients that can't show UI for client certificates.

In WebKit2, both C and Objective-C APIs default to false unconditionally. This may be not the most reasonable behavior.

3. In this particular case - loading a resource with explicitly provided credentials - we probably shouldn't ask the client whether it supports password based authentication at all unless the credentials turn out to be incorrect. The fix for this would be in ResourceHandle in WebCore.

So, fixing the tests by implementing the client call is trivial, but we should think about how the API should work.

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the webkit-unassigned mailing list