webxr: Implement XRBoundedReferenceSpace (#33176)

* Implement XRBoundedReferenceSpace

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

* Update expectations

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

* Update interfaces

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

* Add missing pref condition on IDL 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-25 13:53:39 -10:00 committed by GitHub
parent e0e562137c
commit c028b5c299
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
15 changed files with 146 additions and 72 deletions

View file

@ -17,27 +17,18 @@
[XRRay interface object length]
expected: FAIL
[XRBoundedReferenceSpace interface object length]
expected: FAIL
[XRRay interface: attribute matrix]
expected: FAIL
[XRReferenceSpaceEvent interface object length]
expected: FAIL
[XRBoundedReferenceSpace interface: existence and properties of interface prototype object's "constructor" property]
expected: FAIL
[XRReferenceSpaceEvent interface: existence and properties of interface object]
expected: FAIL
[XRReferenceSpaceEvent interface: attribute transform]
expected: FAIL
[XRBoundedReferenceSpace interface: existence and properties of interface object]
expected: FAIL
[XRRay interface: attribute direction]
expected: FAIL
@ -50,12 +41,6 @@
[XRRay interface: existence and properties of interface object]
expected: FAIL
[XRBoundedReferenceSpace interface: existence and properties of interface prototype object's @@unscopables property]
expected: FAIL
[XRBoundedReferenceSpace interface: attribute boundsGeometry]
expected: FAIL
[XRReferenceSpaceEvent interface object name]
expected: FAIL
@ -86,12 +71,6 @@
[XR interface: operation supportsSession(XRSessionMode)]
expected: FAIL
[XRBoundedReferenceSpace interface object name]
expected: FAIL
[XRBoundedReferenceSpace interface: existence and properties of interface prototype object]
expected: FAIL
[XR interface: calling requestSession(XRSessionMode, XRSessionInit) on navigator.xr with too few arguments must throw TypeError]
expected: FAIL

View file

@ -1,7 +1,6 @@
[xrReferenceSpace_originOffsetBounded.https.html]
expected: ERROR
[Updating XRBoundedReferenceSpace origin offset updates view, input matrices, and bounds geometry. - webgl]
expected: TIMEOUT
expected: FAIL
[Updating XRBoundedReferenceSpace origin offset updates view, input matrices, and bounds geometry. - webgl2]
expected: NOTRUN
expected: FAIL

View file

@ -1,7 +0,0 @@
[xrReferenceSpace_relationships.https.html]
expected: ERROR
[Bounded space, viewer space, local and local-floor space have correct poses w.r.t. each other - webgl2]
expected: NOTRUN
[Bounded space, viewer space, local and local-floor space have correct poses w.r.t. each other - webgl]
expected: TIMEOUT

View file

@ -53,9 +53,6 @@
[Stringification of xrReferenceSpace]
expected: FAIL
[XRBoundedReferenceSpace interface object length]
expected: FAIL
[XRWebGLLayer interface: xrWebGLLayer must inherit property "framebuffer" with the proper type]
expected: FAIL
@ -89,9 +86,6 @@
[XRReferenceSpace must be primary interface of xrReferenceSpace]
expected: FAIL
[XRBoundedReferenceSpace interface: existence and properties of interface prototype object's "constructor" property]
expected: FAIL
[XRReferenceSpaceEvent interface: existence and properties of interface object]
expected: FAIL
@ -119,9 +113,6 @@
[XRReferenceSpaceEvent interface: attribute transform]
expected: FAIL
[XRBoundedReferenceSpace interface: existence and properties of interface object]
expected: FAIL
[XRInputSourcesChangeEvent interface: xrInputSourcesChangeEvent must inherit property "added" with the proper type]
expected: FAIL
@ -161,18 +152,12 @@
[XRSession interface: xrSession must inherit property "onsqueezeend" with the proper type]
expected: FAIL
[XRBoundedReferenceSpace interface: existence and properties of interface prototype object's @@unscopables property]
expected: FAIL
[XRPermissionStatus interface object name]
expected: FAIL
[XRRenderState interface: xrRenderState must inherit property "inlineVerticalFieldOfView" with the proper type]
expected: FAIL
[XRBoundedReferenceSpace interface: attribute boundsGeometry]
expected: FAIL
[XRSession interface: calling cancelAnimationFrame(long) on xrSession with too few arguments must throw TypeError]
expected: FAIL
@ -227,9 +212,6 @@
[XRSessionEvent must be primary interface of xrSessionEvent]
expected: FAIL
[XRBoundedReferenceSpace interface object name]
expected: FAIL
[XRRenderState interface: xrRenderState must inherit property "depthFar" with the proper type]
expected: FAIL
@ -242,9 +224,6 @@
[XRSession interface: calling updateRenderState(optional XRRenderStateInit) on xrSession with too few arguments must throw TypeError]
expected: FAIL
[XRBoundedReferenceSpace interface: existence and properties of interface prototype object]
expected: FAIL
[Stringification of xrInputSourceArray]
expected: FAIL

View file

@ -1,7 +1,6 @@
[xrReferenceSpace_originOffsetBounded.https.html]
expected: ERROR
[Updating XRBoundedReferenceSpace origin offset updates view, input matrices, and bounds geometry. - webgl]
expected: TIMEOUT
expected: FAIL
[Updating XRBoundedReferenceSpace origin offset updates view, input matrices, and bounds geometry. - webgl2]
expected: NOTRUN
expected: FAIL

View file

@ -1,7 +0,0 @@
[xrReferenceSpace_relationships.https.html]
expected: ERROR
[Bounded space, viewer space, local and local-floor space have correct poses w.r.t. each other - webgl2]
expected: NOTRUN
[Bounded space, viewer space, local and local-floor space have correct poses w.r.t. each other - webgl]
expected: TIMEOUT

View file

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

View file

@ -278,6 +278,7 @@ test_interfaces([
"XMLHttpRequestEventTarget",
"XMLHttpRequestUpload",
"XMLSerializer",
"XRBoundedReferenceSpace",
"XRFrame",
"XRHand",
"XRHitTestResult",