DescriptionFrameSelection::setSelection should validate a given VisibleSelection.
When executing editing commands, endingSelection is valid.
However, if undo some commands, endingSelection might be invalid and
FrameSelection might be updated by the invalid selection.
i.e. the selection might be owned by another document without any frames.
BUG=368978
TEST=Source/core/editing/FrameSelectionTest
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=179003
Patch Set 1 : WIP #
Total comments: 1
Patch Set 2 : #Patch Set 3 : #Patch Set 4 : #
Total comments: 4
Patch Set 5 : Updated TestExpectations #Patch Set 6 : Fixed FrameSelectionTest.cpp #
Total comments: 22
Patch Set 7 : #
Messages
Total messages: 17 (0 generated)
|