angular/packages/core/test
Vikram Subramanian 7ae7573bc8 fix(core): invoke error handler outside of the Angular Zone (#18269)
In Node.JS console.log/error/warn functions actually resuls in a socket
write which in turn is considered by Zone.js as an async task.

This means that if there is any exception during change detection in a platform-server
application the error handler will make the Angular Zone unstable which
in turn will cause change detection to run on next tick and cause an
infinite loop.

It is also better to run the error handler outside of the Angular Zone
in general on all platforms so that an error in the error handler itself doesn't cause an
infinite loop.

Fixes #17073, #7774.

PR Close #18269
2017-07-21 16:35:23 -05:00
..
animation feat(animations): support :increment and :decrement transition aliases 2017-07-19 11:24:00 -07:00
change_detection fix(core): fix re-insertions in the iterable differ (#17891) 2017-07-06 12:11:47 -07:00
debug fix(core): Update types for TypeScript nullability support (#15472) 2017-03-29 09:34:45 -07:00
di fix(core): Update types for TypeScript nullability support (#15472) 2017-03-29 09:34:45 -07:00
dom fix(core): Update types for TypeScript nullability support (#15472) 2017-03-29 09:34:45 -07:00
linker fix(platform-server): don't clobber parse5 properties when setting (#18237) 2017-07-20 17:46:37 -05:00
metadata build: fix file paths after moving modules/@angular/* to packages/* 2017-03-08 16:29:28 -08:00
reflection fix(core): make decorators closure safe (#16905) 2017-05-23 11:52:40 -06:00
testability perf(core): refactor NgZone, decrease size by 1.2Kb (#17773) 2017-07-01 10:29:56 -07:00
util refactor: fix typos (#18000) 2017-07-07 16:55:17 -07:00
view refactor: fix typos (#18000) 2017-07-07 16:55:17 -07:00
zone fix(core): invoke error handler outside of the Angular Zone (#18269) 2017-07-21 16:35:23 -05:00
application_init_spec.ts fix(platform-server): wait for async app initializers to complete before removing server side styles (#16712) 2017-05-16 15:14:55 -07:00
application_module_spec.ts build: fix file paths after moving modules/@angular/* to packages/* 2017-03-08 16:29:28 -08:00
application_ref_spec.ts fix(core): invoke error handler outside of the Angular Zone (#18269) 2017-07-21 16:35:23 -05:00
component_fixture_spec.ts refactor(animations): make animation testing work with fixture.whenRenderingDone 2017-05-16 17:39:57 -07:00
dev_mode_spec.ts refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
directive_lifecycle_integration_spec.ts build: fix file paths after moving modules/@angular/* to packages/* 2017-03-08 16:29:28 -08:00
error_handler_spec.ts fix(core): ErrorHandler should not rethrow an error by default (#15077) (#15208) 2017-03-16 12:58:41 -07:00
event_emitter_spec.ts build: fix file paths after moving modules/@angular/* to packages/* 2017-03-08 16:29:28 -08:00
fake_async_spec.ts feat(core): update zone.js to 0.8.10 and expose the flush method (#16860) 2017-05-22 12:19:21 -06:00
forward_ref_integration_spec.ts build: fix file paths after moving modules/@angular/* to packages/* 2017-03-08 16:29:28 -08:00
spies.ts build: fix file paths after moving modules/@angular/* to packages/* 2017-03-08 16:29:28 -08:00
testing_internal_spec.ts build: fix file paths after moving modules/@angular/* to packages/* 2017-03-08 16:29:28 -08:00
util_spec.ts fix(core): Update types for TypeScript nullability support (#15472) 2017-03-29 09:34:45 -07:00