- From: Mounir Lamouri <notifications@github.com>
- Date: Thu, 28 Apr 2016 02:53:01 -0700
- To: w3c/permissions <permissions@noreply.github.com>
- Cc:
Received on Thursday, 28 April 2016 09:53:33 UTC
Couple of comments: * Developers need to know if `request()` ended up as a no-op. This is the most common outcome of a permission prompt and leaving the promise hanging wouldn't be good. * The `PermissionStatus` returned by `request()` represent the current state of the permission. If it returns `granted` but then a call to `query()` returns `prompt`, there is an inconsistency that I would call a bug. The spec says that `PermissionStatus`' value should actually change in that case. * How does a permission gets granted **now**. I can imagine a permission granted for some time, a permission granted for the session but **now** is something I haven't seen. The concept of a request that only applies at the time when the request is made also sounds meaningless because you couldn't do anything with it. Though, I feel that I might be missing something here. --- 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/93#issuecomment-215372312
Received on Thursday, 28 April 2016 09:53:33 UTC