Re: [mediacapture-screen-share] Add getCurrentBrowsingContextMedia (#148)

> If either of these conditions does not hold at the time when gCBCM is called, we would like to specify that the user agent SHOULD (or MAY) fall back to gDM-like behavior.

I'd rather keep this separate from gDM, even using a [separate permissions policy](, since the security properties are quite different.

The callsites may not even be the same always. E.g. this is the target being told to capture itself and beam into a meeting, vs the main window where gDM may be called to present today.

I see no way around apps needing to test for errors. Especially if we go with the model where capture may terminate on a non-opt-in iframe loading. Apps would need to catch that error too, and respond appropriately.

GitHub Notification of comment by jan-ivar
Please view or discuss this issue at using your GitHub account

Sent via github-notify-ml as configured in

Received on Wednesday, 24 March 2021 01:26:36 UTC