Re: [whatwg/storage] Feedback on the persist() algorithm. (#26)

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