Closed
Bug 1484122
Opened 6 years ago
Closed 6 years ago
Split HTMLEditor::DeleteTableRow() for internal use
Categories
(Core :: DOM: Editor, enhancement, P3)
Core
DOM: Editor
Tracking
()
RESOLVED
FIXED
mozilla64
People
(Reporter: masayuki, Assigned: masayuki)
References
(Blocks 1 open bug)
Details
Attachments
(3 files)
No description provided.
Updated•6 years ago
|
Priority: -- → P3
Assignee | ||
Comment 1•6 years ago
|
||
Assignee | ||
Comment 2•6 years ago
|
||
Assignee | ||
Comment 3•6 years ago
|
||
This patch changes a bit in HTMLEditor::DeleteTableRow() because calling
DeleteTable2() without those helper classes hits MOZ_ASSERT().
Assignee | ||
Comment 4•6 years ago
|
||
nsITableEditor::DeleteTableRow() is an XPCOM method but there are some internal
users. So, it should be implemented as non-virtual protected method and
internal users should use it instead.
This also renames (and reimplement) HTMLEditor::DeleteTable2() since it's
really bad name and the code dispatches unnecessary "selectionchange" events.
Assignee | ||
Comment 5•6 years ago
|
||
This patch renames HTMLEditor::DeleteRow() to
HTMLEditor::DeleteTableRowWithTransaction() and cleans up its implementation.
Comment 6•6 years ago
|
||
Comment on attachment 9009319 [details]
Bug 1484122 - part 0: Add automated tests for nsITableEditor.deleteTableRow.html
Makoto Kato [:m_kato] has approved the revision.
Attachment #9009319 -
Flags: review+
Comment 7•6 years ago
|
||
Comment on attachment 9009320 [details]
Bug 1484122 - part 1: Create HTMLEditor::DeleteSelectedTableRowsWithTransaction() for internal use of nsITableEditor::DeleteTableRow()
Makoto Kato [:m_kato] has approved the revision.
Attachment #9009320 -
Flags: review+
Comment 8•6 years ago
|
||
Comment on attachment 9009321 [details]
Bug 1484122 - part 2: Clean up HTMLEditor::DeleteRow()
Makoto Kato [:m_kato] has approved the revision.
Attachment #9009321 -
Flags: review+
Pushed by masayuki@d-toybox.com:
https://hg.mozilla.org/integration/autoland/rev/9913556f42c1
part 0: Add automated tests for nsITableEditor.deleteTableRow.html r=m_kato
Comment 10•6 years ago
|
||
Pushed by masayuki@d-toybox.com:
https://hg.mozilla.org/integration/autoland/rev/7e2fe3f19c3c
part 1: Create HTMLEditor::DeleteSelectedTableRowsWithTransaction() for internal use of nsITableEditor::DeleteTableRow() r=m_kato
https://hg.mozilla.org/integration/autoland/rev/b240ef0f3694
part 2: Clean up HTMLEditor::DeleteRow() r=m_kato
Comment 11•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/9913556f42c1
https://hg.mozilla.org/mozilla-central/rev/7e2fe3f19c3c
https://hg.mozilla.org/mozilla-central/rev/b240ef0f3694
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
status-firefox64:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
Updated•6 years ago
|
Flags: in-testsuite+
Assignee | ||
Updated•6 years ago
|
Blocks: add-scriptable-editor-API-tests
You need to log in
before you can comment on or make changes to this bug.
Description
•