Commit 7832690c authored by Jacob DeWitt's avatar Jacob DeWitt Committed by Commit Bot

WPT test to verify XRRigidTransform.matrix is SameObject

Bug: 995845
Change-Id: I830f5c9b1eac21b37f4ac534b0c862b8265265e7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1761437
Commit-Queue: Jacob DeWitt <jacde@chromium.org>
Commit-Queue: Alexander Cooper <alcooper@chromium.org>
Auto-Submit: Jacob DeWitt <jacde@chromium.org>
Reviewed-by: default avatarAlexander Cooper <alcooper@chromium.org>
Cr-Commit-Position: refs/heads/master@{#688632}
parent a94478c0
......@@ -22,11 +22,14 @@ let testFunction =
let position = transform.position;
let orientation = transform.orientation;
let matrix = transform.matrix;
t.step(() => {
assert_equals(position, transform.position,
"XRRigidTransform.position returns the same object.");
assert_equals(orientation, transform.orientation,
"XRRigidTransform.orientation returns the same object.");
assert_equals(matrix, transform.matrix,
"XRRigidTransform.matrix returns the same object.");
});
resolve();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment