W3C home > Mailing lists > Public > public-device-apis-log@w3.org > March 2019

Re: [sensors] Add API for requesting permission (#388)

From: Thomas Steiner via GitHub <sysbot+gh@w3.org>
Date: Tue, 12 Mar 2019 10:23:08 +0000
To: public-device-apis-log@w3.org
Message-ID: <issue_comment.created-471941760-1552386187-sysbot+gh@w3.org>
> Generic navigator.permissions.request()
>   - Spec: WICG spec spun off from Permissions API that defines navigator.permissions.query()
>   - Implementations: none

FWIW, on the Chrome side, [Implement `Permissions.request()` and `Permissions.revoke()`](https://crbug.com/510405) has been started, which is still blocked on [Implement `navigator.permissions.requestAll()`](https://crbug.com/516626), but I can't find `requestAll` in the spec (it seems @mounirlamouri can say more about that).

I am in favor to try to push the generic approach, especially because I do find it worthwhile to explore the "multiple permissions at once" case given general permission fatigue.

-- 
GitHub Notification of comment by tomayac
Please view or discuss this issue at https://github.com/w3c/sensors/issues/388#issuecomment-471941760 using your GitHub account
Received on Tuesday, 12 March 2019 10:23:09 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 12 March 2019 10:23:10 UTC