angular/packages/core/test/bundling
Kristiyan Kostadinov be161bef79 fix(core): memory leak in event listeners inside embedded views (#43075)
When we have an event listener inside an embedded view, we generate a `restoreView` call which saves the view inside of the LFrame. The problem is that we don't clear it until it gets overwritten which can lead to memory leaks.

These changes rework the generated code in order to generate a `resetView` call which will clear the view from the LFrame.

Fixes #42848.

PR Close #43075
2022-03-24 11:05:24 -07:00
..
animation_world build: switch all instances from ng_rollup_bundle to app_bundle (#44490) 2022-01-04 12:14:14 -08:00
animations fix(compiler-cli): full side-effectful registration of NgModules with ids (#45024) 2022-03-22 11:11:53 -07:00
core_all build: switch all instances from ng_rollup_bundle to app_bundle (#44490) 2022-01-04 12:14:14 -08:00
cyclic_import feat(core): drop support for Node.js 12 (#45286) 2022-03-08 12:05:03 -08:00
forms_reactive fix(compiler-cli): full side-effectful registration of NgModules with ids (#45024) 2022-03-22 11:11:53 -07:00
forms_template_driven fix(compiler-cli): full side-effectful registration of NgModules with ids (#45024) 2022-03-22 11:11:53 -07:00
hello_world feat(core): drop support for Node.js 12 (#45286) 2022-03-08 12:05:03 -08:00
hello_world_i18n build: switch all instances from ng_rollup_bundle to app_bundle (#44490) 2022-01-04 12:14:14 -08:00
hello_world_r2 feat(core): drop support for Node.js 12 (#45286) 2022-03-08 12:05:03 -08:00
injection build: switch all instances from ng_rollup_bundle to app_bundle (#44490) 2022-01-04 12:14:14 -08:00
router fix(compiler-cli): full side-effectful registration of NgModules with ids (#45024) 2022-03-22 11:11:53 -07:00
todo fix(core): memory leak in event listeners inside embedded views (#43075) 2022-03-24 11:05:24 -07:00
todo_i18n perf(core): avoid storing LView in __ngContext__ (#45051) 2022-02-18 13:32:11 -08:00
todo_r2 perf(core): avoid storing LView in __ngContext__ (#45051) 2022-02-18 13:32:11 -08:00
util build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
README.md fix(core): remove individual commands for updating gold files (#45198) 2022-03-01 19:16:53 +00:00

Bundle

js_expected_symbol_test

This folder contains tests which assert that most of the code is tree shaken away. This is asserted by keeping gold files of all symbols which are expected to be retained. When doing renaming it is often necessary to update the gold files; to do so use these scripts:

yarn run symbol-extractor:check
yarn run symbol-extractor:update