diff --git a/dom/animation/test/css-transitions/file_animation-pausing.html b/dom/animation/test/css-transitions/file_animation-pausing.html index 06c997ad0efd..61eb81fefe9d 100644 --- a/dom/animation/test/css-transitions/file_animation-pausing.html +++ b/dom/animation/test/css-transitions/file_animation-pausing.html @@ -37,7 +37,7 @@ async_test(function(t) { 'margin-left does not increase after calling pause()'); previousAnimVal = getMarginLeft(cs); animation.play(); - return animation.ready.then(waitForFrame); + return animation.ready.then(waitForNextFrame); })).then(t.step_func(function() { assert_greater_than(getMarginLeft(cs), previousAnimVal, 'margin-left increases after calling play()');