[Webkit-unassigned] [Bug 28709] WebCore: Make both Node::setAttributeEventListener and Node::setOnEvent forward listener to DOM window when necessary.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Aug 28 06:49:27 PDT 2009


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





--- Comment #6 from Vitaly Repeshko <vitalyr at chromium.org>  2009-08-28 06:49:27 PDT ---
(In reply to comment #4)
> A better solution here is to make V8 bindings use an approach similar to JSC
> and to make the function private. I'll post an updated patch soon.

Sam,

The cleanup part of this turns out be less trivial than changing the visibility
modifier of Node::{set,get,clear}AttributeEventListener. These functions are
called by classes that are neither from V8 bindings (which I fixed) nor Node
descendants. All these calls use statically known event names (i.e. they all
look like node->getAttributeEventListener(eventNames().foo)), but some of these
event names have no corresponding Node::{setOn,on}Event accessors. So I think
Node::{set,get,clear}AttributeEventListener have to stay unchanged.

-- 
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