DescriptionCheck the traversal state in CompositeEditCommand::cloneParagraphUnderNewElement.
CompositeEditCommand::cloneParagraphUnderNewElement(const Position& start, const Position& end, Node* passedOuterNode, Element* blockElement) copies target elements between |start| and |end| to |blockElement|.
This function can crash if it traverses on a strange tree.
The root issue of issue 338558 is that it inserts a node after a node which has no parent.
BUG=338558
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=172967
Patch Set 1 #
Total comments: 8
Patch Set 2 : Update test #
Total comments: 8
Patch Set 3 : Nit pick #
Messages
Total messages: 10 (0 generated)
|