eligrey / Blob.js

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

IE9 - blob.type is null or undefined #44

Closed evapisces closed 6 years ago

evapisces commented 9 years ago

I'm using IE9 to implement a script that creates images from user signatures. The script uses blobs and since I'm using IE9, I'm using Blob.js to get around the IE9 errors. However, I'm getting a script error on the following line: var type = blob.type, data_URI_header; (Line 86, Character 13)

The error I'm getting is: SCRIPT5007: Unable to get value of the property 'type': object is null or undefined.

Any help with this would be greatly appreciated.