Closed Bug 1612828 Opened 4 years ago Closed 4 years ago

Remove `nsresult` from `Selection::FindInsertionPoint`

Categories

(Core :: DOM: Selection, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla74
Tracking Status
firefox74 --- fixed

People

(Reporter: mbrodesser-Igalia, Assigned: mbrodesser-Igalia)

References

(Blocks 1 open bug)

Details

Attachments

(3 files)

No description provided.

Will allow to replace the hand-crafted binary search from the method.

Depends on D61531

Blocks: 1590379
Attachment #9124207 - Attachment description: Bug 1612828: part 1) Add error handling to `Selection::SubtractRange`. r=smaug → Bug 1612828: part 1) Change signature of `Selection::SubtractRange`. r=smaug
Pushed by mbrodesser@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/0c5d622f913a
part 1) Change signature of `Selection::SubtractRange`. r=smaug
https://hg.mozilla.org/integration/autoland/rev/364b0fe0560e
part 2) Remove `nsresult` return type from`Selection::FindInsertionPoint`'s comparator`. r=smaug
https://hg.mozilla.org/integration/autoland/rev/0d4b7b5b116b
part 3) Remove `nsresult` return type from `Selection::FindInsertionPoint`. r=smaug
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: