Changeset 183861 in webkit
- Timestamp:
- May 5, 2015, 11:55:16 PM (10 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r183854 r183861 1 2015-05-05 Alexey Proskuryakov <ap@apple.com> 2 3 NetworkResourceLoader::cleanup() should clear ResourceHandle client pointer. 4 https://bugs.webkit.org/show_bug.cgi?id=144641 5 rdar://problem/20250960 6 7 Reviewed by David Kilzer. 8 9 * NetworkProcess/NetworkResourceLoader.cpp: (WebKit::NetworkResourceLoader::cleanup): 10 Clear the client pointer. 11 12 * Shared/Authentication/AuthenticationManager.cpp: 13 (WebKit::AuthenticationManager::useCredentialForChallenge): 14 (WebKit::AuthenticationManager::continueWithoutCredentialForChallenge): 15 (WebKit::AuthenticationManager::cancelChallenge): 16 (WebKit::AuthenticationManager::performDefaultHandling): 17 (WebKit::AuthenticationManager::rejectProtectionSpaceAndContinue): 18 Updated comments, which were not accurate, at least on Mac. 19 1 20 2015-05-05 Tim Horton <timothy_horton@apple.com> 2 21 -
trunk/Source/WebKit2/NetworkProcess/NetworkResourceLoader.cpp
r183737 r183861 205 205 invalidateSandboxExtensions(); 206 206 207 m_handle = nullptr; 207 if (m_handle) { 208 m_handle->setClient(nullptr); 209 m_handle = nullptr; 210 } 208 211 209 212 // This will cause NetworkResourceLoader to be destroyed and therefore we do it last. -
trunk/Source/WebKit2/Shared/Authentication/AuthenticationManager.cpp
r169782 r183861 117 117 AuthenticationClient* coreClient = challenge.authenticationClient(); 118 118 if (!coreClient) { 119 // This authentication challenge comes from a download. 119 // FIXME: The authentication client is null for downloads, but it can also be null for canceled loads. 120 // We should not call Download::receivedCredential in the latter case. 120 121 Download::receivedCredential(challenge, credential); 121 122 return; … … 133 134 AuthenticationClient* coreClient = challenge.authenticationClient(); 134 135 if (!coreClient) { 135 // This authentication challenge comes from a download. 136 // FIXME: The authentication client is null for downloads, but it can also be null for canceled loads. 137 // We should not call Download::receivedCredential in the latter case. 136 138 Download::receivedRequestToContinueWithoutCredential(challenge); 137 139 return; … … 149 151 AuthenticationClient* coreClient = challenge.authenticationClient(); 150 152 if (!coreClient) { 151 // This authentication challenge comes from a download. 153 // FIXME: The authentication client is null for downloads, but it can also be null for canceled loads. 154 // We should not call Download::receivedCredential in the latter case. 152 155 Download::receivedCancellation(challenge); 153 156 return; … … 165 168 AuthenticationClient* coreClient = challenge.authenticationClient(); 166 169 if (!coreClient) { 167 // This authentication challenge comes from a download. 170 // FIXME: The authentication client is null for downloads, but it can also be null for canceled loads. 171 // We should not call Download::receivedCredential in the latter case. 168 172 Download::receivedRequestToPerformDefaultHandling(challenge); 169 173 return; … … 181 185 AuthenticationClient* coreClient = challenge.authenticationClient(); 182 186 if (!coreClient) { 183 // This authentication challenge comes from a download. 187 // FIXME: The authentication client is null for downloads, but it can also be null for canceled loads. 188 // We should not call Download::receivedCredential in the latter case. 184 189 Download::receivedChallengeRejection(challenge); 185 190 return;
Note:
See TracChangeset
for help on using the changeset viewer.