(url)
| 33 | } |
| 34 | |
| 35 | function loginUrlCb(url) |
| 36 | { |
| 37 | try |
| 38 | { |
| 39 | url = validateLoginUrl(url); |
| 40 | } |
| 41 | catch(e) |
| 42 | { |
| 43 | connectionState.set("LOGINFAILED"); |
| 44 | rejectLogin(e); |
| 45 | resetLoginPromise(); |
| 46 | return; |
| 47 | } |
| 48 | connectionState.set("LOGINREADY"); |
| 49 | resolveLogin(url); |
| 50 | } |
| 51 | |
| 52 | function stateUpdateCb(state) |
| 53 | { |
nothing calls this directly
no test coverage detected