mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-25 20:01:50 +00:00

Apparently leaving these listeners registered can leak DOM windows (in some circumstances that I don't fully comprehend) which causes test failures when running on debug builds. At any rate, unregistering listeners on cleanup seems like a good thing to do. Differential Revision: https://phabricator.services.mozilla.com/D32185 --HG-- extra : moz-landing-system : lando