IE10 - process.nextTick #237

Closed
tommymessbauer opened this Issue Nov 12, 2012 · 3 comments

Comments

Projects
None yet
2 participants

process.nextTick appears to be broken in IE10. The following jsfiddle show the issue.

Here is the entry.js code.

process.nextTick(function() {
  alert('hello');
});

It produces the following browserified code. It should alert on page load, but it does not work in IE.
http://jsfiddle.net/tommydudebreaux/NBfhZ/

Results in SCRIPT65535 Invalid calling object

Owner

substack commented Nov 12, 2012

Can you try changing:

return window.setImmediate;

in the bundle to read:

return function (f) { return window.setImmediate(f) }

to see if that changes anything? And perhaps put some console.log()s in to see the values of canPost and canSetImmediate.

Looks like that works. When can we get that released to npm?

-T

http://jsfiddle.net/tommydudebreaux/NBfhZ/1/

Owner

substack commented Feb 22, 2013

This functionality is handled by process now. I'll try to get testling-ci tests up on it soon.

substack closed this Feb 22, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment