http permissions policy directive
Permissions-Policy: window-management directive
Limited availability
The HTTP Permissions-Policy header window-management directive controls whether or not the current document is allowed to use the Window Management API to manage windows on multiple displays.
Where this policy forbids use of the API:
- The
Promisereturned by thegetScreenDetails()method will reject with aNotAllowedErrorexception. - The
Window.screen.isExtendedproperty will always returnfalse.
Syntax
Permissions-Policy: window-management=<allowlist>;
<allowlist>- : A list of origins for which permission is granted to use the feature. See
Permissions-Policy> Syntax for more details.
- : A list of origins for which permission is granted to use the feature. See
Default policy
The default allowlist for window-management is self.
Specifications
SpecificationsStandards references are available on the canonical MDN page.
Browser compatibility
Browser compatibilityCompatibility data is available on the canonical MDN page.