-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Closed as duplicate
Description
What is the issue with the HTML Standard?
Currently, the ServiceWorkerGlobalScope provides access to connected clients via self.clients, which is very useful for managing communication and broadcasting messages across documents controlled by the service worker.
However, SharedWorker does not have access to this same API, despite being another shared execution context across multiple documents. it feels like a gap in capability – one would have to install a service worker and passing message (ports) around.
It would help in use cases where a SharedWorker acts as a messaging hub or state synchronizer, but installing a ServiceWorker feels like overkill or adds unnecessary complexity.
Metadata
Metadata
Assignees
Labels
No labels