Repository navigation
Basic XR Testing support - #23485
Basic XR Testing support#23485
Conversation
|
Heads up! This PR modifies the following files:
|
asajeffrey
left a comment
There was a problem hiding this comment.
LGTM with minor nits.
| #[serde(default)] | ||
| enabled: bool, | ||
| #[serde(default)] | ||
| test: bool, |
There was a problem hiding this comment.
A bit annoying that this does something different than dom.webvr.test which renders to a GLWindow. At some point we'll have to come up with consistent naming.
There was a problem hiding this comment.
I'm also okay with this rendering to a GLWindow in the future, but I'd have to teach the mock backend about it
| } | ||
|
|
||
| impl FakeXRDeviceControllerMethods for FakeXRDeviceController { | ||
| // check-tidy: no specs after this line |
There was a problem hiding this comment.
there's no spec! there's https://github.com/immersive-web/webxr-test-api , but it's not really a spec. I've linked to it in a bunch of places
|
@bors-servo r=asajeffrey |
|
📌 Commit 001eb53 has been approved by |
Basic XR Testing support This adds support for the XRTest and FakeXRDeviceController APIs from https://github.com/immersive-web/webxr-test-api, and plugs them into the `mock` backend of rust-webvr. Tested with [a modified webxr test page](https://github.com/immersive-web/webxr-test-api) r? @jdm @asajeffrey <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23485) <!-- Reviewable:end -->
|
💔 Test failed - linux-rel-css |
|
@bors-servo r=asajeffrey |
|
📌 Commit c2d4900 has been approved by |
Basic XR Testing support This adds support for the XRTest and FakeXRDeviceController APIs from https://github.com/immersive-web/webxr-test-api, and plugs them into the `mock` backend of rust-webvr. Tested with [a modified webxr test page](https://github.com/immersive-web/webxr-test-api) r? @jdm @asajeffrey <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23485) <!-- Reviewable:end -->
|
☀️ Test successful - arm64, linux-rel-css, linux-rel-wpt, status-taskcluster |
This adds support for the XRTest and FakeXRDeviceController APIs from https://github.com/immersive-web/webxr-test-api, and plugs them into the
mockbackend of rust-webvr.Tested with a modified webxr test page
r? @jdm @asajeffrey
This change is