TouchAdapter.jsm shouldn't use "mouseenter" and "mouseleave"

NEW
Assigned to

Status

()

6 years ago
3 years ago

People

(Reporter: masayuki, Assigned: eeejay)

Tracking

({perf, regression})

Trunk
perf, regression
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

http://mxr.mozilla.org/mozilla-central/source/accessible/src/jsat/TouchAdapter.jsm#66

mouseenter and mouseleave events shouldn't be used in chrome since adding listeners for them makes damage to the performance on the document.

Comment 1

6 years ago
Is this for Firefox OS or for Firefox for Android?
I don't know. Anyway, we need to avoid using them in chrome because if they're listened, nsEventStateManager needs to dispatch much a lot of those events.
https://developer.mozilla.org/ja/docs/DOM/DOM_event_reference/mouseenter

Updated

3 years ago
Summary: TouchAdapter.jsm shouldn't use "mosueenter" and "mouseleave" → TouchAdapter.jsm shouldn't use "mouseenter" and "mouseleave"
You need to log in before you can comment on or make changes to this bug.