зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1294605
- Enable test code waiting for this bug. r=jib
MozReview-Commit-ID: 3TV58pT1SF2 --HG-- extra : rebase_source : 60c8cf5b672dbe6b6c8275cab55df18d67dd7e18 extra : intermediate-source : fd54a601b0d2eb73cbe2411078a389d025e6a333 extra : source : 631047fcb5af9e5d2bcf4761dc8fbd0d37529270
This commit is contained in:
Родитель
70ed3a403c
Коммит
17e5482a6b
|
@ -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();
|
||||
})
|
||||
|
|
|
@ -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());
|
||||
|
|
Загрузка…
Ссылка в новой задаче