Closed Bug 1450182 Opened 6 years ago Closed 6 years ago

Remove the EventListenerWasAdded/Removed hooks from DOMEventTargetHelper

Categories

(Core :: DOM: Events, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla61
Tracking Status
firefox61 --- fixed

People

(Reporter: bzbarsky, Assigned: bzbarsky)

Details

Attachments

(1 file)

We already have an EventListenerAdded/Removed hook.  We should just use that.

It does involve a bit more codegen work, but simplifies the DOMEventTargetHelper setup and removes some vtable bits.  And generates smaller code in the codegen, too.
MozReview-Commit-ID: GWnAvK61hVT
Attachment #8963867 - Flags: review?(bugs)
Attachment #8963867 - Flags: review?(bugs) → review+
Pushed by bzbarsky@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/1c00083d6616
Remove the EventListenerWasAdded/Removed hooks from DOMEventTargetHelper.  r=smaug
https://hg.mozilla.org/mozilla-central/rev/1c00083d6616
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla61
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: