angular/packages/compiler/test
Kristiyan Kostadinov 302ab340e0 fix(compiler): avoid error in template parser for tag names that can occur in object prototype (#52225)
Fixes that the compiler was throwing an error if an element tag name is the same as a built-in prototype property (e.g. `constructor` or `toString`). The problem was that we were storing the tag names in an object literal with the `Object` prototype. These changes resolve the issue by creating an object without a prototype.

Fixes #52224.

PR Close #52225
2023-10-16 18:22:15 +02:00
..
expression_parser refactor: improve type safety of interpolation AST (#50903) 2023-07-10 07:08:28 -07:00
i18n feat(core): enable block syntax (#51994) 2023-10-03 15:26:05 -07:00
ml_parser fix(compiler): avoid error in template parser for tag names that can occur in object prototype (#52225) 2023-10-16 18:22:15 +02:00
output test: update source-map tests to account for source-map breaking change (#46888) 2022-07-19 09:40:54 -07:00
render3 refactor(compiler): capture unknown blocks inside switch (#52136) 2023-10-10 11:34:10 -07:00
schema refactor(platform-browser): Remove BrowserDetection (#50411) 2023-05-30 13:06:28 -07:00
selector feat(compiler): allow self-closing tags on custom elements (#48535) 2023-01-04 12:07:37 -08:00
shadow_css fix(compiler): apply style on :host attributes in prod builds. (#49118) 2023-10-11 11:32:19 -07:00
BUILD.bazel build: refactor packages/compiler/test to work with ESM (#48521) 2022-12-19 19:50:42 +00:00
compiler_facade_interface_spec.ts feat(compiler): add support for compile-time required inputs (#49468) 2023-03-20 13:10:30 +01:00
integration_spec.ts refactor(platform-browser): Remove BrowserDetection (#50411) 2023-05-30 13:06:28 -07:00
security_spec.ts fix(core): hardening attribute and property binding rules for <iframe> elements (#47964) 2022-11-09 00:47:56 -08:00
style_url_resolver_spec.ts refactor(compiler): make template preparser null-safe (#44411) 2022-01-04 15:54:10 -08:00
util_spec.ts perf(compiler): use raw bytes to represent utf-8 encoded strings (#39694) 2020-11-17 10:09:28 -08:00