- From: Ben Kelly <notifications@github.com>
- Date: Mon, 07 Aug 2017 08:44:03 -0700
- To: w3c/ServiceWorker <ServiceWorker@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 7 August 2017 15:44:29 UTC
I agree it would be prudent to restrict `register()` to contexts rooted by an open window. So only permit it in worker contexts such that: * a dedicated Worker created by a Window * a dedicated Worker created by a parent Worker that is ultimately owned by a Window * a SharedWorker with a Window attached I think blocking `register()` in ServiceWorker would be reasonable for now. We can always open it later if necessary. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/w3c/ServiceWorker/issues/1117#issuecomment-320700328
Received on Monday, 7 August 2017 15:44:29 UTC