(error)
| 57 | } |
| 58 | |
| 59 | function isVerificationMailPollingError(error) { |
| 60 | const message = getErrorMessage(error); |
| 61 | return /未在 .*邮箱中找到新的匹配邮件|未在 Hotmail 收件箱中找到新的匹配验证码|邮箱轮询结束,但未获取到验证码|无法获取新的(?:注册|登录)验证码|页面未能重新就绪|页面通信异常|did not respond in \d+s/i.test(message); |
| 62 | } |
| 63 | |
| 64 | function getLoginAuthStateLabel(state) { |
| 65 | state = state === 'oauth_consent_page' ? 'unknown' : state; |
no test coverage detected