angular-cn/packages/core/test/linker
Pawel Kozlowski cf8770f3cc fix(ivy): don't create TNodes for native projectable nodes (#28275)
Before this commit we were creating a "fake" TNode for each and every
projectable node passed during dynamic component creation. This approach
had several problems:
- the existing TView structure had to be mutated to accomodate new TNodes and
it was very easy to "corrupt" TView / TNode data structures;
- TNodes are not really needed to fully support projectable nodes so we were
creating objects and updating existing data structures for nothing.

This commit changes the approach so we don't create "fake" TNodes for projectable
nodes but instead we process projectable nodes directly in the projection instruction.
As a result we've got less code, less object allocation and - as a bonus - we fix few
bugs where TView / TNode data structures were corrupted when using projectable nodes.

PR Close #28275
2019-01-23 10:56:09 -08:00
..
change_detection_integration_spec.ts fix(ivy): ignore empty bindings (#28059) 2019-01-11 15:17:54 -08:00
entry_components_integration_spec.ts test(ivy): finish root cause analysis for @angular/core TestBed failing tests (#27510) 2018-12-06 13:41:02 -08:00
integration_spec.ts fix(ivy): Ensure proper namespace is used to create elements in JIT (#28144) 2019-01-18 09:56:41 -08:00
jit_summaries_integration_spec.ts test(ivy): mark jit_summaries_integration_spec as obsolete in Ivy (#28027) 2019-01-09 15:38:48 -08:00
ng_container_integration_spec.ts test(ivy): mark changed behaviour for queries and ng-container (#27977) 2019-01-08 10:37:39 -08:00
ng_module_integration_spec.ts fix(ivy): destroy injector when module is destroyed (#27793) 2019-01-18 10:10:32 -08:00
projection_integration_spec.ts fix(ivy): don't create TNodes for native projectable nodes (#28275) 2019-01-23 10:56:09 -08:00
query_integration_spec.ts build: extract interface and util sub compilation from core (#28028) 2019-01-10 16:31:44 -08:00
query_list_spec.ts fix(core): ensure initial value of QueryList length (#21980) (#21982) 2018-02-07 12:08:44 -08:00
regression_integration_spec.ts test(ivy): update root causes for @angular/core tests (#27961) 2019-01-07 08:44:57 -08:00
security_integration_spec.ts fix(ivy): validate props and attrs with "on" prefix at runtime (#28054) 2019-01-14 10:53:03 -08:00
source_map_integration_node_only_spec.ts fix(ivy): check semantics of NgModule for consistency (#27604) 2018-12-17 14:49:51 -08:00
system_ng_module_factory_loader_spec.ts build: extract interface and util sub compilation from core (#28028) 2019-01-10 16:31:44 -08:00
view_injector_integration_spec.ts test(ivy): enable last test in view injector integration spec (#27989) 2019-01-08 10:35:24 -08:00