blob: 99d9ebcb2dae7b6ca0aeb3b8e2105bcbcc99b6e7 [file] [log] [blame]
commit-queue@webkit.orgc38ddde2011-11-15 20:13:53 +00001Tests that we don't garbage collect playing audio object or event listener.
2
3According to http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html,
4"4.8.10.8 Playing the media resource",
5"Media elements must not stop playing just because all references to them have been removed; only once a media element is in a state where no further audio could ever be played by that element may the element be garbage collected."
6
7(see https://bugs.webkit.org/show_bug.cgi?id=66878, https://bugs.webkit.org/show_bug.cgi?id=70421, and http://crbug.com/62604 for more details).
8
9PASS
10
11