DescriptionHave Node inherit EventTarget interface
Have Node inherit EventTarget interface to match the specification:
http://dom.spec.whatwg.org/#interface-node
Node and its subclasses need slightly different implementation for
addEventListener() / removeEventListener(). Namely, we should not
call createHiddenDependency() / removeHiddenDependency() for Node
and its subclasses. To address this issue, a EventTarget::toNode()
virtual method is used so that we can make the check at runtime.
BUG=257583
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=153955
Patch Set 1 #Patch Set 2 : Rebaseline binding tests #Patch Set 3 : Rebase on master #Patch Set 4 : use EventTarget::toNode() instead of introducing a new method #Patch Set 5 : Rebase on master #
Messages
Total messages: 12 (0 generated)
|