Closed Bug 1498465 Opened 6 years ago Closed 5 years ago

[wpt-sync] Sync PR 13477 - Compute azimuth correctly according to the spec

Categories

(Core :: Web Audio, enhancement, P4)

enhancement

Tracking

()

RESOLVED FIXED
mozilla67
Tracking Status
firefox67 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Raymond Toy <rtoy@chromium.org> wrote:
>  Compute azimuth correctly according to the spec
>  
>  The azimuth calculation is incorrect if one of the vectors is the
>  zero vector.  The spec handles this case correctly by just using the
>  dot product alone with "normalized" vectors instead of trying to
>  divide the dot product by the lengths.
>  
>  Bug: 893983
>  Test: panner-azimuth.html
>  Change-Id: I7f890ae3353a71ffccfc3138038572a8a18b2379
>  
>  Reviewed-on: https://chromium-review.googlesource.com/1277666
>  WPT-Export-Revision: 3d5fc0f6bf9142ee01afeb7a3eb3e45e8eea3198
Component: web-platform-tests → Web Audio
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Ran 2 tests and 83 subtests
OK     : 1
PASS   : 47
FAIL   : 36
TIMEOUT: 1
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/435944a148d6
[wpt PR 13477] - Compute azimuth correctly according to the spec, a=testonly
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/cb00507d73b6
[wpt PR 13477] - Compute azimuth correctly according to the spec, a=testonly
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
You need to log in before you can comment on or make changes to this bug.