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

I'm not sure if there's a good link for this, but that's how JavaScript does this. Note that there is a default here, it's not just stated explicitly: undefined. https://github.com/whatwg/webidl/issues/905 will make this better, but that will take some time.

https://w3ctag.github.io/design-principles/#optional-parameters might be a good place to put this. Want to PR that too @mgiuca? 😊

-- 
GitHub Notification of comment by annevk
Please view or discuss this issue at https://github.com/w3c/mediacapture-screen-share/issues/236#issuecomment-1263750283 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:59:52 UTC