A content process should run while it has active service workers

NEW
Unassigned

Status

()

Core
DOM: Service Workers
2 years ago
2 years ago

People

(Reporter: catalinb, Unassigned)

Tracking

(Blocks: 1 bug)

Trunk
Points:
---

Firefox Tracking Flags

(firefox45 affected)

Details

(Reporter)

Description

2 years ago
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.

Comment 1

2 years ago
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.