mapsapi-modules icon indicating copy to clipboard operation
mapsapi-modules copied to clipboard

setImmediate & postMessage are potentially broken in IE10

Open deepsweet opened this issue 10 years ago • 4 comments

http://codeforhire.com/2013/09/21/setimmediate-and-messagechannel-broken-on-internet-explorer-10/

and looks like we have a potentially buggy nextTick wrapper.

deepsweet avatar Nov 27 '13 08:11 deepsweet

hardcore

deepsweet avatar Nov 27 '13 09:11 deepsweet

This bug is existed only in IE10 or other versions of IE too?

dfilatov avatar Nov 27 '13 10:11 dfilatov

I don't know and have no such browsers for a tests at this moment... afaik: setImmediate exists in IE10+ postMessage exists in IE8+ (btw, actually IE8-9 gets in here, not here)

deepsweet avatar Nov 27 '13 11:11 deepsweet

IE8 uses readyStateChange, because it contains synchronous version of postMessage, see https://github.com/ymaps/modules/blob/master/modules.js#L345

dfilatov avatar Nov 27 '13 12:11 dfilatov