From d11b0c0c415d4c3584eb1e1c83bf80e9ee61dcf8 Mon Sep 17 00:00:00 2001 From: Ben Lesh Date: Fri, 29 Mar 2019 12:52:56 -0700 Subject: [PATCH] refactor(compiler): update docs (#29599) PR Close #29599 --- packages/compiler/src/schema/dom_element_schema_registry.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/compiler/src/schema/dom_element_schema_registry.ts b/packages/compiler/src/schema/dom_element_schema_registry.ts index 9562a3c0d2..e74e90ae4f 100644 --- a/packages/compiler/src/schema/dom_element_schema_registry.ts +++ b/packages/compiler/src/schema/dom_element_schema_registry.ts @@ -328,9 +328,9 @@ export class DomElementSchemaRegistry extends ElementSchemaRegistry { * Tag and property name are statically known and cannot change at runtime, i.e. it is not * possible to bind a value into a changing attribute or tag name. * - * The filtering is white list based. All attributes in the schema above are assumed to have the - * 'NONE' security context, i.e. that they are safe inert string values. Only specific well known - * attack vectors are assigned their appropriate context. + * The filtering is based on a list of allowed tags|attributes. All attributes in the schema + * above are assumed to have the 'NONE' security context, i.e. that they are safe inert + * string values. Only specific well known attack vectors are assigned their appropriate context. */ securityContext(tagName: string, propName: string, isAttribute: boolean): SecurityContext { if (isAttribute) {