Re: [mediacapture-screen-share] Address nullability of DisplayMediaStreamOptions.controller (#236)

This might be observable if passing null would reject getDisplayMedia promise in one case and not the other.

Why allowing to pass a null value and an undefined value to controller field?
Are there existing APIs doing so?

It seems unnecessary and increases a bit UA generated code.

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


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

Received on Friday, 30 September 2022 15:05:32 UTC