Closed
Bug 1318570
Opened 8 years ago
Closed 8 years ago
Clean up GetTextNode into TextEditRules
Categories
(Core :: DOM: Editor, defect, P3)
Core
DOM: Editor
Tracking
()
RESOLVED
FIXED
mozilla53
Tracking | Status | |
---|---|---|
firefox53 | --- | fixed |
People
(Reporter: m_kato, Assigned: m_kato)
Details
Attachments
(1 file)
I don't know why we pass EditBase as paramter to call static method.
Comment hidden (mozreview-request) |
Comment 2•8 years ago
|
||
mozreview-review |
Comment on attachment 8815152 [details] Bug 1318570 - Clean up GetTextNode into TextEditRules. https://reviewboard.mozilla.org/r/96176/#review96344 ::: editor/libeditor/TextEditRules.cpp:499 (Diff revision 1) > + ErrorResult rv; > + selNode = iter->NextNode(rv); > + if (!selNode) { > + rv.SuppressException(); Using IgnoredErrorResult can get rid of a call of SuppressException()? (I'm not sure.) https://dxr.mozilla.org/mozilla-central/rev/8387a4ada9a5c4cab059d8fafe0f8c933e83c149/dom/bindings/ErrorResult.h#535
Attachment #8815152 -
Flags: review?(masayuki) → review+
Pushed by m_kato@ga2.so-net.ne.jp: https://hg.mozilla.org/integration/mozilla-inbound/rev/466d794c37a1 Clean up GetTextNode into TextEditRules. r=masayuki
Comment 4•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/466d794c37a1
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla53
You need to log in
before you can comment on or make changes to this bug.
Description
•