-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Expose more type metadata to IPC test API
https://bugs.webkit.org/show_bug.cgi?id=270985 rdar://124626429 Reviewed by Sihui Liu. This exposes type metadata for ObjC types wrapped by CoreIPC types, and fixes up a few other types so their contents are consistently exposed. * Source/WebKit/NetworkProcess/webrtc/NetworkRTCProvider.messages.in: * Source/WebKit/Scripts/generate-serializers.py: (SerializedType.name_declaration_for_serialized_type_info): (SerializedType.members_for_serialized_type_info): (ObjCWrappedType): (ObjCWrappedType.__init__): (generate_impl): (generate_serialized_type_info): (parse_serialized_types): (main): * Source/WebKit/Scripts/webkit/messages.py: (headers_for_type): * Source/WebKit/Scripts/webkit/tests/GeneratedSerializers.h: (IPC::ArgumentCoder<RetainPtr<CFStringRef>>::encode): * Source/WebKit/Scripts/webkit/tests/SerializedTypeInfo.cpp: (WebKit::allSerializedTypes): * Source/WebKit/Scripts/webkit/tests/TestSerializedType.serialization.in: * Source/WebKit/Scripts/webkit/tests/WebKitPlatformGeneratedSerializers.cpp: (IPC::encodeObjectDirectly<PKPaymentMethod>): (IPC::decodeObjectDirectlyRequiringAllowedClasses<PKPaymentMethod>): (IPC::encodeObjectDirectly<NSNull>): (IPC::decodeObjectDirectlyRequiringAllowedClasses<NSNull>): (IPC::ArgumentCoder<CFStringRef>::encode): (IPC::ArgumentCoder<RetainPtr<CFStringRef>>::decode): * Source/WebKit/Shared/Cocoa/ArgumentCodersCocoa.mm: * Source/WebKit/Shared/Cocoa/WebCoreArgumentCodersCocoa.serialization.in: * Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in: * Source/WebKit/WebProcess/Network/webrtc/LibWebRTCNetwork.messages.in: * Source/WebKit/WebProcess/Network/webrtc/WebRTCMonitor.messages.in: * Source/WebKit/WebProcess/Network/webrtc/WebRTCResolver.messages.in: * Tools/TestWebKitAPI/Tests/WebKitCocoa/IPCTestingAPI.mm: Canonical link: https://commits.webkit.org/276118@main
- Loading branch information
1 parent
e7bb5f0
commit 129e646
Showing
14 changed files
with
192 additions
and
105 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.