Closed Bug 1690580 Opened 3 years ago Closed 2 years ago

synthesizeNativeMouseMove() and synthesizeNativeMouseClick() use the wrong window to calculate coords

Categories

(Testing :: Mochitest, defect, P3)

Firefox 87
defect

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: TbSync, Assigned: TbSync)

References

Details

Attachments

(1 file)

Both functions use "window" instead of "aWindow", which causes the destination coords being calculated wrong.

https://searchfox.org/mozilla-central/rev/927e525f481a93a8f63d27a78ae6201e42b1b1fb/testing/mochitest/tests/SimpleTest/EventUtils.js#1029

Assignee: nobody → john
Blocks: 1691622
Severity: -- → S3
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
OS: Unspecified → All
Priority: -- → P3
Hardware: Unspecified → All

This has already been fixed by merging synthesizeNativeMouseClick and synthesizeNativeMouseMove into synthesizeNativeMouseEvent.

Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: