Bug 1294605 - Enable test code waiting for this bug. r=jib

MozReview-Commit-ID: 3TV58pT1SF2

--HG--
extra : rebase_source : 00736accd5d03aabac7381cace7b48f7001e9ecd
extra : source : 631047fcb5af9e5d2bcf4761dc8fbd0d37529270
This commit is contained in:
Andreas Pehrson 2016-08-22 18:27:38 +02:00
parent 7aad6cd70f
commit 48289fedba
2 changed files with 5 additions and 7 deletions

View File

@ -50,9 +50,8 @@ runTest(() => getUserMedia({audio: true, video: true})
})
.then(s => {
newStream = s;
// TODO: Uncomment once bug 1294605 is fixed
// info("Stopping an original track");
// stopTrack(stream.getTracks()[0]);
info("Stopping an original track");
stopTrack(stream.getTracks()[0]);
return spinEventLoop();
})

View File

@ -54,10 +54,9 @@
var test = createMediaElement('video', 'testClonePlayback');
var playback = new MediaStreamPlayback(test, cloneStream);
return playback.playMedia(false).then(() => {
// TODO: Uncomment once bug 1294605 is fixed
// info("Testing that clones of ended tracks are ended");
// cloneStream.clone().getTracks().forEach(t =>
// is(t.readyState, "ended", "Track " + t.id + " should be ended"));
info("Testing that clones of ended tracks are ended");
cloneStream.clone().getTracks().forEach(t =>
is(t.readyState, "ended", "Track " + t.id + " should be ended"));
})
.then(() => {
clones.forEach(t => t.stop());