gecko-dev/gfx/tests
Glenn Watson 1628e0582a Bug 1647862 - Fix panic when casting large rects to i32. r=Bert
In various parts of the picture and mask code, we were casting
the `clipped` rect to i32 (after rounding out). However, this
can cause overflow panics when the origin of the rect is too big.

Instead, treat the origin as f32 (which it was generally being
converted to anyway), and only cast the size part to be i32 as
required. This is safe since we know that the size has been
clipped to the visible screen, so will always be safe to cast
to i32.

Differential Revision: https://phabricator.services.mozilla.com/D80968
2020-06-28 22:00:56 +00:00
..
browser
chrome Bug 1636307 - Reenable device lost testing on WebRender. r=kats 2020-05-08 20:37:36 +00:00
crashtests Bug 1647862 - Fix panic when casting large rects to i32. r=Bert 2020-06-28 22:00:56 +00:00
gtest Bug 1602072 - Add a gfxInfo flag determine Firefox is embedded by FxR for telemetry. r=thomasmo,chutten,froydnj,jrmuizel,geckoview-reviewers,rbarker,snorp 2020-06-25 17:22:20 +00:00
marionette
mochitest Bug 1644863 - fix trailing whitespace in cross-tree tests, r=emilio,marionette-reviewers,whimboo 2020-06-17 22:45:31 +00:00
reftest Bug 1641751 - Part 3 - Refactor some texture cache code for future eviction changes. r=Bert,kvark 2020-06-05 00:53:17 +00:00
moz.build