gecko-dev/dom/animation/test
Tom Ritter d2f55fcd2f Bug 1387894 - Fix the WPT and mochitest test_document-timeline.html for unconditional clamping r=birtles
We fix this by clamping the requestAnimationFrame timestamp in the test before comparing it.
We don't clamp the requestAnimationFrame timestamp normally because it would be meaningless:
rAF fires on a regular frequency and someone perfoming a fine-grained timing attack will be
able to determine the timestamp from when it fires.

We need to use parseFloat to knock off any extra epislon we gain.

This shouldn't cause any major blow-ups because timelines are disabled in release and beta,
so at least any potential fallout would be constrained.

Differential Revision: https://phabricator.services.mozilla.com/D38807

--HG--
extra : moz-landing-system : lando
2019-07-30 13:19:05 +00:00
..
chrome Bug 1534884 - Add new animation warning for animations overridden by important rules. r=birtles 2019-06-28 18:18:08 +00:00
crashtests Bug 1524480 - Set NS_FRAME_MAY_BE_TRANSFORMED bit when we have nsChangeHint_UpdateTransformLayer; r=hiro 2019-02-15 06:35:55 +00:00
document-timeline Bug 1387894 - Fix the WPT and mochitest test_document-timeline.html for unconditional clamping r=birtles 2019-07-30 13:19:05 +00:00
mozilla Bug 1556855 part 2: Update tests to assume that 'layout.css.prefixes.webkit' is already true. r=mats 2019-06-05 18:22:39 +00:00
style Bug 1558527 - Fix various issues related to shadowing of variables in dom/ code. r=mccr8 2019-06-12 08:29:58 +00:00
chrome.ini Bug 1253476 - Don't composite removed animations; r=boris 2019-05-20 05:55:52 +00:00
mochitest.ini Bug 1253476 - Add tests that removing is triggered at the right time; r=boris 2019-05-20 05:22:16 +00:00
testcommon.js Bug 1561435 - Format dom/, a=automatic-formatting 2019-07-05 10:44:55 +02:00