docs.rodeo

MDN Web Docs mirror

Permissions-Policy: xr-spatial-tracking

{{HTTPSidebar}} {{SeeCompatTable}} 

The HTTP {{HTTPHeader("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>;

Default policy

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

Specifications

{{Specifications}} 

Browser compatibility

{{Compat}} 

See also

In this article

View on MDN