- From: Jake Archibald <jaffathecake@gmail.com>
- Date: Fri, 11 Jul 2014 18:08:15 +0100
- To: Jonas Sicking <jonas@sicking.cc>
- Cc: Webapps WG <public-webapps@w3.org>
Received on Friday, 11 July 2014 17:08:42 UTC
On 11 July 2014 17:59, Jonas Sicking <jonas@sicking.cc> wrote:
> On Fri, Jul 11, 2014 at 8:17 AM, Jake Archibald <jaffathecake@gmail.com>
> wrote:
> > navigator.serviceWorker.ready.then(function(reg) {
> > reg.push.register(...)
> > });
>
> I agree this looks good. Though maybe
>
> reg.registerPush(...)
>
> instead?
>
.push also has .unregister, will probably have .hasPermission too.
(the current spec has .registrations, but I believe one registration per
serivceworker is the rule now)
Received on Friday, 11 July 2014 17:08:42 UTC