Re: [w3c/ServiceWorker] Should a service worker be allowed to register new service workers? (#1117)

It would be a **wasted opportunity** if one service worker could not register another. The goal of a service worker is to allow scripts to respond to events in the background. Some events will require specific scripts to handle them. 

Not allowing a service worker to register other service workers will encourage large, service workers that can handle all outcomes and **disfavor smaller, modular service workers** that are built to handle specific tasks. 

**It would be imprudent, inefficient, and just not cool to do so.** 

Nonetheless, security is going to be a major concern with this, so it would be best to proceed with caution and perhaps impose some limitations on service workers registering each other. 

-- 
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-294028084

Received on Thursday, 13 April 2017 21:37:00 UTC