Re: [mediacapture-screen-share] getSupportedOptions() (#260)

This shim does not require transient activation to work as per spec.
The way it works is as follows:
1. When JS calls getDisplayMedia, the UA will convert the JS parameters using WebIDL.
2. If the conversion fails, the promise will be rejected with the conversion error.
3. If the conversion does not fail, the getDisplayMedia algorithm will start to be executed. This is where transient activation will be checked and may fail or not.
The jsfiddle will never get to step 3 since we ensure the conversion to WebIDL will fail.

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


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

Received on Thursday, 23 March 2023 19:33:24 UTC