w3c / push-api

Push API
https://w3c.github.io/push-api/
Other
145 stars 40 forks source link

Define exposure of the Push API interfaces #255

Closed beverloo closed 7 years ago

beverloo commented 7 years ago

https://w3c.github.io/ServiceWorker/v1/#serviceworkerregistration-interface defines this for ServiceWorkerRegistration, this is what UAs implement, so we should make sure our interfaces match.

beverloo commented 7 years ago

For the record, [SecureContext] is also used for ServiceWorkerRegistration, but we'll have to assess compatibility because today we expose our interfaces in non-secure documents as well.

martinthomson commented 7 years ago

Let's track [SecureContext] separately. We probably want to get there, since push doesn't really work without service workers, but if you need to poke at a few things, then you should do that.