Re: [push-api] Push API should recommend implementing ServiceWorkerRegistration.showNotification (#118)

The Push API does not have a dependency on the Notification API. I don't think this makes sense unless we decide to add such a dependency, e.g. implement an option bag for subscribe()/hasPermission(), which is a larger issue.

On a tangent, ServiceWorkerRegistration.prototype.hasOwnProperty('showNotification') works on both documents and workers.

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

Received on Monday, 2 March 2015 14:45:37 UTC