add setZeroTimeout for main-frame-support