Changeset 202939 in webkit
- Timestamp:
- Jul 7, 2016 3:42:43 PM (8 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r202930 r202939 1 2016-07-07 Alex Christensen <achristensen@webkit.org> 2 3 Fix crash when sending failure message to closed WebProcess 4 https://bugs.webkit.org/show_bug.cgi?id=159526 5 <rdar://problem/26767037> 6 7 Reviewed by Brady Eidson. 8 9 * NetworkProcess/NetworkResourceLoader.cpp: 10 (WebKit::NetworkResourceLoader::didFailLoading): 11 Check to see if there is a connection before using it to send a message. 12 Sometimes it was null. 13 I think this could be tested if we had real network loading from TestWebKitAPI 14 by cancelling slow loads and closing WebProcesses around the same time, but no such infrastructure exists yet. 15 1 16 2016-07-07 Alex Christensen <achristensen@webkit.org> 2 17 -
trunk/Source/WebKit2/NetworkProcess/NetworkResourceLoader.cpp
r202511 r202939 406 406 m_synchronousLoadData->error = error; 407 407 sendReplyToSynchronousRequest(*m_synchronousLoadData, nullptr); 408 } else 409 send(Messages::WebResourceLoader::DidFailResourceLoad(error));408 } else if (auto* connection = messageSenderConnection()) 409 connection->send(Messages::WebResourceLoader::DidFailResourceLoad(error), 0, 0); 410 410 411 411 cleanup();
Note: See TracChangeset
for help on using the changeset viewer.