Intent to Prototype: DisplayMediaStreamConstraints.selfBrowserSurface

40 views
Skip to first unread message

Elad Alon

unread,
May 25, 2022, 8:39:27 AM5/25/22
to blink-dev

Contact emails

elad...@chromium.org

Explainer

https://docs.google.com/document/d/1M63lyDHV-v6LPFzHjfsjBDMfyn075pySa3xfIRSB9zU/edit?usp=sharing

Specification

https://github.com/w3c/mediacapture-screen-share/pull/216/files

Summary

Hint allowing Web applications to instruct the browser whether, upon calling getDisplayMedia(), the current tab should be excluded from the list of tabs offered to the user.



Blink component

Blink

Motivation

Accidental self-capture is a common problem for video conferencing software. When users accidentally choose the tab in which the VC app is running, a Hall-of-Mirrors effect is produced, confusing users and derailing discussions with remote users.



Initial public proposal

https://github.com/w3c/mediacapture-screen-share/issues/209

TAG review

N/A. This is just an addition of a single flag to an existing dictionary, following well-known patterns.

TAG review status

Not applicable

Risks



Interoperability and Compatibility

Gecko: Positive (https://github.com/mozilla/standards-positions/issues/639) Jan-Ivar Bruaroey from Mozilla, and Youenn Fablet from Apple, have both collaborated with us closely in shaping this PR. They have then approved merging this PR into w3c/mediacapture-screen-share. This is implicit support, so I'd consider it POSITIVE even though, as of the time of this writing, the official request for position has not yet been answered.

WebKit: Positive (https://lists.webkit.org/pipermail/webkit-dev/2022-May/032249.html) Jan-Ivar Bruaroey from Mozilla, and Youenn Fablet from Apple, have both collaborated with us closely in shaping this PR. They have then approved merging this PR into w3c/mediacapture-screen-share. This is implicit support, so I'd consider it POSITIVE even though, as of the time of this writing, the official request for position has not yet been answered.

Web developers: Positive Interest expressed by Google Meet.

Other signals:


Security

The current tab is the surface most under an attacker’s control. Nudging the user away from this risky surface is a good thing. Of course, malicious applications can avoid using this new control, or use it to retain the old behavior (current tab still offered). This is not a problem - it simply means that this new surface offers no degradation in security, although not a security feature in its own right.



WebView application risks

N/A



Debuggability

N/A



Is this feature fully tested by web-platform-tests?

No

Estimated milestones

No milestones specified



Link to entry on the Chrome Platform Status

https://chromestatus.com/feature/5118675366445056

This intent message was generated by Chrome Platform Status.
Reply all
Reply to author
Forward
0 new messages