Re: [mediacapture-main] Remove redundant list-devices permission.

The reason I broke it out as a separate permission is because gUM 
permissions can be device linked, so that there can be many of them, 
while the list-devices permission is always across all devices; it 
seemed cleaner to me to describe it as a separate permission.

We also have use cases where apps will want to list devices before 
deciding which device to ask permission to use; we don't have any API 
that allows this to happen yet, but I thought it was cleaner to 
describe it like this so that an API can be added later.

At the moment, it is described as being set whenever a persistent gUM 
is set. Clearing it is not described; it would be consistent to clear 
it when all data for the origin is cleared.

-- 
GitHub Notification of comment by alvestrand
Please view or discuss this issue at 
https://github.com/w3c/mediacapture-main/issues/380#issuecomment-238486006
 using your GitHub account

Received on Tuesday, 9 August 2016 08:21:49 UTC