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
295845
Subspaces from WebCore generated classes were all erroneously named "T".
https://bugs.webkit.org/show_bug.cgi?id=295845
Summary
Subspaces from WebCore generated classes were all erroneously named "T".
Mark Lam
Reported
2025-07-12 19:10:15 PDT
This is because their name came from the WebCore::subspaceForImpl template function, which assumed that passed T to the macro ISO_SUBSPACE_INIT. The macro just takes "T" verbatim and converts it into a string for the name. This patch refactors ISO_SUBSPACE_INIT into ISO_SUBSPACE_INIT_WITH_NAME, which will take an explicit name. WebCore::subspaceForImpl will now call ISO_SUBSPACE_INIT_WITH_NAME with an auto-generated classname in string form to be used as the Subspace name.
Attachments
Add attachment
proposed patch, testcase, etc.
Mark Lam
Comment 1
2025-07-12 19:18:11 PDT
rdar://155708968
Mark Lam
Comment 2
2025-07-12 19:25:57 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/47944
EWS
Comment 3
2025-07-13 20:01:03 PDT
Committed
297322@main
(166e68b23001): <
https://commits.webkit.org/297322@main
> Reviewed commits have been landed. Closing PR #47944 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