Regardless if we decide to use a dedicated process or not, we need a mechanism that prevents a content process from shutting down while it has running service workers. The immediate benefit would be that we can support push notifications on e10s when there are not content processes running. The solution I have in mind for this is to add an ipc protocol for ServiceWorkerPrivate that's managed by PContent. PContent will keep the process running as long as there are service worker actors, the same way it works for managed pbrowsers.
Can we just use PBackground instead of a new PContent main thread protocol?
You need to log in before you can comment on or make changes to this bug.