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

An example of where it makes some sense to use an optional nullable dictionary member is RequestInit.body (https://fetch.spec.whatwg.org/#requestinit). Request has a nullable body getter (https://fetch.spec.whatwg.org/#dom-body-body) and it might be handy to use this getter when creating a new Request from an existing one.

In our particular case, there is no corresponding controller getter so keeping it as a simple optional member seems good.

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


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

Received on Monday, 3 October 2022 08:47:24 UTC