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
305726
Add new IDL bindings extended attribute for dictionaries that still require using RefPtr for required interfaces
https://bugs.webkit.org/show_bug.cgi?id=305726
Summary
Add new IDL bindings extended attribute for dictionaries that still require u...
Sam Weinig
Reported
2026-01-18 08:56:28 PST
As a first step toward removing support for dictionaries using RefPtr for required interfaces, we should add a new IDL bindings extended attribute for all the dictionaries that still use it and attach that attribute to all the dictionaries. For any dictionary without the new attribute (and therefore using Ref<> for any required interfaces), we implement a new conversion implementation that does "one-shot" initialization. This will require that the native struct now also have the same order as the IDL dictionary.
Attachments
Add attachment
proposed patch, testcase, etc.
Sam Weinig
Comment 1
2026-01-18 09:21:43 PST
Pull request:
https://github.com/WebKit/WebKit/pull/56790
EWS
Comment 2
2026-01-18 18:40:06 PST
Committed
305790@main
(2bb1d31a0fa7): <
https://commits.webkit.org/305790@main
> Reviewed commits have been landed. Closing PR #56790 and removing active labels.
Radar WebKit Bug Importer
Comment 3
2026-01-18 18:41:13 PST
<
rdar://problem/168422398
>
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