Bug 305410

Summary: Support using Ref for interfaces and buffer source types in IDL dictionaries
Product: WebKit Reporter: Sam Weinig <sam>
Component: BindingsAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: cdumez, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari 18   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 305726    
Bug Blocks: 274114    

Sam Weinig
Reported 2026-01-13 11:26:42 PST
Part of 274114.
Attachments
Sam Weinig
Comment 1 2026-01-16 11:29:14 PST
The first step here will be introducing an extended attribute for dictionaries that switches them from their current initialization scheme to one shot initialization. Or rather, an extended attribute for all the dictionaries that can't yet adopt the one-shot initialization, so that it is clear which still need work.
Sam Weinig
Comment 2 2026-01-18 08:59:01 PST
That first step is being implemented in https://bugs.webkit.org/show_bug.cgi?id=305726
Radar WebKit Bug Importer
Comment 3 2026-01-20 11:27:15 PST
Sam Weinig
Comment 4 2026-02-04 10:55:16 PST
Support is now in. All that remains is remove the LegacyNativeDictionaryRequiredInterfaceNullability keyword from the remaining dictionaries. As of writing this, there are 75 uses remaining.
Note You need to log in before you can comment on or make changes to this bug.