Remove unused WrapCallbackInterface method

RESOLVED FIXED in mozilla23

Status

()

Core
DOM
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: bz, Assigned: bz)

Tracking

unspecified
mozilla23
x86
Mac OS X
Points:
---
Bug Flags:
in-testsuite -

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

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.

Updated

5 years ago
Attachment #742155 - Flags: review?(bugs) → review+
https://hg.mozilla.org/integration/mozilla-inbound/rev/03423d078b99
Flags: in-testsuite-
Whiteboard: [need review]
Target Milestone: --- → mozilla23
https://hg.mozilla.org/mozilla-central/rev/03423d078b99
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.