Closed Bug 1641074 Opened 4 years ago Closed 4 years ago

mousemove events fired when the mouse doesn't move when the pointer is locked

Categories

(Core :: DOM: UI Events & Focus Handling, defect)

77 Branch
defect

Tracking

()

RESOLVED DUPLICATE of bug 1254044

People

(Reporter: mozilla.ulsb6, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:77.0) Gecko/20100101 Firefox/77.0

Steps to reproduce:

Created this script: https://jsbin.com/yoxazovuxu/edit?html,js,console,output.
When you click on output, it locks the pointer and prints in the console for each mousemove event.

Actual results:

Values are printed in the console even if the mouse doesn't move.

Expected results:

No mousemove event should be fired if the mouse doesn't move.

Component: Untriaged → DOM: Events
Product: Firefox → Core
Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Component: DOM: Events → DOM: UI Events & Focus Handling
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.