commit cfc5bc33e8c87f1e6325a838dc46d80fc22133d0
parent 9eb75e343943c071f20ba30143d9419bf16ef368
Author: Simon Kornblith <simon@simonster.com>
Date: Mon, 16 Apr 2012 01:05:18 -0400
Override runMode when running tests
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/chrome/content/zotero/tools/testTranslators/translatorTester.js b/chrome/content/zotero/tools/testTranslators/translatorTester.js
@@ -142,6 +142,7 @@ Zotero_TranslatorTesters = new function() {
Zotero_TranslatorTester = function(translator, type, debugCallback) {
this.type = type;
this.translator = translator;
+ this.translator.runMode = Zotero.Translator.RUN_MODE_IN_BROWSER;
this.output = "";
this.isSupported = this.translator.runMode === Zotero.Translator.RUN_MODE_IN_BROWSER;