angular/packages/compiler-cli/test
Alan Agius 68282dff9f fix(compiler): strip namespaced SVG script elements during template compilation
Ensures that namespaced <script> elements (such as :svg:script) are correctly classified as PreparsedElementType.SCRIPT by the template preparser and stripped during compilation to prevent potential XSS vulnerabilities. Consequently, obsolete security schema mappings and runtime sanitization checks for <script> attributes have been removed since these elements are never present in compiled template outputs.

(cherry picked from commit 90494cd909)
2026-05-19 13:06:05 -07:00
..
compliance test: add NgModule compliance test with 'bootstrap' & local compilation 2026-05-01 15:58:10 -07:00
ngtsc fix(compiler): strip namespaced SVG script elements during template compilation 2026-05-19 13:06:05 -07:00
BUILD.bazel test(compiler): remove zone-based testing utilities 2026-02-05 16:56:55 -08:00
extract_i18n_spec.ts feat(core): add support for TypeScript 6 2026-02-17 08:40:38 -08:00
mocks.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
perform_compile_spec.ts feat(core): add support for TypeScript 6 2026-02-17 08:40:38 -08:00
perform_watch_spec.ts feat(core): add support for TypeScript 6 2026-02-17 08:40:38 -08:00
test_support.ts feat(core): add support for TypeScript 6 2026-02-17 08:40:38 -08:00
typescript_support_spec.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
version_helpers_spec.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00