CreateJS / PreloadJS

PreloadJS makes preloading assets & getting aggregate progress events easier in JavaScript. It uses XHR2 when available, and falls back to tag-based loading when not.
http://createjs.com/
MIT License
2.88k stars 761 forks source link

Failed to execute 'createObjectURL' on 'URL': Overload resolution failed #276

Open packaaa opened 3 years ago

packaaa commented 3 years ago

TODO

Issue Details

Techn1x commented 10 months ago

I've encountered this error as well - It occurs when URL.createObjectURL() receives something other than a File/Blob etc.

In my case, there was a bug in Pretender.js, where fetch() requests for binary files (eg images) via pretender passthrough would incorrectly return String instead of Blob. Do you happen to be using pretender.js? https://github.com/pretenderjs/pretender/pull/363