immersive-web / webxr-test-api

WPT testing API for WebXR
https://immersive-web.github.io/webxr-test-api/
14 stars 15 forks source link

FakeXRDevice should have a param for default framebuffer scale factor #85

Open msub2 opened 1 month ago

msub2 commented 1 month ago

Currently this WPT test is using a Chromium-specific interface for retrieving the FakeXRDevice's framebuffer scale factor, which itself is just a const in Chromium's webxr-test.js polyfill. It should probably be a proper part of the FakeXRDevice interface instead.