webxr: Update hand input to match latest spec (#32958)

* Update IDLs

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

* Update XRHand and XRJointSpace methods/bindings

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

* Implement fillJointRadii

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

* Implement fillPoses

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

* Formatting

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

* Update test expectations

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

* Tidy, missing spec link

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

* Remove idlharness expectation files, update hands pref

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

* Update interfaces

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

* XRJointPose interface

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

* XRHand interface

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-14 12:45:45 -10:00 committed by GitHub
parent 057873c94a
commit 825d6f10e9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 314 additions and 553 deletions

View file

@ -1,235 +0,0 @@
[idlharness.https.window.html]
[XRHand interface object name]
expected: FAIL
[XRHand interface: existence and properties of interface prototype object's @@unscopables property]
expected: FAIL
[XRHand interface: constant THUMB_METACARPAL on interface object]
expected: FAIL
[XRHand interface: constant THUMB_PHALANX_PROXIMAL on interface object]
expected: FAIL
[XRHand interface: constant INDEX_PHALANX_TIP on interface prototype object]
expected: FAIL
[XRHand interface: constant THUMB_PHALANX_PROXIMAL on interface prototype object]
expected: FAIL
[XRHand interface: constant RING_PHALANX_INTERMEDIATE on interface prototype object]
expected: FAIL
[XRHand interface: constant LITTLE_PHALANX_TIP on interface object]
expected: FAIL
[XRJointPose interface: attribute radius]
expected: FAIL
[XRHand interface: constant RING_PHALANX_DISTAL on interface prototype object]
expected: FAIL
[XRHand interface: constant INDEX_PHALANX_DISTAL on interface prototype object]
expected: FAIL
[XRHand interface: constant LITTLE_PHALANX_DISTAL on interface object]
expected: FAIL
[XRHand interface: constant INDEX_PHALANX_INTERMEDIATE on interface prototype object]
expected: FAIL
[XRHand interface: iterable<XRJointSpace>]
expected: FAIL
[XRHand interface: constant MIDDLE_PHALANX_DISTAL on interface object]
expected: FAIL
[XRHand interface: constant RING_PHALANX_TIP on interface prototype object]
expected: FAIL
[XRHand interface: constant LITTLE_PHALANX_PROXIMAL on interface prototype object]
expected: FAIL
[XRHand interface: constant THUMB_PHALANX_TIP on interface prototype object]
expected: FAIL
[XRJointPose interface: existence and properties of interface object]
expected: FAIL
[XRHand interface: constant LITTLE_PHALANX_INTERMEDIATE on interface object]
expected: FAIL
[XRHand interface: constant MIDDLE_PHALANX_PROXIMAL on interface object]
expected: FAIL
[XRHand interface: constant THUMB_PHALANX_DISTAL on interface prototype object]
expected: FAIL
[XRHand interface: constant RING_METACARPAL on interface prototype object]
expected: FAIL
[XRJointSpace interface: existence and properties of interface prototype object's "constructor" property]
expected: FAIL
[XRHand interface: constant INDEX_PHALANX_TIP on interface object]
expected: FAIL
[XRHand interface: constant RING_PHALANX_PROXIMAL on interface object]
expected: FAIL
[XRFrame interface: operation fillJointRadii(sequence<XRJointSpace>, Float32Array)]
expected: FAIL
[XRHand interface: constant THUMB_METACARPAL on interface prototype object]
expected: FAIL
[XRHand interface: constant WRIST on interface object]
expected: FAIL
[XRHand interface: constant LITTLE_PHALANX_INTERMEDIATE on interface prototype object]
expected: FAIL
[XRJointSpace interface: existence and properties of interface object]
expected: FAIL
[XRHand interface: constant RING_PHALANX_TIP on interface object]
expected: FAIL
[XRHand interface: constant RING_PHALANX_DISTAL on interface object]
expected: FAIL
[XRHand interface: existence and properties of interface object]
expected: FAIL
[XRHand interface: constant INDEX_METACARPAL on interface object]
expected: FAIL
[XRHand interface: constant LITTLE_PHALANX_TIP on interface prototype object]
expected: FAIL
[XRHand interface: constant MIDDLE_PHALANX_PROXIMAL on interface prototype object]
expected: FAIL
[XRHand interface: constant LITTLE_PHALANX_DISTAL on interface prototype object]
expected: FAIL
[XRHand interface: constant INDEX_PHALANX_PROXIMAL on interface object]
expected: FAIL
[XRHand interface: existence and properties of interface prototype object's "constructor" property]
expected: FAIL
[XRHand interface: constant THUMB_PHALANX_TIP on interface object]
expected: FAIL
[XRJointSpace interface object length]
expected: FAIL
[XRHand interface: constant THUMB_PHALANX_DISTAL on interface object]
expected: FAIL
[XRJointPose interface object name]
expected: FAIL
[XRJointPose interface: existence and properties of interface prototype object's "constructor" property]
expected: FAIL
[XRHand interface: constant MIDDLE_PHALANX_INTERMEDIATE on interface object]
expected: FAIL
[XRHand interface: constant WRIST on interface prototype object]
expected: FAIL
[XRJointSpace interface: existence and properties of interface prototype object's @@unscopables property]
expected: FAIL
[XRHand interface: constant RING_PHALANX_INTERMEDIATE on interface object]
expected: FAIL
[XRFrame interface: operation fillPoses(sequence<XRSpace>, XRSpace, Float32Array)]
expected: FAIL
[XRHand interface: constant INDEX_PHALANX_INTERMEDIATE on interface object]
expected: FAIL
[XRHand interface: constant INDEX_PHALANX_DISTAL on interface object]
expected: FAIL
[XRHand interface: constant MIDDLE_PHALANX_DISTAL on interface prototype object]
expected: FAIL
[XRHand interface: constant LITTLE_METACARPAL on interface prototype object]
expected: FAIL
[XRHand interface: constant RING_METACARPAL on interface object]
expected: FAIL
[XRJointSpace interface: existence and properties of interface prototype object]
expected: FAIL
[XRJointPose interface: existence and properties of interface prototype object's @@unscopables property]
expected: FAIL
[XRJointPose interface object length]
expected: FAIL
[XRHand interface: constant MIDDLE_PHALANX_TIP on interface prototype object]
expected: FAIL
[XRHand interface: constant INDEX_METACARPAL on interface prototype object]
expected: FAIL
[XRHand interface: attribute length]
expected: FAIL
[XRHand interface object length]
expected: FAIL
[XRHand interface: constant MIDDLE_PHALANX_TIP on interface object]
expected: FAIL
[XRJointPose interface: existence and properties of interface prototype object]
expected: FAIL
[XRHand interface: operation joint(unsigned long)]
expected: FAIL
[XRHand interface: constant MIDDLE_METACARPAL on interface object]
expected: FAIL
[XRHand interface: constant MIDDLE_PHALANX_INTERMEDIATE on interface prototype object]
expected: FAIL
[XRHand interface: constant RING_PHALANX_PROXIMAL on interface prototype object]
expected: FAIL
[XRJointSpace interface object name]
expected: FAIL
[XRHand interface: constant LITTLE_PHALANX_PROXIMAL on interface object]
expected: FAIL
[XRHand interface: constant INDEX_PHALANX_PROXIMAL on interface prototype object]
expected: FAIL
[XRHand interface: existence and properties of interface prototype object]
expected: FAIL
[XRHand interface: constant LITTLE_METACARPAL on interface object]
expected: FAIL
[XRHand interface: constant MIDDLE_METACARPAL on interface prototype object]
expected: FAIL
[XRHand interface: iterable<XRHandJoint, XRJointSpace>]
expected: FAIL
[XRHand interface: operation get(XRHandJoint)]
expected: FAIL
[XRHand interface: attribute size]
expected: FAIL
[XRJointSpace interface: attribute jointName]
expected: FAIL

View file

@ -1,235 +0,0 @@
[idlharness.https.window.html]
[XRHand interface object name]
expected: FAIL
[XRHand interface: existence and properties of interface prototype object's @@unscopables property]
expected: FAIL
[XRHand interface: constant THUMB_METACARPAL on interface object]
expected: FAIL
[XRHand interface: constant THUMB_PHALANX_PROXIMAL on interface object]
expected: FAIL
[XRHand interface: constant INDEX_PHALANX_TIP on interface prototype object]
expected: FAIL
[XRHand interface: constant THUMB_PHALANX_PROXIMAL on interface prototype object]
expected: FAIL
[XRHand interface: constant RING_PHALANX_INTERMEDIATE on interface prototype object]
expected: FAIL
[XRHand interface: constant LITTLE_PHALANX_TIP on interface object]
expected: FAIL
[XRJointPose interface: attribute radius]
expected: FAIL
[XRHand interface: constant RING_PHALANX_DISTAL on interface prototype object]
expected: FAIL
[XRHand interface: constant INDEX_PHALANX_DISTAL on interface prototype object]
expected: FAIL
[XRHand interface: constant LITTLE_PHALANX_DISTAL on interface object]
expected: FAIL
[XRHand interface: constant INDEX_PHALANX_INTERMEDIATE on interface prototype object]
expected: FAIL
[XRHand interface: iterable<XRJointSpace>]
expected: FAIL
[XRHand interface: constant MIDDLE_PHALANX_DISTAL on interface object]
expected: FAIL
[XRHand interface: constant RING_PHALANX_TIP on interface prototype object]
expected: FAIL
[XRHand interface: constant LITTLE_PHALANX_PROXIMAL on interface prototype object]
expected: FAIL
[XRHand interface: constant THUMB_PHALANX_TIP on interface prototype object]
expected: FAIL
[XRJointPose interface: existence and properties of interface object]
expected: FAIL
[XRHand interface: constant LITTLE_PHALANX_INTERMEDIATE on interface object]
expected: FAIL
[XRHand interface: constant MIDDLE_PHALANX_PROXIMAL on interface object]
expected: FAIL
[XRHand interface: constant THUMB_PHALANX_DISTAL on interface prototype object]
expected: FAIL
[XRHand interface: constant RING_METACARPAL on interface prototype object]
expected: FAIL
[XRJointSpace interface: existence and properties of interface prototype object's "constructor" property]
expected: FAIL
[XRHand interface: constant INDEX_PHALANX_TIP on interface object]
expected: FAIL
[XRHand interface: constant RING_PHALANX_PROXIMAL on interface object]
expected: FAIL
[XRFrame interface: operation fillJointRadii(sequence<XRJointSpace>, Float32Array)]
expected: FAIL
[XRHand interface: constant THUMB_METACARPAL on interface prototype object]
expected: FAIL
[XRHand interface: constant WRIST on interface object]
expected: FAIL
[XRHand interface: constant LITTLE_PHALANX_INTERMEDIATE on interface prototype object]
expected: FAIL
[XRJointSpace interface: existence and properties of interface object]
expected: FAIL
[XRHand interface: constant RING_PHALANX_TIP on interface object]
expected: FAIL
[XRHand interface: constant RING_PHALANX_DISTAL on interface object]
expected: FAIL
[XRHand interface: existence and properties of interface object]
expected: FAIL
[XRHand interface: constant INDEX_METACARPAL on interface object]
expected: FAIL
[XRHand interface: constant LITTLE_PHALANX_TIP on interface prototype object]
expected: FAIL
[XRHand interface: constant MIDDLE_PHALANX_PROXIMAL on interface prototype object]
expected: FAIL
[XRHand interface: constant LITTLE_PHALANX_DISTAL on interface prototype object]
expected: FAIL
[XRHand interface: constant INDEX_PHALANX_PROXIMAL on interface object]
expected: FAIL
[XRHand interface: existence and properties of interface prototype object's "constructor" property]
expected: FAIL
[XRHand interface: constant THUMB_PHALANX_TIP on interface object]
expected: FAIL
[XRJointSpace interface object length]
expected: FAIL
[XRHand interface: constant THUMB_PHALANX_DISTAL on interface object]
expected: FAIL
[XRJointPose interface object name]
expected: FAIL
[XRJointPose interface: existence and properties of interface prototype object's "constructor" property]
expected: FAIL
[XRHand interface: constant MIDDLE_PHALANX_INTERMEDIATE on interface object]
expected: FAIL
[XRHand interface: constant WRIST on interface prototype object]
expected: FAIL
[XRJointSpace interface: existence and properties of interface prototype object's @@unscopables property]
expected: FAIL
[XRHand interface: constant RING_PHALANX_INTERMEDIATE on interface object]
expected: FAIL
[XRFrame interface: operation fillPoses(sequence<XRSpace>, XRSpace, Float32Array)]
expected: FAIL
[XRHand interface: constant INDEX_PHALANX_INTERMEDIATE on interface object]
expected: FAIL
[XRHand interface: constant INDEX_PHALANX_DISTAL on interface object]
expected: FAIL
[XRHand interface: constant MIDDLE_PHALANX_DISTAL on interface prototype object]
expected: FAIL
[XRHand interface: constant LITTLE_METACARPAL on interface prototype object]
expected: FAIL
[XRHand interface: constant RING_METACARPAL on interface object]
expected: FAIL
[XRJointSpace interface: existence and properties of interface prototype object]
expected: FAIL
[XRJointPose interface: existence and properties of interface prototype object's @@unscopables property]
expected: FAIL
[XRJointPose interface object length]
expected: FAIL
[XRHand interface: constant MIDDLE_PHALANX_TIP on interface prototype object]
expected: FAIL
[XRHand interface: constant INDEX_METACARPAL on interface prototype object]
expected: FAIL
[XRHand interface: attribute length]
expected: FAIL
[XRHand interface object length]
expected: FAIL
[XRHand interface: constant MIDDLE_PHALANX_TIP on interface object]
expected: FAIL
[XRJointPose interface: existence and properties of interface prototype object]
expected: FAIL
[XRHand interface: operation joint(unsigned long)]
expected: FAIL
[XRHand interface: constant MIDDLE_METACARPAL on interface object]
expected: FAIL
[XRHand interface: constant MIDDLE_PHALANX_INTERMEDIATE on interface prototype object]
expected: FAIL
[XRHand interface: constant RING_PHALANX_PROXIMAL on interface prototype object]
expected: FAIL
[XRJointSpace interface object name]
expected: FAIL
[XRHand interface: constant LITTLE_PHALANX_PROXIMAL on interface object]
expected: FAIL
[XRHand interface: constant INDEX_PHALANX_PROXIMAL on interface prototype object]
expected: FAIL
[XRHand interface: existence and properties of interface prototype object]
expected: FAIL
[XRHand interface: constant LITTLE_METACARPAL on interface object]
expected: FAIL
[XRHand interface: constant MIDDLE_METACARPAL on interface prototype object]
expected: FAIL
[XRHand interface: iterable<XRHandJoint, XRJointSpace>]
expected: FAIL
[XRHand interface: operation get(XRHandJoint)]
expected: FAIL
[XRHand interface: attribute size]
expected: FAIL
[XRJointSpace interface: attribute jointName]
expected: FAIL

View file

@ -13466,7 +13466,7 @@
]
],
"interfaces.html": [
"ee31ffa62be1623831a6379ace46a4784df7608c",
"7a7d6c0a467ab2006d5edd9ef3a3b4a07f99cd64",
[
null,
{}

View file

@ -279,11 +279,14 @@ test_interfaces([
"XMLHttpRequestUpload",
"XMLSerializer",
"XRFrame",
"XRHand",
"XRHitTestResult",
"XRHitTestSource",
"XRInputSource",
"XRInputSourceArray",
"XRInputSourceEvent",
"XRJointPose",
"XRJointSpace",
"XRLayer",
"XRPose",
"XRReferenceSpace",