The XRSession functions requestHitTestSource and requestHitTestSourceForTransientInput are not checking if the hit-test feature was requested.
As described in the specs
https://www.w3.org/TR/webxr-hit-test-1/#requesting-hit-test
"If hit-test feature descriptor is not contained in the session’s list of enabled features, reject promise with NotSupportedError and abort these steps."
The
XRSession
functionsrequestHitTestSource
andrequestHitTestSourceForTransientInput
are not checking if thehit-test
feature was requested. As described in the specs https://www.w3.org/TR/webxr-hit-test-1/#requesting-hit-test "If hit-test feature descriptor is not contained in the session’s list of enabled features, reject promise with NotSupportedError and abort these steps."