[wpt-sync] Sync PR 28372 - WebXR: fix getPose() logic
Categories
(Core :: WebVR, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox89 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 28372 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/28372
Details from upstream follow.
b'Piotr Bialecki <bialpio@chromium.org>' wrote:
WebXR: fix getPose() logic
XRFrame::getPose() should work for spaces when the relationship between
them is known even if we have not received any poses from the device.
This means that getPose(x, x) should return identity, and getPose(x, y)
should also return something if y and x are statically offset from each
other. XRFrame::getViewerPose(viewerSpace) should also follow the same
rules.Also adds WPT to test the behavior and removes null checks in getPose()
and getViewerPose() - the non-nullability is enforced by the bindings.Change-Id: If0119c834cfb6e0233d3152b840b0628a571fb4e
Reviewed-on: https://chromium-review.googlesource.com/2803481
WPT-Export-Revision: 054325700a4ed4883b6dc35af9cf78bc423dadc5
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 1•3 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=ec8a1f855c88be2474a17ec79d8abd12a467b58f
Assignee | ||
Comment 2•3 years ago
|
||
CI Results
Ran 15 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests and 2 subtests
Status Summary
Firefox
ERROR: 1
Chrome
OK : 1
FAIL : 2
Safari
ERROR: 1
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
/webxr/xrFrame_getViewerPose_getPose_identities.https.html: ERROR [Gecko-linux1804-64-debug
, Gecko-linux1804-64-opt
, Gecko-linux1804-64-qr-debug
, Gecko-linux1804-64-qr-opt
, Gecko-linux1804-64-tsan-opt
, Gecko-windows10-64-debug
, Gecko-windows10-64-opt
, Gecko-windows10-64-qr-debug
, Gecko-windows10-64-qr-opt
, Gecko-windows7-32-debug
, Gecko-windows7-32-opt
, GitHub
], SKIP [Gecko-android-em-7.0-x86_64-debug-geckoview
, Gecko-android-em-7.0-x86_64-opt-geckoview
, Gecko-android-em-7.0-x86_64-qr-debug-geckoview
, Gecko-android-em-7.0-x86_64-qr-opt-geckoview
] (Chrome: OK, Safari: ERROR)
Tests Disabled in Gecko Infrastructure
/webxr/xrFrame_getViewerPose_getPose_identities.https.html: ERROR [Gecko-linux1804-64-debug
, Gecko-linux1804-64-opt
, Gecko-linux1804-64-qr-debug
, Gecko-linux1804-64-qr-opt
, Gecko-linux1804-64-tsan-opt
, Gecko-windows10-64-debug
, Gecko-windows10-64-opt
, Gecko-windows10-64-qr-debug
, Gecko-windows10-64-qr-opt
, Gecko-windows7-32-debug
, Gecko-windows7-32-opt
, GitHub
], SKIP [Gecko-android-em-7.0-x86_64-debug-geckoview
, Gecko-android-em-7.0-x86_64-opt-geckoview
, Gecko-android-em-7.0-x86_64-qr-debug-geckoview
, Gecko-android-em-7.0-x86_64-qr-opt-geckoview
] (Chrome: OK, Safari: ERROR)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c59a01433bcc [wpt PR 28372] - WebXR: fix getPose() logic, a=testonly https://hg.mozilla.org/integration/autoland/rev/1af183a7450e [wpt PR 28372] - Update wpt metadata, a=testonly
Comment 4•3 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/c59a01433bcc
https://hg.mozilla.org/mozilla-central/rev/1af183a7450e
Description
•