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
[next] addEventListener does not go through zones #17406
Comments
The difficulty here is that in Dartium we have to have multiple implementations of addEventListener to work around 17408. In order to wrap in zones we would make addEventListener private and expose a new public one which does the wrapping, but this is susceptible to subtle breakage (and invalid C++ casts) if the C++ classes change. |
Marked this as being blocked by #17408. |
Removed Area-HTML label. |
Issue #19508 has been merged into this issue. |
idea: rename native method to addEventListenerWithoutZone, then introduce a written-in-dart addEventListener? Pete any ideas how to support removeEventListener? I guess we'll need to associate our wrapped function with the original function closure using an Expando. |
What's the priority of this issue? |
Perhaps deprecate removeEventListener and just have removeEventListenerWithoutZone? |
Issue #19905 has been merged into this issue. |
Might be addressed in the next rev. Removed the owner. |
Angular2 has to work around this issue resulting in less efficient codegen. |
I believe we are not planning on forcing all JS interop through zones at this time. |
The streams do, but addEventListener does not.
The text was updated successfully, but these errors were encountered: