Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 6b12b478a26f8e1c205628ec2aea67681cc04661
https://github.com/WebKit/WebKit/commit/6b12b478a26f8e1c205628ec2aea67681cc04661
Author: Claudio Saavedra <[email protected]>
Date: 2026-04-20 (Mon, 20 Apr 2026)
Changed paths:
M LayoutTests/platform/glib/TestExpectations
M Source/WTF/wtf/PlatformEnable.h
M Source/WebKit/GPUProcess/glib/GPUProcessGLib.cpp
M Source/WebKit/Platform/IPC/JSIPCBinding.cpp
M Source/WebKit/Platform/IPC/JSIPCBinding.h
M Source/WebKit/WebProcess/glib/UserMediaCaptureManager.h
Log Message:
-----------
[GLIB] Enable IPC testing API
https://bugs.webkit.org/show_bug.cgi?id=306955
Reviewed by Adrian Perez de Castro.
Enable the IPC testing API for WPE/GTK builds that have
assertions enabled. Most tests are already passing but some
that are Apple-specific are skipped, while others that are
failing/crashing are marked as such for now so that we
can later triagge them and fix them properly.
Only enable when building with GCC, as clang-18 is significantly
slow to build GeneratedSerializers.cpp, and we are only testing
GCC builds in EWS, so there's no need to enable IPC testing in
clang builds.
Because the IPC tests need to spawn a GPU process to test
IPC messages to/from the GPU process, and currently the GLib
GPU process implementation depends on GBM, we need to add a
fallback case using a headless display that can be used when
GBM is not available. Otherwise the GPU process fails to
initialize.
GCC 13 complains that the default template for
jsValueForDecodedArgumentValue() doesn't have a return value even
if it's not instantiated (clang doesn't). For this reason add
a default return value.
Also, because in 64-bit Linux size_t is the same as uint64_t,
only include the size_t jsValueForDecodedArgumentValue() version
for other platforms, otherwise this causes a method redefinition
build error.
Also add a decoder for RealtimeMediaSourceCenter::ValidDevices,
since this is now needed.
* LayoutTests/platform/glib/TestExpectations:
* Source/WTF/wtf/PlatformEnable.h:
* Source/WebKit/GPUProcess/glib/GPUProcessGLib.cpp:
(WebKit::GPUProcess::platformInitializeGPUProcess):
* Source/WebKit/Platform/IPC/JSIPCBinding.cpp:
* Source/WebKit/Platform/IPC/JSIPCBinding.h:
(IPC::jsValueForDecodedArgumentValue):
* Source/WebKit/WebProcess/glib/UserMediaCaptureManager.h:
Canonical link: https://commits.webkit.org/311570@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications