<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>274729</bug_id>
          
          <creation_ts>2024-05-26 11:51:13 -0700</creation_ts>
          <short_desc>Support using Ref for interfaces and buffer source types in IDL unions</short_desc>
          <delta_ts>2026-02-04 10:55:34 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Bindings</component>
          <version>Other</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>306966</dependson>
    
    <dependson>306967</dependson>
          <blocked>274114</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Sam Weinig">sam</reporter>
          <assigned_to name="Sam Weinig">sam</assigned_to>
          <cc>cdumez</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2037938</commentid>
    <comment_count>0</comment_count>
    <who name="Sam Weinig">sam</who>
    <bug_when>2024-05-26 11:51:13 -0700</bug_when>
    <thetext>Part of 274114.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2037940</commentid>
    <comment_count>1</comment_count>
    <who name="Sam Weinig">sam</who>
    <bug_when>2024-05-26 12:16:09 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/29126</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2039320</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2024-06-02 11:52:14 -0700</bug_when>
    <thetext>&lt;rdar://problem/129133440&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2171523</commentid>
    <comment_count>3</comment_count>
    <who name="Sam Weinig">sam</who>
    <bug_when>2026-01-13 12:17:36 -0800</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2175886</commentid>
    <comment_count>4</comment_count>
    <who name="Sam Weinig">sam</who>
    <bug_when>2026-01-28 11:19:36 -0800</bug_when>
    <thetext>Extending to also cover typed array wrappers in unions.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>