w3c / trusted-types

A browser API to prevent DOM-Based Cross Site Scripting in modern web applications.
https://w3c.github.io/trusted-types/dist/spec/
Other
586 stars 68 forks source link

Fix type issue between get tt compliant string and validate string in context #497

Closed lukewarlow closed 2 months ago

lukewarlow commented 2 months ago

Get TT compliant string now takes any value, rather than just string or a TT. It then correctly stringifies this value.

Fixes #488


Preview | Diff

lukewarlow commented 2 months ago

Going to go ahead and close this because we're going ahead with removing the extended attribute.