Fix error running tests in translation-server
This commit is contained in:
parent
34208f92f7
commit
849d206f87
1 changed files with 4 additions and 1 deletions
|
@ -397,7 +397,10 @@ Zotero_TranslatorTester.prototype.fetchPageAndRunTest = function(test, testDoneC
|
||||||
true
|
true
|
||||||
);
|
);
|
||||||
|
|
||||||
hiddenBrowser.docShell.allowMetaRedirects = true;
|
// No hidden browser returned from translation-server processDocuments()
|
||||||
|
if (hiddenBrowser) {
|
||||||
|
hiddenBrowser.docShell.allowMetaRedirects = true;
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue