Bug 274729

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

Sam Weinig
Reported 2024-05-26 11:51:13 PDT
Part of 274114.
Attachments
Sam Weinig
Comment 1 2024-05-26 12:16:09 PDT Comment hidden (obsolete)
Radar WebKit Bug Importer
Comment 2 2024-06-02 11:52:14 PDT
Sam Weinig
Comment 3 2026-01-13 12:17:36 PST
To do this, we really need to support Ref for interfaces in dictionaries first, as without that, a union in a dictionary like: ``` dictionary Foo { required (Node or double) bar; } ``` will still fail to compile. That is being tracked in 305410. Blocking this on that.
Sam Weinig
Comment 4 2026-01-28 11:19:36 PST
Extending to also cover typed array wrappers in unions.
Note You need to log in before you can comment on or make changes to this bug.