From 3affed096f405011f69002b3e4d07c358bc2e22a Mon Sep 17 00:00:00 2001 From: Marco Castelluccio Date: Fri, 20 Dec 2019 11:15:06 +0000 Subject: [PATCH] Bug 1603655 [wpt PR 20762] - Enabled unbounded reference spaces for OpenXR., a=testonly Automatic update from web-platform-tests Enabled unbounded reference spaces for OpenXR. Fixes: 1028408 Change-Id: I6315094b905bce84df92d74058ffb684a73a6fc1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1935727 Commit-Queue: Lachlan Ford Reviewed-by: Alexander Cooper Cr-Commit-Position: refs/heads/master{#724549} -- wpt-commits: 2d4403a68cb5a2dc8d1f942d188124cababbfb43 wpt-pr: 20762 UltraBlame original commit: ee8bf5c13ab7f936cc3f22e696f2aedde900ea52 --- .../tests/webxr/xrSession_requestReferenceSpace.https.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testing/web-platform/tests/webxr/xrSession_requestReferenceSpace.https.html b/testing/web-platform/tests/webxr/xrSession_requestReferenceSpace.https.html index 51aa8885f5e85..be97396041e17 100644 --- a/testing/web-platform/tests/webxr/xrSession_requestReferenceSpace.https.html +++ b/testing/web-platform/tests/webxr/xrSession_requestReferenceSpace.https.html @@ -43,13 +43,13 @@ }) ])) .then(() => { - if (!session.immersive) { + if (session.mode == 'inline') { // Bounded reference spaces are not allowed in inline sessions. return promise_rejects(t, "NotSupportedError", session.requestReferenceSpace('bounded-floor')) } }) .then(() => { - if (!session.immersive) { + if (session.mode == 'inline') { // Unbounded reference spaces are not allowed in inline sessions. return promise_rejects(t, "NotSupportedError", session.requestReferenceSpace('unbounded')) }