[w3c/permissions] A more modest request() (#158)

We've been looking at orientation/motion events yet again and the idea came up to permission-gate them. For this having something like `request()` with a simple string value seems useful.

Another case that keeps coming up is the clipboard. See https://github.com/w3c/clipboard-apis/issues/51 for the latest discussion there.

Perhaps rather than an open-ended `request()` method, we could start out with just a couple simple values for which everything is known, rather than try to support all permissions. I hope that might address the concerns raised in #83. So we basically would use `request()` when there's no better alternative.

(I'm not sure where the initial email went, but here is the recent thread on restricting orientation/motion events: https://groups.google.com/d/msg/mozilla.dev.platform/1YdMiVQ2zaU/UOocyiTzDwAJ.)

cc @ehsan @martinthomson @garykac @jan-ivar @jyasskin @marcoscaceres 

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/permissions/issues/158

Received on Friday, 22 September 2017 16:17:19 UTC