Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 1942372a5e7f6c24e70513737ddb2c37d99c97ed
      
https://github.com/WebKit/WebKit/commit/1942372a5e7f6c24e70513737ddb2c37d99c97ed
  Author: Devin Rousso <[email protected]>
  Date:   2026-10-06 (Tue, 06 Oct 2026)

  Changed paths:
    A 
LayoutTests/inspector/timeline/timeline-event-screenshots-multiple-frames-expected.txt
    A 
LayoutTests/inspector/timeline/timeline-event-screenshots-multiple-frames.html
    M 
Source/WebKit/WebProcess/WebPage/RemoteLayerTree/RemoteLayerTreeDrawingArea.h
    M 
Source/WebKit/WebProcess/WebPage/RemoteLayerTree/RemoteLayerTreeDrawingArea.mm

  Log Message:
  -----------
  Web Inspector: complete rendering notifications before the next update
https://bugs.webkit.org/show_bug.cgi?id=326304

Reviewed by Simon Fraser.

Asynchronous flush completion can sometimes mean inspector is notified after 
the next rendering update starts.

* Source/WebKit/WebProcess/WebPage/RemoteLayerTree/RemoteLayerTreeDrawingArea.h:
* 
Source/WebKit/WebProcess/WebPage/RemoteLayerTree/RemoteLayerTreeDrawingArea.mm:
(WebKit::RemoteLayerTreeDrawingArea::RemoteLayerTreeDrawingArea):
(WebKit::RemoteLayerTreeDrawingArea::updateRendering):
(WebKit::RemoteLayerTreeDrawingArea::didCompleteRenderingUpdateDisplayFlush):
Complete the composite synchronously and finish the rendering frame once at the 
end of the run loop iteration.

* 
LayoutTests/inspector/timeline/timeline-event-screenshots-multiple-frames.html: 
Added.
* 
LayoutTests/inspector/timeline/timeline-event-screenshots-multiple-frames-expected.txt:
 Added.

Canonical link: https://commits.webkit.org/322873@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to