Hexret

Web Security · Browser Security

worker-src

A Content Security Policy directive governing allowed Worker, SharedWorker, and ServiceWorker script sources. If absent, browsers fall back through child-src, script-src, then default-src. It restricts loading sources; it does not validate the code at an allowed URL or limit a worker's scope.

Where you practice it

Related terms