Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 104506cdb2c45aa547db1eb50313abc15473b815
https://github.com/WebKit/WebKit/commit/104506cdb2c45aa547db1eb50313abc15473b815
Author: Alejandro G. Castro <[email protected]>
Date: 2026-09-25 (Fri, 25 Sep 2026)
Changed paths:
M LayoutTests/platform/glib/TestExpectations
R
LayoutTests/platform/glib/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/cross-origin-isolated-permission.https-expected.txt
R
LayoutTests/platform/glib/imported/w3c/web-platform-tests/html/infrastructure/safe-passing-of-structured-data/shared-array-buffers/window-iframe-messagechannel.https-expected.txt
R
LayoutTests/platform/glib/imported/w3c/web-platform-tests/webcodecs/image-decoder.crossOriginIsolated.https.any-expected.txt
R
LayoutTests/platform/glib/imported/w3c/web-platform-tests/webcodecs/image-decoder.crossOriginIsolated.https.any.worker-expected.txt
M Source/WebKit/WebProcess/WebProcess.cpp
Log Message:
-----------
[GLIB] Enable SharedArrayBuffer in GLib-backed WebKit (WPE, GTK)
https://bugs.webkit.org/show_bug.cgi?id=317847
Reviewed by Nikolas Zimmermann and Justin Michaud.
Based on a patch by Chris Lord <[email protected]>.
Add SharedArrayBuffer support, the condition is set to true when the
origin is isolated, and it allows setting the value using
JSC_useSharedArrayBuffer=true. The implementation is different with
Cocoa, a little bit later, just before starting the VM, still early
enough to get all the correct initialization. We did not change Cocoa
because their signal handling and initialization is different and it
could mean it requires to get it before. This implementation is
preferred in glib because it should work in Android because it uses
services to start the processes.
This unskips the 35 cross-origin isolation tests that 312336@main skipped on the
glib ports, and drops four glib baselines that only recorded the missing
SharedArrayBuffer constructor and now match the cross-platform results.
* LayoutTests/platform/glib/TestExpectations:
*
LayoutTests/platform/glib/imported/w3c/web-platform-tests/html/cross-origin-embedder-policy/cross-origin-isolated-permission.https-expected.txt:
Removed.
*
LayoutTests/platform/glib/imported/w3c/web-platform-tests/html/infrastructure/safe-passing-of-structured-data/shared-array-buffers/window-iframe-messagechannel.https-expected.txt:
Removed.
*
LayoutTests/platform/glib/imported/w3c/web-platform-tests/webcodecs/image-decoder.crossOriginIsolated.https.any-expected.txt:
Removed.
*
LayoutTests/platform/glib/imported/w3c/web-platform-tests/webcodecs/image-decoder.crossOriginIsolated.https.any.worker-expected.txt:
Removed.
* Source/WebKit/WebProcess/WebProcess.cpp:
(WebKit::WebProcess::initializeWebProcess):
Canonical link: https://commits.webkit.org/321889@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications