- From: Mounir Lamouri <notifications@github.com>
- Date: Thu, 28 Apr 2016 04:51:23 -0700
- To: whatwg/storage <storage@noreply.github.com>
- Cc:
Received on Thursday, 28 April 2016 11:51:58 UTC
The Permissions API has the same approach: `request()` actually returns the new permission state so if nothing changed (ie. the user dismissed), it will return "prompt". That also solves the cases where a permission is requested when the user previously granted/denied it, in which case it will return "granted"/"denied" respectively. --- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/whatwg/storage/issues/26#issuecomment-215400320
Received on Thursday, 28 April 2016 11:51:58 UTC