Closed Bug 1052427 Opened 10 years ago Closed 10 years ago

Make nsContentUtils::ASCIIToLower/ASCIIToUpper infallible

Categories

(Core :: DOM: Core & HTML, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla34

People

(Reporter: ayg, Assigned: ayg)

Details

Attachments

(1 file)

I couldn't understand the code, but if the methods we're calling aren't using infallible allocators, they should be, right?  I found a grand total of four callers that checked the return value, out of 44 or so.
Attached patch PatchSplinter Review
Attachment #8471574 - Flags: review?(bugs)
Attachment #8471574 - Flags: review?(bugs) → review+
https://hg.mozilla.org/mozilla-central/rev/ae6c0266182f
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla34
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: