NEW312062
[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
Note You need to log in before you can comment on or make changes to this bug.