Files
firefox/devtools/shared/tests
Nicolas Chevobbe b43eb423f9 Bug 1603035 - Return a function from EventEmitter.on that removes the event listener when called. r=rcaliman.
This will be helpful when consumers don't want to
keep the target around.
A test is added to ensure this work as expected (and
was failing if the returned function does not call
EventEmitter.off).

Differential Revision: https://phabricator.services.mozilla.com/D56685
2019-12-13 13:55:23 +00:00
..