Re: [w3c/ServiceWorker] Using BroadcastChannel to wake up a service worker (#975)

For implementation, perhaps a new addEventListener param for SW consumers to signal their desire to be woken up:
 
```
var bc= new BroadcastChannel("test_channel")
bc.addEventListener("message", ()=>console.log, {persistent: true})
```

This gets around objections of [side-effects from constructor parameters](https://github.com/w3c/ServiceWorker/issues/975#issuecomment-245828216).

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/ServiceWorker/issues/975#issuecomment-262614404

Received on Wednesday, 23 November 2016 19:50:50 UTC