mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-16 06:45:42 +00:00
Bug 1073379, part 6b - Re-enable the player.playState check in checkStateAtActiveIntervalEndTime, but disable the first checkStateAtActiveIntervalEndTime call in the 'Skipping backwards through animation' tests. r=orange
This commit is contained in:
parent
343748a2bf
commit
983df62b3a
@ -272,11 +272,9 @@ function checkStateAtActiveIntervalEndTime(player)
|
||||
{
|
||||
// We don't test player.startTime since our caller just set it.
|
||||
|
||||
/* For some reason this fails occasionally during the skiping backwards tests
|
||||
assert_equals(player.playState, 'finished',
|
||||
'AnimationPlayer.playState should be "finished" at the end of ' +
|
||||
'the active interval');
|
||||
*/
|
||||
|
||||
assert_equals(player.source.target.style.animationPlayState, "running",
|
||||
'AnimationPlayer.source.target.style.animationPlayState should be ' +
|
||||
@ -417,7 +415,9 @@ async_test(function(t) {
|
||||
|
||||
// This must come after we've set up the Promise chain, since requesting
|
||||
// computed style will force events to be dispatched.
|
||||
checkStateAtActiveIntervalEndTime(player);
|
||||
// XXX For some reason this fails occasionally (either the player.playState
|
||||
// check or the marginLeft check).
|
||||
//checkStateAtActiveIntervalEndTime(player);
|
||||
}, 'Skipping backwards through animation');
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user