Skip to content

Commit

Permalink
Bug 1603655 [wpt PR 20762] - Enabled unbounded reference spaces for O…
Browse files Browse the repository at this point in the history
…penXR., 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 <lafordmicrosoft.com>
Reviewed-by: Alexander Cooper <alcooperchromium.org>
Cr-Commit-Position: refs/heads/master{#724549}

--

wpt-commits: 2d4403a68cb5a2dc8d1f942d188124cababbfb43
wpt-pr: 20762

UltraBlame original commit: ee8bf5c13ab7f936cc3f22e696f2aedde900ea52
  • Loading branch information
marco-c committed Dec 20, 2019
1 parent 90b8c60 commit 3affed0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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'))
}
Expand Down

0 comments on commit 3affed0

Please sign in to comment.