There's a need when extending the polyfill to customize the request call requestSession() with custom values (e.g. WebXR Viewer). Currently, it requires clobbering the function and manually polyfilling. Is there a nicer way of handling this?
Additionally, extending the actual XRSession object with or without these changes.
There's a need when extending the polyfill to customize the request call
requestSession()
with custom values (e.g. WebXR Viewer). Currently, it requires clobbering the function and manually polyfilling. Is there a nicer way of handling this?Additionally, extending the actual XRSession object with or without these changes.
Most likely dependent on https://github.com/immersive-web/webxr-polyfill/issues/55