[Webkit-unassigned] [Bug 97020] HTMLMediaElement isn't garbage collected between document reloads

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Sep 20 14:27:34 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=97020


Ami Fischman <fischman at chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
         AssignedTo|webkit-unassigned at lists.web |fischman at chromium.org
                   |kit.org                     |




--- Comment #2 from Ami Fischman <fischman at chromium.org>  2012-09-20 14:28:03 PST ---
Huh; a trivially simple (so simple I suspect I'm missing something) repro:

<html>
<head>
<script>
function go() {
  var a = new Audio();
  a.autoplay = "1";
  a.src="http://trac.webkit.org/export/129167/trunk/LayoutTests/media/content/test.wav";
}
</script>
</head>
<body onload="go()">
</body>
</html>

Reloading the page callers m_player->stop() (chromium's ~WebMediaPlayerImpl() ends up being called) but not ~HTMLMediaElement.
A DOM-based attempt (using <audio>) fails to repro the problem; the key seems to be generating the HTMLAudioElement using JS.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list