Implement the display-capture feature policy from the Screen Capture spec. https://w3c.github.io/permissions/#dom-permissionname-display-capture This policy allows restricting access to the getDisplayMedia() API in embedded resources.

Motivation

This feature-policy enhances privacy/security by giving an embedding frame control over an embedded frame's access to the getDisplayMedia API. Without it, some attack vectors would be open to the embedding frame, as it would be able to visually inspect most things which the embedding frame draws to the screen.

Specification

Specification link


Specification being incubated in a Community Group

Status in Chromium

Blink


Enabled by default (tracking bug)

Consensus & Standardization

After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.

  • Shipped/Shipping
  • N/A
  • Shipped/Shipping
  • No signals

Owner

Last updated on 2021-10-16