Closed Bug 1064613 Opened 10 years ago Closed 10 years ago

Move server-side account deletion block in _handleGetAssertionError()

Categories

(Firefox OS Graveyard :: FxA, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(blocking-b2g:-)

RESOLVED FIXED
2.1 S4 (12sep)
blocking-b2g -

People

(Reporter: spenrose, Assigned: spenrose)

Details

Attachments

(1 file)

The current logic looks like this:

if (our token is invalid) { // 1
  return a Promise(
    if (the account exists) { // 2
      demand correct password 
    }
    // 3 silent null
  )
  signOut() and require login // 4
}
Option 4 needs to move to location 3.
Could you take a look at this Fernando? If you want to run xpcshell-test (entirely up to you), it requires the patch from bug 1064606 , as well as tricking mach. Thanks very much!
Attachment #8486110 - Flags: review?(ferjmoreno)
Comment on attachment 8486110 [details] [diff] [review]
1064613-handle-deleted.patch

Thanks Sam, good catch!
Attachment #8486110 - Flags: review?(ferjmoreno) → review+
[Blocking Requested - why for this release]: Fixes case where server-side account deletion will throw FxA error; user gets clean "Please sign in" flow.
blocking-b2g: --- → 2.1?
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/6638ccdc5587
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → 2.1 S4 (12sep)
Triage reviewed, marked blocking- because it's not a regression and not a common user scenario. Please ask for approval on the patch to land. And renominate if this is so critical we cannot ship 2.1 without it.
blocking-b2g: 2.1? → -
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: