Commit 0a1be437 authored by Corey Frang's avatar Corey Frang

Adding a check for double progress call in effects units

parent 155855b2
......@@ -1770,6 +1770,10 @@ asyncTest("Animation callbacks (#11797)", 15, function() {
ok( true, "async: start" );
},
progress: function( anim, percent ) {
// occasionally the progress handler is called twice in first frame.... *shrug*
if ( percent === 0 && expectedProgress === 1 ) {
return;
}
equal( percent, expectedProgress, "async: progress " + expectedProgress );
// once at 0, once at 1
expectedProgress++;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment