angular-docs-cn/packages/zone.js/test/browser
JiaLiPassion 299f92c3b6 fix(zone.js): only one listener should also re-throw an error correctly (#41868)
Close #41867

In the previous commit https://github.com/angular/angular/pull/41562#issuecomment-822696973,
the error thrown in the event listener will be caught and re-thrown, but there is a bug
in the commit, if there is only one listener for the specified event name, the error
will not be re-thrown, so this commit fixes the issue and make sure the error is re-thrown.

PR Close #41868
2021-06-10 09:24:03 -07:00
..
FileReader.spec.ts feat(core): support TypeScript 4.2 (#41158) 2021-03-17 09:10:25 -07:00
HTMLImports.spec.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
MediaQuery.spec.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
MutationObserver.spec.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
Notification.spec.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
WebSocket.spec.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
Worker.spec.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
XMLHttpRequest.spec.ts fix(zone.js): only one listener should also re-throw an error correctly (#41868) 2021-06-10 09:24:03 -07:00
browser.spec.ts fix(zone.js): only one listener should also re-throw an error correctly (#41868) 2021-06-10 09:24:03 -07:00
custom-element.spec.js build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
define-property.spec.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
element.spec.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
geolocation.spec.manual.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
messageport.spec.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
queue-microtask.spec.ts feat(zone.js): monkey patches queueMicrotask() (#38904) 2020-11-05 11:23:33 -08:00
registerElement.spec.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
requestAnimationFrame.spec.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
shadydom.spec.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00