- From: Jeffrey Yasskin <notifications@github.com>
- Date: Thu, 01 Sep 2016 14:15:09 -0700
- To: w3c/permissions <permissions@noreply.github.com>
Received on Thursday, 1 September 2016 21:15:41 UTC
@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