Changeset 161625 in webkit
- Timestamp:
- Jan 10, 2014 1:11:00 AM (10 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r161624 r161625 1 2014-01-10 Carlos Garcia Campos <cgarcia@igalia.com> 2 3 Implement NetworkResourceLoader::receivedCancellation 4 https://bugs.webkit.org/show_bug.cgi?id=126129 5 6 Reviewed Alexey Proskuryakov. 7 8 Implement ResourceHandleClient::receivedCancellation() in the 9 network process to cancel the load when cancellation is received 10 from the authentication manager like the web process does. 11 12 * NetworkProcess/NetworkResourceLoader.cpp: 13 (WebKit::NetworkResourceLoader::receivedCancellation): Cancel the load. 14 * NetworkProcess/NetworkResourceLoader.h: 15 1 16 2014-01-09 Jinwoo Song <jinwoo7.song@samsung.com> 2 17 -
trunk/Source/WebKit2/NetworkProcess/NetworkResourceLoader.cpp
r161338 r161625 337 337 } 338 338 339 void NetworkResourceLoader::receivedCancellation(ResourceHandle* handle, const AuthenticationChallenge& challenge) 340 { 341 ASSERT_UNUSED(handle, handle == m_handle); 342 343 m_handle->cancel(); 344 didFail(m_handle.get(), cancelledError(m_request)); 345 } 346 339 347 IPC::Connection* NetworkResourceLoader::messageSenderConnection() 340 348 { -
trunk/Source/WebKit2/NetworkProcess/NetworkResourceLoader.h
r161338 r161625 93 93 virtual void didReceiveAuthenticationChallenge(WebCore::ResourceHandle*, const WebCore::AuthenticationChallenge&) OVERRIDE; 94 94 virtual void didCancelAuthenticationChallenge(WebCore::ResourceHandle*, const WebCore::AuthenticationChallenge&) OVERRIDE; 95 virtual void receivedCancellation(WebCore::ResourceHandle*, const WebCore::AuthenticationChallenge&) OVERRIDE; 95 96 virtual bool usesAsyncCallbacks() OVERRIDE { return true; } 96 97
Note: See TracChangeset
for help on using the changeset viewer.