Bug 244276

Summary: RemoteScrollingCoordinator::scheduleTreeStateCommit() can result in extra rendering updates
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: ScrollingAssignee: Matt Woodrow <mattwoodrow>
Status: REOPENED ---    
Severity: Normal CC: commit-queue, simon.fraser, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari Technology Preview   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 257738    
Bug Blocks:    

Description Simon Fraser (smfr) 2022-08-23 15:06:23 PDT
RemoteScrollingCoordinator::scheduleTreeStateCommit() can be called in the middle of a compositing update. Instead of just handling that scrolling tree commit in the current update (which is what would happen if it called into Page::scheduleRenderingUpdate()), it triggers another update after the current one, because it just calls the WebKit2-level drawingArea()->triggerRenderingUpdate().
Comment 1 Radar WebKit Bug Importer 2022-08-30 15:07:15 PDT
<rdar://problem/99353273>
Comment 2 Matt Woodrow 2023-05-23 19:01:08 PDT
Pull request: https://github.com/WebKit/WebKit/pull/14281
Comment 3 EWS 2023-05-24 21:40:30 PDT
Committed 264503@main (750b577cdf3f): <https://commits.webkit.org/264503@main>

Reviewed commits have been landed. Closing PR #14281 and removing active labels.
Comment 4 WebKit Commit Bot 2023-06-05 19:23:07 PDT
Re-opened since this is blocked by bug 257738