Spec-Zone.ru › HTTP

Headers: Permissions-Policy.captured-surface-control

Permissions-Policy: captured-surface-control directive

Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

The HTTP Permissions-Policy header captured-surface-control directive controls whether or not the document is permitted to use the Captured Surface Control API. Specifically, the forwardWheel(), increaseZoomLevel(), decreaseZoomLevel(), and resetZoomLevel() methods are controlled by this directive.

The promise returned by the API's main methods will reject with a NotAllowedError DOMException if the permission is not allowed.

Syntax

Permissions-Policy: captured-surface-control=<allowlist>;
<allowlist>

A list of origins for which permission is granted to use the feature. See Permissions-Policy > Syntax for more details.

Default policy

The default allowlist for captured-surface-control is self.

Specifications

Specification
Captured Surface Control>
# feature-policy-integration>

Browser compatibility

Desktop Mobile
Chrome Edge Firefox Opera Safari Chrome Android Firefox for Android Opera Android Safari on IOS Samsung Internet WebView Android WebView on iOS
captured-surface-control 136 136 No 121 No No No No No No No No

See also

  • Permissions-Policy header
  • Permissions Policy
  • Screen Capture API
  • Using the Captured Surface Control API

© 2005–2025 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Permissions-Policy/captured-surface-control

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API