Closed Bug 1862582 Opened 1 year ago Closed 1 year ago

[wpt-sync] Sync PR 42908 - Make `moveToDocument` move pointer to non-(0, 0) position first

Categories

(Core :: DOM: Events, task, P4)

task

Tracking

()

RESOLVED FIXED
121 Branch
Tracking Status
firefox121 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Masayuki Nakano <masayuki@d-toybox.com> wrote:

Make moveToDocument move pointer to non-(0, 0) position first

WebDriver spec defines that the pointer position should be initialized to (0, 0) by default. Therefore, a call of pointerMove(0, 0) at first time may be no-op. Therefore, pointer should be moved to different point, (1, 1), first. Then, moving to (0, 0) causes pointerover, mouseover, etc as expected by some tests.

https://github.com/web-platform-tests/interop/issues/601

Component: web-platform-tests → DOM: Events
Product: Testing → Core
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f7a334af27c7 [wpt PR 42908] - Make `moveToDocument` move pointer to non-(0, 0) position first, a=testonly https://hg.mozilla.org/integration/autoland/rev/162c3dc4cd58 [wpt PR 42908] - Update wpt metadata, a=testonly
Test result changes from PR not available.
Test result changes from PR not available.
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/fa0496864e4c [wpt PR 42908] - Make `moveToDocument` move pointer to non-(0, 0) position first, a=testonly https://hg.mozilla.org/integration/autoland/rev/e6139574db52 [wpt PR 42908] - Update wpt metadata, a=testonly
Test result changes from PR not available.

(In reply to Pulsebot from comment #5)

https://hg.mozilla.org/integration/autoland/rev/e6139574db52
[wpt PR 42908] - Update wpt metadata, a=testonly

Looks like that the instances of the tasks hit unknown intermittent failures because the tests do not use moveToDocument function...

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