commit-queue@webkit.org | c38ddde | 2011-11-15 20:13:53 +0000 | [diff] [blame] | 1 | Tests that we don't garbage collect playing audio object or event listener. |
| 2 | |
| 3 | According 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 | |
| 9 | PASS |
| 10 | |
| 11 | |