mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-26 12:20:56 +00:00

We store active duration as int64_t, multiplying a finite duration by a finite iteration count would result over INT64_MAX, it will be represented as a negative integer value. Both animation duration and interation count should never be negative, thus multiplying them also should be positive so that treating such kind of overflowed values as infinite would be more reasonable than treating it as negative. Differential Revision: https://phabricator.services.mozilla.com/D152721
Common testing tools for mozilla codebase projects, test suite definitions for automated test runs, tests that don't fit anywhere else, and other fun stuff