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

RESOLVED FIXED in mozilla30

Status

()

RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: Ehsan, Assigned: Ehsan)

Tracking

unspecified
mozilla30
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

5 years ago
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)

Comment 1

5 years ago
Created attachment 8372841 [details] [diff] [review]
Use fallible allocations to store the used attributes of a WebGL program
(Assignee)

Updated

5 years ago
Assignee: nobody → ehsan
Blocks: 969864
(Assignee)

Updated

5 years ago
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
Last Resolved: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla30
You need to log in before you can comment on or make changes to this bug.