<?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>115693</bug_id>
          
          <creation_ts>2013-05-06 19:27:04 -0700</creation_ts>
          <short_desc>Media element leaking in Youtube for iPad</short_desc>
          <delta_ts>2022-07-18 14:37:00 -0700</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>528+ (Nightly build)</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></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Philippe Normand">pnormand</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>allan.jensen</cc>
    
    <cc>ap</cc>
    
    <cc>ehdgms</cc>
    
    <cc>eric.carlson</cc>
    
    <cc>james.hilliard1</cc>
    
    <cc>jer.noble</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>885556</commentid>
    <comment_count>0</comment_count>
    <who name="Philippe Normand">pnormand</who>
    <bug_when>2013-05-06 19:27:04 -0700</bug_when>
    <thetext>Loading youtube.com with the user-agent of the iPad, play one video, wait a few seconds and click on another video on the right side list. The first media element and its associated MediaPlayer/MediaPlayerPrivate is not destroyed.

I can reproduce this issue with the GTK MiniBrowser at least. In the GNOME Sound properties I can see the WebProcess keeps the sound card open for 2 connections.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>885596</commentid>
    <comment_count>1</comment_count>
    <who name="Eric Carlson">eric.carlson</who>
    <bug_when>2013-05-06 21:50:29 -0700</bug_when>
    <thetext>(In reply to comment #0)
&gt; Loading youtube.com with the user-agent of the iPad, play one video, wait a few seconds and click on another video on the right side list. The first media element and its associated MediaPlayer/MediaPlayerPrivate is not destroyed.
&gt; 

This implies that it is a bug in the youtube.com code used when they think user is on an iPad.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>888666</commentid>
    <comment_count>2</comment_count>
    <who name="Dongheun Kang">ehdgms</who>
    <bug_when>2013-05-13 19:56:40 -0700</bug_when>
    <thetext>There is a web page created by this way. For example, videojs.com. recreate video element.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>914562</commentid>
    <comment_count>3</comment_count>
    <who name="Allan Sandfeld Jensen">allan.jensen</who>
    <bug_when>2013-08-05 06:07:22 -0700</bug_when>
    <thetext>If you implement the activity triggered garbage collector (GCActivityCallback), the garbage collection will trigger sooner or later when new JS objects are allocated.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1884673</commentid>
    <comment_count>4</comment_count>
    <who name="James Hilliard">james.hilliard1</who>
    <bug_when>2022-07-17 20:30:29 -0700</bug_when>
    <thetext>(In reply to Philippe Normand from comment #0)
&gt; The first media element and its associated MediaPlayer/MediaPlayerPrivate is not destroyed.

This looks somewhat similar to the issue I&apos;m seeing in https://bugs.webkit.org/show_bug.cgi?id=241549

&gt; In the GNOME Sound properties I can see the WebProcess keeps the sound card open for 2 connections.

I&apos;m seeing this except with WPEWebProcess connections in pipewire.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>