Bug 268506

Summary: RemoteImageBufferSetProxy::didPrepareForDisplay can be blocked by other main thread task
Product: WebKit Reporter: Matt Woodrow <mattwoodrow>
Component: Layout and RenderingAssignee: Matt Woodrow <mattwoodrow>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Matt Woodrow 2024-01-31 15:03:46 PST
<rdar://121664924>

This message is received on the main thread, and blocks submission of the previous layer tree transaction.

It can be delayed by other work on the main thread, for arbitrary periods of time.

We should deliver it to a WorkQueue instead to prevent this blocking.
Comment 1 Matt Woodrow 2024-01-31 15:12:52 PST
Pull request: https://github.com/WebKit/WebKit/pull/23625
Comment 2 EWS 2024-02-03 10:39:24 PST
Committed 274047@main (4beae41dc615): <https://commits.webkit.org/274047@main>

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