Make nsSupportsArray::GrowArrayBy infallible

RESOLVED FIXED in mozilla17

Status

()

Core
XPCOM
--
enhancement
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: ayg, Assigned: ayg)

Tracking

Trunk
mozilla17
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

The only failure path is new failing, which is impossible.
Created attachment 649563 [details] [diff] [review]
Patch

Also fixes a couple other places in the file where we check for operator new failing.  Try: https://tbpl.mozilla.org/?tree=Try&rev=5a32782a8c8b
Attachment #649563 - Flags: review?(doug.turner)

Updated

5 years ago
Attachment #649563 - Flags: review?(doug.turner) → review+

Comment 2

5 years ago
https://hg.mozilla.org/integration/mozilla-inbound/rev/a7594623ad0d

Thanks!
https://hg.mozilla.org/mozilla-central/rev/a7594623ad0d
Status: ASSIGNED → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla17
You need to log in before you can comment on or make changes to this bug.