eligrey / Blob.js

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

RangeError on Mobile Safari #24

Closed lacek closed 10 years ago

lacek commented 10 years ago

I am using the latest FileSaver.js with Blob.js to save a canvas to PNG (< 100KB). It work on most browsers except on Mobile Safari on iOS. When the image is larger than a certain size, the following error is thrown:

RangeError: Maximum call stack size exeeded.    (Blob.js:106)
    append    (Blob.js:106)
    Blob    (Blob.js:173)
    toBlob    (canvas-toBlob.js:101)
    ...
eligrey commented 10 years ago

No idea. Either send me an iPhone so I can fix the issue or use StackOverflow for free support.

udondan commented 10 years ago

Safari on iOS has native Blob implementation. The problem actually is #22