mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-27 13:40:37 -10:00
The AnimationPlayerFront needs to emit events when its auto-refresh mode is enabled, whenever the state changes. Until now, it was doing so with EventEmitter. But because decorating the class with EventEmitter adds on/once/off functions to the instance, it ends up hiding the on/once/off functions that were already there because the class extends addon sdk EventTarget.