Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upBasic XR Testing support #23485
Basic XR Testing support #23485
Conversation
highfive
commented
May 30, 2019
|
Heads up! This PR modifies the following files:
|
highfive
commented
May 30, 2019
|
LGTM with minor nits. |
| @@ -294,6 +294,8 @@ mod gen { | |||
| webxr: { | |||
| #[serde(default)] | |||
| enabled: bool, | |||
| #[serde(default)] | |||
| test: bool, | |||
This comment has been minimized.
This comment has been minimized.
asajeffrey
May 31, 2019
Member
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.
This comment has been minimized.
This comment has been minimized.
Manishearth
May 31, 2019
Author
Member
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 |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Manishearth
May 31, 2019
Author
Member
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 |
|
|
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 -->
|
|
|
@bors-servo r=asajeffrey |
|
|
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 -->
|
|
Manishearth commentedMay 30, 2019
•
edited by SimonSapin
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