Re: [ServiceWorker] Should window.caches be removed (or readonly) for security reasons? (#698)

I'm using SW in production, and this would break my app.
The most important pathway it uses is injecting synthetic responses into the cache in SharedWorker, and occasionally from Window.

Obviously biased, but I'd prefer WorkerGlobalScope.caches wasn't broken even temporarily without a flag or call to reactivate it from SW.

Also, it never occurred to me that cache wasn't already HTTPS only.

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

Received on Wednesday, 10 June 2015 13:04:27 UTC