WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
304185
Abstract Swift and C++ handleMessage differences
https://bugs.webkit.org/show_bug.cgi?id=304185
Summary
Abstract Swift and C++ handleMessage differences
adrian_taylor
Reported
2025-12-15 08:21:58 PST
We recently introduced the ability for the IPC handleMessage code to call directly into Swift message handling functions, via Swift/C++ interop. This led to the various 'handleMessage' functions becoming full of highly nested 'if' clauses, due to the different behavior for Swift and C++. We should extract these differences into the (pre-existing) MethodSignatureValidation structure, such that the 'handleMessage' functions themselves can regain their former simplicity.
Attachments
Add attachment
proposed patch, testcase, etc.
adrian_taylor
Comment 1
2025-12-15 08:22:00 PST
<
rdar://problem/165213339
>
adrian_taylor
Comment 2
2025-12-15 08:23:59 PST
Pull request:
https://github.com/WebKit/WebKit/pull/55411
EWS
Comment 3
2025-12-18 05:10:27 PST
Committed
304670@main
(e935d39eecd2): <
https://commits.webkit.org/304670@main
> Reviewed commits have been landed. Closing PR #55411 and removing active labels.
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