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
worklets run in an isolated environment, they can't cause DOM XSS in a way script loading can. In future, we might be able to guard them via module specifiers, but it's not currently possible.
importScripts and Worker construction is something we'd like to tackle separately in a later release.
Right now it's posisble to load scripts by specifying a string (either by passing a module identifier, or a URL), e.g. via
import()
(Allow guarding (dynamic) module imports - a type for module specifiers #117)new
Worker()
)importScripts
We have to figure out if and how to cover them with Trusted Types.
The text was updated successfully, but these errors were encountered: