Bug 1596891 [wpt PR 20278] - Remove size_x and size_z from VRStageParameters, a=testonly
authorAlex Cooper <alcooper@chromium.org>
Tue, 26 Nov 2019 11:32:16 +0000
changeset 504667 fd2733a21d9fbf4bdb791b686b15e9750607df96
parent 504666 af1ec9874836e7584bbfcdbd34e19b7238d07448
child 504668 7a8a5e00786bf80508d93a54aef241b7dc0fbc7c
push id36862
push useraciure@mozilla.com
push dateFri, 29 Nov 2019 21:26:53 +0000
treeherdermozilla-central@b4b10ae558b9 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstestonly
bugs1596891, 20278, 1017843, 1918037, 718364
milestone72.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1596891 [wpt PR 20278] - Remove size_x and size_z from VRStageParameters, a=testonly Automatic update from web-platform-tests Remove size_x and size_z from VRStageParameters The notion of a simple "size" for Stage Parameters/bounded was a WebVr concept that did not carry over to WebXr. To simplify the mojom, move the "conversion" of square stages (for those runtimes that only support giving size x/z) down into a utility function in the device process. Bug: 1017843 Change-Id: Ib050a7ea3655a3816f6008e82434435ecb2c4426 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1918037 Commit-Queue: Alexander Cooper <alcooper@chromium.org> Reviewed-by: Daniel Cheng <dcheng@chromium.org> Reviewed-by: Brandon Jones <bajones@chromium.org> Reviewed-by: Klaus Weidner <klausw@chromium.org> Cr-Commit-Position: refs/heads/master@{#718364} -- wpt-commits: 0c3a6b1df6317496373d9ce3044d19704e9a6379 wpt-pr: 20278
testing/web-platform/tests/resources/chromium/webxr-test.js
--- a/testing/web-platform/tests/resources/chromium/webxr-test.js
+++ b/testing/web-platform/tests/resources/chromium/webxr-test.js
@@ -6,18 +6,16 @@
 
 let default_standing = new gfx.mojom.Transform();
 default_standing.matrix = [1, 0, 0, 0,
                            0, 1, 0, 0,
                            0, 0, 1, 0,
                            0, 1.65, 0, 1];
 const default_stage_parameters = {
   standingTransform: default_standing,
-  sizeX: 0,
-  sizeZ: 0,
   bounds: null
 };
 
 function getMatrixFromTransform(transform) {
   let x = transform.orientation[0];
   let y = transform.orientation[1];
   let z = transform.orientation[2];
   let w = transform.orientation[3];