diff --git a/chrome/content/zotero/tools/testTranslators/translatorTester.js b/chrome/content/zotero/tools/testTranslators/translatorTester.js index 36402e0a2f..dcd31cccb7 100644 --- a/chrome/content/zotero/tools/testTranslators/translatorTester.js +++ b/chrome/content/zotero/tools/testTranslators/translatorTester.js @@ -397,7 +397,10 @@ Zotero_TranslatorTester.prototype.fetchPageAndRunTest = function(test, testDoneC true ); - hiddenBrowser.docShell.allowMetaRedirects = true; + // No hidden browser returned from translation-server processDocuments() + if (hiddenBrowser) { + hiddenBrowser.docShell.allowMetaRedirects = true; + } }; /**