Closed Bug 1791223 Opened 2 years ago Closed 2 years ago

Make `MoveNodeResult` treated as ok type of `Result`

Categories

(Core :: DOM: Editor, task, P3)

task

Tracking

()

RESOLVED FIXED
107 Branch
Tracking Status
firefox107 --- fixed

People

(Reporter: masayuki, Assigned: masayuki)

References

Details

Attachments

(1 file)

No description provided.
Summary: Make `MoveNodeResult` treat as ok type of `Result` → Make `MoveNodeResult` treated as ok type of `Result`

Unfortunately, it's hard to split this (and similar) patch because we need to
touch MoveNodeResult itself for making it available as the ok type of
Result. However, I guess that it's not so hard to investigate regression
point if something would be found later because MoveNodeResult is mainly
used by deletion which is the most complicated part of HTMLEditor, but
MoveNodeResult is used only in a few cases.

Depends on D157419

Pushed by masayuki@d-toybox.com:
https://hg.mozilla.org/integration/autoland/rev/496ea669fbc6
Use `MoveNodeResult` as the ok type of `mozilla::Result` r=m_kato
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 107 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: