DescriptionAlways remove registered handlers for deleted node
When a Node is about to get deleted from the Document, we should always
remove any event handlers it has registered to the EventHandlerRegistry
-- regardless of whether the Node has EventTargetData or not. This is
because native code may register nodes as having handlers without
actually inserting any handlers in in the node's event target data.
BUG=393312, 393154
TEST=WebViewTest.DeleteElementWithRegisteredHandler
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=178366
Patch Set 1 #Patch Set 2 : Rebased. #Patch Set 3 : Clarifying comment. #
Messages
Total messages: 9 (0 generated)
|