WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
312062
[CMake] Fix MockContentFilter linking for static WebCoreTestSupport
https://bugs.webkit.org/show_bug.cgi?id=312062
Summary
[CMake] Fix MockContentFilter linking for static WebCoreTestSupport
pascoe@apple.com
Reported
2026-04-11 16:47:57 PDT
NetworkConnectionToWebProcess.cpp calls MockContentFilterSettings::singleton() unconditionally for test injection. Xcode links WebCoreTestSupport.dylib dynamically so symbols resolve at runtime; CMake links it as a static .a which does not propagate them. Currently worked around by compiling MockContentFilter, MockContentFilterManager, and MockContentFilterSettings directly into WebCore.
Attachments
Add attachment
proposed patch, testcase, etc.
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