Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 9f5b2bf2cc57aa53348a6f19915b8e7705a59e17
      
https://github.com/WebKit/WebKit/commit/9f5b2bf2cc57aa53348a6f19915b8e7705a59e17
  Author: Alex Christensen <achristen...@apple.com>
  Date:   2025-03-28 (Fri, 28 Mar 2025)

  Changed paths:
    M Source/WTF/wtf/ArgumentCoder.h
    M Source/WebKit/Platform/IPC/MessageSenderInlines.h
    M Tools/TestWebKitAPI/Configurations/TestWebKitAPIBase.xcconfig
    M Tools/TestWebKitAPI/Tests/WebKitCocoa/WebPushDaemon.mm

  Log Message:
  -----------
  Stop linking TestWebKitAPI with WebKitPlatform
https://bugs.webkit.org/show_bug.cgi?id=290627
rdar://148102487

Reviewed by Brady Eidson.

This gets rid of the warnings that WKKeyedCoder is defined both in 
WebKit.framework and in TestWebKitAPI binary.
It also makes the tests independent of the implementation, which will help us 
notice unexpected changes like
encoding changes in IPC::Encoder.  This makes TestEncoder and TestDecoder which 
get us the same bytes to send
to the daemon.

* Source/WTF/wtf/ArgumentCoder.h:
* Source/WebKit/Platform/IPC/MessageSenderInlines.h:
(IPC::callReplyWithoutUsingConnection):
* Tools/TestWebKitAPI/Configurations/TestWebKitAPIBase.xcconfig:
* Tools/TestWebKitAPI/Tests/WebKitCocoa/WebPushDaemon.mm:
(WTF::isValidEnum<WebKit::WebPushD::PushMessageDisposition>):
(WTF::isValidEnum<WebCore::NotificationDirection>):
(TestWebKitAPI::TestArgumentCoder<String>::encode):
(TestWebKitAPI::TestArgumentCoder<String>::decodeStringText):
(TestWebKitAPI::TestArgumentCoder<String>::decode):
(TestWebKitAPI::TestArgumentCoder<WTF::UUID>::encode):
(TestWebKitAPI::TestArgumentCoder<URL>::encode):
(TestWebKitAPI::TestArgumentCoder<URL>::decode):
(TestWebKitAPI::TestEncoder::encodeHeader):
(TestWebKitAPI::TestEncoder::takeBytes):
(TestWebKitAPI::TestEncoder::operator<<):
(TestWebKitAPI::TestEncoder::encodeSpan):
(TestWebKitAPI::TestEncoder::encodeInteger):
(TestWebKitAPI::TestDecoder::TestDecoder):
(TestWebKitAPI::TestDecoder::ignoreHeader):
(TestWebKitAPI::TestDecoder::decode):
(TestWebKitAPI::TestDecoder::decodeInteger):
(TestWebKitAPI::TestDecoder::bufferOffset const):
(TestWebKitAPI::TestArgumentCoder<WebKit::WebPushD::WebPushDaemonConnectionConfiguration>::encode):
(TestWebKitAPI::TestArgumentCoder<WebKit::WebPushD::PushMessageForTesting>::encode):
(TestWebKitAPI::TestArgumentCoder<WebCore::NotificationPayload>::encode):
(TestWebKitAPI::TestArgumentCoder<WebCore::NotificationOptionsPayload>::encode):
(TestWebKitAPI::WebPushXPCConnectionMessageSender::WebPushXPCConnectionMessageSender):
(TestWebKitAPI::WebPushXPCConnectionMessageSender::setShouldIncrementProtocolVersionForTesting):
(TestWebKitAPI::WebPushXPCConnectionMessageSender::messageDictionaryFromEncoder 
const):
(TestWebKitAPI::WebPushXPCConnectionMessageSender::sendWithoutUsingIPCConnection
 const):
(TestWebKitAPI::WebPushXPCConnectionMessageSender::sendWithAsyncReplyWithoutUsingIPCConnection
 const):
(TestWebKitAPI::(WebPushD, DeclarativeParsing)):
(TestWebKitAPI::WebPushXPCConnectionMessageSender::performSendWithoutUsingIPCConnection
 const): Deleted.
(TestWebKitAPI::WebPushXPCConnectionMessageSender::performSendWithAsyncReplyWithoutUsingIPCConnection
 const): Deleted.

Canonical link: https://commits.webkit.org/292828@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to