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

I've played a bit in a Chromium build to see how it reacts to those API shapes and here are my results:

1. With `CaptureController controller`, I get a TypeError when I pass `{controller: null}`. See below

<img width="889" alt="Screen Shot 2022-09-30 at 17 41 30" src="https://user-images.githubusercontent.com/634478/193307144-6b3f066b-814e-4379-a473-4512f8e1e50e.png">

2. With `CaptureController? controller = null`, there's no JS error when I pass `{controller: null}`.

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