Firefox Tomorrow

http permissions policy directive

Permissions-Policy: xr-spatial-tracking directive

View on MDN ↗

Limited availability

The HTTP Permissions-Policy header xr-spatial-tracking directive controls whether the current document is allowed to use the WebXR Device API.

Specifically, where a defined policy blocks usage of this feature:

Syntax

Permissions-Policy: xr-spatial-tracking=<allowlist>;
  • <allowlist>

Default policy

The default allowlist for xr-spatial-tracking is self.

Specifications

SpecificationsStandards references are available on the canonical MDN page.

Browser compatibility

Browser compatibilityCompatibility data is available on the canonical MDN page.

See also