Closed
Bug 1245484
Opened 9 years ago
Closed 7 years ago
eslint: Add a warning when synthesizeMouse is used - Please use synthesizeMouseAtCenter or e.g. node.click() if possible
Categories
(DevTools :: General, defect)
DevTools
General
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: miker, Unassigned)
Details
A common error in tests when using synthesizeMouse is failing to correctly calculate the center of a node. We should have an eslint warning saying that it is better to use synthesizeMouseAtCenter or even e.g. node.click() if possible (which works when the element is offscreen).
Updated•7 years ago
|
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
Updated•7 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•