[Webkit-unassigned] [Bug 66878] HTMLAudioElement can be garbage collected while it playing

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 13 10:23:40 PDT 2011


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





--- Comment #42 from Eugene Nalimov <enal at google.com>  2011-10-13 10:23:39 PST ---
1. Will work on cleaning up the test... 
2. Depending on exactly when GC happens -- during playback, or after playback, when event was fired but still waiting in the message queue -- we are hitting either one of 2 bugs, or if we are lucky no bug at all (for majority of test we have reference to audio player, and if GC happens after we fire the first event but before we add next event then 2nd bug would not be noticeable, too). So test behavior depends on the exact duration of audio stream, and to some degree on CPU speed, though this degree is much smaller. I'll try to use silence.wav and figure out exact position in file, hope will be able to do so.
3. I don't think closure is trivial concept, or that all developers know about it, or know exact JS semantics, but I will change the test to use closure (i.e. local scope).
4. Will send next revision for review either later today or tomorrow. Working on M15 blocker.

-- 
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