DescriptionDon't call Document::nodeWillRemoved() with a node in different document
This patch changes |ContainerNode::willRemoveChild()| not to call
|Document::nodeWillRemoved()| for a node in different document since we
assume |Document::nodeWillRemoved()| will be called for owner document.
This situation can be happened when DOM mutation event handler moves
a removing node to another document via |dispatchChildRemovalEvents()| call in
|ContainerNode::willRemoveChild()| at L439.
BUG=477584
TEST=LayoutTests/fast/dom/Range/range-dom-node-removed-assert.html
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=200791
Patch Set 1 : 2015-08-18T15:40:27 #
Total comments: 3
Patch Set 2 : 2015-08-18T17:03:20 Changes for review comments #
Messages
Total messages: 8 (3 generated)
|