Bug 246457

Summary: IPC::MessageSender::sendWithAsyncReply is not consistent with send failures
Product: WebKit Reporter: Kimmo Kinnunen <kkinnunen>
Component: WebKit2Assignee: Kimmo Kinnunen <kkinnunen>
Status: RESOLVED FIXED    
Severity: Normal CC: achristensen, kkinnunen, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari Technology Preview   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 247256    

Kimmo Kinnunen
Reported 2022-10-13 06:49:48 PDT
IPC::MessageSender::sendWithAsyncReply is not consistent with send failures When send fails, the MessageSender code has already added a pending async reply.
Attachments
Radar WebKit Bug Importer
Comment 1 2022-10-13 06:50:33 PDT
Kimmo Kinnunen
Comment 2 2022-10-13 07:08:02 PDT
EWS
Comment 3 2022-10-26 04:31:01 PDT
Committed 256008@main (b43d9276ab01): <https://commits.webkit.org/256008@main> Reviewed commits have been landed. Closing PR #5329 and removing active labels.
Alex Christensen
Comment 4 2022-10-29 13:37:51 PDT
This broke these API tests: TestWebKitAPI.IPCTestingAPI.CanInterceptFindString TestWebKitAPI.IPCTestingAPI.CanInterceptHasStorageAccess
Alex Christensen
Comment 5 2022-10-29 18:08:57 PDT
https://github.com/WebKit/WebKit/pull/5940 fixes the test, though I'm not sure how the fuzzer will handle the interception of messages with replies now.
Note You need to log in before you can comment on or make changes to this bug.