微信小游戏window.requestAnimFrame is not a function 错误

微信小游戏捕获了大量的 window.requestAnimFrame is not a function 错误

定位在game.js开始执行到第一帧渲染之前,不知道该错误会不会导致小游戏白屏。

也不知道如何处理,还没找到复现方式。

gameThirdScriptError;window.requestAnimFrame is not a function;at api onShow callback function;TypeError: window.requestAnimFrame is not a function;    at Object.cc.game._runMainLoop (https://usr/game.js:332:31);    at Object.resume (https://usr/game.js:3:133709);    at https://usr/game.js:3:140086;    at Object.138.l.invoke (https://usr/game.js:3:473166);    at Function.r (https://usr/game.js:3:139190);    at Function.t (https://lib/WAGameSubContext.js:1:120952)

虽然不知道你是哪个版本,贴个相关这个PR
https://github.com/cocos-creator/engine/pull/5185