Closed
Bug 1826603
Opened 3 years ago
Closed 3 years ago
Don't dispatch transition events if there are no listeners
Categories
(Core :: CSS Transitions and Animations, enhancement, P3)
Core
CSS Transitions and Animations
Tracking
()
RESOLVED
FIXED
113 Branch
| Tracking | Status | |
|---|---|---|
| firefox113 | --- | fixed |
People
(Reporter: smaug, Assigned: smaug)
References
(Blocks 1 open bug)
Details
(Whiteboard: [sp3])
Attachments
(1 file)
Dispatching the events shows up a bit in the speedometer3.
Unfortunately we do need to create the events though, since they are queued and dispatched asynchronously and one can't know when a listener will be added.
We have still one spare bit in EventListenerManager, so we can optimize all the transition events as one group, but the setup will probably need to change, since there are also other events which could be optimized out. But for this, I'm planning to use still the old setup.
| Assignee | ||
Comment 1•3 years ago
|
||
Pushed by opettay@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/03675507093b
Don't dispatch transition events if there are no listeners, r=masayuki
Updated•3 years ago
|
Whiteboard: [sp3]
Updated•3 years ago
|
See Also: → https://mozilla-hub.atlassian.net/browse/SP3-314
Comment 3•3 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 3 years ago
status-firefox113:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 113 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•