Closed
Bug 1613349
Opened 6 years ago
Closed 6 years ago
Make nsIFrame::RemoveProperty `MOZ_MUST_USE`.
Categories
(Core :: Layout, defect)
Core
Layout
Tracking
()
RESOLVED
FIXED
mozilla74
| Tracking | Status | |
|---|---|---|
| firefox74 | --- | fixed |
People
(Reporter: emilio, Assigned: emilio)
Details
Attachments
(6 files, 1 obsolete file)
|
47 bytes,
text/x-phabricator-request
|
Details | Review | |
|
47 bytes,
text/x-phabricator-request
|
Details | Review | |
|
47 bytes,
text/x-phabricator-request
|
Details | Review | |
|
47 bytes,
text/x-phabricator-request
|
Details | Review | |
|
47 bytes,
text/x-phabricator-request
|
Details | Review | |
|
47 bytes,
text/x-phabricator-request
|
Details | Review |
https://phabricator.services.mozilla.com/D61142 introduced a leak because it used RemoveProperty rather than DeleteProperty on a deletable property and ignored the result.
That shouldn't happen.
| Assignee | ||
Comment 1•6 years ago
|
||
| Assignee | ||
Comment 2•6 years ago
|
||
This is hopefully clearer naming.
| Assignee | ||
Comment 3•6 years ago
|
||
For consistency with the previous change for layout.
Depends on D61755
Updated•6 years ago
|
Attachment #9124461 -
Attachment is obsolete: true
| Assignee | ||
Comment 4•6 years ago
|
||
Depends on D61756
| Assignee | ||
Comment 5•6 years ago
|
||
As it doesn't necessarily call delete and that may be confusing.
| Assignee | ||
Comment 6•6 years ago
|
||
And the related methods as well.
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/310ae5b1a209
Rename nsIFrame::RemoveProperty to nsIFrame::TakeProperty. r=dholbert
https://hg.mozilla.org/integration/autoland/rev/5146f19f9e31
Rename nsINode::UnsetProperty to nsINode::TakeProperty. r=smaug
https://hg.mozilla.org/integration/autoland/rev/6eb761359b54
Make nsIFrame::TakeProperty MOZ_MUST_USE. r=dholbert
https://hg.mozilla.org/integration/autoland/rev/1e2ba9e0ea1a
Rename nsIFrame::DeleteProperty to RemoveProperty. r=dholbert
https://hg.mozilla.org/integration/autoland/rev/3cfff4ea7fcb
Rename nsINode::DeleteProperty to RemoveProperty. r=smaug
| Assignee | ||
Comment 8•6 years ago
|
||
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/078bc81f9525
Address one review comment I missed.
Comment 10•6 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/310ae5b1a209
https://hg.mozilla.org/mozilla-central/rev/5146f19f9e31
https://hg.mozilla.org/mozilla-central/rev/6eb761359b54
https://hg.mozilla.org/mozilla-central/rev/1e2ba9e0ea1a
https://hg.mozilla.org/mozilla-central/rev/3cfff4ea7fcb
https://hg.mozilla.org/mozilla-central/rev/078bc81f9525
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox74:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla74
You need to log in
before you can comment on or make changes to this bug.
Description
•