Module serviceworker_manager

Source
Expand description

The service worker manager persists the descriptor of any registered service workers. It also stores an active workers map, which holds descriptors of running service workers. If an active service worker timeouts, then it removes the descriptor entry from its active_workers map

Structsยง

ServiceWorker ๐Ÿ”’
https://w3c.github.io/ServiceWorker/#dfn-service-worker
ServiceWorkerManager
A structure managing all registrations and workers for a given origin.
ServiceWorkerRegistration ๐Ÿ”’
https://w3c.github.io/ServiceWorker/#service-worker-registration-concept

Enumsยง

Message ๐Ÿ”’
RegistrationUpdateTarget ๐Ÿ”’
When updating a registration, which worker are we targetting?

Functionsยง

serviceworker_enabled ๐Ÿ”’
update_serviceworker ๐Ÿ”’
https://w3c.github.io/ServiceWorker/#update-algorithm