Last Comment Bug 780832 - Make nsSupportsArray::GrowArrayBy infallible
: Make nsSupportsArray::GrowArrayBy infallible
Status: RESOLVED FIXED
:
Product: Core
Classification: Components
Component: XPCOM (show other bugs)
: Trunk
: All All
: -- enhancement (vote)
: mozilla17
Assigned To: :Aryeh Gregor (away until August 15)
:
Mentors:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-08-07 01:21 PDT by :Aryeh Gregor (away until August 15)
Modified: 2012-08-08 18:24 PDT (History)
1 user (show)
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Attachments
Patch (5.21 KB, patch)
2012-08-07 01:23 PDT, :Aryeh Gregor (away until August 15)
dougt: review+
Details | Diff | Review

Description :Aryeh Gregor (away until August 15) 2012-08-07 01:21:14 PDT
The only failure path is new failing, which is impossible.
Comment 1 :Aryeh Gregor (away until August 15) 2012-08-07 01:23:37 PDT
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
Comment 2 Doug Turner (:dougt) 2012-08-08 11:36:38 PDT
https://hg.mozilla.org/integration/mozilla-inbound/rev/a7594623ad0d

Thanks!
Comment 3 Ryan VanderMeulen [:RyanVM] 2012-08-08 18:24:19 PDT
https://hg.mozilla.org/mozilla-central/rev/a7594623ad0d

Note You need to log in before you can comment on or make changes to this bug.