Bug 264531

Summary: hideContentUntilPendingUpdate callbacks can be processed too late after the transaction and cause flickering
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 2023-11-09 15:42:53 PST
<rdar://118083889>

The callbacks for DispatchAfterEnsuringDrawing get processed at the end of the transaction, after we've already told the client that we've committed the transaction.

In some cases, this can cause them to be included as a separate CA commit, and cause flickering.
Comment 1 Matt Woodrow 2023-11-09 15:46:44 PST
Pull request: https://github.com/WebKit/WebKit/pull/20268
Comment 2 EWS 2023-11-13 14:34:59 PST
Committed 270672@main (923ed5177ec0): <https://commits.webkit.org/270672@main>

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