WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
ASSIGNED
264058
ArgumentCodersCocoa.mm is being compiled into TestWebKitAPI (WKSecureCodingArchivingDelegate is implemented in both WebKit and TestWebKitAPI)
https://bugs.webkit.org/show_bug.cgi?id=264058
Summary
ArgumentCodersCocoa.mm is being compiled into TestWebKitAPI (WKSecureCodingAr...
Timothy Hatcher
Reported
2023-11-01 14:19:06 PDT
This is causing tons of log spew on all API tests now: objc[18580]: Class WKSecureCodingArchivingDelegate is implemented in both /Volumes/Data/worker/API-Tests-macOS-EWS/build/WebKitBuild/Release/WebKit.framework/Versions/A/WebKit (0x1170021a8) and /Volumes/Data/worker/API-Tests-macOS-EWS/build/WebKitBuild/Release/TestWebKitAPI (0x102d84f20). One of the two will be used. Which one is undefined. objc[18580]: Class WKSecureCodingURLWrapper is implemented in both /Volumes/Data/worker/API-Tests-macOS-EWS/build/WebKitBuild/Release/WebKit.framework/Versions/A/WebKit (0x117002158) and /Volumes/Data/worker/API-Tests-macOS-EWS/build/WebKitBuild/Release/TestWebKitAPI (0x102d84ed0). One of the two will be used. Which one is undefined. objc[18580]: Class WKSecureCodingCGColorWrapper is implemented in both /Volumes/Data/worker/API-Tests-macOS-EWS/build/WebKitBuild/Release/WebKit.framework/Versions/A/WebKit (0x117002180) and /Volumes/Data/worker/API-Tests-macOS-EWS/build/WebKitBuild/Release/TestWebKitAPI (0x102d84ef8). One of the two will be used. Which one is undefined. This seems to be due to the file be compiled in libWebKitPlatform.a and that is linked by both WebKit and TestWebKitAPI.
Attachments
Add attachment
proposed patch, testcase, etc.
Kimmo Kinnunen
Comment 1
2023-11-02 02:22:33 PDT
Regressed in
bug 261361
https://github.com/WebKit/WebKit/pull/17617/files#diff-35ee6315eaf16be3c4c60df710ef539ab68a1979b4b9f74138fc188162f34535
The commit adds a test in WebKitTestAPI that uses both: - WebKit.framework - Source/WebKit internals via libWebKitPlatform.a This is incorrect. WebKitTestAPI cannot link to libWebKitPlatform.a as it links to WebKit.framework. The test needs to be separated to two different pieces: - Test that implements the test caller side in TestWebKitAPI - A new runner executable that runs the webpushd that contains the unit-tested responses
Radar WebKit Bug Importer
Comment 2
2023-11-02 02:24:51 PDT
<
rdar://problem/117841640
>
Alexey Proskuryakov
Comment 3
2024-03-20 11:02:17 PDT
***
Bug 271023
has been marked as a duplicate of this bug. ***
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