Mocha shouldn't wait for an animation frame
Mocha shouldn't wait for an animation frame

When we run the tests headless, we never actually put up frames, which means we
never generate animation frames. In this mode, we might want to generate fake
animation frames (like DRT does), but for now just use a timeout to make the
tests work again.

R=rafaelw@chromium.org, esprehn@chromium.org

Review URL: https://codereview.chromium.org/758113003

jason-simmons/sky_engine,mxia/engine,afandria/sky_engine,mdakin/engine,krisgiesing/sky_engine,TribeMedia/sky_engine,takaaptech/sky_engine,takaaptech/sky_engine,rmacnak-google/engine,abarth/sky_engine,Hixie/sky_engine,jimsimon/sky_engine,mdakin/engine,iansf/sky_engine,devoncarew/engine,devoncarew/engine,mxia/engine,jamesr/sky_engine,Hixie/sky_engine,mpcomplete/flutter_engine,iansf/sky_engine,jamesr/flutter_engine,abarth/sky_engine,rmacnak-google/engine,rmacnak-google/engine,flutter/engine,mxia/engine,jamesr/sky_engine,lyceel/engine,cdotstout/sky_engine,jamesr/sky_engine,mpcomplete/flutter_engine,krisgiesing/sky_engine,aam/engine,mdakin/engine,jason-simmons/sky_engine,cdotstout/sky_engine,mdakin/engine,mpcomplete/engine,axinging/sky_engine,jimsimon/sky_engine,axinging/sky_engine,lyceel/engine,mikejurka/engine,xunmengfeng/engine,iansf/sky_engine,rmacnak-google/engine,aam/engine,rmacnak-google/engine,lyceel/engine,krisgiesing/sky_engine,jamesr/flutter_engine,axinging/sky_engine,mpcomplete/engine,jason-simmons/sky_engine,jimsimon/sky_engine,jamesr/flutter_engine,jason-simmons/flutter_engine,takaaptech/sky_engine,takaaptech/sky_engine,mxia/engine,abarth/sky_engine,tvolkert/engine,mikejurka/engine,TribeMedia/sky_engine,abarth/sky_engine,aam/engine,chinmaygarde/flutter_engine,jimsimon/sky_engine,jason-simmons/flutter_engine,mpcomplete/flutter_engine,jamesr/flutter_engine,jason-simmons/flutter_engine,tvolkert/engine,abarth/sky_engine,devoncarew/engine,chinmaygarde/sky_engine,iansf/sky_engine,cdotstout/sky_engine,jimsimon/sky_engine,afandria/sky_engine,jason-simmons/flutter_engine,flutter/engine,devoncarew/sky_engine,axinging/sky_engine,jimsimon/sky_engine,mpcomplete/flutter_engine,chinmaygarde/flutter_engine,jimsimon/sky_engine,TribeMedia/sky_engine,zhangxq5012/sky_engine,aam/engine,Hixie/sky_engine,devoncarew/engine,xunmengfeng/engine,chinmaygarde/sky_engine,devoncarew/engine,flutter/engine,TribeMedia/sky_engine,cdotstout/sky_engine,tvolkert/engine,mpcomplete/engine,chinmaygarde/sky_engine,tvolkert/engine,chinmaygarde/sky_engine,rmacnak-google/engine,devoncarew/sky_engine,zhangxq5012/sky_engine,flutter/engine,mikejurka/engine,mikejurka/engine,krisgiesing/sky_engine,qiankunshe/sky_engine,devoncarew/engine,devoncarew/sky_engine,afandria/sky_engine,mxia/engine,abarth/sky_engine,mikejurka/engine,zhangxq5012/sky_engine,jason-simmons/flutter_engine,aam/engine,qiankunshe/sky_engine,mikejurka/engine,chinmaygarde/sky_engine,axinging/sky_engine,jamesr/sky_engine,krisgiesing/sky_engine,zhangxq5012/sky_engine,mxia/engine,mdakin/engine,Hixie/sky_engine,aam/engine,chinmaygarde/flutter_engine,mpcomplete/engine,axinging/sky_engine,Hixie/sky_engine,takaaptech/sky_engine,jamesr/sky_engine,iansf/sky_engine,Hixie/sky_engine,tvolkert/engine,jamesr/flutter_engine,zhangxq5012/sky_engine,axinging/sky_engine,afandria/sky_engine,TribeMedia/sky_engine,qiankunshe/sky_engine,qiankunshe/sky_engine,iansf/sky_engine,krisgiesing/sky_engine,devoncarew/engine,iansf/sky_engine,jamesr/flutter_engine,tvolkert/engine,jason-simmons/flutter_engine,lyceel/engine,qiankunshe/sky_engine,abarth/sky_engine,mdakin/engine,rmacnak-google/engine,mikejurka/engine,chinmaygarde/sky_engine,xunmengfeng/engine,mxia/engine,flutter/engine,jimsimon/sky_engine,mpcomplete/engine,jamesr/sky_engine,jason-simmons/sky_engine,flutter/engine,jason-simmons/sky_engine,jason-simmons/sky_engine,takaaptech/sky_engine,jimsimon/sky_engine,TribeMedia/sky_engine,lyceel/engine,afandria/sky_engine,mpcomplete/flutter_engine,afandria/sky_engine,qiankunshe/sky_engine,lyceel/engine,afandria/sky_engine,chinmaygarde/flutter_engine,jason-simmons/sky_engine,zhangxq5012/sky_engine,jason-simmons/flutter_engine,cdotstout/sky_engine,axinging/sky_engine,zhangxq5012/sky_engine,chinmaygarde/flutter_engine,qiankunshe/sky_engine,lyceel/engine,xunmengfeng/engine,mpcomplete/engine,devoncarew/sky_engine,mikejurka/engine,iansf/sky_engine,takaaptech/sky_engine,takaaptech/sky_engine,zhangxq5012/sky_engine,flutter/engine,Hixie/sky_engine,jamesr/flutter_engine,tvolkert/engine,jason-simmons/flutter_engine,mdakin/engine,takaaptech/sky_engine,mpcomplete/engine,devoncarew/sky_engine,Hixie/sky_engine,jamesr/flutter_engine,flutter/engine,mxia/engine,xunmengfeng/engine,chinmaygarde/sky_engine,TribeMedia/sky_engine,xunmengfeng/engine,mpcomplete/engine,axinging/sky_engine,cdotstout/sky_engine,afandria/sky_engine,cdotstout/sky_engine,aam/engine,qiankunshe/sky_engine,aam/engine,devoncarew/sky_engine,krisgiesing/sky_engine,chinmaygarde/flutter_engine,xunmengfeng/engine,jamesr/flutter_engine,devoncarew/sky_engine,mikejurka/engine,zhangxq5012/sky_engine,mpcomplete/flutter_engine,chinmaygarde/flutter_engine,mdakin/engine,TribeMedia/sky_engine,jamesr/sky_engine,TribeMedia/sky_engine