From de897d287832fbd85fe0f54e13125c69cd77e86c Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Mon, 7 Mar 2016 20:12:13 -0500 Subject: [PATCH] Add "new" to File constructor for Firefox 45 --- test/tests/zfsTest.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/tests/zfsTest.js b/test/tests/zfsTest.js index 70bf7db7b7..82da909fc6 100644 --- a/test/tests/zfsTest.js +++ b/test/tests/zfsTest.js @@ -395,7 +395,7 @@ describe("Zotero.Sync.Storage.Mode.ZFS", function () { // Upload single file to S3 else if (req.method == "POST" && req.url == baseURL + "pretend-s3/1") { assert.equal(req.requestHeaders["Content-Type"], contentType1 + fixSinonBug); - assert.equal(req.requestBody.size, (new Blob([prefix1, File(file1), suffix1]).size)); + assert.equal(req.requestBody.size, (new Blob([prefix1, new File(file1), suffix1]).size)); req.respond(201, {}, ""); } // Upload multi-file ZIP to S3