javascript - Safari image.onload event not firing with Blob url -
i trying demo mdn working in safari. works quite nicely in chrome , ff.
specifically, onload callback of image not appear firing in safari 7.0.3. here's jsfiddle demonstrates behavior (run dev console in browser open):
http://jsfiddle.net/qrohlf/hgfz4/1/
i think bug in safari - ideas on how work around it?
in jsfiddle example, onload event not fired because error has occurred. try attach onerror handler , see fired.
unfortunately, error object doesn't tell wrong.
indeed problem blob's type doesn't expect charset part. try removing ;charset=utf-8 , work.
Comments
Post a Comment