Re: [w3c/permissions] Drop .request() (#83)

@alvestrand (I'm probably just restating what you actually meant, but in the interest of being painfully precise,) I think "`.request()` returns an object that can be used to gather permissions" isn't quite right. `request()` gathers the permissions, and then it returns an object that can be used to use the feature. If open devices imply that permission has already been granted, then `request()` would check for open devices before bothering to ask about permissions. Then it would return an object (maybe a disabled `MediaStream`, maybe something more tailored for the purpose) that allows use of the feature. If that's actually what you tried, then the information that it was confusing is really helpful.

-- 
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-244214835

Received on Thursday, 1 September 2016 21:15:41 UTC