Commit f8bb933
docs: WebXR in iframes — xr-spatial-tracking permission policy
Add an FAQ entry and an embedding-guide troubleshooting note explaining why WebXR
(AR/VR) fails in an iframe with "xr-spatial-tracking is not allowed in this
document": the embedding page must grant the feature, and the iframe `allow`
attribute only delegates a feature the parent already has. It's a document-policy
issue, not a device one (appears even on Quest). Both link the MDN iframe `allow`
docs.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 0366dff commit f8bb933
2 files changed
Lines changed: 28 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
160 | 174 | | |
161 | 175 | | |
162 | 176 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
911 | 911 | | |
912 | 912 | | |
913 | 913 | | |
| 914 | + | |
| 915 | + | |
| 916 | + | |
| 917 | + | |
| 918 | + | |
| 919 | + | |
| 920 | + | |
| 921 | + | |
| 922 | + | |
| 923 | + | |
| 924 | + | |
| 925 | + | |
| 926 | + | |
| 927 | + | |
914 | 928 | | |
915 | 929 | | |
916 | 930 | | |
| |||
0 commit comments