eligrey / Blob.js

An HTML5 Blob implementation
Other
1.15k stars 605 forks source link

Internet Explorer 9 #8

Closed ranabra closed 11 years ago

ranabra commented 11 years ago

Hello, I am having issues with IE9. I am using "Blob.js" together with "FileSaver.min.js" and it all works great on FF and Chrome, but in IE9 I get the error: "The data area passed to a system call is too small"

I think that error is related to URL length limitations in IE9. If anyone has a clue on how to solve this I'd appreciate it. I read up on "Blob.js" and Googled too, and as far as I understand IE9 together with "Blob.js" should work, am I correct? Thanx

eligrey commented 11 years ago

Unfortunately, IE has limits on data: URIs which prevents it from using them for downloads as used in FileSaver.js. IE10 supports native blobs so this isn't an issue. Blob.js is for adding Blob support in browsers that don't support Blob but do support using data: URIs for downloads, so you'll either have to either tell IE <10 users to upgrade to Chrome, Firefox, or IE10 or use a flash-based file saver alternative in IE <10.