TTLabs / EvaporateJS

Javascript library for browser to S3 multipart resumable uploads
1.82k stars 207 forks source link

Evaporate.create() not working with Firefox 61 #414

Closed fkjaekel closed 6 years ago

fkjaekel commented 6 years ago

Hi,

On Firefox 61, Evaporate.create() is not getting called. Debugging the code, I can see that it only step over the line, the error callback is not called. The same code works fine with Chrome 67. Any ideias of what is happening?

I'm using Evaporate 2.1.4.

Thanks

fkjaekel commented 6 years ago

evaporate.zip

jakubzitny commented 6 years ago

Works for me.

fkjaekel commented 6 years ago

After some further digging I found the issue: xAmzHeadersAtInitiate : {'x-amz-meta-lastmodified': mp.files[i].lastModifiedDate.getTime().toString()},

I had this line in the property list of Evaporate.add().

lastModifiedDate was removed on Firefox 61: https://www.fxsitecompat.com/en-CA/docs/2018/file-lastmodifieddate-has-been-removed/

Sorry for the noise, but since there was no output in Firefox console I got a bit lost. It should show uncaught Promise exceptions like Chrome do.

jakubzitny commented 6 years ago

Glad to hear that, you can close the issue then.