kainino0x / holoplay-webxr

No longer maintained! Please move to https://github.com/Looking-Glass/looking-glass-webxr
https://kai.graphics/holoplay-webxr/
Apache License 2.0
17 stars 24 forks source link

Extension's XRReferenceSpace missing addEventListener #5

Open SoylentGraham opened 3 years ago

SoylentGraham commented 3 years ago

https://immersive-web.github.io/webxr/#xrreferencespace-interface

XRReferenceSpace is supposed to be an EventTarget, so expected that addEventListener exists.

This is for reset when a space changes, which doesn't really apply, but function still should be around :)

kainino0x commented 3 years ago

I don't implement XRReferenceSpace, it's implemented for me by webxr-polyfill.

Unless I'm missing something, it seems like XRSpace upstream is missing the EventTarget? https://github.com/immersive-web/webxr-polyfill/blob/main/src/api/XRSpace.js

cc: @toji