if you upgrade lie then it and the browser have Promise.resolve()