[mediacapture-screen-share] Pull Request: Add getCurrentBrowsingContextMedia

eladalon1983 has just submitted a new pull request for https://github.com/w3c/mediacapture-screen-share:

== Add getCurrentBrowsingContextMedia ==
getCurrentBrowsingContextMedia is equivalent to getDisplayMedia, other than that it may only capture the tab from which it is called. This allows for a simpler selection to be displayed for the user - rather than an elaborate picker, a simple dialog box is used. This simplifies things for the user and reduces the risk of the user sharing something other than what they had intended.

See also:
1. [Explainer](https://docs.google.com/document/d/1CIQH2ygvw7eTGO__Pcds_D46Gcn-iPAqESQqOsHHfkI/edit?usp=sharing)
2. [Public discussion](https://lists.w3.org/Archives/Public/public-webrtc/2020Oct/0006.html)

We think that the security properties of own-tab capture are no worse than the version that goes via the picker. We note that the application will have control over the surface that is being displayed, and that can cause some sharing of information that would otherwise be inaccessible, such as colors on visited links, or content of embedded frames, but we think that the risks are no bigger than for regular sharing, and that the proposed, simple, prompt is good enough to mitigate this concern.

This new API will be subject to access-permissions laid down by the display-capture feature-policy. (Support will be added in Chrome for this feature-policy as part of the work on this feature.)

See https://github.com/w3c/mediacapture-screen-share/pull/148


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

Received on Wednesday, 7 October 2020 13:53:31 UTC