You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: index.bs
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -232,7 +232,7 @@ An <dfn for="">XR device</dfn> is a physical unit of hardware that can present i
232
232
233
233
An [=/XR device=] has a <dfn>list of supported modes</dfn> (a [=/list=] of [=/strings=]) that [=list/contains=] the enumeration values of {{XRSessionMode}} that the [=/XR device=] supports.
234
234
235
-
Each [=/XR device=] has a <dfn for="XR device">set of enabled features</dfn> for each {{XRSessionMode}} in its [=list of supported modes=], which is a [=/set=] of [=feature descriptors=] which MUST be initially an empty [=/set=].
235
+
Each [=/XR device=] has a <dfn for="XR device">set of granted features</dfn> for each {{XRSessionMode}} in its [=list of supported modes=], which is a [=/set=] of [=feature descriptors=] which MUST be initially an empty [=/set=].
236
236
237
237
The user-agent has a <dfn for="">list of immersive XR devices</dfn> (a [=/list=] of [=/XR device=]), which MUST be initially an empty [=/list=].
238
238
@@ -2765,7 +2765,7 @@ To <dfn lt="request the xr permission">request the "xr" permission</dfn> with an
2765
2765
1. If a clear signal of [=user intent=] to enable |feature| has not been determined, continue to the next entry.
2766
2766
1. If |feature| is not in |granted|, append |feature| to |granted|.
2767
2767
1. Set |status|'s {{XRPermissionStatus/granted}} to |granted|.
2768
-
1. Add all elements of |granted| to |device|'s [=set of enabled features=] for |mode|.
2768
+
1. Add all elements of |granted| to |device|'s [=set of granted features=] for |mode|.
2769
2769
1. Set |status|'s {{PermissionStatus/state}} to {{PermissionState/"granted"}}.
2770
2770
2771
2771
Note: The user agent has the freedom to batch up permissions prompts for all requested features when gauging if there is a clear signal of [=user intent=], but it is also allowed to show them one at a time.
@@ -2805,7 +2805,7 @@ To <dfn>resolve the requested features</dfn> given |requiredFeatures| and |optio
2805
2805
1. Let |consentOptional| be an empty [=/list=] of {{DOMString}}.
2806
2806
1. Let |granted| be an empty [=/list=] of {{DOMString}}.
2807
2807
1. Let |device| be the result of [=obtain the current device|obtaining the current device=] for |mode|, |requiredFeatures|, and |optionalFeatures|.
2808
-
1. Let |previouslyEnabled| be |device|'s [=XR device/set of enabled features=] for |mode|.
2808
+
1. Let |previouslyEnabled| be |device|'s [=XR device/set of granted features=] for |mode|.
2809
2809
1. If |device| is `null` or |device|'s [=list of supported modes=] does not [=list/contain=] |mode|, run the following steps:
2810
2810
1. Return the [=tuple=] (|consentRequired|, |consentOptional|, |granted|)
2811
2811
1. Add every [=feature descriptor=] in the [=default features=] table associated with |mode| to |granted| if it is not already present.
0 commit comments