TrustedHTML.fromLiteral is exposed in workers but assumes the current global is a Window #374
Labels
proposed-removal
Issues concerning potential removal of functionality from the API
Milestone
In https://w3c.github.io/trusted-types/dist/spec/#abstract-opdef-create-a-trusted-type-from-literal , TrustedHTML is special-cased to do
but the current global could be a worker global.
The text was updated successfully, but these errors were encountered: