Re: [mediacapture-screen-share] Distinguish cancellations from absent OS permissions (#281)

Keeping `NotAllowedError` seems like a good idea to me, for backward compatibility and for any website that just displays a generic message about denied permission.
Adding more standard information (`message` or something else) in case of `NotAllowedError` might be ok.

In general, I think the UA is ideally suited for helping users understand what is going on, whether they should care about changing permissions, and if so how to do it.

Also, this does not seem specific to getDisplayMedia. IIRC, similar discussions happened for getUserMedia.

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


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

Received on Thursday, 21 September 2023 13:48:47 UTC