Closed Bug 961017 Opened 10 years ago Closed 10 years ago

browserid_identity's initWithLoggedInUser() method should reject the promise if user not verified.

Categories

(Firefox :: Sync, defect)

defect
Not set
normal

Tracking

()

VERIFIED WORKSFORME

People

(Reporter: markh, Unassigned)

References

Details

(Whiteboard: [qa?])

Bug 959088 comment 1 made me think about this issue - if the user doesn't have a verified email address, the promise returned by initWithLoggedInUser may never resolve.  If the user validates while the promise is outstanding, then it *might* resolve, although we might have given up polling for the verification by then.

I believe we should reject the promise ASAP when we are in this state.  A notification on the verification status could help us ensure the user gets automagically logged in on verification, in the same way we handle the onlogin notification.

Blocking 959088 as this would prevents us thinking the lack of the key bundle is an error state in this case.

Chris, any thoughts on this?
Whiteboard: [qa?]
Subsumed by bug 959222
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WORKSFORME
OK.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.