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

Process value with default policy missing step? #413

Closed
lukewarlow opened this issue Jan 23, 2024 · 1 comment · Fixed by #417
Closed

Process value with default policy missing step? #413

lukewarlow opened this issue Jan 23, 2024 · 1 comment · Fixed by #417
Labels

Comments

@lukewarlow
Copy link
Member

https://w3c.github.io/trusted-types/dist/spec/#process-value-with-a-default-policy-algorithm - takes a TrustedType or string but the algorithm it calls only takes a string. Shouldn't trusted type be stringified before passing?

Apologies if this is some sort of implied step in algorithms I'm not aware of.

@koto
Copy link
Member

koto commented Jan 23, 2024

Good catch, it should be stringified.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants