Changeset 269776 in webkit
- Timestamp:
- Nov 13, 2020 8:00:41 AM (3 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r269772 r269776 1 2020-11-13 Rob Buis <rbuis@igalia.com> 2 3 Null check anchorNode of endingSelection start 4 https://bugs.webkit.org/show_bug.cgi?id=218492 5 6 Reviewed by Alex Christensen. 7 8 Add testcase. 9 10 * editing/deleting/delete-contenteditable-crash-expected.txt: Added. 11 * editing/deleting/delete-contenteditable-crash.html: Added. 12 1 13 2020-11-13 Miguel Gomez <magomez@igalia.com> 2 14 -
trunk/Source/WebCore/ChangeLog
r269775 r269776 1 2020-11-13 Rob Buis <rbuis@igalia.com> 2 3 Null check anchorNode of endingSelection start 4 https://bugs.webkit.org/show_bug.cgi?id=218492 5 6 Reviewed by Alex Christensen. 7 8 Null check anchorNode of endingSelection start. 9 10 Test: editing/deleting/delete-contenteditable-crash.html 11 12 * editing/DeleteSelectionCommand.cpp: 13 (WebCore::DeleteSelectionCommand::mergeParagraphs): 14 1 15 2020-11-13 Aditya Keerthi <akeerthi@apple.com> 2 16 -
trunk/Source/WebCore/editing/DeleteSelectionCommand.cpp
r267363 r269776 762 762 763 763 // FIXME (Bug 211793): endingSelection() becomes disconnected in moveParagraph 764 if ( endingSelection().start().anchorNode()->isConnected())764 if (auto* anchorNode = endingSelection().start().anchorNode(); anchorNode && anchorNode->isConnected()) 765 765 m_endingPosition = endingSelection().start(); 766 766 }
Note: See TracChangeset
for help on using the changeset viewer.