[Webkit-unassigned] [Bug 18785] Event dispatch should avoid malloc by using EventPromise

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 28 09:36:12 PDT 2008


------- Comment #1 from darin at apple.com  2008-04-28 09:36 PDT -------
Once version of the idea here is that the EventPromise has enough functions in
it to do everything in the dispatching process except for dispatching to
JavaScript. So as long as there are no JavaScript event handlers, you can just
use the stack-based one.

Another version, probably better, is that EventPromise simply has enough in it
for simpler events; ones that are dispatched in response to engine events and
that have very little data in them. For more complex events like keyboard
events the EventPromise would simply wrap an already-created Event object of
the appropriate subclass.

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

More information about the webkit-unassigned mailing list