angular-cn/packages/compiler/test
Tobias Bosch cdc882bd36 feat: introduce source maps for templates (#15011)
The main use case for the generated source maps is to give
errors a meaningful context in terms of the original source
that the user wrote.

Related changes that are included in this commit:

* renamed virtual folders used for jit:
  * ng://<module type>/module.ngfactory.js
  * ng://<module type>/<comp type>.ngfactory.js
  * ng://<module type>/<comp type>.html (for inline templates)
* error logging:
  * all errors that happen in templates are logged
    from the place of the nearest element.
  * instead of logging error messages and stacks separately,
    we log the actual error. This is needed so that browsers apply
    source maps to the stack correctly.
  * error type and error is logged as one log entry.

Note that long-stack-trace zone has a bug that 
disables source maps for stack traces,
see https://github.com/angular/zone.js/issues/661.

BREAKING CHANGE:

- DebugNode.source no more returns the source location of a node.  

Closes 14013
2017-03-14 09:16:15 -07:00
..
aot feat: introduce source maps for templates (#15011) 2017-03-14 09:16:15 -07:00
css_parser build: fix file paths after moving modules/@angular/* to packages/* 2017-03-08 16:29:28 -08:00
expression_parser build: fix file paths after moving modules/@angular/* to packages/* 2017-03-08 16:29:28 -08:00
i18n build: fix file paths after moving modules/@angular/* to packages/* 2017-03-08 16:29:28 -08:00
ml_parser fix(compiler): improve error msg for unexpected closing tags (#14747) 2017-03-10 13:05:17 -08:00
output feat: introduce source maps for templates (#15011) 2017-03-14 09:16:15 -07:00
schema build: fix file paths after moving modules/@angular/* to packages/* 2017-03-08 16:29:28 -08:00
template_parser build: fix file paths after moving modules/@angular/* to packages/* 2017-03-08 16:29:28 -08:00
directive_lifecycle_spec.ts refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
directive_normalizer_spec.ts feat: introduce source maps for templates (#15011) 2017-03-14 09:16:15 -07:00
directive_resolver_mock_spec.ts build: fix file paths after moving modules/@angular/* to packages/* 2017-03-08 16:29:28 -08:00
directive_resolver_spec.ts refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
integration_spec.ts fix(compiler): shouldn't throw when Symbol is used as DI token (#13701) 2017-03-10 15:26:37 -08:00
metadata_overrider_spec.ts build: fix file paths after moving modules/@angular/* to packages/* 2017-03-08 16:29:28 -08:00
metadata_resolver_fixture.ts refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
metadata_resolver_spec.ts build: fix file paths after moving modules/@angular/* to packages/* 2017-03-08 16:29:28 -08:00
ng_module_resolver_mock_spec.ts build: fix file paths after moving modules/@angular/* to packages/* 2017-03-08 16:29:28 -08:00
ng_module_resolver_spec.ts refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
pipe_resolver_mock_spec.ts build: fix file paths after moving modules/@angular/* to packages/* 2017-03-08 16:29:28 -08:00
pipe_resolver_spec.ts refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
resource_loader_mock_spec.ts build: fix file paths after moving modules/@angular/* to packages/* 2017-03-08 16:29:28 -08:00
runtime_compiler_spec.ts build: fix file paths after moving modules/@angular/* to packages/* 2017-03-08 16:29:28 -08:00
selector_spec.ts build: fix file paths after moving modules/@angular/* to packages/* 2017-03-08 16:29:28 -08:00
shadow_css_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
style_url_resolver_spec.ts refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
url_resolver_spec.ts build: fix file paths after moving modules/@angular/* to packages/* 2017-03-08 16:29:28 -08:00
util_spec.ts build: fix file paths after moving modules/@angular/* to packages/* 2017-03-08 16:29:28 -08:00