Closed Bug 1631381 Opened 5 years ago Closed 4 years ago

Check OOM handling in DocumentL10n::TriggerInitialDocumentTranslation

Categories

(Core :: Internationalization, task, P3)

task

Tracking

()

RESOLVED FIXED
mozilla78
Tracking Status
firefox78 --- fixed

People

(Reporter: sg, Assigned: zbraniecki)

References

Details

Attachments

(1 file)

Bug 1628715 identified that the return value of a fallible call to nsTArray::AppendElement was discarded. It was changed to crash in this case for the time being. It should be checked if a different error handling should be done here.

Priority: -- → P3
Flags: needinfo?(gandalf)
Assignee: nobody → gandalf
Status: NEW → ASSIGNED
Pushed by zbraniecki@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/20a72eb47bd1 Reject the initial translation if allocating an element fails. r=emilio
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla78
Flags: needinfo?(gandalf)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: