www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit de897d287832fbd85fe0f54e13125c69cd77e86c
parent 285dac425c4dbff8cec6fb59436ea55d25a711f1
Author: Dan Stillman <dstillman@zotero.org>
Date:   Mon,  7 Mar 2016 20:12:13 -0500

Add "new" to File constructor for Firefox 45

Diffstat:
Mtest/tests/zfsTest.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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