fx-compat: Fix Zotero.File.download()

This commit is contained in:
Dan Stillman 2022-06-19 18:58:25 -04:00
parent 8f7a160ba1
commit dfff86df72
2 changed files with 10 additions and 7 deletions

View file

@ -493,7 +493,8 @@ describe("Zotero.File", function () {
it("should concurrently download three large files", async function () {
const url = `${baseURL}/file1.txt`;
var { ConcurrentCaller } = ChromeUtils.import("resource://zotero/concurrentCaller.js");
var caller = new ConcurrentCaller({
numConcurrent: 3,
Promise: Zotero.Promise,