Closed
Bug 1460509
Opened 7 years ago
Closed 7 years ago
Methods of TextEditRules and HTMLEditRules which changes DOM tree should return new error code which means editor is destroyed
Categories
(Core :: DOM: Editor, defect, P3)
Core
DOM: Editor
Tracking
()
RESOLVED
FIXED
mozilla62
Tracking | Status | |
---|---|---|
firefox62 | --- | fixed |
People
(Reporter: masayuki, Assigned: masayuki)
References
(Blocks 2 open bugs)
Details
Attachments
(84 files)
59 bytes,
text/x-review-board-request
|
m_kato
:
review+
|
Details |
59 bytes,
text/x-review-board-request
|
m_kato
:
review+
|
Details |
59 bytes,
text/x-review-board-request
|
m_kato
:
review+
|
Details |
59 bytes,
text/x-review-board-request
|
m_kato
:
review+
|
Details |
59 bytes,
text/x-review-board-request
|
m_kato
:
review+
|
Details |
59 bytes,
text/x-review-board-request
|
m_kato
:
review+
|
Details |
59 bytes,
text/x-review-board-request
|
m_kato
:
review+
|
Details |
59 bytes,
text/x-review-board-request
|
m_kato
:
review+
|
Details |
59 bytes,
text/x-review-board-request
|
m_kato
:
review+
|
Details |
59 bytes,
text/x-review-board-request
|
m_kato
:
review+
|
Details |
59 bytes,
text/x-review-board-request
|
m_kato
:
review+
|
Details |
59 bytes,
text/x-review-board-request
|
m_kato
:
review+
|
Details |
59 bytes,
text/x-review-board-request
|
m_kato
:
review+
|
Details |
59 bytes,
text/x-review-board-request
|
m_kato
:
review+
|
Details |
59 bytes,
text/x-review-board-request
|
m_kato
:
review+
|
Details |
59 bytes,
text/x-review-board-request
|
m_kato
:
review+
|
Details |
59 bytes,
text/x-review-board-request
|
m_kato
:
review+
|
Details |
59 bytes,
text/x-review-board-request
|
m_kato
:
review+
|
Details |
59 bytes,
text/x-review-board-request
|
m_kato
:
review+
|
Details |
59 bytes,
text/x-review-board-request
|
m_kato
:
review+
|
Details |
59 bytes,
text/x-review-board-request
|
m_kato
:
review+
|
Details |
59 bytes,
text/x-review-board-request
|
m_kato
:
review+
|
Details |
59 bytes,
text/x-review-board-request
|
m_kato
:
review+
|
Details |
59 bytes,
text/x-review-board-request
|
m_kato
:
review+
|
Details |
59 bytes,
text/x-review-board-request
|
m_kato
:
review+
|
Details |
59 bytes,
text/x-review-board-request
|
m_kato
:
review+
|
Details |
59 bytes,
text/x-review-board-request
|
m_kato
:
review+
|
Details |
59 bytes,
text/x-review-board-request
|
m_kato
:
review+
|
Details |
59 bytes,
text/x-review-board-request
|
m_kato
:
review+
|
Details |
59 bytes,
text/x-review-board-request
|
m_kato
:
review+
|
Details |
59 bytes,
text/x-review-board-request
|
m_kato
:
review+
|
Details |
59 bytes,
text/x-review-board-request
|
m_kato
:
review+
|
Details |
59 bytes,
text/x-review-board-request
|
m_kato
:
review+
|
Details |
59 bytes,
text/x-review-board-request
|
m_kato
:
review+
|
Details |
59 bytes,
text/x-review-board-request
|
m_kato
:
review+
|
Details |
59 bytes,
text/x-review-board-request
|
m_kato
:
review+
|
Details |
59 bytes,
text/x-review-board-request
|
m_kato
:
review+
|
Details |
59 bytes,
text/x-review-board-request
|
m_kato
:
review+
|
Details |
59 bytes,
text/x-review-board-request
|
m_kato
:
review+
|
Details |
59 bytes,
text/x-review-board-request
|
m_kato
:
review+
|
Details |
59 bytes,
text/x-review-board-request
|
m_kato
:
review+
|
Details |
59 bytes,
text/x-review-board-request
|
m_kato
:
review+
|
Details |
59 bytes,
text/x-review-board-request
|
m_kato
:
review+
|
Details |
59 bytes,
text/x-review-board-request
|
m_kato
:
review+
|
Details |
59 bytes,
text/x-review-board-request
|
m_kato
:
review+
|
Details |
59 bytes,
text/x-review-board-request
|
m_kato
:
review+
|
Details |
59 bytes,
text/x-review-board-request
|
m_kato
:
review+
|
Details |
59 bytes,
text/x-review-board-request
|
m_kato
:
review+
|
Details |
59 bytes,
text/x-review-board-request
|
m_kato
:
review+
|
Details |
59 bytes,
text/x-review-board-request
|
m_kato
:
review+
|
Details |
59 bytes,
text/x-review-board-request
|
m_kato
:
review+
|
Details |
59 bytes,
text/x-review-board-request
|
m_kato
:
review+
|
Details |
59 bytes,
text/x-review-board-request
|
m_kato
:
review+
|
Details |
59 bytes,
text/x-review-board-request
|
m_kato
:
review+
|
Details |
59 bytes,
text/x-review-board-request
|
m_kato
:
review+
|
Details |
59 bytes,
text/x-review-board-request
|
m_kato
:
review+
|
Details |
59 bytes,
text/x-review-board-request
|
m_kato
:
review+
|
Details |
59 bytes,
text/x-review-board-request
|
m_kato
:
review+
|
Details |
59 bytes,
text/x-review-board-request
|
m_kato
:
review+
|
Details |
59 bytes,
text/x-review-board-request
|
m_kato
:
review+
|
Details |
59 bytes,
text/x-review-board-request
|
m_kato
:
review+
|
Details |
59 bytes,
text/x-review-board-request
|
m_kato
:
review+
|
Details |
59 bytes,
text/x-review-board-request
|
m_kato
:
review+
|
Details |
59 bytes,
text/x-review-board-request
|
m_kato
:
review+
|
Details |
59 bytes,
text/x-review-board-request
|
m_kato
:
review+
|
Details |
59 bytes,
text/x-review-board-request
|
m_kato
:
review+
|
Details |
59 bytes,
text/x-review-board-request
|
m_kato
:
review+
|
Details |
59 bytes,
text/x-review-board-request
|
m_kato
:
review+
|
Details |
59 bytes,
text/x-review-board-request
|
m_kato
:
review+
|
Details |
59 bytes,
text/x-review-board-request
|
m_kato
:
review+
|
Details |
59 bytes,
text/x-review-board-request
|
m_kato
:
review+
|
Details |
59 bytes,
text/x-review-board-request
|
m_kato
:
review+
|
Details |
59 bytes,
text/x-review-board-request
|
m_kato
:
review+
|
Details |
59 bytes,
text/x-review-board-request
|
m_kato
:
review+
|
Details |
59 bytes,
text/x-review-board-request
|
m_kato
:
review+
|
Details |
59 bytes,
text/x-review-board-request
|
m_kato
:
review+
|
Details |
59 bytes,
text/x-review-board-request
|
m_kato
:
review+
|
Details |
59 bytes,
text/x-review-board-request
|
m_kato
:
review+
|
Details |
59 bytes,
text/x-review-board-request
|
m_kato
:
review+
|
Details |
59 bytes,
text/x-review-board-request
|
m_kato
:
review+
|
Details |
59 bytes,
text/x-review-board-request
|
m_kato
:
review+
|
Details |
59 bytes,
text/x-review-board-request
|
m_kato
:
review+
|
Details |
59 bytes,
text/x-review-board-request
|
m_kato
:
review+
|
Details |
59 bytes,
text/x-review-board-request
|
m_kato
:
review+
|
Details |
This is a part of bug 1454900.
Starting from bug 1457083's fix, TextEditRules and HTMLEditRules should stop handling edit action when editor is destroyed or something when they change the DOM tree. For making follow up of bug 1457083 faster, let's fix bug 1454900 only in TextEditRules and HTMLEditRules first.
Assignee | ||
Comment 1•7 years ago
|
||
Assignee | ||
Comment 2•7 years ago
|
||
Assignee | ||
Comment 3•7 years ago
|
||
Assignee | ||
Comment 4•7 years ago
|
||
Assignee | ||
Comment 5•7 years ago
|
||
Assignee | ||
Comment 6•7 years ago
|
||
Assignee | ||
Comment 7•7 years ago
|
||
Assignee | ||
Comment 8•7 years ago
|
||
Assignee | ||
Comment 9•7 years ago
|
||
Assignee | ||
Comment 10•7 years ago
|
||
Assignee | ||
Comment 11•7 years ago
|
||
Assignee | ||
Comment 12•7 years ago
|
||
Assignee | ||
Comment 13•7 years ago
|
||
Assignee | ||
Comment 14•7 years ago
|
||
Assignee | ||
Comment 15•7 years ago
|
||
Updated•7 years ago
|
Priority: -- → P3
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment 99•7 years ago
|
||
mozreview-review |
Comment on attachment 8976830 [details]
Bug 1460509 - part 1: Declare NS_ERROR_EDITOR_DESTROYED error code and add a check method to TextEditRules whether it can keep handling edit action at a moment
https://reviewboard.mozilla.org/r/244916/#review251324
Attachment #8976830 -
Flags: review?(m_kato) → review+
Comment 100•7 years ago
|
||
mozreview-review |
Comment on attachment 8976831 [details]
Bug 1460509 - part 2: Make TextEditRules::CreateBR() and TextEditRules::CreateMozBR() return both new <br> element node and error code since if they cause destroying the editor, each caller needs NS_ERROR_EDITOR_DESTROYED result
https://reviewboard.mozilla.org/r/244918/#review251334
Attachment #8976831 -
Flags: review?(m_kato) → review+
Comment 101•7 years ago
|
||
mozreview-review |
Comment on attachment 8976832 [details]
Bug 1460509 - part 3: Make TextEditRules::HideLastPWInput() return NS_ERROR_EDITOR_DESTROYED when it causes destroying the editor
https://reviewboard.mozilla.org/r/244920/#review251346
Attachment #8976832 -
Flags: review?(m_kato) → review+
Comment 102•7 years ago
|
||
mozreview-review |
Comment on attachment 8976833 [details]
Bug 1460509 - part 4: Make TextEditRules::CreateBogusNodeIfNeeded() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor
https://reviewboard.mozilla.org/r/244922/#review251632
Attachment #8976833 -
Flags: review?(m_kato) → review+
Comment 103•7 years ago
|
||
mozreview-review |
Comment on attachment 8976834 [details]
Bug 1460509 - part 5: Make TextEditRules::CreateTrailingBRIfNeeded() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor
https://reviewboard.mozilla.org/r/244924/#review251634
Attachment #8976834 -
Flags: review?(m_kato) → review+
Comment 104•7 years ago
|
||
mozreview-review |
Comment on attachment 8976835 [details]
Bug 1460509 - part 6: Make TextEditRules::RemoveRedundantTrailingBR() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor
https://reviewboard.mozilla.org/r/244926/#review251636
Attachment #8976835 -
Flags: review?(m_kato) → review+
Comment 105•7 years ago
|
||
mozreview-review |
Comment on attachment 8976836 [details]
Bug 1460509 - part 7: Make TextEditRules::DidDeleteSelection() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor
https://reviewboard.mozilla.org/r/244928/#review251638
Attachment #8976836 -
Flags: review?(m_kato) → review+
Comment 106•7 years ago
|
||
mozreview-review |
Comment on attachment 8976837 [details]
Bug 1460509 - part 8: Make TextEditRules::WillDeleteSelection() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor
https://reviewboard.mozilla.org/r/244930/#review251640
Attachment #8976837 -
Flags: review?(m_kato) → review+
Comment 107•7 years ago
|
||
mozreview-review |
Comment on attachment 8976838 [details]
Bug 1460509 - part 9: Make TextEditRules::WillSetText() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor
https://reviewboard.mozilla.org/r/244932/#review251642
Attachment #8976838 -
Flags: review?(m_kato) → review+
Comment 108•7 years ago
|
||
mozreview-review |
Comment on attachment 8976839 [details]
Bug 1460509 - part 10: Make TextEditRules::WillInsertText() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor
https://reviewboard.mozilla.org/r/244934/#review251670
Attachment #8976839 -
Flags: review?(m_kato) → review+
Comment 109•7 years ago
|
||
mozreview-review |
Comment on attachment 8976840 [details]
Bug 1460509 - part 11: Make TextEditRules::CollapseSelectionToTrailingBRIfNeeded() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor
https://reviewboard.mozilla.org/r/244936/#review251672
Attachment #8976840 -
Flags: review?(m_kato) → review+
Comment 110•7 years ago
|
||
mozreview-review |
Comment on attachment 8976841 [details]
Bug 1460509 - part 12: Make TextEditRules::WillInsertBreak() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor
https://reviewboard.mozilla.org/r/244938/#review251674
Attachment #8976841 -
Flags: review?(m_kato) → review+
Comment 111•7 years ago
|
||
mozreview-review |
Comment on attachment 8976842 [details]
Bug 1460509 - part 13: Make TextEditRules::WillInsert() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor
https://reviewboard.mozilla.org/r/244940/#review251676
Attachment #8976842 -
Flags: review?(m_kato) → review+
Comment 112•7 years ago
|
||
mozreview-review |
Comment on attachment 8976843 [details]
Bug 1460509 - part 14: Make HTMLEditRules::WillRelativeChangeZIndex() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor
https://reviewboard.mozilla.org/r/244942/#review251678
Attachment #8976843 -
Flags: review?(m_kato) → review+
Comment 113•7 years ago
|
||
mozreview-review |
Comment on attachment 8976844 [details]
Bug 1460509 - part 15: Make HTMLEditRules::WillRemoveAbsolutePosition() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor
https://reviewboard.mozilla.org/r/244944/#review251682
Attachment #8976844 -
Flags: review?(m_kato) → review+
Comment 114•7 years ago
|
||
mozreview-review |
Comment on attachment 8976845 [details]
Bug 1460509 - part 16: Make HTMLEditRules::DidAbsolutePosition() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor
https://reviewboard.mozilla.org/r/244946/#review251686
Attachment #8976845 -
Flags: review?(m_kato) → review+
Comment 115•7 years ago
|
||
mozreview-review |
Comment on attachment 8976846 [details]
Bug 1460509 - part 17: Make HTMLEditRules::WillAbsolutePosition() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the HTML editor
https://reviewboard.mozilla.org/r/244948/#review251708
::: editor/libeditor/HTMLEditRules.cpp:10062
(Diff revision 1)
> - SelectionRef().Collapse(RawRangeBoundary(positionedDiv, 0), error);
> // Don't restore the selection
> selectionRestorer.Abort();
> + ErrorResult error;
> + SelectionRef().Collapse(RawRangeBoundary(positionedDiv, 0), error);
> + if (NS_WARN_IF(!CanHandleEditAction())) {
Need error.SuppressException() when you check destroyed at first. If error.Failed() is true, it causes assertion.
Attachment #8976846 -
Flags: review?(m_kato) → review+
Comment 116•7 years ago
|
||
mozreview-review |
Comment on attachment 8976847 [details]
Bug 1460509 - part 18: Make HTMLEditRules::ChangeIndentation() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor
https://reviewboard.mozilla.org/r/244950/#review251710
Attachment #8976847 -
Flags: review?(m_kato) → review+
Comment 117•7 years ago
|
||
mozreview-review |
Comment on attachment 8976848 [details]
Bug 1460509 - part 19: Make HTMLEditRules::AlignBlock() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor
https://reviewboard.mozilla.org/r/244952/#review251732
Attachment #8976848 -
Flags: review?(m_kato) → review+
Comment 118•7 years ago
|
||
mozreview-review |
Comment on attachment 8976849 [details]
Bug 1460509 - part 20: Make HTMLEditRules::MakeSureElemStartsAndEndsOnCR() and HTMLEditRules::MakeSureElemStartsOrEndsOnCR() return NS_ERROR_EDITOR_DESTROYED if they cause destroying the editor
https://reviewboard.mozilla.org/r/244954/#review251734
Attachment #8976849 -
Flags: review?(m_kato) → review+
Comment 119•7 years ago
|
||
mozreview-review |
Comment on attachment 8976850 [details]
Bug 1460509 - part 21: Make HTMLEditRules::RemoveAlignment() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor
https://reviewboard.mozilla.org/r/244956/#review251736
Attachment #8976850 -
Flags: review?(m_kato) → review+
Comment 120•7 years ago
|
||
mozreview-review |
Comment on attachment 8976851 [details]
Bug 1460509 - part 22: Mark HTMLEditRules::InsertBRIfNeededInternal() and its wrappers as MOZ_MUST_USE
https://reviewboard.mozilla.org/r/244958/#review251738
Attachment #8976851 -
Flags: review?(m_kato) → review+
Comment 121•7 years ago
|
||
mozreview-review |
Comment on attachment 8976852 [details]
Bug 1460509 - part 23: Make HTMLEditRules::RemoveListStructure() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor
https://reviewboard.mozilla.org/r/244960/#review251740
Attachment #8976852 -
Flags: review?(m_kato) → review+
Comment 122•7 years ago
|
||
mozreview-review |
Comment on attachment 8976853 [details]
Bug 1460509 - part 24: Make HTMLEditRules::PopListItem() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor
https://reviewboard.mozilla.org/r/244962/#review251742
Attachment #8976853 -
Flags: review?(m_kato) → review+
Comment 123•7 years ago
|
||
mozreview-review |
Comment on attachment 8976854 [details]
Bug 1460509 - part 25: Make HTMLEditRules::RemoveEmptyNodes() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor
https://reviewboard.mozilla.org/r/244964/#review251746
Attachment #8976854 -
Flags: review?(m_kato) → review+
Comment 124•7 years ago
|
||
mozreview-review |
Comment on attachment 8976855 [details]
Bug 1460509 - part 26: Make HTMLEditRules::AdjustSelection() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor
https://reviewboard.mozilla.org/r/244966/#review251748
Attachment #8976855 -
Flags: review?(m_kato) → review+
Comment 125•7 years ago
|
||
mozreview-review |
Comment on attachment 8976856 [details]
Bug 1460509 - part 27: Make HTMLEditRules::PinSelectionToNewBlock() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor
https://reviewboard.mozilla.org/r/244968/#review251750
::: editor/libeditor/HTMLEditRules.cpp:8727
(Diff revision 1)
> } else {
> atStartOfBlock.Set(tmp, 0);
> }
> ErrorResult error;
> SelectionRef().Collapse(atStartOfBlock, error);
> + if (NS_WARN_IF(!CanHandleEditAction())) {
need error.SuppressException();
Comment 126•7 years ago
|
||
mozreview-review |
Comment on attachment 8976857 [details]
Bug 1460509 - part 28: Make HTMLEditRules::AdjustWhitespace() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor
https://reviewboard.mozilla.org/r/244970/#review251752
Attachment #8976857 -
Flags: review?(m_kato) → review+
Comment 127•7 years ago
|
||
mozreview-review |
Comment on attachment 8976858 [details]
Bug 1460509 - part 29: Make HTMLEditRules::AdjustSpecialBreaks() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor
https://reviewboard.mozilla.org/r/244972/#review251754
Attachment #8976858 -
Flags: review?(m_kato) → review+
Comment 128•7 years ago
|
||
mozreview-review |
Comment on attachment 8976859 [details]
Bug 1460509 - part 30: Make HTMLEditRules::ReapplyCachedStyles() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor
https://reviewboard.mozilla.org/r/244974/#review251756
Attachment #8976859 -
Flags: review?(m_kato) → review+
Comment 129•7 years ago
|
||
mozreview-review |
Comment on attachment 8976860 [details]
Bug 1460509 - part 31: Make HTMLEditRules::GetInlineStyles() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor
https://reviewboard.mozilla.org/r/244976/#review251758
Attachment #8976860 -
Flags: review?(m_kato) → review+
Comment 130•7 years ago
|
||
mozreview-review |
Comment on attachment 8976861 [details]
Bug 1460509 - part 32: Mark HTMLEditRules::CacheInlineStyles() as MOZ_MUST_USE since it may cause destroying the editor and returns NS_ERROR_EDITOR_DESTROYED in such case
https://reviewboard.mozilla.org/r/244978/#review251764
Attachment #8976861 -
Flags: review?(m_kato) → review+
Assignee | ||
Comment 131•7 years ago
|
||
mozreview-review-reply |
Comment on attachment 8976846 [details]
Bug 1460509 - part 17: Make HTMLEditRules::WillAbsolutePosition() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the HTML editor
https://reviewboard.mozilla.org/r/244948/#review251708
> Need error.SuppressException() when you check destroyed at first. If error.Failed() is true, it causes assertion.
Thanks!
Comment 132•7 years ago
|
||
mozreview-review |
Comment on attachment 8976862 [details]
Bug 1460509 - part 33: Make HTMLEditRules::JoinNearestEditableNodesWithTransaction() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor
https://reviewboard.mozilla.org/r/244980/#review251770
Attachment #8976862 -
Flags: review?(m_kato) → review+
Comment 133•7 years ago
|
||
mozreview-review |
Comment on attachment 8976863 [details]
Bug 1460509 - part 34: Make HTMLEditRules::MaybeSplitAncestorsForInsertWithTransaction() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor
https://reviewboard.mozilla.org/r/244982/#review251772
Attachment #8976863 -
Flags: review?(m_kato) → review+
Assignee | ||
Comment 134•7 years ago
|
||
mozreview-review-reply |
Comment on attachment 8976856 [details]
Bug 1460509 - part 27: Make HTMLEditRules::PinSelectionToNewBlock() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor
https://reviewboard.mozilla.org/r/244968/#review251750
> need error.SuppressException();
Thanks! I'll check all code after instantiating ErrorResult before posting new patches.
Comment 135•7 years ago
|
||
mozreview-review |
Comment on attachment 8976864 [details]
Bug 1460509 - part 35: Make HTMLEditRules::ApplyBlockStyle() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor
https://reviewboard.mozilla.org/r/244984/#review251782
Attachment #8976864 -
Flags: review?(m_kato) → review+
Comment 136•7 years ago
|
||
mozreview-review |
Comment on attachment 8976865 [details]
Bug 1460509 - part 36: Make HTMLEditRules::RemoveBlockStyle() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor
https://reviewboard.mozilla.org/r/244986/#review251784
Attachment #8976865 -
Flags: review?(m_kato) → review+
Comment 137•7 years ago
|
||
mozreview-review |
Comment on attachment 8976866 [details]
Bug 1460509 - part 37: Make HTMLEditRules::MakeBlockquote() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor
https://reviewboard.mozilla.org/r/244988/#review251794
Attachment #8976866 -
Flags: review?(m_kato) → review+
Comment 138•7 years ago
|
||
mozreview-review |
Comment on attachment 8976867 [details]
Bug 1460509 - part 38: Make HTMLEditRules::ReturnInListItem() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor
https://reviewboard.mozilla.org/r/244990/#review251802
Attachment #8976867 -
Flags: review?(m_kato) → review+
Comment 139•7 years ago
|
||
mozreview-review |
Comment on attachment 8976868 [details]
Bug 1460509 - part 39: Make HTMLEditRules::SplitParagraph() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor
https://reviewboard.mozilla.org/r/244992/#review251804
Attachment #8976868 -
Flags: review?(m_kato) → review+
Comment 140•7 years ago
|
||
mozreview-review |
Comment on attachment 8976869 [details]
Bug 1460509 - part 40: Make HTMLEditRules::ReturnInParagraph() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor
https://reviewboard.mozilla.org/r/244994/#review251806
Attachment #8976869 -
Flags: review?(m_kato) → review+
Comment 141•7 years ago
|
||
mozreview-review |
Comment on attachment 8976870 [details]
Bug 1460509 - part 41: Make HTMLEditRules::ReturnInHeader() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor
https://reviewboard.mozilla.org/r/244996/#review251808
::: editor/libeditor/HTMLEditRules.cpp:7499
(Diff revision 1)
> return NS_ERROR_FAILURE;
> }
> // Put selection after break
> ErrorResult error;
> SelectionRef().Collapse(afterSibling, error);
> + if (NS_WARN_IF(!CanHandleEditAction())) {
need error.SuppressException();
Attachment #8976870 -
Flags: review?(m_kato) → review+
Comment 142•7 years ago
|
||
mozreview-review |
Comment on attachment 8976871 [details]
Bug 1460509 - part 42: Make HTMLEditRules::BustUpInlinesAtBRs() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor
https://reviewboard.mozilla.org/r/244998/#review251810
Attachment #8976871 -
Flags: review?(m_kato) → review+
Comment 143•7 years ago
|
||
mozreview-review |
Comment on attachment 8976872 [details]
Bug 1460509 - part 43: Make HTMLEditRules::BustUpInlinesAtRangeEndpoints() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor
https://reviewboard.mozilla.org/r/245000/#review251812
Attachment #8976872 -
Flags: review?(m_kato) → review+
Comment 144•7 years ago
|
||
mozreview-review |
Comment on attachment 8976873 [details]
Bug 1460509 - part 44: Make HTMLEditRules::GetNodesForOperation() and related methods return NS_ERROR_EDITOR_DESTROYED if they cause destroying the editor
https://reviewboard.mozilla.org/r/245002/#review251816
Attachment #8976873 -
Flags: review?(m_kato) → review+
Comment 145•7 years ago
|
||
mozreview-review |
Comment on attachment 8976874 [details]
Bug 1460509 - part 45: Test if HTMLEditRules::PromoteRange() won't get range in Selection
https://reviewboard.mozilla.org/r/245004/#review251818
Attachment #8976874 -
Flags: review?(m_kato) → review+
Comment 146•7 years ago
|
||
mozreview-review |
Comment on attachment 8976875 [details]
Bug 1460509 - part 46: Make HTMLEditRules::NormalizeSelection() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor
https://reviewboard.mozilla.org/r/245006/#review251820
Attachment #8976875 -
Flags: review?(m_kato) → review+
Comment 147•7 years ago
|
||
mozreview-review |
Comment on attachment 8976876 [details]
Bug 1460509 - part 47: Make HTMLEditRules::ExpandSelectionForDeletion() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor
https://reviewboard.mozilla.org/r/245008/#review251822
Attachment #8976876 -
Flags: review?(m_kato) → review+
Comment 148•7 years ago
|
||
mozreview-review |
Comment on attachment 8976877 [details]
Bug 1460509 - part 48: Make HTMLEditRules::CheckForEmptyBlock() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor
https://reviewboard.mozilla.org/r/245010/#review251840
::: editor/libeditor/HTMLEditRules.cpp:5973
(Diff revision 1)
> - return NS_ERROR_FAILURE;
> + return NS_ERROR_FAILURE;
> - }
> + }
> - // Adjust selection to be right before it
> - ErrorResult error;
> + ErrorResult error;
> - SelectionRef().Collapse(EditorRawDOMPoint(brElement), error);
> + SelectionRef().Collapse(EditorRawDOMPoint(brElement), error);
> + if (NS_WARN_IF(!CanHandleEditAction())) {
need error.SuppressException();
Attachment #8976877 -
Flags: review?(m_kato) → review+
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Assignee | ||
Comment 233•7 years ago
|
||
Comment 234•7 years ago
|
||
mozreview-review |
Comment on attachment 8976878 [details]
Bug 1460509 - part 49: Make HTMLEditRules::SplitMailCites() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor
https://reviewboard.mozilla.org/r/245012/#review251992
Attachment #8976878 -
Flags: review?(m_kato) → review+
Comment 235•7 years ago
|
||
mozreview-review |
Comment on attachment 8976879 [details]
Bug 1460509 - part 50: Make HTMLEditRules::InsertBRElement() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor
https://reviewboard.mozilla.org/r/245014/#review251996
Comment 236•7 years ago
|
||
mozreview-review |
Comment on attachment 8976879 [details]
Bug 1460509 - part 50: Make HTMLEditRules::InsertBRElement() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor
https://reviewboard.mozilla.org/r/245014/#review251998
Attachment #8976879 -
Flags: review?(m_kato) → review+
Comment 237•7 years ago
|
||
mozreview-review |
Comment on attachment 8976880 [details]
Bug 1460509 - part 51: Make HTMLEditRules::WillInsertBreak() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor
https://reviewboard.mozilla.org/r/245016/#review252000
Attachment #8976880 -
Flags: review?(m_kato) → review+
Comment 238•7 years ago
|
||
mozreview-review |
Comment on attachment 8976881 [details]
Bug 1460509 - part 52: Make HTMLEditRules::LoadHTML() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor
https://reviewboard.mozilla.org/r/245018/#review252002
Attachment #8976881 -
Flags: review?(m_kato) → review+
Comment 239•7 years ago
|
||
mozreview-review |
Comment on attachment 8976882 [details]
Bug 1460509 - part 53: Make HTMLEditRules::WillInsertText() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor
https://reviewboard.mozilla.org/r/245020/#review252004
::: editor/libeditor/HTMLEditRules.h:171
(Diff revision 2)
> + * @param aMaxLength The maximum string length which the editor
> + * allows to set.
> + */
> + MOZ_MUST_USE nsresult
> + WillInsertText(EditAction aAction, bool* aCancel, bool* aHandled,
> + const nsAString* inString, nsAString* outString,
Although I will handle by another new bug, outString and aMaxLength are unused.
::: editor/libeditor/HTMLEditRules.h:171
(Diff revision 2)
> + * @param aMaxLength The maximum string length which the editor
> + * allows to set.
> + */
> + MOZ_MUST_USE nsresult
> + WillInsertText(EditAction aAction, bool* aCancel, bool* aHandled,
> + const nsAString* inString, nsAString* outString,
Although I will handle by another new bug, outString and aMaxLength are unused.
Attachment #8976882 -
Flags: review?(m_kato) → review+
Comment 240•7 years ago
|
||
mozreview-review |
Comment on attachment 8976883 [details]
Bug 1460509 - part 54: Make HTMLEditRules::WillInsert() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor
https://reviewboard.mozilla.org/r/245022/#review252006
Attachment #8976883 -
Flags: review?(m_kato) → review+
Comment 241•7 years ago
|
||
mozreview-review |
Comment on attachment 8976884 [details]
Bug 1460509 - part 55: Make HTMLEditRules::AfterEditInner() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor
https://reviewboard.mozilla.org/r/245024/#review252008
Attachment #8976884 -
Flags: review?(m_kato) → review+
Comment 242•7 years ago
|
||
mozreview-review |
Comment on attachment 8976885 [details]
Bug 1460509 - part 56: Make HTMLEditRules::AlignBlockContents() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor
https://reviewboard.mozilla.org/r/245026/#review252010
Attachment #8976885 -
Flags: review?(m_kato) → review+
Comment 243•7 years ago
|
||
mozreview-review |
Comment on attachment 8976886 [details]
Bug 1460509 - part 57: Mark HTMLEditRules::AlignInnerBlocks() as MOZ_MUST_USE since it may cause destroying the editor
https://reviewboard.mozilla.org/r/245028/#review252012
Attachment #8976886 -
Flags: review?(m_kato) → review+
Comment 244•7 years ago
|
||
mozreview-review |
Comment on attachment 8976887 [details]
Bug 1460509 - part 58: Make HTMLEditRules::WillAlign() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor
https://reviewboard.mozilla.org/r/245030/#review252016
Attachment #8976887 -
Flags: review?(m_kato) → review+
Comment 245•7 years ago
|
||
mozreview-review |
Comment on attachment 8976888 [details]
Bug 1460509 - part 59: Make HTMLEditRules::CreateStyleForInsertText() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor
https://reviewboard.mozilla.org/r/245032/#review252020
::: editor/libeditor/HTMLEditRules.cpp:5532
(Diff revision 2)
> return NS_ERROR_FAILURE;
> }
> nsCOMPtr<nsINode> node = firstRange->GetStartContainer();
> int32_t offset = firstRange->StartOffset();
>
> - nsCOMPtr<Element> rootElement = aDoc.GetRootElement();
> + nsCOMPtr<Element> rootElement = aDocument.GetRootElement();
RefPtr is better
Attachment #8976888 -
Flags: review?(m_kato) → review+
Comment 246•7 years ago
|
||
mozreview-review |
Comment on attachment 8976889 [details]
Bug 1460509 - part 60: Make HTMLEditRules::ConvertListType() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor
https://reviewboard.mozilla.org/r/245034/#review252022
Attachment #8976889 -
Flags: review?(m_kato) → review+
Comment 247•7 years ago
|
||
mozreview-review |
Comment on attachment 8976890 [details]
Bug 1460509 - part 61: Make HTMLEditRules::SplitBlock() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor
https://reviewboard.mozilla.org/r/245036/#review252040
Attachment #8976890 -
Flags: review?(m_kato) → review+
Comment 248•7 years ago
|
||
mozreview-review |
Comment on attachment 8976891 [details]
Bug 1460509 - part 62: Make HTMLEditRules::OutdentPartOfBlock() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor
https://reviewboard.mozilla.org/r/245038/#review252046
Attachment #8976891 -
Flags: review?(m_kato) → review+
Comment 249•7 years ago
|
||
mozreview-review |
Comment on attachment 8976892 [details]
Bug 1460509 - part 63: Make HTMLEditRules::RemovePartOfBlock() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor
https://reviewboard.mozilla.org/r/245040/#review252052
Attachment #8976892 -
Flags: review?(m_kato) → review+
Comment 250•7 years ago
|
||
mozreview-review |
Comment on attachment 8976893 [details]
Bug 1460509 - part 64: Make HTMLEditRules::WillOutdent() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor
https://reviewboard.mozilla.org/r/245042/#review252062
Attachment #8976893 -
Flags: review?(m_kato) → review+
Comment 251•7 years ago
|
||
mozreview-review |
Comment on attachment 8976894 [details]
Bug 1460509 - part 65: Make HTMLEditRules::WillHTMLIndent() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor
https://reviewboard.mozilla.org/r/245044/#review252066
Attachment #8976894 -
Flags: review?(m_kato) → review+
Comment 252•7 years ago
|
||
mozreview-review |
Comment on attachment 8976895 [details]
Bug 1460509 - part 66: Make HTMLEditRules::WillCSSIndent() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor
https://reviewboard.mozilla.org/r/245046/#review252070
Attachment #8976895 -
Flags: review?(m_kato) → review+
Comment 253•7 years ago
|
||
mozreview-review |
Comment on attachment 8976896 [details]
Bug 1460509 - part 67: Mark HTMLEditRules::WillIndent() as MOZ_MUST_USE since it may return NS_ERROR_EDITOR_DESTROYED
https://reviewboard.mozilla.org/r/245048/#review252074
Attachment #8976896 -
Flags: review?(m_kato) → review+
Comment 254•7 years ago
|
||
mozreview-review |
Comment on attachment 8976897 [details]
Bug 1460509 - part 68: Mark HTMLEditRules::DidMakeBasicBlock() as MOZ_MUST_USE since it may return NS_ERROR_EDITOR_DESTROYED
https://reviewboard.mozilla.org/r/245050/#review252082
Attachment #8976897 -
Flags: review?(m_kato) → review+
Comment 255•7 years ago
|
||
mozreview-review |
Comment on attachment 8976898 [details]
Bug 1460509 - part 69: Make HTMLEditRules::MakeBasicBlock() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor
https://reviewboard.mozilla.org/r/245052/#review252094
Attachment #8976898 -
Flags: review?(m_kato) → review+
Comment 256•7 years ago
|
||
mozreview-review |
Comment on attachment 8976899 [details]
Bug 1460509 - part 70: Mark HTMLEditRules::WillMakeBasicBlock() as MOZ_MUST_USE since it may return NS_ERROR_EDITOR_DESTROYED
https://reviewboard.mozilla.org/r/245054/#review252096
Attachment #8976899 -
Flags: review?(m_kato) → review+
Comment 257•7 years ago
|
||
mozreview-review |
Comment on attachment 8976900 [details]
Bug 1460509 - part 71: Mark HTMLEditRules::WillMakeDefListItem() as MOZ_MUST_USE since it may return NS_ERROR_EDITOR_DESTROYED
https://reviewboard.mozilla.org/r/245056/#review252098
Attachment #8976900 -
Flags: review?(m_kato) → review+
Comment 258•7 years ago
|
||
mozreview-review |
Comment on attachment 8976901 [details]
Bug 1460509 - part 72: Mark HTMLEditRules::WillRemoveList() as MOZ_MUST_USE since it may return NS_ERROR_EDITOR_DESTROYED
https://reviewboard.mozilla.org/r/245058/#review252100
Attachment #8976901 -
Flags: review?(m_kato) → review+
Comment 259•7 years ago
|
||
mozreview-review |
Comment on attachment 8976902 [details]
Bug 1460509 - part 73: Make HTMLEditRules::WillMakeList() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor
https://reviewboard.mozilla.org/r/245060/#review252102
Attachment #8976902 -
Flags: review?(m_kato) → review+
Comment 260•7 years ago
|
||
mozreview-review |
Comment on attachment 8976903 [details]
Bug 1460509 - part 74: Make HTMLEditRules::DidDeleteSelection() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor
https://reviewboard.mozilla.org/r/245062/#review252104
Attachment #8976903 -
Flags: review?(m_kato) → review+
Comment 261•7 years ago
|
||
mozreview-review |
Comment on attachment 8976904 [details]
Bug 1460509 - part 75: Make HTMLEditRules::DeleteNonTableElements() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor
https://reviewboard.mozilla.org/r/245064/#review252106
Attachment #8976904 -
Flags: review?(m_kato) → review+
Comment 262•7 years ago
|
||
mozreview-review |
Comment on attachment 8976905 [details]
Bug 1460509 - part 76: Mark HTMLEditRules::MoveContents() as MOZ_MUST_USE since it may return NS_ERROR_EDITOR_DESTROYED
https://reviewboard.mozilla.org/r/245066/#review252108
Attachment #8976905 -
Flags: review?(m_kato) → review+
Comment 263•7 years ago
|
||
mozreview-review |
Comment on attachment 8976856 [details]
Bug 1460509 - part 27: Make HTMLEditRules::PinSelectionToNewBlock() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor
https://reviewboard.mozilla.org/r/244968/#review251780
Attachment #8976856 -
Flags: review?(m_kato) → review+
Comment 264•7 years ago
|
||
mozreview-review |
Comment on attachment 8976906 [details]
Bug 1460509 - part 77: Make HTMLEditRules::MoveNodeSmart() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor
https://reviewboard.mozilla.org/r/245068/#review252146
Attachment #8976906 -
Flags: review?(m_kato) → review+
Comment 265•7 years ago
|
||
mozreview-review |
Comment on attachment 8976907 [details]
Bug 1460509 - part 78: Make HTMLEditRules::MoveBlock() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor
https://reviewboard.mozilla.org/r/245070/#review252148
Attachment #8976907 -
Flags: review?(m_kato) → review+
Comment 266•7 years ago
|
||
mozreview-review |
Comment on attachment 8976908 [details]
Bug 1460509 - part 79: Make HTMLEditRules::TryToJoinBlocksWithTransaction() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor
https://reviewboard.mozilla.org/r/245072/#review252154
Attachment #8976908 -
Flags: review?(m_kato) → review+
Comment 267•7 years ago
|
||
mozreview-review |
Comment on attachment 8976909 [details]
Bug 1460509 - part 80: Make HTMLEditRules::DeleteNodeIfCollapsedText() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor
https://reviewboard.mozilla.org/r/245074/#review252158
Attachment #8976909 -
Flags: review?(m_kato) → review+
Comment 268•7 years ago
|
||
mozreview-review |
Comment on attachment 8976910 [details]
Bug 1460509 - part 81: Make HTMLEditRules::WillDeleteSelection() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor
https://reviewboard.mozilla.org/r/245076/#review252160
Attachment #8976910 -
Flags: review?(m_kato) → review+
Comment 269•7 years ago
|
||
mozreview-review |
Comment on attachment 8976911 [details]
Bug 1460509 - part 82: Refine comments of TextEditRules.h and HTMLEditRules.h
https://reviewboard.mozilla.org/r/245078/#review252170
Attachment #8976911 -
Flags: review?(m_kato) → review+
Comment 270•7 years ago
|
||
mozreview-review |
Comment on attachment 8976912 [details]
Bug 1460509 - part 83: Make HTMLEditRules::InsertBRIfNeeded() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor
https://reviewboard.mozilla.org/r/245080/#review252172
Attachment #8976912 -
Flags: review?(m_kato) → review+
Comment 271•7 years ago
|
||
mozreview-review |
Comment on attachment 8979586 [details]
Bug 1460509 - part 84: Make HTMLEditRules::GetNodesFromPoint() use IgnoredErrorResult instead of ErrorResult
https://reviewboard.mozilla.org/r/245726/#review252174
Attachment #8979586 -
Flags: review?(m_kato) → review+
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment 356•7 years ago
|
||
Pushed by masayuki@d-toybox.com:
https://hg.mozilla.org/integration/autoland/rev/d5afcbdbea9d
part 1: Declare NS_ERROR_EDITOR_DESTROYED error code and add a check method to TextEditRules whether it can keep handling edit action at a moment r=m_kato
https://hg.mozilla.org/integration/autoland/rev/0899d038b7f3
part 2: Make TextEditRules::CreateBR() and TextEditRules::CreateMozBR() return both new <br> element node and error code since if they cause destroying the editor, each caller needs NS_ERROR_EDITOR_DESTROYED result r=m_kato
https://hg.mozilla.org/integration/autoland/rev/74c8cf6f92ba
part 3: Make TextEditRules::HideLastPWInput() return NS_ERROR_EDITOR_DESTROYED when it causes destroying the editor r=m_kato
https://hg.mozilla.org/integration/autoland/rev/11bcaf374f3f
part 4: Make TextEditRules::CreateBogusNodeIfNeeded() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r=m_kato
https://hg.mozilla.org/integration/autoland/rev/96c4dd5af3c5
part 5: Make TextEditRules::CreateTrailingBRIfNeeded() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r=m_kato
https://hg.mozilla.org/integration/autoland/rev/3dcc53c8a9fa
part 6: Make TextEditRules::RemoveRedundantTrailingBR() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r=m_kato
https://hg.mozilla.org/integration/autoland/rev/a150cf6057a4
part 7: Make TextEditRules::DidDeleteSelection() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r=m_kato
https://hg.mozilla.org/integration/autoland/rev/263d02ec8c98
part 8: Make TextEditRules::WillDeleteSelection() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r=m_kato
https://hg.mozilla.org/integration/autoland/rev/4ae685aae84c
part 9: Make TextEditRules::WillSetText() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r=m_kato
https://hg.mozilla.org/integration/autoland/rev/565fadbff87e
part 10: Make TextEditRules::WillInsertText() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r=m_kato
https://hg.mozilla.org/integration/autoland/rev/ece3aca10543
part 11: Make TextEditRules::CollapseSelectionToTrailingBRIfNeeded() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r=m_kato
https://hg.mozilla.org/integration/autoland/rev/54e551b4a5cd
part 12: Make TextEditRules::WillInsertBreak() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r=m_kato
https://hg.mozilla.org/integration/autoland/rev/67892070f7cc
part 13: Make TextEditRules::WillInsert() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r=m_kato
https://hg.mozilla.org/integration/autoland/rev/e9a4f9a25edc
part 14: Make HTMLEditRules::WillRelativeChangeZIndex() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r=m_kato
https://hg.mozilla.org/integration/autoland/rev/2026d755e6b7
part 15: Make HTMLEditRules::WillRemoveAbsolutePosition() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r=m_kato
https://hg.mozilla.org/integration/autoland/rev/cf291a1b8c9c
part 16: Make HTMLEditRules::DidAbsolutePosition() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r=m_kato
https://hg.mozilla.org/integration/autoland/rev/c2322ad44783
part 17: Make HTMLEditRules::WillAbsolutePosition() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the HTML editor r=m_kato
https://hg.mozilla.org/integration/autoland/rev/a737ec819707
part 18: Make HTMLEditRules::ChangeIndentation() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r=m_kato
https://hg.mozilla.org/integration/autoland/rev/ba7cf7a4465e
part 19: Make HTMLEditRules::AlignBlock() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r=m_kato
https://hg.mozilla.org/integration/autoland/rev/2f7af16c2b10
part 20: Make HTMLEditRules::MakeSureElemStartsAndEndsOnCR() and HTMLEditRules::MakeSureElemStartsOrEndsOnCR() return NS_ERROR_EDITOR_DESTROYED if they cause destroying the editor r=m_kato
https://hg.mozilla.org/integration/autoland/rev/54843b7bec1c
part 21: Make HTMLEditRules::RemoveAlignment() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r=m_kato
https://hg.mozilla.org/integration/autoland/rev/e710e312b2fe
part 22: Mark HTMLEditRules::InsertBRIfNeededInternal() and its wrappers as MOZ_MUST_USE r=m_kato
https://hg.mozilla.org/integration/autoland/rev/005999e8351b
part 23: Make HTMLEditRules::RemoveListStructure() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r=m_kato
https://hg.mozilla.org/integration/autoland/rev/fbd3325fbcb5
part 24: Make HTMLEditRules::PopListItem() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r=m_kato
https://hg.mozilla.org/integration/autoland/rev/9f2d3bb7ea3b
part 25: Make HTMLEditRules::RemoveEmptyNodes() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r=m_kato
https://hg.mozilla.org/integration/autoland/rev/e1b59994fcdf
part 26: Make HTMLEditRules::AdjustSelection() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r=m_kato
https://hg.mozilla.org/integration/autoland/rev/e0d5244b2df0
part 27: Make HTMLEditRules::PinSelectionToNewBlock() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r=m_kato
https://hg.mozilla.org/integration/autoland/rev/c5795680e2e5
part 28: Make HTMLEditRules::AdjustWhitespace() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r=m_kato
https://hg.mozilla.org/integration/autoland/rev/849fd2e02f49
part 29: Make HTMLEditRules::AdjustSpecialBreaks() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r=m_kato
https://hg.mozilla.org/integration/autoland/rev/cf4b4e10743a
part 30: Make HTMLEditRules::ReapplyCachedStyles() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r=m_kato
https://hg.mozilla.org/integration/autoland/rev/4fd392df467a
part 31: Make HTMLEditRules::GetInlineStyles() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r=m_kato
https://hg.mozilla.org/integration/autoland/rev/7d02aaf267cb
part 32: Mark HTMLEditRules::CacheInlineStyles() as MOZ_MUST_USE since it may cause destroying the editor and returns NS_ERROR_EDITOR_DESTROYED in such case r=m_kato
https://hg.mozilla.org/integration/autoland/rev/a14b5f8ba603
part 33: Make HTMLEditRules::JoinNearestEditableNodesWithTransaction() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r=m_kato
https://hg.mozilla.org/integration/autoland/rev/ddefda4491bf
part 34: Make HTMLEditRules::MaybeSplitAncestorsForInsertWithTransaction() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r=m_kato
https://hg.mozilla.org/integration/autoland/rev/184edb194ab1
part 35: Make HTMLEditRules::ApplyBlockStyle() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r=m_kato
https://hg.mozilla.org/integration/autoland/rev/4a0df770d2eb
part 36: Make HTMLEditRules::RemoveBlockStyle() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r=m_kato
https://hg.mozilla.org/integration/autoland/rev/f11b80ec5588
part 37: Make HTMLEditRules::MakeBlockquote() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r=m_kato
https://hg.mozilla.org/integration/autoland/rev/8eb37e9acd9c
part 38: Make HTMLEditRules::ReturnInListItem() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r=m_kato
https://hg.mozilla.org/integration/autoland/rev/eeddbabe7d63
part 39: Make HTMLEditRules::SplitParagraph() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r=m_kato
https://hg.mozilla.org/integration/autoland/rev/61a02140bb8b
part 40: Make HTMLEditRules::ReturnInParagraph() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r=m_kato
https://hg.mozilla.org/integration/autoland/rev/5d6cf5da5865
part 41: Make HTMLEditRules::ReturnInHeader() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r=m_kato
https://hg.mozilla.org/integration/autoland/rev/58f4a99c292c
part 42: Make HTMLEditRules::BustUpInlinesAtBRs() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r=m_kato
https://hg.mozilla.org/integration/autoland/rev/02124d51cedd
part 43: Make HTMLEditRules::BustUpInlinesAtRangeEndpoints() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r=m_kato
https://hg.mozilla.org/integration/autoland/rev/7c1f8f9fa414
part 44: Make HTMLEditRules::GetNodesForOperation() and related methods return NS_ERROR_EDITOR_DESTROYED if they cause destroying the editor r=m_kato
https://hg.mozilla.org/integration/autoland/rev/8ca686e6da6f
part 45: Test if HTMLEditRules::PromoteRange() won't get range in Selection r=m_kato
https://hg.mozilla.org/integration/autoland/rev/5ea7f397e23e
part 46: Make HTMLEditRules::NormalizeSelection() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r=m_kato
https://hg.mozilla.org/integration/autoland/rev/0678e06a7ea6
part 47: Make HTMLEditRules::ExpandSelectionForDeletion() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r=m_kato
https://hg.mozilla.org/integration/autoland/rev/ff067dd16d73
part 48: Make HTMLEditRules::CheckForEmptyBlock() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r=m_kato
https://hg.mozilla.org/integration/autoland/rev/c722a0e44557
part 49: Make HTMLEditRules::SplitMailCites() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r=m_kato
https://hg.mozilla.org/integration/autoland/rev/bc12043b2467
part 50: Make HTMLEditRules::InsertBRElement() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r=m_kato
https://hg.mozilla.org/integration/autoland/rev/18f4358e8a2f
part 51: Make HTMLEditRules::WillInsertBreak() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r=m_kato
https://hg.mozilla.org/integration/autoland/rev/0bb996c7ff8b
part 52: Make HTMLEditRules::LoadHTML() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r=m_kato
https://hg.mozilla.org/integration/autoland/rev/aa6211a6af08
part 53: Make HTMLEditRules::WillInsertText() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r=m_kato
https://hg.mozilla.org/integration/autoland/rev/cf364896afae
part 54: Make HTMLEditRules::WillInsert() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r=m_kato
https://hg.mozilla.org/integration/autoland/rev/475aebb16e98
part 55: Make HTMLEditRules::AfterEditInner() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r=m_kato
https://hg.mozilla.org/integration/autoland/rev/16607c5a025e
part 56: Make HTMLEditRules::AlignBlockContents() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r=m_kato
https://hg.mozilla.org/integration/autoland/rev/c466a8f7aad1
part 57: Mark HTMLEditRules::AlignInnerBlocks() as MOZ_MUST_USE since it may cause destroying the editor r=m_kato
https://hg.mozilla.org/integration/autoland/rev/be0e207012c7
part 58: Make HTMLEditRules::WillAlign() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r=m_kato
https://hg.mozilla.org/integration/autoland/rev/6c3bf8e68459
part 59: Make HTMLEditRules::CreateStyleForInsertText() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r=m_kato
https://hg.mozilla.org/integration/autoland/rev/652ad712e5f5
part 60: Make HTMLEditRules::ConvertListType() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r=m_kato
https://hg.mozilla.org/integration/autoland/rev/70b3b23f52cc
part 61: Make HTMLEditRules::SplitBlock() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r=m_kato
https://hg.mozilla.org/integration/autoland/rev/2b159539ca98
part 62: Make HTMLEditRules::OutdentPartOfBlock() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r=m_kato
https://hg.mozilla.org/integration/autoland/rev/36cfdc7e03be
part 63: Make HTMLEditRules::RemovePartOfBlock() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r=m_kato
https://hg.mozilla.org/integration/autoland/rev/a3c1d0cf1da4
part 64: Make HTMLEditRules::WillOutdent() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r=m_kato
https://hg.mozilla.org/integration/autoland/rev/c6a3a026bba6
part 65: Make HTMLEditRules::WillHTMLIndent() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r=m_kato
https://hg.mozilla.org/integration/autoland/rev/ed72e2f3ab7c
part 66: Make HTMLEditRules::WillCSSIndent() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r=m_kato
https://hg.mozilla.org/integration/autoland/rev/142694da8847
part 67: Mark HTMLEditRules::WillIndent() as MOZ_MUST_USE since it may return NS_ERROR_EDITOR_DESTROYED r=m_kato
https://hg.mozilla.org/integration/autoland/rev/120c79b50985
part 68: Mark HTMLEditRules::DidMakeBasicBlock() as MOZ_MUST_USE since it may return NS_ERROR_EDITOR_DESTROYED r=m_kato
https://hg.mozilla.org/integration/autoland/rev/242060772656
part 69: Make HTMLEditRules::MakeBasicBlock() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r=m_kato
https://hg.mozilla.org/integration/autoland/rev/984364973122
part 70: Mark HTMLEditRules::WillMakeBasicBlock() as MOZ_MUST_USE since it may return NS_ERROR_EDITOR_DESTROYED r=m_kato
https://hg.mozilla.org/integration/autoland/rev/dfbf49ef76c7
part 71: Mark HTMLEditRules::WillMakeDefListItem() as MOZ_MUST_USE since it may return NS_ERROR_EDITOR_DESTROYED r=m_kato
https://hg.mozilla.org/integration/autoland/rev/e06c08948932
part 72: Mark HTMLEditRules::WillRemoveList() as MOZ_MUST_USE since it may return NS_ERROR_EDITOR_DESTROYED r=m_kato
https://hg.mozilla.org/integration/autoland/rev/1a32186e3efc
part 73: Make HTMLEditRules::WillMakeList() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r=m_kato
https://hg.mozilla.org/integration/autoland/rev/7fca98e9e705
part 74: Make HTMLEditRules::DidDeleteSelection() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r=m_kato
https://hg.mozilla.org/integration/autoland/rev/b29fda2fff6f
part 75: Make HTMLEditRules::DeleteNonTableElements() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r=m_kato
https://hg.mozilla.org/integration/autoland/rev/b332308167b8
part 76: Mark HTMLEditRules::MoveContents() as MOZ_MUST_USE since it may return NS_ERROR_EDITOR_DESTROYED r=m_kato
https://hg.mozilla.org/integration/autoland/rev/41053f306d83
part 77: Make HTMLEditRules::MoveNodeSmart() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r=m_kato
https://hg.mozilla.org/integration/autoland/rev/379371a40bb4
part 78: Make HTMLEditRules::MoveBlock() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r=m_kato
https://hg.mozilla.org/integration/autoland/rev/3c13e1f11e7e
part 79: Make HTMLEditRules::TryToJoinBlocksWithTransaction() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r=m_kato
https://hg.mozilla.org/integration/autoland/rev/4409da405ebb
part 80: Make HTMLEditRules::DeleteNodeIfCollapsedText() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r=m_kato
https://hg.mozilla.org/integration/autoland/rev/791b270d8627
part 81: Make HTMLEditRules::WillDeleteSelection() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r=m_kato
https://hg.mozilla.org/integration/autoland/rev/8f78ebb1fbff
part 82: Refine comments of TextEditRules.h and HTMLEditRules.h r=m_kato
https://hg.mozilla.org/integration/autoland/rev/694373e8dfd9
part 83: Make HTMLEditRules::InsertBRIfNeeded() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r=m_kato
https://hg.mozilla.org/integration/autoland/rev/6f56718bd4ec
part 84: Make HTMLEditRules::GetNodesFromPoint() use IgnoredErrorResult instead of ErrorResult r=m_kato
Comment 357•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/d5afcbdbea9d
https://hg.mozilla.org/mozilla-central/rev/0899d038b7f3
https://hg.mozilla.org/mozilla-central/rev/74c8cf6f92ba
https://hg.mozilla.org/mozilla-central/rev/11bcaf374f3f
https://hg.mozilla.org/mozilla-central/rev/96c4dd5af3c5
https://hg.mozilla.org/mozilla-central/rev/3dcc53c8a9fa
https://hg.mozilla.org/mozilla-central/rev/a150cf6057a4
https://hg.mozilla.org/mozilla-central/rev/263d02ec8c98
https://hg.mozilla.org/mozilla-central/rev/4ae685aae84c
https://hg.mozilla.org/mozilla-central/rev/565fadbff87e
https://hg.mozilla.org/mozilla-central/rev/ece3aca10543
https://hg.mozilla.org/mozilla-central/rev/54e551b4a5cd
https://hg.mozilla.org/mozilla-central/rev/67892070f7cc
https://hg.mozilla.org/mozilla-central/rev/e9a4f9a25edc
https://hg.mozilla.org/mozilla-central/rev/2026d755e6b7
https://hg.mozilla.org/mozilla-central/rev/cf291a1b8c9c
https://hg.mozilla.org/mozilla-central/rev/c2322ad44783
https://hg.mozilla.org/mozilla-central/rev/a737ec819707
https://hg.mozilla.org/mozilla-central/rev/ba7cf7a4465e
https://hg.mozilla.org/mozilla-central/rev/2f7af16c2b10
https://hg.mozilla.org/mozilla-central/rev/54843b7bec1c
https://hg.mozilla.org/mozilla-central/rev/e710e312b2fe
https://hg.mozilla.org/mozilla-central/rev/005999e8351b
https://hg.mozilla.org/mozilla-central/rev/fbd3325fbcb5
https://hg.mozilla.org/mozilla-central/rev/9f2d3bb7ea3b
https://hg.mozilla.org/mozilla-central/rev/e1b59994fcdf
https://hg.mozilla.org/mozilla-central/rev/e0d5244b2df0
https://hg.mozilla.org/mozilla-central/rev/c5795680e2e5
https://hg.mozilla.org/mozilla-central/rev/849fd2e02f49
https://hg.mozilla.org/mozilla-central/rev/cf4b4e10743a
https://hg.mozilla.org/mozilla-central/rev/4fd392df467a
https://hg.mozilla.org/mozilla-central/rev/7d02aaf267cb
https://hg.mozilla.org/mozilla-central/rev/a14b5f8ba603
https://hg.mozilla.org/mozilla-central/rev/ddefda4491bf
https://hg.mozilla.org/mozilla-central/rev/184edb194ab1
https://hg.mozilla.org/mozilla-central/rev/4a0df770d2eb
https://hg.mozilla.org/mozilla-central/rev/f11b80ec5588
https://hg.mozilla.org/mozilla-central/rev/8eb37e9acd9c
https://hg.mozilla.org/mozilla-central/rev/eeddbabe7d63
https://hg.mozilla.org/mozilla-central/rev/61a02140bb8b
https://hg.mozilla.org/mozilla-central/rev/5d6cf5da5865
https://hg.mozilla.org/mozilla-central/rev/58f4a99c292c
https://hg.mozilla.org/mozilla-central/rev/02124d51cedd
https://hg.mozilla.org/mozilla-central/rev/7c1f8f9fa414
https://hg.mozilla.org/mozilla-central/rev/8ca686e6da6f
https://hg.mozilla.org/mozilla-central/rev/5ea7f397e23e
https://hg.mozilla.org/mozilla-central/rev/0678e06a7ea6
https://hg.mozilla.org/mozilla-central/rev/ff067dd16d73
https://hg.mozilla.org/mozilla-central/rev/c722a0e44557
https://hg.mozilla.org/mozilla-central/rev/bc12043b2467
https://hg.mozilla.org/mozilla-central/rev/18f4358e8a2f
https://hg.mozilla.org/mozilla-central/rev/0bb996c7ff8b
https://hg.mozilla.org/mozilla-central/rev/aa6211a6af08
https://hg.mozilla.org/mozilla-central/rev/cf364896afae
https://hg.mozilla.org/mozilla-central/rev/475aebb16e98
https://hg.mozilla.org/mozilla-central/rev/16607c5a025e
https://hg.mozilla.org/mozilla-central/rev/c466a8f7aad1
https://hg.mozilla.org/mozilla-central/rev/be0e207012c7
https://hg.mozilla.org/mozilla-central/rev/6c3bf8e68459
https://hg.mozilla.org/mozilla-central/rev/652ad712e5f5
https://hg.mozilla.org/mozilla-central/rev/70b3b23f52cc
https://hg.mozilla.org/mozilla-central/rev/2b159539ca98
https://hg.mozilla.org/mozilla-central/rev/36cfdc7e03be
https://hg.mozilla.org/mozilla-central/rev/a3c1d0cf1da4
https://hg.mozilla.org/mozilla-central/rev/c6a3a026bba6
https://hg.mozilla.org/mozilla-central/rev/ed72e2f3ab7c
https://hg.mozilla.org/mozilla-central/rev/142694da8847
https://hg.mozilla.org/mozilla-central/rev/120c79b50985
https://hg.mozilla.org/mozilla-central/rev/242060772656
https://hg.mozilla.org/mozilla-central/rev/984364973122
https://hg.mozilla.org/mozilla-central/rev/dfbf49ef76c7
https://hg.mozilla.org/mozilla-central/rev/e06c08948932
https://hg.mozilla.org/mozilla-central/rev/1a32186e3efc
https://hg.mozilla.org/mozilla-central/rev/7fca98e9e705
https://hg.mozilla.org/mozilla-central/rev/b29fda2fff6f
https://hg.mozilla.org/mozilla-central/rev/b332308167b8
https://hg.mozilla.org/mozilla-central/rev/41053f306d83
https://hg.mozilla.org/mozilla-central/rev/379371a40bb4
https://hg.mozilla.org/mozilla-central/rev/3c13e1f11e7e
https://hg.mozilla.org/mozilla-central/rev/4409da405ebb
https://hg.mozilla.org/mozilla-central/rev/791b270d8627
https://hg.mozilla.org/mozilla-central/rev/8f78ebb1fbff
https://hg.mozilla.org/mozilla-central/rev/694373e8dfd9
https://hg.mozilla.org/mozilla-central/rev/6f56718bd4ec
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla62
Updated•7 years ago
|
Flags: qe-verify-
Assignee | ||
Updated•6 years ago
|
Blocks: redesign-editor-module
You need to log in
before you can comment on or make changes to this bug.
Description
•