W3C home > Mailing lists > Public > whatwg@whatwg.org > May 2013

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

From: Andrew Wilson <atwilson@google.com>
Date: Sun, 5 May 2013 09:56:41 +0200
Message-ID: <CAArhhivEUYkau02UzJL+GUteon1kXZvzbUda-ELBt-DPFCo-xg@mail.gmail.com>
To: Nils Dagsson Moskopp <nils@dieweltistgarnichtso.net>
Cc: whatwg@lists.whatwg.org, alonn <alonisser@gmail.com>
On Fri, May 3, 2013 at 6:49 PM, Nils Dagsson Moskopp <
nils@dieweltistgarnichtso.net> wrote:

> alonn <alonisser@gmail.com> 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, and I think having this would be a great
>
> Scenario: “You need to enable notifications to view this web site.”
>
> With less sarcasm: I think this can and will be horribly abused.
>

To be clear, this capability exists in the current API. We've basically
discussed this permission flow to death already, and have come to consensus
around why having an explicit permission flow is needed to address key use
cases. Do you have a new use (or abuse) scenario that this group has not
considered previously?


>
> --
> Nils Dagsson Moskopp // erlehmann
> <http://dieweltistgarnichtso.net>
>

---
Google Germany GmbH
Dienerstr. 12
80331 München

Registergericht und -nummer: Hamburg, HRB 86891
Sitz der Gesellschaft: Hamburg
Geschäftsführer: Graham Law, Katherine Stephens
Received on Sunday, 5 May 2013 07:58:01 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:59 UTC