Bug 1023336 - Part 1: Add a Moz2D helper to consistently limit the size of data-wrapping DataSourceSurface buffers. r=Bas, a=1.3+
Bug 1023336 - Part 2: Use the new BufferSizeFromStrideAndHeight helper where appropriate in Moz2D code. r=Bas, a=1.3+
Bug 1027127 - Remove setTimeout to avoid intermittent test failure. r=dchan, a=test-only