Bug 312062

Summary: [CMake] Fix MockContentFilter linking for static WebCoreTestSupport
Product: WebKit Reporter: pascoe <pascoe>
Component: CMakeAssignee: pascoe <pascoe>
Status: NEW    
Severity: Normal    
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 312071, 312024    
Bug Blocks:    

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.