Skip to content

Conversation

@Siegrift
Copy link
Contributor

No description provided.

<div class="example" id="get-attribute-type-example">
<xmp highlight="js">
trustedTypes.getAttributeType('script', 'SRC'); // "TrustedScriptURL"
trustedTypes.getAttributeType('script', 'src'); // "TrustedScriptURL"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The spec says it should be lowercased.


trustedTypes.createPolicy('default', {
createScriptURL: (s, type, sink) => {
createScriptURL: (value, type, sink) => {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've renamed this to value based on the edits of the text above.

@w3cbot
Copy link

w3cbot commented Jun 1, 2022

koto marked as non substantive for IPR from ash-nazg.

@koto koto merged commit e35d3f1 into w3c:main Jun 1, 2022
koto pushed a commit that referenced this pull request Jun 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants