Closed Bug 948212 Opened 11 years ago Closed 11 years ago

FxAccounts.jsm: internal.signOut() is not a function

Categories

(Cloud Services :: Firefox: Common, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla29

People

(Reporter: jedp, Unassigned)

References

Details

(Whiteboard: [qa-])

Attachments

(1 file, 1 obsolete file)

Innocent bystander struck down during refactoring: services/fxaccounts/FxAccounts.jsm line 178 calls internal.signOut(), which does not exist.
Whiteboard: [qa-]
Attached patch 948212.signOut.patch (obsolete) — Splinter Review
Something like this for the signOut fix. Not ready for review yet. There are one or two things I want to understand better about why I'm hitting this code path on sign in with a new user.
Yes, this code path will always be taken if we are using the current Persona API, which fires logout after ready when there is no signed in user. Once the SSO story for Firefox Accounts is resolved (closing bug 945363), this may change. But for now, this fix should go in.
Comment on attachment 8345013 [details] [diff] [review] 948212.signOut.patch Hi, Mark, This got overlooked in the FxAccounts.jsm patch: I think there needs to be an 'internal' signOut method as well as the one in the public API. Thanks for taking a look, j
Attachment #8345013 - Flags: review?(mhammond)
Attachment #8345013 - Flags: review?(mhammond) → review+
Updated checkin comment; r=markh
Attachment #8345013 - Attachment is obsolete: true
Thank you, Mark, for your ever-speedy reviews! Cheers, j
Keywords: checkin-needed
Flags: in-testsuite+
Keywords: checkin-needed
Whiteboard: [qa-] → [qa-][fixed-in-fx-team]
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [qa-][fixed-in-fx-team] → [qa-]
Target Milestone: --- → mozilla29
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: