Re: [ServiceWorker] SW spec never hooks into the "runs a worker" term that the CSP spec uses to enforce CSPs (#378)

@jyasskin Due to the different lifecycle and the processing model, SW spec defines [Run Service Worker](https://slightlyoff.github.io/ServiceWorker/spec/service_worker/index.html#run-service-worker-algorithm) algorithm instead of hooking into Worker's run a worker algorithm. Run Service Worker, when called, runs already fetched service worker script, and the actual script fetching is done in Update algorithm step 4.3.7. Do you have any suggestion how to enforce CSPs for SW?

---
Reply to this email directly or view it on GitHub:
https://github.com/slightlyoff/ServiceWorker/issues/378#issuecomment-78222633

Received on Wednesday, 11 March 2015 08:30:49 UTC