| Index: LayoutTests/media/audio-concurrent-supported.html
|
| diff --git a/LayoutTests/media/audio-concurrent-supported.html b/LayoutTests/media/audio-concurrent-supported.html
|
| index 07d540a135e7e90cec34541fa604adddbc53421f..5a99bae654f3b900f427878ee79cd21039ccba7d 100644
|
| --- a/LayoutTests/media/audio-concurrent-supported.html
|
| +++ b/LayoutTests/media/audio-concurrent-supported.html
|
| @@ -32,14 +32,8 @@
|
|
|
| function timeupdateListener(event)
|
| {
|
| - ++timeupdateEventCount;
|
| -
|
| - // wait 2 timeupdate events so we are sure the media engine is
|
| - // playing the media.
|
| - if (timeupdateEventCount >= 2) {
|
| - // make sure time is advancing
|
| - testElement = this;
|
| - testExpected(audioElementCount + ", testElement.currentTime", 0, '>');
|
| + // Make sure time is advancing.
|
| + if (this.currentTime > 0) {
|
| this.removeEventListener('timeupdate', timeupdateListener);
|
| if (++audioElementCount >= maxPlayers) {
|
| // All audio elements have been started playing. Make sure
|
|
|