immersive-web / hit-test

https://immersive-web.github.io/hit-test/
Other
78 stars 31 forks source link

Return sequences instead of FrozenArrays #119

Closed toji closed 2 months ago

toji commented 2 months ago

Fixes #117

As agreed on in today's call, having getHitTestResults and getHitTestResultsForTransientInput return FrozenArrays isn't being used for optimization purposes, and is unusual relative to other Web APIs. This PR changes them both to sequences, which shouldn't result in any user-facing breaking behavior.


Preview | Diff