Permissions-Policy: xr-spatial-tracking

Limited availability

This feature is not Baseline because it does not work in some of the most widely-used browsers.

Experimentell: Dies ist eine experimentelle Technologie
Überprüfen Sie die Browser-Kompatibilitätstabelle sorgfältig vor der Verwendung auf produktiven Webseiten.

Der HTTP-Permissions-Policy-Header xr-spatial-tracking-Direktive steuert, ob das aktuelle Dokument die WebXR Device API verwenden darf.

Konkret, wenn eine definierte Richtlinie die Nutzung dieses Features blockiert:

Syntax

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

Eine Liste von Ursprüngen, für die die Erlaubnis zur Nutzung des Features erteilt wird. Siehe Permissions-Policy > Syntax für weitere Details.

Standardrichtlinie

Die Standard-allowlist für xr-spatial-tracking ist self.

Spezifikationen

Specification
WebXR Device API
# permissions-policy

Browser-Kompatibilität

Report problems with this compatibility data on GitHub
desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
xr-spatial-tracking
Experimental

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support
No support
No support
Experimental. Expect behavior to change in the future.
See implementation notes.

Siehe auch