Closed
Bug 1393337
Opened 8 years ago
Closed 8 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•8 years ago
|
Priority: -- → P3
Assignee | ||
Updated•8 years ago
|
Assignee: nobody → masayuki
Status: NEW → ASSIGNED
Assignee | ||
Comment 1•8 years ago
|
||
Assignee | ||
Comment 2•8 years ago
|
||
Comment hidden (mozreview-request) |
Assignee | ||
Comment 4•8 years ago
|
||
Comment 5•8 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•8 years ago
|
||
Oh, sorry I posted different bug's patch here.
Assignee | ||
Updated•8 years ago
|
Attachment #8938327 -
Attachment is obsolete: true
Attachment #8938327 -
Flags: review?(m_kato)
Comment hidden (mozreview-request) |
Comment 8•8 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•8 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•8 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•8 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
status-firefox59:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla59
Assignee | ||
Updated•5 years ago
|
Blocks: redesign-editor-scriptable-API
You need to log in
before you can comment on or make changes to this bug.
Description
•