mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 03:15:11 +00:00
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:
parent
7aad6cd70f
commit
48289fedba
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user