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

Editor's draft

Status in Chromium

Blink


In development (tracking bug) in:

  • Chrome for desktop release In development

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-07-21