[Webkit-unassigned] [Bug 23318] click event listener remains registered after onclick attribute is removed

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 14 09:35:04 PST 2009


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





------- Comment #4 from darin at apple.com  2009-01-14 09:35 PDT -------
(In reply to comment #3)
>     EventTargetNode::setOnclick will call
>     EventTargetNode::setInlineEventListenerForType, which will call
>     EventTargetNode::removeInlineEventListenerForType, which will remove the
> listener that was added

Oops, that's when the onclick JavaScript property is set.

If you do removeAttribute, then it's different. I'll add comments about that
now.


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