Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b77f86b890e15b602b4faee873fc7eb9c2eafae9
      
https://github.com/WebKit/WebKit/commit/b77f86b890e15b602b4faee873fc7eb9c2eafae9
  Author: Fujii Hironori <[email protected]>
  Date:   2026-05-13 (Wed, 13 May 2026)

  Changed paths:
    M LayoutTests/platform/glib/TestExpectations
    M 
Source/WebCore/platform/graphics/skia/ImageBufferSkiaAcceleratedBackend.cpp

  Log Message:
  -----------
  ImageBufferSkiaAcceleratedBackend::create should return nullptr if no shared 
PlatformDisplay
https://bugs.webkit.org/show_bug.cgi?id=314690

Reviewed by Nikolas Zimmermann.

imported/w3c/web-platform-tests/html/infrastructure/safe-passing-of-structured-data/messagechannel.any.serviceworker.html
caused an assertion failure because PlatformDisplay was not initialized in the
service worker process.

ImageBufferSkiaAcceleratedBackend::create() should return nullptr if there is
no shared PlatformDisplay. ImageBuffer::create() falls back to create an
unaccelerated ImageBuffer.

Tests: 
imported/w3c/web-platform-tests/html/infrastructure/safe-passing-of-structured-data/messagechannel.any.serviceworker.html

* LayoutTests/platform/glib/TestExpectations:
* Source/WebCore/platform/graphics/skia/ImageBufferSkiaAcceleratedBackend.cpp:
(WebCore::ImageBufferSkiaAcceleratedBackend::create):

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



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

Reply via email to