code: function executePendingFrames() {
              var frames = pendingFrames;
              pendingFrames = [];
              while (frames.length) {
                  executeFrame(frames.pop());
              }
              frameRequestId = 0;
          }
docs: 执行所有等待帧