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") {
|
if(this.type === "web") {
|
||||||
this.fetchPageAndRunTest(test, callback);
|
this.fetchPageAndRunTest(test, callback);
|
||||||
} else {
|
} else {
|
||||||
|
(Zotero.setTimeout ? Zotero : window).setTimeout(function() {
|
||||||
this.runTest(test, null, callback);
|
this.runTest(test, null, callback);
|
||||||
|
}, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
(Zotero.setTimeout ? Zotero : window).setTimeout(function() {
|
(Zotero.setTimeout ? Zotero : window).setTimeout(function() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue