Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 81c94dae4ce537d5891e2a248cb405c9fe8f3358
https://github.com/WebKit/WebKit/commit/81c94dae4ce537d5891e2a248cb405c9fe8f3358
Author: Claudio Saavedra <[email protected]>
Date: 2026-08-25 (Tue, 25 Aug 2026)
Changed paths:
M LayoutTests/platform/glib/TestExpectations
M Source/WTF/wtf/PlatformEnable.h
M Source/WebKit/CMakeLists.txt
Log Message:
-----------
[GLIB] Enable the IPC testing API for clang builds of the GTK and WPE ports
https://bugs.webkit.org/show_bug.cgi?id=322425
Reviewed by Carlos Garcia Campos.
The GLib arm of the guard also required COMPILER(GCC), because clang is slow to
build with IPC testing enabled. The ports build with clang by default though,
and
every GCC-based GLib CI job is build-only, so no bot that runs layout tests has
the API compiled in: window.IPC is undefined and the ipc/ tests return early and
report PASS without testing anything.
The slowness is one file. SerializedTypeInfo.cpp gets one initializer entry per
serialized type, making allSerializedTypes() a single 29000-line function that
clang takes 52 minutes to compile at -O3 and 34 seconds at -O0. Only the GLib
ports ever optimize it, because Cocoa enables IPC testing on debug builds while
the GTK and WPE bots enable assertions on release builds. Build that file
without
optimizations, and the COMPILER(GCC) term can go.
Skip the two tests that then fail.
* Source/WTF/wtf/PlatformEnable.h:
* Source/WebKit/CMakeLists.txt:
* LayoutTests/platform/glib/TestExpectations:
Canonical link: https://commits.webkit.org/319775@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications