[Webkit-unassigned] [Bug 21044] New: JSEventTarget* classes assume each listener is a JSEventListener
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Sep 23 16:22:46 PDT 2008
https://bugs.webkit.org/show_bug.cgi?id=21044
Summary: JSEventTarget* classes assume each listener is a
JSEventListener
Product: WebKit
Version: 528+ (Nightly build)
Platform: Macintosh
OS/Version: Mac OS X 10.5
Status: NEW
Severity: Normal
Priority: P2
Component: WebCore JavaScript
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: zimmermann at kde.org
CC: eric at webkit.org, sam at webkit.org
As the summary, says JSEventTargetNode::getListener function blindly casts an
EventListener object to a JSEventListener. This will fail if ie. it's actually
an ObjCEventListener.
The getListener/setListener functions of the JSEventTarget* classes are only
used when calling someElement.onclick = '...' or
someElement.onclick.handleEvent(..). The official DOM methods are not affected.
--
Configure bugmail: https://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