angular/packages/compiler/test/ml_parser
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
..
util feat(core): implement new block syntax (#51891) 2023-09-26 09:10:04 -07:00
ast_serializer_spec.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
ast_spec_utils.ts feat(core): implement new block syntax (#51891) 2023-09-26 09:10:04 -07:00
BUILD.bazel build: ensure bootstrap transitive runfiles are made available (#48521) 2022-12-19 19:50:41 +00:00
html_parser_spec.ts 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
html_whitespaces_spec.ts feat(core): enable block syntax (#51994) 2023-10-03 15:26:05 -07:00
icu_ast_expander_spec.ts feat(core): enable block syntax (#51994) 2023-10-03 15:26:05 -07:00
lexer_spec.ts refactor(compiler): handle incomplete blocks in the lexer (#52047) 2023-10-05 13:10:05 -07:00