Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added a comment about fromLiteral. #409

Merged
merged 1 commit into from
Jan 19, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions spec/index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -1564,9 +1564,8 @@ Content-Security-Policy: require-trusted-types-for 'script'; trusted-types one t

<div class="example" id="header-that-allows-no-policy-names">
An empty [=directive=] [=directive/value=] indicates policies may not be created,
and sinks expect Trusted Type values, i.e. no DOM XSS [=injection sinks=] can be used
at all.

and sinks expect Trusted Type values, i.e. DOM XSS [=injection sinks=] cannot be used
with dynamic values. Values for those sinks can only be created by <code>fromLiteral</code> tag functions.
<pre class="http">
Content-Security-Policy: trusted-types; require-trusted-types-for 'script'
</pre>
Expand Down
Loading