Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: a9af73c026a37413e4ed0b83e37baee1ad562f06
      
https://github.com/WebKit/WebKit/commit/a9af73c026a37413e4ed0b83e37baee1ad562f06
  Author: Alex Christensen <achristen...@apple.com>
  Date:   2024-06-20 (Thu, 20 Jun 2024)

  Changed paths:
    M Source/WTF/wtf/PlatformHave.h
    M Source/WebKit/Shared/Cocoa/ArgumentCodersCocoa.mm
    M Source/WebKit/Shared/Cocoa/CoreIPCDDActionContext.serialization.in
    M Source/WebKit/Shared/Cocoa/CoreIPCDDScannerResult.serialization.in
    M Source/WebKit/Shared/Cocoa/CoreIPCNSCFObject.h
    M Source/WebKit/Shared/Cocoa/WebCoreArgumentCodersCocoa.serialization.in
    M Tools/TestWebKitAPI/Tests/WebKitCocoa/IPCTestingAPI.mm

  Log Message:
  -----------
  Stop using ObjC deserialization for data detector classes on platforms that 
can support WK secure coding
https://bugs.webkit.org/show_bug.cgi?id=275534

Reviewed by Brady Eidson.

This changes a runtime check to a compile time check, and it exposes the needed 
IPC metadata to the
IPC testing API.

* Source/WTF/wtf/PlatformHave.h:
* Source/WebKit/Shared/Cocoa/ArgumentCodersCocoa.mm:
(IPC::secureCodingOrWrapper): Deleted.
(IPC::decodeSecureCodingOrWrapper): Deleted.
(IPC::encodeObjectDirectly<DDScannerResult>): Deleted.
(IPC::decodeObjectDirectlyRequiringAllowedClasses<DDScannerResult>): Deleted.
(IPC::encodeObjectDirectly<WKDDActionContext>): Deleted.
(IPC::decodeObjectDirectlyRequiringAllowedClasses<WKDDActionContext>): Deleted.
* Source/WebKit/Shared/Cocoa/CoreIPCDDActionContext.serialization.in:
* Source/WebKit/Shared/Cocoa/CoreIPCDDScannerResult.serialization.in:
* Source/WebKit/Shared/Cocoa/CoreIPCNSCFObject.h:
* Source/WebKit/Shared/Cocoa/WebCoreArgumentCodersCocoa.serialization.in:
* Tools/TestWebKitAPI/Tests/WebKitCocoa/IPCTestingAPI.mm:
(SerializedTypeInfo)):

Canonical link: https://commits.webkit.org/280229@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