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

@ -1,16 +1,4 @@
[depth_sensing_preferences.https.html]
[depthSensing - Required - Fully populated grants session]
expected: FAIL
[depthSensing - Required - Empty usage grants session]
expected: FAIL
[depthSensing - Required - Empty format grants session]
expected: FAIL
[depthSensing - Required - Empty usage and format grants session]
expected: FAIL
[depthSensing - Required - Missing usage rejects session]
expected: FAIL