Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: ee2e2cebc848ebf0de76948f37824106afc07572
https://github.com/WebKit/WebKit/commit/ee2e2cebc848ebf0de76948f37824106afc07572
Author: Sihui Liu <[email protected]>
Date: 2022-09-22 (Thu, 22 Sep 2022)
Changed paths:
M Source/WebKit/WebProcess/WebProcess.cpp
Log Message:
-----------
Make web process crash/exit in getNetworkProcessConnection if sendSync fails
https://bugs.webkit.org/show_bug.cgi?id=245458
<rdar://100209708>
Reviewed by Chris Dumez.
If sendSync() returns false, it means connection is closed or message cannot be
decoded, which is not likley to succeed
after retry, so let's just make web process exit immediately.
* Source/WebKit/WebProcess/WebProcess.cpp:
(WebKit::failedToGetNetworkProcessConnection):
(WebKit::getNetworkProcessConnection):
(WebKit::failedToSendSyncMessage): Deleted.
Canonical link: https://commits.webkit.org/254776@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes