зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1032878 - Fix for test_mediarecorder_getencodeddata.html. r=rlin
This commit is contained in:
Родитель
4d71b5379f
Коммит
ced68fdbe0
|
@ -25,6 +25,9 @@ SpecialPowers.pushPrefEnv({"set": [["media.ogg.enabled", false]]},
|
|||
ok(onErrorFired, 'onStop after onError');
|
||||
ok(ondataavailableFired, 'ondataavailableFired');
|
||||
|
||||
//Apparently, as soon as the document is unloading, mediaRecorder.ondataavailable
|
||||
//fires again, so set it to null to avoid failures
|
||||
mediaRecorder.ondataavailable = null;
|
||||
SimpleTest.finish();
|
||||
}
|
||||
mediaRecorder.ondataavailable = function(evt) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче