Closed
Bug 1800553
Opened 3 years ago
Closed 3 years ago
Some `HTMLAnchorElement` methods can be `const`
Categories
(Core :: DOM: Core & HTML, defect, P3)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
109 Branch
| Tracking | Status | |
|---|---|---|
| firefox109 | --- | fixed |
People
(Reporter: masayuki, Assigned: masayuki)
Details
Attachments
(2 files)
No description provided.
| Assignee | ||
Comment 1•3 years ago
|
||
Most of them are used only by the WebIDL bindings. Therefore, this fixes only
one caller in HTMLEditUtils.
GetText requires to change nsContentUtils, therefore it'll be done by the
following patch.
| Assignee | ||
Comment 2•3 years ago
|
||
This needs to change nsContentUtils methods because of used by the method.
Then, we can make some there callers are also const methods.
Depends on D162065
Pushed by masayuki@d-toybox.com:
https://hg.mozilla.org/integration/autoland/rev/c6d6e9dfe1e2
part 1: Change most getter methods of `HTMLAnchorElement` to `const` methods r=smaug
https://hg.mozilla.org/integration/autoland/rev/75abe5b4a987
part 2: Change `HTMLAnchorElement::GetText` to a `const` method r=smaug
Comment 4•3 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/c6d6e9dfe1e2
https://hg.mozilla.org/mozilla-central/rev/75abe5b4a987
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
status-firefox109:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 109 Branch
Comment 5•3 years ago
|
||
| bugherder | ||
You need to log in
before you can comment on or make changes to this bug.
Description
•