Bug 301392

Summary: RemoteLayerTreeDrawingAreaProxy::CommitLayerTree can be processed before WillCommitLayerTree
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   

Matt Woodrow
Reported 2025-10-23 18:53:50 PDT
This happens because we use waitForAndDispatchImmediately which caused that message to be processed synchronously, before others in the queue. We workaround this by trying to detect willCommitLayerTree messages that have been superseded, but it's hard to reason about. We should instead make our synchronous processing of incoming messages work for all the messages that we expect to have a protocol defined ordering.
Attachments
Radar WebKit Bug Importer
Comment 1 2025-10-23 18:53:55 PDT
Matt Woodrow
Comment 2 2025-10-23 18:57:34 PDT
EWS
Comment 3 2025-11-02 17:01:10 PST
Committed 302461@main (be985750e45c): <https://commits.webkit.org/302461@main> Reviewed commits have been landed. Closing PR #52922 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.