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

fix(core): fix #978, should be able to clear onhandler added before zone.js #981

Merged
merged 1 commit into from
Dec 27, 2017

Conversation

JiaLiPassion
Copy link
Collaborator

fix #978.

The issue can be described as

  1. before load zone.js, add handler to onprop, such as elem.onload=function() {};.
  2. load zone.js.
  3. clear, elem.onload = null.
  4. elem.onload is not cleared.

We need try to clear the onprop with the non-patched descriptor.

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.

Monkey patching a load event is causing an infinite loading in IE11 after using loadCSS
3 participants