Closed Bug 1634663 Opened 2 years ago Closed 2 years ago

Declare callers of `Selection::GetRangeAt` `const` when possible

Categories

(Core :: DOM: Selection, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
mozilla78
Tracking Status
firefox78 --- fixed

People

(Reporter: mbrodesser, Assigned: mbrodesser)

References

(Blocks 1 open bug)

Details

Attachments

(5 files)

Helps to determine where, outside of Selection, ranges are mutated.

Pushed by mbrodesser@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/5d49d672bcaa
part 1) Declare `Selection::GetRangeAt`'s callers `const` around dom/ code. r=masayuki
https://hg.mozilla.org/integration/autoland/rev/3ba9cee0bfef
part 2) Declare callers of `GetRangeAt` around `EditorBase` `const`. r=masayuki
https://hg.mozilla.org/integration/autoland/rev/e25aeed66e9a
part 3) Declare callers of `Selection::GetRangeAt` in spellchecking code `const`. r=masayuki
https://hg.mozilla.org/integration/autoland/rev/e96619c151fc
part 4) Declare callers of `Selection::GetRangeAt` `const` in layout code. r=masayuki
https://hg.mozilla.org/integration/autoland/rev/d102cc6d3daf
part 5) Declare callers of `Selection::GetRangeAt` around toolkit/components/find `const`. r=masayuki
Severity: -- → N/A
You need to log in before you can comment on or make changes to this bug.