Re: [mediacapture-main] Replace device-info permission by a browsing context boolean flag (#641)

The bug is https://github.com/w3c/mediacapture-main/issues/612.
It is not great that because I give access to a camera once to take a picture of me, the website will be able to get all my device information for my future visits.

Also, we agreed that the usual good approach is to do getUserMedia-then-enumerateDevices.
This PR is consistent with that approach.

Additionally, I am not sure the device info permission concept is good.
Other permissions are things like "can I use a camera", which is easy to describe to a user.
This specific permission is hard to explain to a user and AFAIK, is not exposed by any UI, contrary to camera/mic access.

-- 
GitHub Notification of comment by youennf
Please view or discuss this issue at https://github.com/w3c/mediacapture-main/pull/641#issuecomment-554077195 using your GitHub account

Received on Thursday, 14 November 2019 21:00:33 UTC