| Index: LayoutTests/fast/mediastream/MediaStreamConstructor.html
|
| diff --git a/LayoutTests/fast/mediastream/MediaStreamConstructor.html b/LayoutTests/fast/mediastream/MediaStreamConstructor.html
|
| index 98ebca9cd6fbb85169e815253f62e52183995287..324c389253cb938cf1e131bd89a62b1f5f5197c8 100644
|
| --- a/LayoutTests/fast/mediastream/MediaStreamConstructor.html
|
| +++ b/LayoutTests/fast/mediastream/MediaStreamConstructor.html
|
| @@ -85,7 +85,7 @@ function testConstructor(s) {
|
| verifyStream(new webkitMediaStream([s.getAudioTracks()[0], s.getVideoTracks()[0]]), 1, 1);
|
| verifyStream(new webkitMediaStream([s.getVideoTracks()[0], s.getAudioTracks()[0], s.getVideoTracks()[0]]), 1, 1);
|
|
|
| - s.onended = function () {
|
| + s.oninactive = function () {
|
| verifyStream(new webkitMediaStream([s.getAudioTracks()[0]]), 0, 0);
|
| verifyStream(new webkitMediaStream([s.getVideoTracks()[0]]), 0, 0);
|
| verifyStream(new webkitMediaStream([s.getAudioTracks()[0], s.getVideoTracks()[0]]), 0, 0);
|
| @@ -109,6 +109,11 @@ function verifyStream(s, numAudioTracks, numVideoTracks) {
|
| shouldBe('newStream.getAudioTracks().length', 'nAudio');
|
| shouldBe('newStream.getVideoTracks().length', 'nVideo');
|
|
|
| + if (!nAudio && !nVideo)
|
| + shouldBe('newStream.active', 'false');
|
| + else
|
| + shouldBe('newStream.active', 'true');
|
| +
|
| shouldBeTrue('checkIdAttribute(newStream.id)');
|
| }
|
|
|
|
|