[webkit-changes] [WebKit/WebKit] a9af73: Stop using ObjC deserialization for data detector ...
Alex Christensen
noreply at github.com
Thu Jun 20 15:56:41 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: a9af73c026a37413e4ed0b83e37baee1ad562f06
https://github.com/WebKit/WebKit/commit/a9af73c026a37413e4ed0b83e37baee1ad562f06
Author: Alex Christensen <achristensen at 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
More information about the webkit-changes
mailing list