зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset eb930799bd15 (bug 1294605
)
--HG-- extra : source : 5a542246049e4ff7fc0c49234fdb49605047a8e2
This commit is contained in:
Родитель
1456ec14f4
Коммит
aa0990718c
|
@ -50,8 +50,9 @@ runTest(() => getUserMedia({audio: true, video: true})
|
|||
})
|
||||
.then(s => {
|
||||
newStream = s;
|
||||
info("Stopping an original track");
|
||||
stopTrack(stream.getTracks()[0]);
|
||||
// TODO: Uncomment once bug 1294605 is fixed
|
||||
// info("Stopping an original track");
|
||||
// stopTrack(stream.getTracks()[0]);
|
||||
|
||||
return spinEventLoop();
|
||||
})
|
||||
|
|
|
@ -54,9 +54,10 @@
|
|||
var test = createMediaElement('video', 'testClonePlayback');
|
||||
var playback = new MediaStreamPlayback(test, cloneStream);
|
||||
return playback.playMedia(false).then(() => {
|
||||
info("Testing that clones of ended tracks are ended");
|
||||
cloneStream.clone().getTracks().forEach(t =>
|
||||
is(t.readyState, "ended", "Track " + t.id + " should be ended"));
|
||||
// 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"));
|
||||
})
|
||||
.then(() => {
|
||||
clones.forEach(t => t.stop());
|
||||
|
|
Загрузка…
Ссылка в новой задаче