Re: [mediacapture-main] getUserMedia "hanging" indefinitely (#846)

> What part of the spec allows that?

Step 6.3.7 states that: based on a previously-established user preference, for security reasons, or due to platform limitations, jump to the step labeled Permission Failure below.
It is true that the promise could theoretically be rejected before executing that step.
The UA being in control of capture devices, it seems fine as is to me.
But we could move 6.3.7 up, or clone this step just after step 6.1.

I also wonder what your thoughts with step 6.5.2 are.
My understanding is that UAs can deny the request on behalf of the user after some time.
In that case, when page gets back focus, the UA does as if user denied the prompt.

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


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

Received on Tuesday, 4 January 2022 16:33:56 UTC