Relevant code appears to be in Source/WebCore/platform/graphics/cairo/ImageBufferCairo.cpp. This causes a failure in LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/toBlob.jpeg.html.
This seems still relevant. Playwright downstream issue: https://github.com/microsoft/playwright/issues/29097