Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
angular
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
ExcellentOSS
angular
Commits
d11b0c0c
Commit
d11b0c0c
authored
6 years ago
by
Ben Lesh
Committed by
Jason Aden
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
refactor(compiler): update docs (#29599)
PR Close #29599
parent
1293da1c
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
packages/compiler/src/schema/dom_element_schema_registry.ts
+3
-3
3 additions, 3 deletions
packages/compiler/src/schema/dom_element_schema_registry.ts
with
3 additions
and
3 deletions
packages/compiler/src/schema/dom_element_schema_registry.ts
+
3
−
3
View file @
d11b0c0c
...
...
@@ -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
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment