Closed Bug 1547088 Opened 5 years ago Closed 5 years ago

[wpt-sync] Sync PR 16480 - Ensure XRRigidTransform inverse always returns the same object

Categories

(Testing :: web-platform-tests, defect, P4)

defect

Tracking

(firefox69 fixed)

RESOLVED FIXED
mozilla69
Tracking Status
firefox69 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 16480 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/16480
Details from upstream follow.

Alex Cooper <alcooper@chromium.org> wrote:

Ensure XRRigidTransform inverse always returns the same object

In order to comply with the WebXR spec, this ensures that both
XRRigidTransform.inverse() always returns the same object, and that a
call to inverse on that inverse returns the original object. This also
ensures that the idl is appropriately tagged. Some of the tests, which
were not creating the XRRigidTransform as a GarbageCollected object, had
to be changed. In order to keep consistency/this promise true in the
C++ code, the copy and assignment constructors had to be deleted as
well.

Bug:952972
Change-Id: I61c5fe4a22793837b443f44d3b67470726c2ada5
Reviewed-on: https://chromium-review.googlesource.com/1582977
WPT-Export-Revision: f0f723dd7a9e2672c649c4e4c3d85164f9561fad

Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/41b6202b0c10
[wpt PR 16480] - Ensure XRRigidTransform inverse always returns the same object, a=testonly
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla69
You need to log in before you can comment on or make changes to this bug.