www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 417e00a4f66e1950c378f2bab46cb84822ca8551
parent cb19ac18f7f0817e814ffea3ce05769a1c6b289d
Author: Simon Kornblith <simon@simonster.com>
Date:   Tue, 28 Feb 2012 10:39:23 -0500

Delete hidden browser if timed out

Diffstat:
Mchrome/content/zotero/tools/testTranslators/translatorTester.js | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/chrome/content/zotero/tools/testTranslators/translatorTester.js b/chrome/content/zotero/tools/testTranslators/translatorTester.js @@ -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); }; /**