gecko-dev/editor/libeditor
Masayuki Nakano 60979a1af3 Bug 1820905 - Make HTMLEditor::SplitNodeWithTransaction return NS_ERROR_EDITOR_UNEXPECTED_DOM_TREE if split nodes have been removed from the DOM tree r=m_kato
If one of them are removed from the DOM tree, it's hard to keep handling it
since we have both split direction paths.  Therefore, let's just return error
but not throw new exception in the case.

Differential Revision: https://phabricator.services.mozilla.com/D172205
2023-03-13 18:31:00 +00:00
..
crashtests Bug 1814074 - Make AutoDeleteRangesHandler::ExtendOrShrinkRangeToDelete consider whether all list items are selected more carefully r=m_kato 2023-02-14 03:05:48 +00:00
tests Bug 1815827 - part 5: Get rid of editor.resizing.preserve_ratio pref r=m_kato 2023-02-21 22:54:26 +00:00
AutoRangeArray.cpp Bug 1818339 - Make AutoRangeArray set mAnchorFocusRange correctly r=m_kato 2023-02-28 00:46:17 +00:00
AutoRangeArray.h Bug 1811409 - part 4: Make AutoMoveOneLineHandler never split container of insertion point r=m_kato 2023-02-03 05:19:42 +00:00
ChangeAttributeTransaction.cpp
ChangeAttributeTransaction.h
ChangeStyleTransaction.cpp
ChangeStyleTransaction.h
CompositionTransaction.cpp
CompositionTransaction.h
CSSEditUtils.cpp Bug 1815827 - part 1: Get rid of editor.css.default_length_unit pref r=m_kato 2023-02-21 22:54:24 +00:00
CSSEditUtils.h Bug 1815827 - part 1: Get rid of editor.css.default_length_unit pref r=m_kato 2023-02-21 22:54:24 +00:00
DeleteContentTransactionBase.cpp Bug 1797247 - part 1: Add delete transaction classes to use build time type checks r=m_kato 2023-02-15 22:17:17 +00:00
DeleteContentTransactionBase.h Bug 1797247 - part 1: Add delete transaction classes to use build time type checks r=m_kato 2023-02-15 22:17:17 +00:00
DeleteMultipleRangesTransaction.cpp Bug 1797247 - part 2: Make DeleteTextTransaction::DoTransaction and DeleteRangeTransaction::DoTransaction stop updating Selection directly r=m_kato 2023-02-15 22:23:34 +00:00
DeleteMultipleRangesTransaction.h Bug 1797247 - part 2: Make DeleteTextTransaction::DoTransaction and DeleteRangeTransaction::DoTransaction stop updating Selection directly r=m_kato 2023-02-15 22:23:34 +00:00
DeleteNodeTransaction.cpp Bug 1797247 - part 1: Add delete transaction classes to use build time type checks r=m_kato 2023-02-15 22:17:17 +00:00
DeleteNodeTransaction.h Bug 1797247 - part 1: Add delete transaction classes to use build time type checks r=m_kato 2023-02-15 22:17:17 +00:00
DeleteRangeTransaction.cpp Bug 1797247 - part 2: Make DeleteTextTransaction::DoTransaction and DeleteRangeTransaction::DoTransaction stop updating Selection directly r=m_kato 2023-02-15 22:23:34 +00:00
DeleteRangeTransaction.h Bug 1797247 - part 2: Make DeleteTextTransaction::DoTransaction and DeleteRangeTransaction::DoTransaction stop updating Selection directly r=m_kato 2023-02-15 22:23:34 +00:00
DeleteTextTransaction.cpp Bug 1797247 - part 2: Make DeleteTextTransaction::DoTransaction and DeleteRangeTransaction::DoTransaction stop updating Selection directly r=m_kato 2023-02-15 22:23:34 +00:00
DeleteTextTransaction.h Bug 1797247 - part 1: Add delete transaction classes to use build time type checks r=m_kato 2023-02-15 22:17:17 +00:00
EditAction.h Bug 1808722 - Make the delete handler of HTMLEditor collapse Selection to end of left block after joining blocks r=m_kato 2023-01-30 08:32:35 +00:00
EditAggregateTransaction.cpp Bug 1797247 - part 1: Add delete transaction classes to use build time type checks r=m_kato 2023-02-15 22:17:17 +00:00
EditAggregateTransaction.h Bug 1797247 - part 1: Add delete transaction classes to use build time type checks r=m_kato 2023-02-15 22:17:17 +00:00
EditorBase.cpp Bug 1815383 - part 1: Make InsertTextTransaction::DoTransaction stop updating Selection directly r=m_kato 2023-02-17 08:25:24 +00:00
EditorBase.h Bug 1815383 - part 1: Make InsertTextTransaction::DoTransaction stop updating Selection directly r=m_kato 2023-02-17 08:25:24 +00:00
EditorCommands.cpp
EditorCommands.h
EditorController.cpp
EditorController.h
EditorDOMPoint.h Bug 1820905 - Make HTMLEditor::SplitNodeWithTransaction return NS_ERROR_EDITOR_UNEXPECTED_DOM_TREE if split nodes have been removed from the DOM tree r=m_kato 2023-03-13 18:31:00 +00:00
EditorEventListener.cpp
EditorEventListener.h
EditorForwards.h Bug 1815383 - part 1: Make InsertTextTransaction::DoTransaction stop updating Selection directly r=m_kato 2023-02-17 08:25:24 +00:00
EditorUtils.cpp Bug 1815639 - part 12: Make AutoDeleteRangesHandler::HandleDeleteHRElement() stop touching Selection r=m_kato 2023-02-21 11:19:10 +00:00
EditorUtils.h Bug 1815639 - part 12: Make AutoDeleteRangesHandler::HandleDeleteHRElement() stop touching Selection r=m_kato 2023-02-21 11:19:10 +00:00
EditTransactionBase.cpp Bug 1797247 - part 1: Add delete transaction classes to use build time type checks r=m_kato 2023-02-15 22:17:17 +00:00
EditTransactionBase.h Bug 1797247 - part 1: Add delete transaction classes to use build time type checks r=m_kato 2023-02-15 22:17:17 +00:00
HTMLAbsPositionEditor.cpp Bug 1817641 - Convert RGBA to AbsoluteColor for computed/animated/resolved CSS colors r=emilio 2023-03-07 11:28:15 +00:00
HTMLAnonymousNodeEditor.cpp
HTMLEditHelpers.cpp Bug 1808886 - Make the style editor treat <font> related styles as exclusive styles r=m_kato 2023-01-20 03:45:58 +00:00
HTMLEditHelpers.h Bug 1812170 - Make HTMLEditor::ClearStyleAt should return pointToPutCaret if next node of first split is not split r=m_kato 2023-02-02 05:09:15 +00:00
HTMLEditor.cpp Bug 1820905 - Make HTMLEditor::SplitNodeWithTransaction return NS_ERROR_EDITOR_UNEXPECTED_DOM_TREE if split nodes have been removed from the DOM tree r=m_kato 2023-03-13 18:31:00 +00:00
HTMLEditor.h Bug 1815827 - part 4: Get rid of editor.positioning.offset pref r=m_kato 2023-02-21 22:54:25 +00:00
HTMLEditorCommands.cpp
HTMLEditorController.cpp
HTMLEditorController.h
HTMLEditorDataTransfer.cpp Bug 1820905 - Make HTMLEditor::SplitNodeWithTransaction return NS_ERROR_EDITOR_UNEXPECTED_DOM_TREE if split nodes have been removed from the DOM tree r=m_kato 2023-03-13 18:31:00 +00:00
HTMLEditorDeleteHandler.cpp Bug 1820449 - Make WhiteSpaceVisibilityKeeper verify tracking point of start of right joining node after flushing the tracker r=m_kato 2023-03-10 02:39:26 +00:00
HTMLEditorDocumentCommands.cpp
HTMLEditorEventListener.cpp
HTMLEditorEventListener.h
HTMLEditorInlines.h Bug 1809129 - part 5: Make AutoListElementCreator copy attributes at replacing block elements r=m_kato 2023-02-14 02:51:32 +00:00
HTMLEditorNestedClasses.h Bug 1809129 - part 5: Make AutoListElementCreator copy attributes at replacing block elements r=m_kato 2023-02-14 02:51:32 +00:00
HTMLEditorObjectResizer.cpp Bug 1815827 - part 5: Get rid of editor.resizing.preserve_ratio pref r=m_kato 2023-02-21 22:54:26 +00:00
HTMLEditorState.cpp Bug 1808886 - Make the style editor treat <font> related styles as exclusive styles r=m_kato 2023-01-20 03:45:58 +00:00
HTMLEditSubActionHandler.cpp Bug 1817127 - Make HTMLEditUtils::ContentIsInert check nsStyleUI::IsInert instead of climbing up the tree r=emilio 2023-02-23 15:08:30 +00:00
HTMLEditUtils.cpp Bug 1817127 - Make HTMLEditUtils::ContentIsInert check nsStyleUI::IsInert instead of climbing up the tree r=emilio 2023-02-23 15:08:30 +00:00
HTMLEditUtils.h Bug 1817127 - Make HTMLEditUtils::ContentIsInert check nsStyleUI::IsInert instead of climbing up the tree r=emilio 2023-02-23 15:08:30 +00:00
HTMLInlineTableEditor.cpp
HTMLStyleEditor.cpp Bug 1809129 - part 5: Make AutoListElementCreator copy attributes at replacing block elements r=m_kato 2023-02-14 02:51:32 +00:00
HTMLTableEditor.cpp
InsertNodeTransaction.cpp
InsertNodeTransaction.h
InsertTextTransaction.cpp Bug 1815383 - part 1: Make InsertTextTransaction::DoTransaction stop updating Selection directly r=m_kato 2023-02-17 08:25:24 +00:00
InsertTextTransaction.h Bug 1815383 - part 1: Make InsertTextTransaction::DoTransaction stop updating Selection directly r=m_kato 2023-02-17 08:25:24 +00:00
InternetCiter.cpp
InternetCiter.h
JoinNodesTransaction.cpp
JoinNodesTransaction.h
JoinSplitNodeDirection.h
ManualNAC.h
MoveNodeTransaction.cpp
MoveNodeTransaction.h
moz.build Bug 1797247 - part 1: Add delete transaction classes to use build time type checks r=m_kato 2023-02-15 22:17:17 +00:00
PendingStyles.cpp Bug 1814337 - Fix bugs at applying multiple styles to collapsed Selection r=m_kato 2023-02-07 14:52:02 +00:00
PendingStyles.h Bug 1814337 - Fix bugs at applying multiple styles to collapsed Selection r=m_kato 2023-02-07 14:52:02 +00:00
PlaceholderTransaction.cpp Bug 1797247 - part 1: Add delete transaction classes to use build time type checks r=m_kato 2023-02-15 22:17:17 +00:00
PlaceholderTransaction.h Bug 1797247 - part 1: Add delete transaction classes to use build time type checks r=m_kato 2023-02-15 22:17:17 +00:00
ReplaceTextTransaction.cpp Bug 1815383 - part 3: Make ReplaceTextTransaction::DoTransaction stop updating Selection directly r=m_kato 2023-02-17 09:42:31 +00:00
ReplaceTextTransaction.h Bug 1815383 - part 3: Make ReplaceTextTransaction::DoTransaction stop updating Selection directly r=m_kato 2023-02-17 09:42:31 +00:00
SelectionState.cpp Bug 1820448 - Make RangeUpdater::SelAdjSplitNode handle insertion better r=m_kato 2023-03-13 18:30:04 +00:00
SelectionState.h
SplitNodeTransaction.cpp
SplitNodeTransaction.h
TextEditor.cpp Bug 1776879, replace text/unicode for clipboard and drag and drop and use text/plain directly, r=edgar,mak,stransky,geckoview-reviewers,extension-reviewers,zombie,m_kato 2023-02-01 23:30:55 +00:00
TextEditor.h
TextEditorDataTransfer.cpp Bug 1776879, replace text/unicode for clipboard and drag and drop and use text/plain directly, r=edgar,mak,stransky,geckoview-reviewers,extension-reviewers,zombie,m_kato 2023-02-01 23:30:55 +00:00
TextEditSubActionHandler.cpp Bug 1815383 - part 1: Make InsertTextTransaction::DoTransaction stop updating Selection directly r=m_kato 2023-02-17 08:25:24 +00:00
WSRunObject.cpp Bug 1810403: Allow nsRanges to be in multiple Selections. r=masayuki 2023-02-21 12:25:28 +00:00
WSRunObject.h Bug 1815639 - part 7: Make WhiteSpaceVisibilityKeeper::DeleteContentNodeAndJoinTextNodesAroundIt stop touching Selection directly r=m_kato 2023-02-21 10:38:26 +00:00