Re: [mediacapture-main] getUserMedia permission policy check happens very late (#847)

Based on https://jsfiddle.net/rfL8db0n/, Firefox and Safari are aligned and reject the promise synchronously in case of frame permission failure. Chrome does not but probably should for privacy reasons.

I also added a test using Permissions API to check for camera deny permission.
In that case, we should update the spec so that User Agents do not return NotFoundError or OverConstrainedError.
I'll file a separate bug for this one.

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 10 January 2022 09:55:56 UTC