fx-compat: Fix Zotero.File.download()
This commit is contained in:
parent
8f7a160ba1
commit
dfff86df72
2 changed files with 10 additions and 7 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue