Avoid stack overflow in tests
This commit is contained in:
parent
e893472331
commit
deca49c433
1 changed files with 3 additions and 1 deletions
|
@ -334,7 +334,9 @@ Zotero_TranslatorTester.prototype._runTestsRecursively = function(testDoneCallba
|
|||
if(this.type === "web") {
|
||||
this.fetchPageAndRunTest(test, callback);
|
||||
} else {
|
||||
(Zotero.setTimeout ? Zotero : window).setTimeout(function() {
|
||||
this.runTest(test, null, callback);
|
||||
}, 0);
|
||||
}
|
||||
|
||||
(Zotero.setTimeout ? Zotero : window).setTimeout(function() {
|
||||
|
|
Loading…
Add table
Reference in a new issue