webxr: Update XRInputSource gamepad index to be -1 (#33369)

* Update XRInputSource gamepad index to be -1

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

* Update test expectations

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

---------

Signed-off-by: Daniel Adams <msub2official@gmail.com>
This commit is contained in:
Daniel Adams 2024-09-09 11:07:56 +00:00 committed by GitHub
parent 9cfbaf92e5
commit 938fd8c12f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 14 additions and 6 deletions

View file

@ -1,7 +1,8 @@
[xrInputSource_gamepad_disconnect.https.html]
expected: ERROR
[WebXR InputSource's gamepad gets disconnected when the input source is removed - webgl2]
expected: FAIL
expected: NOTRUN
[WebXR InputSource's gamepad gets disconnected when the input source is removed - webgl]
expected: FAIL
expected: TIMEOUT