It's only used in cases when we're returning an EventListener from a WebIDL method or getter, which never happens. And once bug 835643 is done we wouldn't reach this codepath no matter what.
Created attachment 742155 [details] [diff] [review] Remove dead WrapCallbackInterface code.
Attachment #742155 - Flags: review?(bugs)
Oh, with that patch if we _do_ try to return an EventListener, we'd just double-wrap it. Which is fine, I think.
Whiteboard: [need review]
Target Milestone: --- → mozilla23
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.