englercj / resource-loader

A middleware-style generic resource loader built with web games in mind.
http://englercj.github.io/resource-loader/
MIT License
424 stars 77 forks source link

InvalidStateError in IE11, line 660 in Resource.js #125

Closed ml497 closed 5 years ago

ml497 commented 5 years ago

Hello,

We've noticed an "InvalidStateError" that has recently started coming up in IE11. I had a quick look and and it seems like the issue may be similar to this (ie. setting the timeout property of an xhr object before calling open results in this error): https://github.com/airbrake/airbrake-js/issues/302

Thanks!

englercj commented 5 years ago

I moved the timeout, can you see if this works for you?

ml497 commented 5 years ago

Just tested that and it works :+1:

englercj commented 5 years ago

Nice! I'll make a release tonight when I get home.

Friksel commented 5 years ago

Just for the record here too: fixed it in IE11 here too. Just glad it's fixed, so now I can switch back to pixi on my project ;) Thanks for the quick action!

englercj commented 5 years ago

v2.2.3 is now released which includes this fix.