зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1179547
- release decoders when tests finish as well as cubeb streams to reduce the number of concurrent cubeb streams and the chance of OpenCubeb() errors. r=kinetik.
This commit is contained in:
Родитель
16cd50266e
Коммит
dac9a4cb51
|
@ -11,7 +11,7 @@
|
|||
<body>
|
||||
<pre id="test">
|
||||
<script class="testbody" type="text/javascript">
|
||||
|
||||
PARALLEL_TESTS = 1;
|
||||
var manager = new MediaTestManager;
|
||||
|
||||
// Fragment parameters to try. These tests
|
||||
|
@ -78,9 +78,7 @@ function startTest(test, token) {
|
|||
ok(a, name + ": " + msg);
|
||||
}}(name);
|
||||
var localFinish = function(v, manager) { return function() {
|
||||
if (v.parentNode) {
|
||||
v.parentNode.removeChild(v);
|
||||
}
|
||||
removeNodeAndSource(v);
|
||||
manager.finished(v.token);
|
||||
}}(v, manager);
|
||||
window['test_fragment_play'](v, test.start, test.end, localIs, localOk, localFinish);
|
||||
|
|
Загрузка…
Ссылка в новой задаче