[permissions] Permissions may change status in other ways than "trying to access" (#43)

In getusermedia, we have the device-listing permission, which is granted by successfully gathering access to a device. This changes the return value from enumerateDevices.

The language in this doc seems to assume that you only trigger changes in status (and prompts) by accessing the specific functionality. I think it would be better not to make that assumption.

Not sure how to model this - one way could be to have the status be "denied" when permission is not given, and have it change directly to "granted" when the permission-causing action is taken, never becoming "prompt".

---
Reply to this email directly or view it on GitHub:
https://github.com/w3c/permissions/issues/43

Received on Saturday, 18 July 2015 21:10:11 UTC