Bug 260053

Summary: Force consumers of Connection::waitForAndDispatchImmediately to declare usage in the messages.in file
Product: WebKit Reporter: Matt Woodrow <mattwoodrow>
Component: WebKit2Assignee: Matt Woodrow <mattwoodrow>
Status: RESOLVED FIXED    
Severity: Normal CC: kkinnunen, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Matt Woodrow 2023-08-10 19:15:02 PDT
waitForAndDispatchImmediately causes the waited on message to be delivered synchronous, and breaks expectations about IPC messages being delivered in order.

Usage of waitForAndDispatchImmediately can be subtle (if not explicitly searched for), so it's easy to add new IPC messages that expect in-order delivery.
Comment 1 Matt Woodrow 2023-08-10 19:17:03 PDT
Pull request: https://github.com/WebKit/WebKit/pull/16590
Comment 2 Radar WebKit Bug Importer 2023-08-17 19:15:13 PDT
<rdar://problem/114059668>
Comment 3 EWS 2023-08-22 20:26:23 PDT
Committed 267178@main (2c3c1f0afc15): <https://commits.webkit.org/267178@main>

Reviewed commits have been landed. Closing PR #16590 and removing active labels.