Re: [whatwg] suggestions for the Notifications API (http://notifications.spec.whatwg.org/)

2013-05-05 Thread Andrew Wilson
On Fri, May 3, 2013 at 6:49 PM, Nils Dagsson Moskopp < n...@dieweltistgarnichtso.net> wrote: > alonn schrieb am Fri, 3 May 2013 18:50:36 +0300: > > > 1. Having a way to check for the current permission without > > initiating a new Notification object first. something like webkit has > > (I'm not

Re: [whatwg] suggestions for the Notifications API (http://notifications.spec.whatwg.org/)

2013-05-04 Thread alonn
On Fri, May 3, 2013 at 7:49 PM, Anne van Kesteren wrote: > On Fri, May 3, 2013 at 4:48 PM, alonn wrote: > > 1. Having a way to check for the current permission without initiating a > > new Notification object first. something like webkit has (I'm not sure > it's > > not deprecated) window.webkit

Re: [whatwg] suggestions for the Notifications API (http://notifications.spec.whatwg.org/)

2013-05-04 Thread alonn
>>"With less sarcasm: I think this can and will be horribly abused" not sure why and how this could be abused but since this can be achieved otherwise (checking if denied and if isn't denied show the "please press here to enable notifications" logic) doesn't look too important. cheers אלון ניסר a

Re: [whatwg] suggestions for the Notifications API (http://notifications.spec.whatwg.org/)

2013-05-03 Thread Nils Dagsson Moskopp
alonn schrieb am Fri, 3 May 2013 18:50:36 +0300: > 1. Having a way to check for the current permission without > initiating a new Notification object first. something like webkit has > (I'm not sure it's not deprecated) > window.webkitNotification.checkPermission() I saw this isn't in the > api,

Re: [whatwg] suggestions for the Notifications API (http://notifications.spec.whatwg.org/)

2013-05-03 Thread Anne van Kesteren
On Fri, May 3, 2013 at 4:48 PM, alonn wrote: > 1. Having a way to check for the current permission without initiating a > new Notification object first. something like webkit has (I'm not sure it's > not deprecated) window.webkitNotification.checkPermission() > I saw this isn't in the api, and I t

[whatwg] suggestions for the Notifications API (http://notifications.spec.whatwg.org/)

2013-05-03 Thread alonn
I played a little bit with the Notification API and I have a couple of suggestions (I tried the chrome implementation with Mozille hacks jsFiddle http://jsfiddle.net/robnyman/TuJHx/) for improvement (at least in my view) or a more consistent API as web developer: 1. Having a way to check for the c

[whatwg] suggestions for the Notifications API (http://notifications.spec.whatwg.org/)

2013-05-03 Thread alonn
I played a little bit with the Notification API and I have a couple of suggestions (I tried the chrome implementation with Mozille hacks jsFiddle http://jsfiddle.net/robnyman/TuJHx/) for improvement (at least in my view) or a more consistent API as web developer: 1. Having a way to check for the c