W3C home > Mailing lists > Public > public-webappsec@w3.org > May 2015

Re: Permissions API vs local APIs

From: Anne van Kesteren <annevk@annevk.nl>
Date: Wed, 6 May 2015 18:58:08 +0200
Message-ID: <CADnb78iZa=dnZuGfprQrLePfe7Kk8dTA5jm_1E0iwRRH4TkBxg@mail.gmail.com>
To: Miguel Garcia <miguelg@chromium.org>
Cc: Doug Turner <dougt@mozilla.com>, Jonas Sicking <jonas@sicking.cc>, Martin Thomson <mt@mozilla.com>, Michael van Ouwerkerk <mvanouwerkerk@google.com>, Mike West <mkwst@google.com>, WebApps WG <public-webapps@w3.org>, WebAppSec WG <public-webappsec@w3.org>
On Wed, May 6, 2015 at 6:34 PM, Miguel Garcia <miguelg@chromium.org> wrote:
> Notifications has it (as a property instead of a method which is a pain).

Notifications is a special snowflake though since it has a
requestPermission() method too which no other API that requires
permission (e.g. geolocation, fullscreen, pointer lock) has today. The
Notifications API predates a general Permissions API but is otherwise
largely identical.

> I think that once the permissions API has shipped in both Mozilla and Chrome
> we should get future APIs to use it exclusively. Push seems to be a bit
> border line given the timeline so I think we should just implement in both
> places.

Given that Doug seems okay with shipping this as part of the
Permissions API (which won't wait until 2017, at least not the query()
part) I'm led to the opposite conclusion.

Received on Wednesday, 6 May 2015 16:58:32 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:54:49 UTC