зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1423253 - Fix test_mr_record_addtracked_stream.html recording a video that is too short. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D22932 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
9e33da2826
Коммит
f42ad37739
|
@ -66,6 +66,10 @@ runTestWhenReady(async () => {
|
|||
await haveEvent(mediaRecorder, "start", wait(5000, new Error("Timeout")));
|
||||
info("onstart fired");
|
||||
|
||||
// The recording can be too short to cause any checks with
|
||||
// waitForAnalysisSuccess(). Waiting a bit here solves this.
|
||||
await wait(500);
|
||||
|
||||
is(mediaRecorder.state, "recording",
|
||||
"Media recorder is recording before being stopped");
|
||||
mediaRecorder.stop();
|
||||
|
|
Загрузка…
Ссылка в новой задаче