Bug 969866 - Use fallible allocations in some places in our font/text shaping code; r=jfkthame

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 969871 - Use fallible allocation for text hyphenation; r=jfkthame

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.