Closed Bug 780832 Opened 9 years ago Closed 9 years ago

Make nsSupportsArray::GrowArrayBy infallible

Categories

(Core :: XPCOM, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla17

People

(Reporter: ayg, Assigned: ayg)

Details

Attachments

(1 file)

The only failure path is new failing, which is impossible.
Attached patch PatchSplinter Review
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)
Attachment #649563 - Flags: review?(doug.turner) → review+
https://hg.mozilla.org/mozilla-central/rev/a7594623ad0d
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla17
You need to log in before you can comment on or make changes to this bug.