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 13:41:03 -0700
Message-ID: <CAHni0v-+JSJGXq89vyxunpk7GiMXNFzEJVW=qbXE=is08g0Jzw@mail.gmail.com>
To: Jon Lee <jonlee@apple.com>
Cc: Anne van Kesteren <annevk@annevk.nl>, Web Notification WG <public-web-notification@w3.org>
> The spec does not mention any kind of Permission object being created. And from an earlier discussion [1], we discussed how web sites would not wish to send a test notification to ask for permission. So there needs to be a separate mechanism to handling and requesting permission. Generally, this explicit model is the least ideal model to use [2], but unfortunately it is warranted because of this feature's visual nature.

I understand.  You want to be able to pre-grant permission.

> Is there a real compelling use case for this, rather than just saying
> new Notification(someExistingObjectThatHasATitleAttribute.title);

no, if you had options, you'd have to do something verbose like

new Notification(someExistingObjectThatHasATitleAttribute.title,
Received on Monday, 11 June 2012 20:41:32 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 19:53:13 UTC