Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

feat(performance): onProperty handler use global wrapFn, other performance improve. #872

Merged
merged 2 commits into from
Aug 12, 2017

Conversation

JiaLiPassion
Copy link
Collaborator

  1. we have use global callback in EventTarget.addEventListener, we should also use the same mechanism for onProperty=listener logic. We can use a global wrapFn instead of create a new function every time.

  2. other small improvements, basically use const string to make sure not create too many strings.

  3. Chrome 60 support HTMLFrameSetElement.prototype.onmessageerror, patch it.

@mhevery mhevery merged commit a66595a into angular:master Aug 12, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants