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
@@ -184,7 +185,7 @@ The {{XRAnchor/requestPersistentHandle()}} method, when invoked on an {{XRAnchor
184
185
1. Return |promise|.
185
186
1. Abort these steps.
186
187
1. Let |uuid| be the empty string.
187
-
1. Generate a UUID [[!RFC4122]] as a string and append it to |uuid|.
188
+
1. Generate a UUID [[!RFC9562]] as a string and append it to |uuid|.
188
189
1. Add |uuid| and |anchor| to |session|'s [=XRSession/map of persistent anchors=].
189
190
1. [=/Resolve=] |promise| with |uuid|.
190
191
1. Return |promise|.
@@ -255,7 +256,7 @@ Note: It is the responsibility of user agents to ensure that the physical origin
255
256
The {{XRSession/restorePersistentAnchor(uuid)}} method, when invoked on an {{XRSession}} |session| with |uuid|, MUST run the following steps:
256
257
1. Let |promise| be [=a new Promise=] in the [=relevant realm=] of this {{XRSystem}}.
257
258
1. If |session|'s [=XRSession/map of persistent anchors=] does not contain a mapping from |uuid| to an {{XRAnchor}}, [=/reject=] |promise| with {{InvalidStateError}}, return |promise|, and abort these steps.
258
-
1. If |session|’s [=ended=] value is `true`, [=/reject=] |promise| with {{InvalidStateError}}, return |promise|, and abort these steps.
259
+
1. If |session|’s {{XRSession/ended}} value is `true`, [=/reject=] |promise| with {{InvalidStateError}}, return |promise|, and abort these steps.
259
260
1. Let |anchor| be the value of mapping from |uuid| on |session|'s [=XRSession/map of persistent anchors=].
260
261
1. If |session|'s [=XRSession/map of new anchors=] contains a mapping from |anchor| to |promise|, [=/reject=] the |promise| with {{InvalidStateError}}, return |promise|, and abort these steps.
261
262
1. Add |anchor| to |session|'s [=XRSession/set of tracked anchors=].
0 commit comments