- From: Anne van Kesteren <notifications@github.com>
- Date: Fri, 26 Aug 2016 00:02:32 -0700
- To: w3c/permissions <permissions@noreply.github.com>
Received on Friday, 26 August 2016 07:03:04 UTC
I think the main problem with `request()` (and also `query()` really) is that the answer is not uniform. Depending on the permission you request, the answer you get has vastly different implications with regards to scope. So unlike with promises, you cannot actually write generic code on top (e.g., using `BroadcastChannel` to share the answer with other globals will only work as expected for some permissions). I think I would be much more comfortable with this API if we actually defined the underlying "request access" primitive in sufficient detail for the answer to be uniform and provide guarantees to developers. -- 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/83#issuecomment-242646556
Received on Friday, 26 August 2016 07:03:04 UTC