Closed Bug 2075366 Opened 2 months ago Closed 1 month ago

[wpt-sync] Sync PR 62939 - wdspec: Should not dispatch mousemove if already at target

Categories

(Remote Protocol :: Marionette, task, P4)

task

Tracking

(firefox160 fixed)

RESOLVED FIXED
160 Branch
Tracking Status
firefox160 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Euclid Ye <yezhizhenjiakang@gmail.com> wrote:

wdspec: Should not dispatch mousemove if already at target

This is a regression introduced in Gecko export https://github.com/web-platform-tests/wpt/pull/56013.
We should only dispatch pointermove if target is different from current pointer position, which is step 7 of perform a pointer move. And by default, a pointer when created is at (0,0): https://w3c.github.io/webdriver/#dfn-create-a-pointer-input-source

Also fixed a Servo typo.

Testing: Now Servo/Firefox correctly pass these this specific case of test.
Reviewed in servo/servo#48365

Component: web-platform-tests → Marionette
Product: Testing → Remote Protocol
Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → INVALID
Status: RESOLVED → REOPENED
Resolution: INVALID → ---

CI Results

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

Total 27 tests and 6 subtests

Status Summary

Firefox

OK : 1[GitHub] 27[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: 26[GitHub] 717[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-linux2204-64-wayland-debug, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug] 718[Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2204-64-wayland-opt, Gecko-windows11-64-25h2-opt]
FAIL: 1[GitHub] 12[Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2204-64-wayland-opt, Gecko-windows11-64-25h2-opt] 13[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-linux2204-64-wayland-debug, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug]

Chrome

OK : 1
PASS: 22
FAIL: 5

Safari

OK : 1
PASS: 19
FAIL: 8

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Status: REOPENED → RESOLVED
Closed: 1 month ago → 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.