54634628ac
`zone.js` added `removeAllListeners` and `eventListeners` methods in `EventTarget.prototype`, but those methods only exists when user import `zone.js` and also enables `EventTarget` monkey patching. If user: 1. Does not import `zone.js` and uses `noop` zone when bootstrapping Angular app. OR 2. Disable monkey patching of `EventTarget` patch by defining `__Zone_disable_EventTarget = true`. Then `removeAllListeners` and `eventListeners` methods will not be present. PR Close #35954 |
||
---|---|---|
.. | ||
FileReader.spec.ts | ||
HTMLImports.spec.ts | ||
MediaQuery.spec.ts | ||
MutationObserver.spec.ts | ||
Notification.spec.ts | ||
WebSocket.spec.ts | ||
Worker.spec.ts | ||
XMLHttpRequest.spec.ts | ||
browser.spec.ts | ||
custom-element.spec.js | ||
define-property.spec.ts | ||
element.spec.ts | ||
geolocation.spec.manual.ts | ||
messageport.spec.ts | ||
registerElement.spec.ts | ||
requestAnimationFrame.spec.ts | ||
shadydom.spec.ts |