Closed mockdeep closed 9 years ago
What version of Firefox did that argument become optional in?
It looks like it became optional in version 6. We're still seeing some users as far back as Firefox 3.6, so figured this would be an easy way to support them.
This was required in older versions of Firefox, though it's optional now.
https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/removeEventListener