meta-quest / immersive-web-emulator

Browser extension that emulates Meta Quest devices for WebXR development. Lead: Felix Zhang (fe1ix@meta.com)
https://developer.oculus.com/blog/webxr-development-immersive-web-emulator/
MIT License
297 stars 34 forks source link

requestHitTestSource doesn't check for feature request #24

Closed De-Panther closed 11 months ago

De-Panther commented 1 year ago

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."

felixtrz commented 1 year ago

Good find, will fix in v1.4

felixtrz commented 11 months ago

This should have been fixed in v1.3.1