Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
fix(zone.js): define tasks array as enumerable: false on element #33694
@sod , thanks for the PR, but currently
(Sorry I click close and comment button accidentally), maybe we can discuss this later or we can make some refactor on
Thanks for clarification.
Isn't there a security risk to expose event handlers globally accessible on elements? And why are the handlers spreaded onto the element? Doesn't this make the DOM megamorphic and thus code that works with the DOM slower? Why not use a weakmap to internally connect handlers & elements?