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
HTMLImports.spec.ts
MediaQuery.spec.ts
MutationObserver.spec.ts
Notification.spec.ts
WebSocket.spec.ts
Worker.spec.ts
XMLHttpRequest.spec.ts
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
define-property.spec.ts fix(zone.js): move property patch to legacy (#31660) 2019-07-24 14:36:43 -07:00
element.spec.ts
geolocation.spec.manual.ts
messageport.spec.ts feat(zone.js): Monkey patch MessagePort.prototype onproperties (#34610) 2020-03-16 08:59:38 -07:00
registerElement.spec.ts
requestAnimationFrame.spec.ts
shadydom.spec.ts fix(zone.js): patch shadydom (#31717) 2019-07-24 14:42:14 -07:00