Re: [mediacapture-main] Should enumerateDevices by default return an empty list? (#646)

enumerateDevices already returns an empty list for third-party iframes that do not have permission to access cameras/microphones. This is not false, it just means that the page is not granted access to more information.

Rejecting might have bigger backward compatibility risk since navigator.mediaDevices.enumerateDevices() never rejects currently, this might be a good experiment but I don't think we should mandate that.

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

Received on Friday, 29 November 2019 07:29:40 UTC