<?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>266209</bug_id>
          
          <creation_ts>2023-12-11 02:34:36 -0800</creation_ts>
          <short_desc>[MSE] SourceBuffer/MediaSource/HTMLMediaElement don&apos;t appear to be destructed</short_desc>
          <delta_ts>2023-12-14 16:40:48 -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>Media</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=260723</see_also>
          <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>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jean-Yves Avenard [:jya]">jean-yves.avenard</reporter>
          <assigned_to name="Jean-Yves Avenard [:jya]">jean-yves.avenard</assigned_to>
          <cc>philn</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1998576</commentid>
    <comment_count>0</comment_count>
    <who name="Jean-Yves Avenard [:jya]">jean-yves.avenard</who>
    <bug_when>2023-12-11 02:34:36 -0800</bug_when>
    <thetext>The SourceBufferPrivateRemote destructors never appear to be called.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1998577</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-12-11 02:34:53 -0800</bug_when>
    <thetext>&lt;rdar://problem/119485852&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1998580</commentid>
    <comment_count>2</comment_count>
    <who name="Jean-Yves Avenard [:jya]">jean-yves.avenard</who>
    <bug_when>2023-12-11 03:43:02 -0800</bug_when>
    <thetext>Running in the debugger shows that none of the SourceBuffer/MediaSource/HTMLMediaElement/SourceBufferPrivate/MediaSourcePrivate in the content process to be deleted.

The GPU Process objects however are.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1998582</commentid>
    <comment_count>3</comment_count>
    <who name="Jean-Yves Avenard [:jya]">jean-yves.avenard</who>
    <bug_when>2023-12-11 03:53:38 -0800</bug_when>
    <thetext>Seems related to bug 260723</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1998605</commentid>
    <comment_count>4</comment_count>
    <who name="Jean-Yves Avenard [:jya]">jean-yves.avenard</who>
    <bug_when>2023-12-11 05:28:58 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/21631</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1999765</commentid>
    <comment_count>5</comment_count>
    <who name="Jean-Yves Avenard [:jya]">jean-yves.avenard</who>
    <bug_when>2023-12-14 16:40:48 -0800</bug_when>
    <thetext>Destructor is called when GC happens.

When closing the window, the content process is killed immediately.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>