[webkit-changes] [WebKit/WebKit] ee2e2c: Make web process crash/exit in getNetworkProcessCo...
Sihui
noreply at github.com
Thu Sep 22 20:47:46 PDT 2022
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: ee2e2cebc848ebf0de76948f37824106afc07572
https://github.com/WebKit/WebKit/commit/ee2e2cebc848ebf0de76948f37824106afc07572
Author: Sihui Liu <sihui_liu at apple.com>
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
More information about the webkit-changes
mailing list