webxr: Update XRSession to latest spec (#33059)

* Add missing XRSession members, initial implementations

Signed-off-by: Daniel Adams <msub2official@gmail.com>

* Implement supportedFramerates getter

Signed-off-by: Daniel Adams <msub2official@gmail.com>

* Implement framerate changes, add spec links

Signed-off-by: Daniel Adams <msub2official@gmail.com>

* Update WPT expectations

Signed-off-by: Daniel Adams <msub2official@gmail.com>

* ./mach fmt

Signed-off-by: Daniel Adams <msub2official@gmail.com>

* Add missing spec link

Signed-off-by: Daniel Adams <msub2official@gmail.com>

---------

Signed-off-by: Daniel Adams <msub2official@gmail.com>
This commit is contained in:
Daniel Adams 2024-08-16 17:36:52 -10:00 committed by GitHub
parent f0045a7686
commit 20273b062a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 132 additions and 62 deletions

View file

@ -278,18 +278,6 @@
[XRWebGLLayer interface: xrWebGLLayer must inherit property "fixedFoveation" with the proper type]
expected: FAIL
[XRSession interface: attribute frameRate]
expected: FAIL
[XRSession interface: attribute supportedFrameRates]
expected: FAIL
[XRSession interface: operation updateTargetFrameRate(float)]
expected: FAIL
[XRSession interface: attribute onframeratechange]
expected: FAIL
[XRSession interface: xrSession must inherit property "frameRate" with the proper type]
expected: FAIL
@ -308,15 +296,9 @@
[XRFrame interface: attribute predictedDisplayTime]
expected: FAIL
[XRSession interface: attribute enabledFeatures]
expected: FAIL
[XRSession interface: xrSession must inherit property "enabledFeatures" with the proper type]
expected: FAIL
[XRSession interface: attribute isSystemKeyboardSupported]
expected: FAIL
[XRSession interface: xrSession must inherit property "isSystemKeyboardSupported" with the proper type]
expected: FAIL