Add GTests for allocation failure in ImageLib

NEW
Unassigned

Status

()

Core
ImageLib
2 years ago
2 years ago

People

(Reporter: seth, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [gfx-noted])

(Reporter)

Description

2 years ago
We should make sure that we handle it gracefully when allocations fail in ImageLib.

At least the following allocations can fail:

- SourceBuffer chunks.
- The various buffers in Downscaler.
- Surfaces.
Whiteboard: [gfx-noted]
You need to log in before you can comment on or make changes to this bug.