Closed Bug 875050 Opened 11 years ago Closed 11 years ago

Add EventListenerAdded/Removed to EventTarget

Categories

(Core :: DOM: Events, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla24

People

(Reporter: smaug, Assigned: smaug)

References

Details

Attachments

(4 files)

Attachment #752918 - Flags: review?(bzbarsky)
Attachment #752919 - Flags: review?(bzbarsky)
DeviceStorage is kind of odd beast and I didn't have any telephony stuff overriding AddEventListener in my tree.
Attachment #752920 - Flags: review?(bzbarsky)
Comment on attachment 752918 [details] [diff] [review]
make mTarget EventTarget

r=me
Attachment #752918 - Flags: review?(bzbarsky) → review+
Comment on attachment 752919 [details] [diff] [review]
EventListenerAdded/Removed

>+    mTarget->EventListenerAdded(aTypeAtom);

Why not do this at the end of the method?  Or at least after we finish touching "ls", just in case some bozo calls RemoveEventListener from EventListenerAdded...

r=me
Attachment #752919 - Flags: review?(bzbarsky) → review+
Comment on attachment 752920 [details] [diff] [review]
make WebSocket to use the new stuff

r=me

The telephony stuff just landed this morning.

Maybe file a followup on that and another one on the fact that devicestorage mishandles on* stuff?
Attachment #752920 - Flags: review?(bzbarsky) → review+
Blocks: 875545
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: