gecko-dev/editor/libeditor
Makoto Kato 3ee9303468 Bug 1381541 - queryCommandState should consider that parent node of selection is null. r=masayuki
When parent node of selected node is null, crash might occur in GetCSSBackgroundColorState.  So when parent is null, we should return default value.  In this situation, Edge and Blink don't throw error, Gecko shouldn't return error too.

MozReview-Commit-ID: 5C6jSAFkCso

--HG--
extra : rebase_source : 0185f9fb5fde92eee5611e6bb95e8676c10b135c
2017-08-18 14:48:39 +09:00
..
crashtests Bug 1381541 - queryCommandState should consider that parent node of selection is null. r=masayuki 2017-08-18 14:48:39 +09:00
tests Bug 1390770 - rewrite test_bug289384.html for new data: URI inheritance model. r=masayuki 2017-08-18 10:35:58 +08:00
CSSEditUtils.cpp Bug 1384835 (part 1, attempt 2) - Use nsA[C]String references instead of pointers for outparams of Get*String() pref functions. r=froydnj. 2017-07-31 10:52:51 +10:00
CSSEditUtils.h Bug 1344116 - Clean up HTMLEditRules::RemoveAlignment. r=masayuki 2017-03-03 13:13:21 +09:00
ChangeAttributeTransaction.cpp
ChangeAttributeTransaction.h
ChangeStyleTransaction.cpp Bug 1346078: Remove nsAString_internal and just use the nsAString name directly. r=bsmedberg 2017-03-10 15:17:23 +13:00
ChangeStyleTransaction.h
CompositionTransaction.cpp Bug 1388638 - Use RAII class for StartBatchChanges/EndBatchChanges. r=masayuki 2017-08-09 18:06:36 +09:00
CompositionTransaction.h Bug 1349138 Edit transactions should store their editor instance with strong reference r=smaug 2017-03-21 19:00:36 +09:00
CreateElementTransaction.cpp Bug 1369252 - Don't use nsISelection::CollapseNative / ExtendNative. r=masayuki 2017-06-02 17:25:17 +09:00
CreateElementTransaction.h Bug 1349138 Edit transactions should store their editor instance with strong reference r=smaug 2017-03-21 19:00:36 +09:00
DeleteNodeTransaction.cpp Bug 1372859 - Remove SelAdj* method of nsIDOM* version from RangeUpdater. r=masayuki 2017-06-14 19:34:38 +09:00
DeleteNodeTransaction.h Bug 1349138 Edit transactions should store their editor instance with strong reference r=smaug 2017-03-21 19:00:36 +09:00
DeleteRangeTransaction.cpp Bug 1377989 - part12: Rename local variables, |endParent| which is set to start container of nsRange to |endContainer| r=smaug 2017-07-12 00:08:37 +09:00
DeleteRangeTransaction.h Bug 1349940. DeleteRangeTransaction should not keep its range alive longer than it needs to. r=masayuki, a=kwierso 2017-03-24 16:07:11 -04:00
DeleteTextTransaction.cpp Bug 1349138 Edit transactions should store their editor instance with strong reference r=smaug 2017-03-21 19:00:36 +09:00
DeleteTextTransaction.h Bug 1349138 Edit transactions should store their editor instance with strong reference r=smaug 2017-03-21 19:00:36 +09:00
EditActionListener.h
EditAggregateTransaction.cpp Bug 1311606 Rename |result| of nsresult variants to |rv| in editor r=smaug 2016-10-25 00:43:49 +09:00
EditAggregateTransaction.h
EditTransactionBase.cpp
EditTransactionBase.h
EditorBase.cpp Bug 1391538 - nsTextFragment for text nodes in <input> or <textarea> shouldn't store text as single byte characters even if all characters are less than U+0100 r=smaug 2017-08-18 16:05:16 +09:00
EditorBase.h Bug 1391538 - nsTextFragment for text nodes in <input> or <textarea> shouldn't store text as single byte characters even if all characters are less than U+0100 r=smaug 2017-08-18 16:05:16 +09:00
EditorCommands.cpp Bug 1319340 - part8: EditorCommands should use TextEditor instead of nsIEditor, nsIPlaintextEditor and nsIEditorMailSupport r=m_kato 2017-08-04 20:41:20 +09:00
EditorCommands.h Bug 748308 - Support insertParagraph and insertLineBreak per spec/Blink/WebKit; r=masayuki 2016-08-23 14:13:17 +03:00
EditorController.cpp Bug 748308 - Support insertParagraph and insertLineBreak per spec/Blink/WebKit; r=masayuki 2016-08-23 14:13:17 +03:00
EditorController.h
EditorEventListener.cpp Bug 1387317 - part2: EditorEventListener should stop using interface methods as far as possible r=m_kato 2017-08-08 11:25:36 +09:00
EditorEventListener.h Bug 1344149 EditorEventListener shouldn't handle odd focus/blur events which may be created in chrome script r=smaug 2017-03-08 15:24:55 +09:00
EditorUtils.cpp Bug 1311240 Fix odd "{" and "}" of control statements in editor for conforming to our coding rules r=smaug 2016-10-24 11:27:45 +09:00
EditorUtils.h Bug 1387317 - part5: AutoPlaceHolderBatch should take EditorBase instead of nsIEditor r=m_kato 2017-08-14 14:56:39 +09:00
EditorUtils.js
EditorUtils.manifest
HTMLAbsPositionEditor.cpp Bug 1387317 - part5: AutoPlaceHolderBatch should take EditorBase instead of nsIEditor r=m_kato 2017-08-14 14:56:39 +09:00
HTMLAnonymousNodeEditor.cpp Bug 1387945 - Use nsIContent for CreateAnonymousElement. r=masayuki 2017-08-07 14:09:51 +09:00
HTMLEditRules.cpp Bug 1391538 - nsTextFragment for text nodes in <input> or <textarea> shouldn't store text as single byte characters even if all characters are less than U+0100 r=smaug 2017-08-18 16:05:16 +09:00
HTMLEditRules.h Bug 1385905 - part2: HTMLEditRules::SplitParagraph() should insert normal <br> element rather than moz-<br> element if split element and/or new element is empty r=m_kato 2017-08-01 22:38:50 +09:00
HTMLEditUtils.cpp Bug 1279218 - Additional applet tag logic removal; r=bz 2017-07-28 16:44:39 -07:00
HTMLEditUtils.h Bug 1344116 - Clean up HTMLEditRules::RemoveAlignment. r=masayuki 2017-03-03 13:13:21 +09:00
HTMLEditor.cpp Bug 1381541 - queryCommandState should consider that parent node of selection is null. r=masayuki 2017-08-18 14:48:39 +09:00
HTMLEditor.h Bug 1387317 - part1: Make AutoSelectionSetterAfterTableEdit use HTMLEditor instead of nsITableEditor r=m_kato 2017-08-08 10:57:19 +09:00
HTMLEditorDataTransfer.cpp Bug 1387317 - part5: AutoPlaceHolderBatch should take EditorBase instead of nsIEditor r=m_kato 2017-08-14 14:56:39 +09:00
HTMLEditorEventListener.cpp Bug 1387317 - part2: EditorEventListener should stop using interface methods as far as possible r=m_kato 2017-08-08 11:25:36 +09:00
HTMLEditorEventListener.h Bug 1387317 - part2: EditorEventListener should stop using interface methods as far as possible r=m_kato 2017-08-08 11:25:36 +09:00
HTMLEditorObjectResizer.cpp Bug 1387317 - part5: AutoPlaceHolderBatch should take EditorBase instead of nsIEditor r=m_kato 2017-08-14 14:56:39 +09:00
HTMLEditorObjectResizerUtils.h Bug 1374207 - part3: Editor classes should use concrete classes instead of nsI*Editor r=m_kato 2017-06-22 15:02:59 +09:00
HTMLInlineTableEditor.cpp Bug 1387945 - Use nsIContent for CreateAnonymousElement. r=masayuki 2017-08-07 14:09:51 +09:00
HTMLStyleEditor.cpp Bug 1387317 - part5: AutoPlaceHolderBatch should take EditorBase instead of nsIEditor r=m_kato 2017-08-14 14:56:39 +09:00
HTMLTableEditor.cpp Bug 1387317 - part5: AutoPlaceHolderBatch should take EditorBase instead of nsIEditor r=m_kato 2017-08-14 14:56:39 +09:00
HTMLURIRefObject.cpp Bug 1316432 - Fix nsCOMPtr constructions&assignments from 0 - r=froydnj 2016-11-10 14:11:27 +11:00
HTMLURIRefObject.h
InsertNodeTransaction.cpp Bug 1314388 - Fix bustage on CLOSED TREE 2017-04-02 14:11:48 +03:00
InsertNodeTransaction.h Bug 1349138 Edit transactions should store their editor instance with strong reference r=smaug 2017-03-21 19:00:36 +09:00
InsertTextTransaction.cpp Bug 1349138 Edit transactions should store their editor instance with strong reference r=smaug 2017-03-21 19:00:36 +09:00
InsertTextTransaction.h Bug 1349138 Edit transactions should store their editor instance with strong reference r=smaug 2017-03-21 19:00:36 +09:00
InternetCiter.cpp Bug 1311240 Fix odd "{" and "}" of control statements in editor for conforming to our coding rules r=smaug 2016-10-24 11:27:45 +09:00
InternetCiter.h
JoinNodeTransaction.cpp Bug 1349138 Edit transactions should store their editor instance with strong reference r=smaug 2017-03-21 19:00:36 +09:00
JoinNodeTransaction.h Bug 1349138 Edit transactions should store their editor instance with strong reference r=smaug 2017-03-21 19:00:36 +09:00
ManualNAC.h Bug 1386110 - Use a smart pointer to reliably de-register NAC regardless of how it goes away. r=masayuki 2017-08-03 20:26:11 -07:00
PlaceholderTransaction.cpp Bug 1388917 - Fix moving of SelectionState in PlaceholderTransaction's constructor; r=masayuki 2017-08-10 08:35:19 -04:00
PlaceholderTransaction.h Bug 1385538 - Avoid dynamic memory allocation for EditorBase::mSelState; r=masayuki 2017-07-31 14:13:47 -04:00
SelectionState.cpp Backout bug 1386480 for causing bug 1391410 2017-08-17 17:16:27 -04:00
SelectionState.h Backout bug 1386480 for causing bug 1391410 2017-08-17 17:16:27 -04:00
SplitNodeTransaction.cpp Bug 1349138 Edit transactions should store their editor instance with strong reference r=smaug 2017-03-21 19:00:36 +09:00
SplitNodeTransaction.h Bug 1349138 Edit transactions should store their editor instance with strong reference r=smaug 2017-03-21 19:00:36 +09:00
StyleSheetTransactions.cpp Bug 1349138 Edit transactions should store their editor instance with strong reference r=smaug 2017-03-21 19:00:36 +09:00
StyleSheetTransactions.h Bug 1349138 Edit transactions should store their editor instance with strong reference r=smaug 2017-03-21 19:00:36 +09:00
TextEditRules.cpp Bug 1391538 - nsTextFragment for text nodes in <input> or <textarea> shouldn't store text as single byte characters even if all characters are less than U+0100 r=smaug 2017-08-18 16:05:16 +09:00
TextEditRules.h Bug 1385905 - part2: HTMLEditRules::SplitParagraph() should insert normal <br> element rather than moz-<br> element if split element and/or new element is empty r=m_kato 2017-08-01 22:38:50 +09:00
TextEditRulesBidi.cpp Bug 1311240 Fix odd "{" and "}" of control statements in editor for conforming to our coding rules r=smaug 2016-10-24 11:27:45 +09:00
TextEditUtils.cpp
TextEditUtils.h
TextEditor.cpp Bug 1387317 - part5: AutoPlaceHolderBatch should take EditorBase instead of nsIEditor r=m_kato 2017-08-14 14:56:39 +09:00
TextEditor.h Bug 1386485 - Part 3: Devirtualize EditorBase::AsTextEditor()/AsHTMLEditor(); r=masayuki 2017-08-04 03:47:14 -04:00
TextEditorDataTransfer.cpp Bug 1387317 - part5: AutoPlaceHolderBatch should take EditorBase instead of nsIEditor r=m_kato 2017-08-14 14:56:39 +09:00
TextEditorTest.cpp Bug 1374580 (part 2) - Remove nsAFlat{,C}String typedefs. r=froydnj. 2017-06-20 19:19:05 +10:00
TextEditorTest.h
TypeInState.cpp Bug 1337698 - Part 3. TypeInState should use UniquePtr. r=masayuki 2017-02-08 18:14:53 +09:00
TypeInState.h Bug 1337698 - Part 3. TypeInState should use UniquePtr. r=masayuki 2017-02-08 18:14:53 +09:00
WSRunObject.cpp Bug 1385514 - Part 2: Replace 'spaz' with 'change' in the editor code 2017-07-31 11:20:38 -04:00
WSRunObject.h Bug 1347367 - Remove unimplemented FindUserSelectAllNode. r=masayuki 2017-03-15 13:40:23 +09:00
moz.build Bug 1386110 - Use a smart pointer to reliably de-register NAC regardless of how it goes away. r=masayuki 2017-08-03 20:26:11 -07:00
nsIAbsorbingTransaction.h Bug 1372829 - part1: Make mozilla::PlaceholderTransaction inherit mozilla::SupportsWeakPtr instead of nsSupportsWeakReference r=m_kato 2017-06-14 19:05:48 +09:00
nsIEditRules.h Bug 1360154 - Part 1. DocumentIsBody should return bool, not nsresult. r=masayuki 2017-05-11 14:03:26 +09:00