-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
setImmediate compatibility in IE10 #1163
Comments
My vote is to ignore |
related with #998. |
@kwonoj that's not what the error is telling you, it's telling you it's unbound to the proper object. None of the issues you state above aren't related to this error. In this case, our code should be: if (typeof root.setImmediate === 'function') {
this.setImmediate = root.setImmediate.bind(root);
} The problem is that you were unbound to the |
@mattpodwysocki What I was thought about first case was regarding below in https://msdn.microsoft.com/library/gg622930(v=vs.85).aspx, seems I was misunderstood about those.
For second item, it is said behavior of |
@kwonoj no, it's not any more problematic than any other host object. See the |
Appreciate for clarification. I'll use this issue to update code base as suggested by second issue (I thought as issue) is not relevant. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
among major browser engines, IE10 (and above, IE11) have implementation of
window.setImmediate
(https://developer.mozilla.org/ko/docs/Web/API/Window/setImmediate) and current implementation of RxJSimmediate
tries to utilize it. Currently it has 2 issueswindow.setImmediate
: our codebase assigns it as
which brings error like below
reason of IE's behavior (https://msdn.microsoft.com/library/gg622930(v=vs.85).aspx).
window.setImmediate
has known issue: has unreliable behavior reported at
http://codeforhire.com/2013/09/21/setimmediate-and-messagechannel-broken-on-internet-explorer-10/
and
https://connect.microsoft.com/IE/feedback/details/801823/setimmediate-and-messagechannel-are-broken-in-ie10
confirmed as 'won't fix'.
Possible options
window.setImmediate
or not explicitlywindow.setImmediate
and use polyfill (onreadystatechange?)The text was updated successfully, but these errors were encountered: