You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An empty directivevalue indicates policies may not be created, and sinks expect Trusted Type values, i.e. no DOM XSS injection sinks can be used at all.
Content-Security-Policy: trusted-types; require-trusted-types-for 'script'
However, the fromLiteral tagged template function allows you to create a trusted type without any allowed policies afaict. This example should be updated to clarify this.
The text was updated successfully, but these errors were encountered:
Example 18 states:
However, the
fromLiteral
tagged template function allows you to create a trusted type without any allowed policies afaict. This example should be updated to clarify this.The text was updated successfully, but these errors were encountered: