[Webkit-unassigned] [Bug 35703] Add support for DOM Level 3 Custom Event

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 4 04:22:03 PST 2010


https://bugs.webkit.org/show_bug.cgi?id=35703





--- Comment #8 from Kenneth Rohde Christiansen <kenneth at webkit.org>  2010-03-04 04:22:02 PST ---
(In reply to comment #6)
> A couple of comments.
> - What is the use case for Custom Events?
> - Do any other browsers support it?
> - Instead of storing a DOMObject, this should probably store a protected
> JSValue, or a JSValue that is explicitly marked. You should also think about
> how this should work with other bindings.
> - This probably needs at least one test that tests the garbage collection
> aspect of this, making sure the detail object is kept alive by the event.

Great, thanks for the feedback, Sam.

Custom Events are nice for application development and so far people have been
emulating them using YUI or jQuery .bind().

Basically I'm implementing CustomEvent as it serves our needs and because I
didn't want to implement the event part of the W3C Widgets 1.0 spec as it has a
lot of issues and is in flux.

I will do the JSValue change.

Can you give me some hints on how to test the garbage collection?

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list