Changeset 171858 in webkit
- Timestamp:
- Jul 31, 2014 9:43:06 AM (10 years ago)
- Location:
- trunk/Source
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r171857 r171858 1 2014-07-31 Dan Bernstein <mitz@apple.com> 2 3 WebCore part of: Server trust authentication challenges aren’t sent to the navigation delegate 4 https://bugs.webkit.org/show_bug.cgi?id=135327 5 6 Reviewed by Alexey Proskuryakov. 7 8 * platform/network/cf/ResourceHandleCFNet.cpp: 9 (WebCore::ResourceHandle::receivedCredential): Don’t try to change the persistence of 10 credentials used for server trust, because the platform doesn’t support persistence values 11 other than Session for server trust. 12 * platform/network/mac/ResourceHandleMac.mm: 13 (WebCore::ResourceHandle::receivedCredential): Ditto. 14 1 15 2014-07-31 Dan Bernstein <mitz@apple.com> 2 16 -
trunk/Source/WebCore/platform/network/cf/ResourceHandleCFNet.cpp
r171801 r171858 422 422 } 423 423 424 if (credential.persistence() == CredentialPersistenceForSession ) {424 if (credential.persistence() == CredentialPersistenceForSession && challenge.protectionSpace().authenticationScheme() != ProtectionSpaceAuthenticationSchemeServerTrustEvaluationRequested) { 425 425 // Manage per-session credentials internally, because once NSURLCredentialPersistencePerSession is used, there is no way 426 426 // to ignore it for a particular request (short of removing it altogether). -
trunk/Source/WebCore/platform/network/mac/ResourceHandleMac.mm
r171801 r171858 651 651 } 652 652 653 if (credential.persistence() == CredentialPersistenceForSession ) {653 if (credential.persistence() == CredentialPersistenceForSession && challenge.protectionSpace().authenticationScheme() != ProtectionSpaceAuthenticationSchemeServerTrustEvaluationRequested) { 654 654 // Manage per-session credentials internally, because once NSURLCredentialPersistenceForSession is used, there is no way 655 655 // to ignore it for a particular request (short of removing it altogether). -
trunk/Source/WebKit2/ChangeLog
r171850 r171858 1 2014-07-31 Dan Bernstein <mitz@apple.com> 2 3 WebKit part of: Server trust authentication challenges aren’t sent to the navigation delegate 4 https://bugs.webkit.org/show_bug.cgi?id=135327 5 6 Reviewed by Alexey Proskuryakov. 7 8 * UIProcess/Cocoa/NavigationState.mm: 9 (WebKit::NavigationState::LoaderClient::canAuthenticateAgainstProtectionSpaceInFrame): 10 Return true for server trust protection spaces if the delegate implements 11 -webView:didReceiveAuthenticationChallenge:completionHandler:. 12 (WebKit::NavigationState::LoaderClient::didReceiveAuthenticationChallengeInFrame): Removed 13 an assertion that is no longer true due to the above. 14 1 15 2014-07-31 Carlos Garcia Campos <cgarcia@igalia.com> 2 16 -
trunk/Source/WebKit2/UIProcess/Cocoa/NavigationState.mm
r171816 r171858 692 692 { 693 693 if (m_navigationState.m_navigationDelegateMethods.webViewDidReceiveAuthenticationChallengeCompletionHandler) 694 return protectionSpace->authenticationScheme() != WebCore::ProtectionSpaceAuthenticationSchemeServerTrustEvaluationRequested;694 return true; 695 695 696 696 if (!m_navigationState.m_navigationDelegateMethods.webViewCanAuthenticateAgainstProtectionSpace) … … 708 708 #if !defined(__MAC_OS_X_VERSION_MIN_REQUIRED) || __MAC_OS_X_VERSION_MIN_REQUIRED >= 1090 709 709 if (m_navigationState.m_navigationDelegateMethods.webViewDidReceiveAuthenticationChallengeCompletionHandler) { 710 ASSERT(authenticationChallenge->protectionSpace()->authenticationScheme() != WebCore::ProtectionSpaceAuthenticationSchemeServerTrustEvaluationRequested);711 710 auto navigationDelegate = m_navigationState.m_navigationDelegate.get(); 712 711 if (!navigationDelegate) {
Note: See TracChangeset
for help on using the changeset viewer.