Closed Bug 969870 Opened 6 years ago Closed 6 years ago

Use fallible allocations to store the used attributes of a WebGL program

Categories

(Core :: Canvas: WebGL, defect)

defect
Not set

Tracking

()

RESOLVED FIXED
mozilla30

People

(Reporter: ehsan, Assigned: ehsan)

References

Details

Attachments

(1 file)

It seems like the sizes for these data structures can be controlled from
Web content, and we are already prepared to deal with OOM conditions,
except that we are using infallible allocations by mistake.
Assignee: nobody → ehsan
Blocks: 969864
Attachment #8372841 - Flags: review?(bjacob)
Comment on attachment 8372841 [details] [diff] [review]
Use fallible allocations to store the used attributes of a WebGL program

Review of attachment 8372841 [details] [diff] [review]:
-----------------------------------------------------------------

> It seems like the sizes for these data structures can be controlled from Web content, 

Yup,

> and we are already prepared to deal with OOM conditions,

Grep seems to agree with you.
Attachment #8372841 - Flags: review?(bjacob) → review+
https://hg.mozilla.org/mozilla-central/rev/2f3a07546a33
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla30
You need to log in before you can comment on or make changes to this bug.