diff --git a/chrome/content/zotero/xpcom/file.js b/chrome/content/zotero/xpcom/file.js index b181698cb..7b7621973 100644 --- a/chrome/content/zotero/xpcom/file.js +++ b/chrome/content/zotero/xpcom/file.js @@ -377,7 +377,8 @@ Zotero.File = new function(){ this.download = Zotero.Promise.coroutine(function* (uri, path) { - var msg = "Saving " + (uri.spec ? uri.spec : uri) + " to " + (path.path ? path.path : path); + Zotero.debug("Saving " + (uri.spec ? uri.spec : uri) + + " to " + (path.path ? path.path : path)); var deferred = Zotero.Promise.defer(); NetUtil.asyncFetch(uri, function (is, status, request) { diff --git a/test/tests/fulltextTest.js b/test/tests/fulltextTest.js index 1c54f43fc..23b231085 100644 --- a/test/tests/fulltextTest.js +++ b/test/tests/fulltextTest.js @@ -11,7 +11,7 @@ describe("Zotero.Fulltext", function () { it("should install the PDF tools", function* () { var version = "3.04"; var dataDir = Zotero.getZoteroDirectory().path; - var execFileName = 'pdfinfo-' + Zotero.platform; + var execFileName = Zotero.Fulltext.pdfInfoFileName; var execContents = new Array(50001).join('a'); var execPath = OS.Path.join(dataDir, execFileName); var versionFileName = execFileName + '.version';