Closed Bug 2077269 Opened 1 month ago Closed 1 month ago

[wpt-sync] Sync PR 63169 - [chromium-bidi] Fix touch altitudeAngle and azimuthAngle precision

Categories

(Remote Protocol :: Marionette, task, P4)

task

Tracking

(firefox160 fixed)

RESOLVED FIXED
160 Branch
Tracking Status
firefox160 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

(Blocks 1 open bug, )

Details

(Whiteboard: [wptsync downstream])

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

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

Maksim Sadym <sadym@chromium.org> wrote:

[chromium-bidi] Fix touch altitudeAngle and azimuthAngle precision

  • Preserve floating-point precision when converting pointer
    altitudeAngle and azimuthAngle to CDP tiltX and tiltY, and
    update WPT pointer_touch.py expectations.
  • Previously, getTilt() rounded tiltX and tiltY degrees to
    integers before dispatching to CDP, causing Blink's reverse
    trigonometric conversion to produce inaccurate altitudeAngle and
    azimuthAngle values on PointerEvent.
  • Pass unrounded floating-point tiltX and tiltY degrees to CDP and
    use pytest.approx for floating-point angle assertions in WPT.

Bug: 411434110
Cq-Include-Trybots: luci.chromium.try:linux-webdriver-bidi-rel
Include-Ci-Only-Tests: chromium.linux:Linux Tests|webdriver_wpt_tests
Change-Id: Ic37c44054c48ba26ae246c879b395fdc6bc54842
Reviewed-on: https://chromium-review.googlesource.com/8500576
WPT-Export-Revision: 223cf0143dbc0741935409e29fe23aa41dce8e36

Component: web-platform-tests → Marionette
Product: Testing → Remote Protocol
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]

CI Results

Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 48 tests and 6 subtests

Status Summary

Firefox

OK : 2[GitHub] 48[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
PASS : 30[GitHub] 1355[Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview] 1356[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-linux2204-64-wayland-debug, Gecko-linux2404-64-debug, Gecko-windows11-64-25h2-debug] 1357[Gecko-linux2204-64-wayland-opt, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-opt]
FAIL : 1[GitHub] 24[Gecko-linux2204-64-wayland-opt, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-opt] 25[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-linux2204-64-wayland-debug, Gecko-linux2404-64-debug, Gecko-windows11-64-25h2-debug] 26[Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview]

Chrome

OK : 2
PASS : 23
FAIL : 8

Safari

OK : 2
PASS : 6
FAIL : 12
ERROR: 13

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 160 Branch
You need to log in before you can comment on or make changes to this bug.