зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1380346 - Apply applyConstraints() properly. r=jib
MozReview-Commit-ID: EOuHS9nYT8S --HG-- extra : rebase_source : 5d162b361ecfa6611317805a305a6ffcd33e16a2
This commit is contained in:
Родитель
c855ea91ce
Коммит
94fb70a59f
|
@ -154,7 +154,7 @@
|
|||
|
||||
info("Testing modifying screenshare with applyConstraints");
|
||||
await Promise.all([
|
||||
() => testVideo.srcObject.getVideoTracks()[0].applyConstraints({
|
||||
testVideo.srcObject.getVideoTracks()[0].applyConstraints({
|
||||
mediaSource: 'screen',
|
||||
width: 200,
|
||||
height: 200,
|
||||
|
@ -163,7 +163,7 @@
|
|||
max: '10'
|
||||
}
|
||||
}),
|
||||
() => listenUntil(testVideo, "resize", () => true),
|
||||
haveEvent(testVideo, "resize", wait(5000, new Error("Timeout"))),
|
||||
]);
|
||||
draw(helper.grey, helper.green,
|
||||
helper.blue, helper.red);
|
||||
|
|
Загрузка…
Ссылка в новой задаче