gecko-dev/dom/animation/test
Hiroyuki Ikezoe df1a0e7203 Bug 1444177 - Tweak expected restyle count for the test case where finite animation is unthrottled in out-of-view element. r=birtles
It might be possible that the animation does not start being restyled in the
initial frame.  Eventually we should drop tweakExpectedRestyleCount in bug
1425778 and replace it with a function that waits for animation.ready and waits
to start being restyled something like this;

  async function waitForAnimationReadyToBeRestyled(aAnimation) {
    await aAnimation.ready;

    if (animationStartsRightNow(aAnimation)) {
      await waitForFrame();
    }
  }

MozReview-Commit-ID: ByN25hMAK76

--HG--
extra : rebase_source : 6dd3a44661905ffff7bce748540572df2d40425b
2018-03-19 12:46:23 +09:00
..
chrome Bug 1420320 - Drop dom.animations-api.pending-member.enabled pref; r=bz,hiro 2018-03-16 12:49:55 +09:00
crashtests Bug 1309198 - Test case that document is discarded while Document.getAnimations(). r=smaug 2017-12-21 11:40:23 +09:00
css-animations Bug 1382841 - Rename test_XXX_to_rename.html files in dom/animation/test to test_XXX.html; r=hiro 2018-03-12 16:08:35 +09:00
css-transitions Bug 1382841 - Rename test_XXX_to_rename.html files in dom/animation/test to test_XXX.html; r=hiro 2018-03-12 16:08:35 +09:00
document-timeline Bug 1382841 - Rename test_XXX_to_rename.html files in dom/animation/test to test_XXX.html; r=hiro 2018-03-12 16:08:35 +09:00
mozilla Bug 1444177 - Tweak expected restyle count for the test case where finite animation is unthrottled in out-of-view element. r=birtles 2018-03-19 12:46:23 +09:00
style Bug 1382841 - Rename test_XXX_to_rename.html files in dom/animation/test to test_XXX.html; r=hiro 2018-03-12 16:08:35 +09:00
chrome.ini Bug 1442150 - Re-enable test_running_on_compositor.html on Android. r=birtles 2018-03-06 11:01:49 +09:00
mochitest.ini Bug 1420320 - Drop dom.animations-api.pending-member.enabled pref; r=bz,hiro 2018-03-16 12:49:55 +09:00
testcommon.js Bug 1442150 - Move startsRightNow into testcommon.js and rename it to animationStartsRightNow. r=birtles 2018-03-06 10:35:26 +09:00