angular-cn/packages/zone.js/test/browser
JiaLiPassion 54634628ac fix(zone.js): Make `EventTarget` methods optional in `zone.js` extension API (#35954)
`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
2020-03-16 09:00:44 -07:00
..
FileReader.spec.ts build: move zone.js to angular repo (#30962) 2019-06-20 11:27:39 -07:00
HTMLImports.spec.ts build: move zone.js to angular repo (#30962) 2019-06-20 11:27:39 -07:00
MediaQuery.spec.ts build: move zone.js to angular repo (#30962) 2019-06-20 11:27:39 -07:00
MutationObserver.spec.ts build: move zone.js to angular repo (#30962) 2019-06-20 11:27:39 -07:00
Notification.spec.ts build: move zone.js to angular repo (#30962) 2019-06-20 11:27:39 -07:00
WebSocket.spec.ts build: move zone.js to angular repo (#30962) 2019-06-20 11:27:39 -07:00
Worker.spec.ts build: move zone.js to angular repo (#30962) 2019-06-20 11:27:39 -07:00
XMLHttpRequest.spec.ts build: move zone.js to angular repo (#30962) 2019-06-20 11:27:39 -07:00
browser.spec.ts fix(zone.js): Make `EventTarget` methods optional in `zone.js` extension API (#35954) 2020-03-16 09:00:44 -07:00
custom-element.spec.js build: move zone.js to angular repo (#30962) 2019-06-20 11:27:39 -07:00
define-property.spec.ts fix(zone.js): move property patch to legacy (#31660) 2019-07-24 14:36:43 -07:00
element.spec.ts build: move zone.js to angular repo (#30962) 2019-06-20 11:27:39 -07:00
geolocation.spec.manual.ts build: move zone.js to angular repo (#30962) 2019-06-20 11:27:39 -07:00
messageport.spec.ts feat(zone.js): Monkey patch MessagePort.prototype onproperties (#34610) 2020-03-16 08:59:38 -07:00
registerElement.spec.ts build: move zone.js to angular repo (#30962) 2019-06-20 11:27:39 -07:00
requestAnimationFrame.spec.ts build: move zone.js to angular repo (#30962) 2019-06-20 11:27:39 -07:00
shadydom.spec.ts fix(zone.js): patch shadydom (#31717) 2019-07-24 14:42:14 -07:00