Open
Bug 1631371
Opened 5 years ago
Updated 9 months ago
Check uses of nsTArray methods that now return NotNull<elem_type*> but checked the result for nullptr earlier
Categories
(Core :: XPCOM, task)
Core
XPCOM
Tracking
()
NEW
People
(Reporter: sg, Unassigned)
References
(Depends on 1 open bug)
Details
Bug 1628715 made several infallible methods of nsTArray
return NotNull<elem_type*>
instead of elem_type*
. Several code locations used to check these for nullptr, and contained dedicated code for that, which was unreachable. In some cases, they might have been meant to use fallible operations instead.
These locations have been marked with XXX(Bug 1631371)
. The respective module peers should check if these match their intention.
The remaining comments are planned to be removed by end of October 2020 if they have not been addressed by then, and this bug is going to be closed.
You need to log in
before you can comment on or make changes to this bug.
Description
•