mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-21 17:25:36 +00:00
d2f55fcd2f
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 |
||
---|---|---|
.. | ||
chrome | ||
crashtests | ||
document-timeline | ||
mozilla | ||
style | ||
chrome.ini | ||
mochitest.ini | ||
testcommon.js |