mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 969372: part3: fix the testcase. r=roc
This commit is contained in:
parent
ad1b14886e
commit
7b9b52ae34
@ -10,8 +10,6 @@
|
||||
<pre id="test">
|
||||
<script class="testbody" type="text/javascript">
|
||||
var manager = new MediaTestManager;
|
||||
// Need to clarify why declare mediaRecorder in startTest cause timeout.;
|
||||
var mediaRecorder;
|
||||
|
||||
/**
|
||||
* Starts a test on every media recorder file included to check that a
|
||||
@ -28,7 +26,7 @@ function startTest(test, token) {
|
||||
element.test = test;
|
||||
element.stream = element.mozCaptureStreamUntilEnded();
|
||||
|
||||
mediaRecorder = new MediaRecorder(element.stream);
|
||||
var mediaRecorder = new MediaRecorder(element.stream);
|
||||
var onStopFired = false;
|
||||
var onDataAvailableFired = false;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user