Changeset 145581 in webkit
- Timestamp:
- Mar 12, 2013 2:10:45 PM (11 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r145575 r145581 1 2013-03-12 Alexey Proskuryakov <ap@apple.com> 2 3 Improve logging in ResourceHandleMac.mm 4 https://bugs.webkit.org/show_bug.cgi?id=112185 5 6 Reviewed by Brady Eidson. 7 8 * platform/network/mac/ResourceHandleMac.mm: 9 (WebCore::ResourceHandle::didReceiveAuthenticationChallenge): Removed an obsolete #if. 10 (WebCore::ResourceHandle::receivedCredential): 11 (WebCore::ResourceHandle::receivedRequestToContinueWithoutCredential): 12 (WebCore::ResourceHandle::receivedCancellation): 13 (-[WebCoreResourceHandleAsDelegate connection:didCancelAuthenticationChallenge:]): Added a FIXME. 14 (-[WebCoreResourceHandleAsDelegate connection:canAuthenticateAgainstProtectionSpace:]): 15 16 * platform/network/mac/ResourceResponseMac.mm: Removed an unneeded include. 17 1 18 2013-03-12 Sheriff Bot <webkit.review.bot@gmail.com> 2 19 -
trunk/Source/WebCore/platform/network/mac/ResourceHandleMac.mm
r144495 r145581 455 455 ASSERT(challenge.nsURLAuthenticationChallenge()); 456 456 457 #if PLATFORM(IOS) || __MAC_OS_X_VERSION_MIN_REQUIRED >= 1070458 457 // Proxy authentication is handled by CFNetwork internally. We can get here if the user cancels 459 458 // CFNetwork authentication dialog, and we shouldn't ask the client to display another one in that case. … … 463 462 return; 464 463 } 465 #endif466 464 467 465 if (!d->m_user.isNull() && !d->m_pass.isNull()) { … … 534 532 void ResourceHandle::receivedCredential(const AuthenticationChallenge& challenge, const Credential& credential) 535 533 { 534 LOG(Network, "Handle %p receivedCredential", this); 535 536 536 ASSERT(!challenge.isNull()); 537 537 if (challenge != d->m_currentWebChallenge) … … 562 562 void ResourceHandle::receivedRequestToContinueWithoutCredential(const AuthenticationChallenge& challenge) 563 563 { 564 LOG(Network, "Handle %p receivedRequestToContinueWithoutCredential", this); 565 564 566 ASSERT(!challenge.isNull()); 565 567 if (challenge != d->m_currentWebChallenge) … … 573 575 void ResourceHandle::receivedCancellation(const AuthenticationChallenge& challenge) 574 576 { 577 LOG(Network, "Handle %p receivedCancellation", this); 578 575 579 if (challenge != d->m_currentWebChallenge) 576 580 return; … … 675 679 - (void)connection:(NSURLConnection *)connection didCancelAuthenticationChallenge:(NSURLAuthenticationChallenge *)challenge 676 680 { 681 // FIXME: We probably don't need to implement this (see <rdar://problem/8960124>). 682 677 683 UNUSED_PARAM(connection); 678 684 … … 687 693 - (BOOL)connection:(NSURLConnection *)connection canAuthenticateAgainstProtectionSpace:(NSURLProtectionSpace *)protectionSpace 688 694 { 689 #if LOG_DISABLED 690 UNUSED_PARAM(connection); 691 #endif 692 693 LOG(Network, "Handle %p delegate connection:%p canAuthenticateAgainstProtectionSpace:%p", m_handle, connection, protectionSpace); 695 UNUSED_PARAM(connection); 696 697 LOG(Network, "Handle %p delegate connection:%p canAuthenticateAgainstProtectionSpace:%@://%@:%u realm:%@ method:%@ %@%@", m_handle, connection, [protectionSpace protocol], [protectionSpace host], [protectionSpace port], [protectionSpace realm], [protectionSpace authenticationMethod], [protectionSpace isProxy] ? @"proxy:" : @"", [protectionSpace isProxy] ? [protectionSpace proxyType] : @""); 694 698 695 699 if (!m_handle) -
trunk/Source/WebCore/platform/network/mac/ResourceResponseMac.mm
r145007 r145581 31 31 #import "WebCoreSystemInterface.h" 32 32 #import <Foundation/Foundation.h> 33 #import <limits> 33 34 #import <wtf/StdLibExtras.h> 34 #import <limits>35 #include <wtf/text/CString.h>36 35 37 36 using namespace std;
Note: See TracChangeset
for help on using the changeset viewer.