WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
314662
[CMake] TestWebKitAPI on Mac doesn't compile any tests under Tests/WebKit/WKWebView/mac/
https://bugs.webkit.org/show_bug.cgi?id=314662
Summary
[CMake] TestWebKitAPI on Mac doesn't compile any tests under Tests/WebKit/WKW...
zak ridouh
Reported
2026-05-12 13:44:31 PDT
The CMake Mac build of TestWebKitAPI does not compile any of the ~90 test files under Tools/TestWebKitAPI/Tests/WebKit/WKWebView/mac/. Tools/TestWebKitAPI/ PlatformMac.cmake only feeds Tools/TestWebKitAPI/SourcesCocoa.txt to TestWebKit_UNIFIED_SOURCE_LIST_FILES, and SourcesCocoa.txt is shared with the iOS build (which can't compile mac/* tests because they use AppKit). The mac/ directory is therefore invisible to CMake. Affected: every mac-only API test that lives under that directory -- AcceptsFirstMouse, AttributedString, BackForwardList, ContextMenuTests, DragAndDropTestsMac, FontManagerTests, HIDGamepads, ImmediateActionTests, KeyboardEventTests, LoadWebArchive, MouseEventTests, ScrollbarTests, ScrollingCoordinatorTests, WKWebViewMacEditingTests, and ~80 others. None of them are available when running `Tools/Scripts/run-api-tests` against a CMake-built tree (cmake --preset mac-dev-debug).
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2026-05-12 13:44:38 PDT
<
rdar://problem/176914334
>
zak ridouh
Comment 2
2026-05-12 13:47:26 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/64777
EWS
Comment 3
2026-05-12 15:42:12 PDT
Committed
313112@main
(c92a925d7b3e): <
https://commits.webkit.org/313112@main
> Reviewed commits have been landed. Closing PR #64777 and removing active labels.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug