firefox error with browserify
Closed this issue · 2 comments
smolleyes commented
hi :)
there s a problem with the demo page and firefox
error
InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable
coming from
self.xhr.responseType = 'arraybuffer'
the download works if i comment this line then i have
TypeError: buf.copy is not a function
when the download end
thanks :)
ps: no problems on chrome
smolleyes commented
demo page for browserify :p
no idears toni ?
thx
smolleyes commented
ok
we just have to put the line self.xhr.responseType = 'arraybuffer' after the xhr.open not before
thanks