New issue
Advanced search Search tips

Issue 645180 link

Starred by 2 users

Issue metadata

Status: WontFix
Owner: ----
Closed: Jan 9
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 3
Type: Bug



Sign in to add a comment

BroadcastChannel listener in an inactive service worker doesn't wake it up

Project Member Reported by ericbidelman@chromium.org, Sep 8 2016

Issue description

The BroadcastChannel API shipping Chrome 54 (https://developers.google.com/web/updates/2016/09/broadcastchannel?hl=en)

Currently, an inactive service worker does not wake up if you send a message to it via a broadcast channel. This seems limiting and makes the BC API less useful. Sharing the same channel across multiple contexts is one of its benefits.

It's also worth noting that `navigator.serviceWorker.controller.postMessage()` will wake up the service worker. It would be nice to support the BC API in service workers so both scenarios are consistent.
 

Comment 1 by mek@chromium.org, Sep 8 2016

I filed https://github.com/w3c/ServiceWorker/issues/975 for the spec side of this. It's definitely something that I think we'll eventually want, but I'm not sure what the best API is for this.
Status: ExternalDependency (was: Untriaged)
ExternalDependency on https://github.com/w3c/ServiceWorker/issues/975
Status: WontFix (was: ExternalDependency)
https://github.com/w3c/ServiceWorker/issues/975 was closed due to lack of interest, so closing it here too as we won't implement without spec interest.

Sign in to add a comment