Re: [service_worker] Notification constructor

2015-06-15 Thread Anne van Kesteren
On Tue, Jun 16, 2015 at 12:28 AM, Conrad Irwin wrote: > I've been implementing some things with service workers, and it's a little > bit frustrating to have to use > > self.registration.showNotification("hi!") > > instead of the more normal: > > new Notification("hi!") > > Is there a technical

[service_worker] Notification constructor

2015-06-15 Thread Conrad Irwin
Hey All, Apologies if this isn't the right place to ask about the service worker spec. I've been implementing some things with service workers, and it's a little bit frustrating to have to use self.registration.showNotification("hi!") instead of the more normal: new Notification("hi!") Is