Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable XR WPT tests #23786

Merged
merged 7 commits into from Jul 17, 2019
Merged

add XREye.none

  • Loading branch information
Manishearth committed Jul 17, 2019
commit 7ccc7b3b493bbc2bb0a9a39cde770fc738ea6a0d
@@ -7,7 +7,7 @@
enum XREye {
"left",
"right",
"unknown",
"none",
};

[SecureContext, Exposed=Window, Pref="dom.webxr.enabled"]
@@ -42,7 +42,7 @@ impl XRViewerPose {
rooted_vec!(let mut views);
session.with_session(|s| match s.views() {
Views::Mono(view) => {
views.push(XRView::new(global, session, &view, XREye::Unknown, &pose))
views.push(XRView::new(global, session, &view, XREye::None, &pose))
},
Views::Stereo(left, right) => {
views.push(XRView::new(global, session, &left, XREye::Left, &pose));
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.