Closed
Bug 1393337
Opened 7 years ago
Closed 7 years ago
Get rid of nsIEditRules
Categories
(Core :: DOM: Editor, enhancement, P3)
Core
DOM: Editor
Tracking
()
RESOLVED
FIXED
mozilla59
People
(Reporter: masayuki, Assigned: masayuki)
References
(Blocks 1 open bug)
Details
Attachments
(1 file, 1 obsolete file)
nsIEditRules is an abstract class of TextEditRules and HTMLEditRules. However, HTMLEditRules is a subclass of TextEditRules and nsIEditRules is not referred by any other modules. So, we can just get rid of the interface and could make some methods of them non-virtual.
Updated•7 years ago
|
Priority: -- → P3
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → masayuki
Status: NEW → ASSIGNED
Assignee | ||
Comment 1•7 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=5f04d1e9a3b00ff339baf029d63c1dc8b0abd178
Assignee | ||
Comment 2•7 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=ea1580e1881e01201eceeec6da6b4b07bf938d18
Comment hidden (mozreview-request) |
Assignee | ||
Comment 4•7 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=e70772c3417929a574fa2be4c1563a17bd1d4f8b
Comment 5•7 years ago
|
||
mozreview-review |
Comment on attachment 8938327 [details] Bug 1393337 - Don't try to remove whitespaces in WSRunObject::ConvertToNBSP() when the text node is changed by mutation observer https://reviewboard.mozilla.org/r/209054/#review215006 Is this bug 1425997?
Assignee | ||
Comment 6•7 years ago
|
||
Oh, sorry I posted different bug's patch here.
Assignee | ||
Updated•7 years ago
|
Attachment #8938327 -
Attachment is obsolete: true
Attachment #8938327 -
Flags: review?(m_kato)
Comment hidden (mozreview-request) |
Comment 8•7 years ago
|
||
mozreview-review |
Comment on attachment 8938558 [details] Bug 1393337 - Get rid of nsIEditRules https://reviewboard.mozilla.org/r/209196/#review215090 As deCom, it is OK. But I think that some members (such as mTimer) in TextEditRules should be private. Or, we creates EditRules class and HTMLEditRules shouldn't be inheritance class of TextEditRules because some fuctions is only Text mode such as password.
Attachment #8938558 -
Flags: review?(m_kato) → review+
Assignee | ||
Comment 9•7 years ago
|
||
mozreview-review-reply |
Comment on attachment 8938558 [details] Bug 1393337 - Get rid of nsIEditRules https://reviewboard.mozilla.org/r/209196/#review215090 Yeah, looks like that we should clean them up in some follow up bugs.
Comment 10•7 years ago
|
||
Pushed by masayuki@d-toybox.com: https://hg.mozilla.org/integration/autoland/rev/f4fdf6c12d5f Get rid of nsIEditRules r=m_kato
Comment 11•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/f4fdf6c12d5f
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox59:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla59
Assignee | ||
Updated•4 years ago
|
Blocks: redesign-editor-scriptable-API
You need to log in
before you can comment on or make changes to this bug.
Description
•