Delete hidden browser if timed out

This commit is contained in:
Simon Kornblith 2012-02-28 10:39:23 -05:00
parent cb19ac18f7
commit 417e00a4f6

View file

@ -337,6 +337,9 @@ Zotero_TranslatorTester.prototype.fetchPageAndRunTest = function(test, testDoneC
},
true
);
(Zotero.setTimeout ? Zotero : window).setTimeout(function() {
Zotero.Browser.deleteHiddenBrowser(hiddenBrowser);
}, TEST_RUN_TIMEOUT);
};
/**