Open Bug 840808 Opened 11 years ago Updated 5 months ago

Implement Vector::infallibleResize

Categories

(Core :: MFBT, task)

task

Tracking

()

People

(Reporter: Waldo, Unassigned)

Details

Paralleling infallibleAppend, for those cases where the desired new size has already been allocated, replacing JS_ALWAYS_TRUE(v.resize(n)), which will only catch mistakes if resizing to an unreserved size OOMs -- noticed while looking at bug 715419.

The bug assignee is inactive on Bugzilla, so the assignee is being reset.

Assignee: jwalden → nobody
Status: ASSIGNED → NEW
Severity: normal → S3

Conceptually, still could be done.

Component: JavaScript Engine → MFBT
Type: defect → task
You need to log in before you can comment on or make changes to this bug.