[push-api] Push registration should require active Service Worker (#92)

During initial service worker registration it won't be active right away. It might fail to activate. One problem with this is that push events cannot be delivered to such a worker yet. To avoid potential message loss here, Push registration should reject if there is no active service worker yet.

Note that the Notification API has a similar requirement: https://notifications.spec.whatwg.org/#service-worker-api

@annevk @jakearchibald @beverloo - does this sound right?

---
Reply to this email directly or view it on GitHub:
https://github.com/w3c/push-api/issues/92

Received on Tuesday, 9 December 2014 12:16:42 UTC