mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1032878 - Fix for test_mediarecorder_getencodeddata.html. r=rlin
This commit is contained in:
parent
174ea37131
commit
16b12439ec
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user