Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e846671b92776907f755ea380268f08d037a3bb6
      
https://github.com/WebKit/WebKit/commit/e846671b92776907f755ea380268f08d037a3bb6
  Author: Claudio Saavedra <[email protected]>
  Date:   2026-08-29 (Sat, 29 Aug 2026)

  Changed paths:
    M LayoutTests/ipc/coreipc.js
    M LayoutTests/ipc/decode-feConvolveMatrix-kernelSize-overflow.html
    M LayoutTests/ipc/empty-svgfilterrenderer-expression-crash.html
    M LayoutTests/ipc/fecolormatrix-type-values-mismatch-crash.html
    M LayoutTests/ipc/insufficient-svgfilter-inputs-crash.html
    M LayoutTests/ipc/invalid-feConvolveMatrix-crash.html
    M LayoutTests/ipc/invalid-svgfilter-expression-crash.html
    M LayoutTests/ipc/nested-display-list-draw-control-part-crash.html
    M LayoutTests/ipc/restore-empty-stack-crash.html
    M LayoutTests/platform/glib/TestExpectations
    M Source/WebKit/WebProcess/WebPage/IPCTestingAPI.cpp

  Log Message:
  -----------
  [GLIB] Unskip the IPC colorspace tests on the GLib ports
https://bugs.webkit.org/show_bug.cgi?id=322838

Reviewed by Justin Michaud.

Several ipc/ tests were skipped because their payload hardcoded Cocoa's
CGColorSpace serialization. On Skia, DestinationColorSpace is serialized as
the bytes SkColorSpace::serialize() writes, which coreipc.js had no way to
produce.

Add IPC.serializedSRGBColorSpace() to the testing API, returning those bytes
from the serializer itself. coreipc.js gains an sRGBColorSpace() helper that
produces the CG variant or the Skia bytes as the running build requires.
serializeTemplate() no longer throws for sk_sp<SkColorSpace>, a wrapper the
generator registers as an ordinary type but spells as a template; it is now
serialized through the normal type path.

Unskip the eight tests that then pass.

* LayoutTests/ipc/coreipc.js:
(export.sRGBColorSpace):
(export.ArgumentSerializer):
* LayoutTests/ipc/decode-feConvolveMatrix-kernelSize-overflow.html:
* LayoutTests/ipc/empty-svgfilterrenderer-expression-crash.html:
* LayoutTests/ipc/fecolormatrix-type-values-mismatch-crash.html:
* LayoutTests/ipc/insufficient-svgfilter-inputs-crash.html:
* LayoutTests/ipc/invalid-feConvolveMatrix-crash.html:
* LayoutTests/ipc/invalid-svgfilter-expression-crash.html:
* LayoutTests/ipc/nested-display-list-draw-control-part-crash.html:
* LayoutTests/ipc/restore-empty-stack-crash.html:
* LayoutTests/platform/glib/TestExpectations:
* Source/WebKit/WebProcess/WebPage/IPCTestingAPI.cpp:
(WebKit::IPCTestingAPI::JSIPC::staticFunctions):
(WebKit::IPCTestingAPI::JSIPC::serializedSRGBColorSpace):

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



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

Reply via email to