Bug 969869 - Use fallible allocation in WebGL element array cache; r=bjacob

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.
Bug 969870 - Use fallible allocations to store the used attributes of a WebGL program; r=bjacob

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.