W3C home > Mailing lists > Public > public-web-notification@w3.org > June 2012

Re: Updated draft

From: Doug Turner <dougt@dougt.org>
Date: Mon, 11 Jun 2012 09:06:56 -0700
Message-ID: <CAHni0v-0RLwd7OnrX=szSw9vNQB62P8ONeEmo7w2=uqY7N1abw@mail.gmail.com>
To: Anne van Kesteren <annevk@annevk.nl>
Cc: Web Notification WG <public-web-notification@w3.org>
Thanks for making progress on this spec.  We are hoping to implement
this shortly and deprecate our moz- specific api

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?

Received 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