IE11′s javascript engine doesn’t work correctly with promises

Yes, you read it right!

It doesn’t work correctly. Specifically, if you had an array of promises, then in IE 11 (and any other version), the promises will be worked on synchronously, and it will go through them one by one. In Firefox, and Chrome, it works as expected. The promises are resolved as and when they have finished processing and run independent of each other. Synchronous processing makes IE’s performance worst of all and in some cases, it just errors out. We spent quite a while on this issue, and had to resort to using callbacks in the end just to get it working in IE.

My suggestion for anyone working with the latest HTML5 API’s would be to start developing on IE. Browsers like Chrome have spoilt us developers, which makes it harder and at times, frustrating to put in workarounds for IE.

About andhapp

Namastey (Hello) Stranger, This is not the geekiest blog on the planet yet it is not the dumbest one either. I am a small time developer who likes to explore new technologies. I usually program in Java, Groovy and Ruby and take keen interest in the surrounding geeky developments.
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>