Intent to Implement and Ship: Display-Capture Capability Delegation

104 views
Skip to first unread message

François Beaufort

unread,
Feb 23, 2023, 9:13:06 AM2/23/23
to blink-dev

Contact emails

fbea...@chromium.org


Explainer

https://github.com/WICG/capability-delegation#allowing-display-capture-from-cross-origin-iframe-click


Specification

https://wicg.github.io/capability-delegation/spec.html#monkey-patch-to-screen-capture

https://github.com/WICG/capability-delegation/pull/32


Summary

This feature is based on the general delegation mechanism (https://chromestatus.com/feature/5708770829139968) shipped on M100.


Display-Capture Capability Delegation allows a Window to transfer the ability to call navigator.mediaDevices.getDisplayMedia() to another Window it trusts after relinquishing the transient user activation at the sender Window.


Blink component

Blink>GetDisplayMedia


TAG review

Covered by the review for the general delegation mechanism: https://github.com/w3ctag/design-reviews/issues/655


Risks

Interoperability and Compatibility risks remain unchanged from the general delegation mechanism; see: https://groups.google.com/a/chromium.org/g/blink-dev/c/PHT_2X7oRBE/m/gR9UiZxBAQAJ


External signals

Gecko: Positive (https://github.com/mozilla/standards-positions/issues/565


WebKit: No signal (https://github.com/WebKit/standards-positions/issues/137)


Web developers: Positive (https://github.com/w3c/mediacapture-screen-share/issues/258)


Debuggability

This remains unchanged from the general intent: https://groups.google.com/a/chromium.org/g/blink-dev/c/PHT_2X7oRBE/m/gR9UiZxBAQAJ


Ongoing technical constraints

None.


Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?

No - Supported on all Desktop platforms.


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

Yes.


Flag name

--enable-blink-features=CapabilityDelegationDisplayCaptureRequest


Requires code in //chrome?

No.


Tracking bug

https://crbug.com/1412770


Estimated milestone

113


Link to entry on the Chrome Platform Status

https://chromestatus.com/feature/5147589575442432


Links to previous Intent discussions

Intent for the general delegation mechanism with Payment Request: https://groups.google.com/a/chromium.org/g/blink-dev/c/PHT_2X7oRBE/m/gR9UiZxBAQAJ


Intent for the general delegation mechanism with Fullscreen Request:

https://groups.google.com/a/chromium.org/g/blink-dev/c/7YkubntWi3Y/m/tyB2H5a0AwAJ

Yoav Weiss

unread,
Feb 24, 2023, 5:53:12 AM2/24/23
to François Beaufort, blink-dev
LGTM1

--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAPpwU5KYbTAkRZDOaW27oAB4hvr-UWcyLwSuw9jHyrO9dJZkRQ%40mail.gmail.com.

Mike Taylor

unread,
Feb 24, 2023, 5:20:55 PM2/24/23
to Yoav Weiss, François Beaufort, blink-dev

Alex Russell

unread,
Mar 1, 2023, 11:48:46 AM3/1/23
to blink-dev, Mike Taylor, blink-dev, Yoav Weiss, fbea...@google.com
(because I might have fat-fingered things in the tool)

LGTM3

LGTM1

To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
Reply all
Reply to author
Forward
0 new messages