Closed
Bug 775716
Opened 13 years ago
Closed 12 years ago
Warn of mousemove, and possibly mouseover and mouseout events
Categories
(addons.mozilla.org Graveyard :: Add-on Validation, defect)
addons.mozilla.org Graveyard
Add-on Validation
Tracking
(Not tracked)
RESOLVED
FIXED
2013-01-03
People
(Reporter: kmag, Assigned: basta)
Details
(Whiteboard: [ReviewTeam])
mousemove, mouseover, and mouseout events are dispatched with high frequency, and can cause major performance problems, especially when their handlers are expensive. When used judiciously for specific elements, they're relatively performant, but I've come across two add-ons using them with delegation on entire documents, which is not.
Assignee | ||
Comment 1•13 years ago
|
||
Can you provide a heuristic for detecting abuse of these?
Reporter | ||
Comment 2•13 years ago
|
||
A substring match would be fine. You're not likely to find those strings anywhere but an event listener. Add to the above list mouseenter and mouseleave, which are worse than mouseover and mouseout.
Comment 3•12 years ago
|
||
We want to look for mousemove, mouseover, and mouseout in add-on code.
Assignee: nobody → mattbasta
Target Milestone: --- → 2013-01-03
Assignee | ||
Comment 4•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Updated•9 years ago
|
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•