Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 106c6c814493351a5bf25497d24eebb60ad61478
      
https://github.com/WebKit/WebKit/commit/106c6c814493351a5bf25497d24eebb60ad61478
  Author: Kimmo Kinnunen <[email protected]>
  Date:   2024-04-17 (Wed, 17 Apr 2024)

  Changed paths:
    M LayoutTests/TestExpectations
    M LayoutTests/fast/canvas/offscreen-nested-worker-serialization.html
    A LayoutTests/fast/canvas/offscreen-visibility-change-expected.html
    A LayoutTests/fast/canvas/offscreen-visibility-change.html
    M Source/WebKit/UIProcess/RemoteLayerTree/RemoteLayerTreeHost.mm
    M Source/WebKit/UIProcess/RemoteLayerTree/RemoteLayerTreeNode.h

  Log Message:
  -----------
  The contents layer of placeholder canvas of OffscreenCanvas is lost when 
switching off the tab
https://bugs.webkit.org/show_bug.cgi?id=272322
rdar://126070648

Reviewed by Matt Woodrow.

When layer becomes unreachable, its contents is cleared. Clear also
the async contents id. When the layer becomes reachable, the content
can be reassigned.

* LayoutTests/TestExpectations:
* LayoutTests/fast/canvas/offscreen-visibility-change-expected.html: Added.
* LayoutTests/fast/canvas/offscreen-visibility-change.html: Added.
* Source/WebKit/UIProcess/RemoteLayerTree/RemoteLayerTreeHost.mm:
(WebKit::RemoteLayerTreeHost::updateLayerTree):
* Source/WebKit/UIProcess/RemoteLayerTree/RemoteLayerTreeNode.h:
(WebKit::RemoteLayerTreeNode::setAsyncContentsIdentifier):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to