Closed
Bug 1714918
Opened 4 years ago
Closed 4 years ago
Sort out accessors of editor concrete classes
Categories
(Core :: DOM: Editor, task, P3)
Core
DOM: Editor
Tracking
()
RESOLVED
FIXED
91 Branch
Tracking | Status | |
---|---|---|
firefox91 | --- | fixed |
People
(Reporter: masayuki, Assigned: masayuki)
References
Details
Attachments
(1 file)
nsIEditor::As*
is sometimes used instead ofnsIEditor::Is*()
nsIEditor::As*
should just cast- Instead,
nsIEditor::GetAs*()
should check the concrete class like internal DOM API
Assignee | ||
Comment 1•4 years ago
|
||
For consistency with the similar internal DOM API, As*()
should just cast
the type without checking editor type. Instead, GetAs*()
should do it.
Assignee | ||
Comment 2•4 years ago
|
||
Posted to dev-platform: https://groups.google.com/a/mozilla.org/g/dev-platform/c/hVXQK457tME
Pushed by masayuki@d-toybox.com:
https://hg.mozilla.org/integration/autoland/rev/150c70a6850a
Sort out editor class accessors of `nsIEditor` r=m_kato
Comment 4•4 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
status-firefox91:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 91 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•