Thanks for making progress on this spec. We are hoping to implement this shortly and deprecate our moz- specific api (https://developer.mozilla.org/en/DOM/navigator.mozNotification). 1) Have you considered removing the static requestPermission()? The UA could just trigger some sort of permission dialog/door-hanger when the Permission object is created. I am not sure that having a static function gives us anything here. Implicit permission requests working quite well (f.e. geolocation). 2) Have you considered moving the title into the options block? Of course, it wouldn't be an options block. If you did you could do something like: new Notification(someExistingObjectThatHasATitleAttribute); 3) If you did (2), you may want to consider doing something like: var request = navigator.showNotification(); 4) Section 4.6 Displaying notifications - I am not sure we must block to show the notification? DougReceived on Monday, 11 June 2012 16:07:25 UTC
This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 19:53:13 UTC