true, throw an {{InvalidStateError}} and abort these steps.
+ 1. If |session|’s {{XRSession/ended}} value is true, throw an {{InvalidStateError}} and abort these steps.
1. The user agent MAY [=/reject=] |promise| with {{NotAllowedError}} and abort these steps if there is a [=unreasonable number of requests=].
1. Add [=compute all hit test results=] algorithm to |session|'s [=XRSession/list of frame updates=] if it is not already present there.
1. [=Create a hit test source=], |hitTestSource|, with |session|, |options|' {{XRHitTestOptionsInit/space}}, |options|' [=XRHitTestOptionsInit/effective entityTypes=] and |options|' [=XRHitTestOptionsInit/effective offsetRay=].
@@ -447,7 +447,7 @@ The requestHitTestSourceForTransientInput(|options|)
1. Let |promise| be [=a new Promise=].
1. If [=hit-test=] feature descriptor is not [=list/contain|contained=] in the |session|'s [=XRSession/list of enabled features=], [=/reject=] |promise| with {{NotSupportedError}} and abort these steps.
- 1. If |session|’s [=XRSession/ended=] value is true, throw an {{InvalidStateError}} and abort these steps.
+ 1. If |session|’s {{XRSession/ended}} value is true, throw an {{InvalidStateError}} and abort these steps.
1. The user agent MAY [=/reject=] |promise| with {{NotAllowedError}} and abort these steps if there is a [=unreasonable number of requests=].
1. Add [=compute all hit test results=] algorithm to |session|'s [=XRSession/list of frame updates=] if it is not already present there.
1. [=Create a hit test source for transient input=], |hitTestSource|, with |session|, |options|' {{XRTransientInputHitTestOptionsInit/profile}}, |options|' [=XRHitTestOptionsInit/effective entityTypes=] and |options|' [=XRHitTestOptionsInit/effective offsetRay=].
@@ -517,7 +517,7 @@ The {{XRFrame}} is extended to contain an associated map of h
The {{XRFrame}} is extended to contain an associated map of hit test sources to hit test results for transient input that stores a mapping from {{XRTransientInputHitTestSource}} to an array of XRTransientInputHitTestResults.
-The application can obtain hit test results from an {{XRHitTestSource}} by using {{XRFrame}}'s {{XRFrame/getHitTestResults()}} method.
+The application can obtain hit test results from an {{XRHitTestSource}} by using {{XRFrame}}'s {{XRFrame/getHitTestResults()}} method.