Bug 312062
| Summary: | [CMake] Fix MockContentFilter linking for static WebCoreTestSupport | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | pascoe <pascoe> |
| Component: | CMake | Assignee: | 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
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. |