Closed Bug 1102624 Opened 10 years ago Closed 7 years ago

logging out in settings will not fire onlogout in a running app

Categories

(Firefox OS Graveyard :: FxA, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: nick, Unassigned)

References

Details

Step 1. run an app that later calls navigator.mozId. Step 2. go into settings without closing the app from step 1. Step 3. log out of FxA. Expected: onlogout to fire Actual: nothing An app developer will not know that a user is logged in.
(In reply to Nick Desaulniers [:\n] from comment #0) > Step 1. run an app that later calls navigator.mozId. > Step 2. go into settings without closing the app from step 1. > Step 3. log out of FxA. > > Expected: > onlogout to fire > > Actual: > nothing > > An app developer will not know that a user is logged in. This does not reproduce with the UITests app. Here's what I did: mozilla-central 2.0 as of ~4pm PST today gaia origin/v2.0, same time Flash Flame with dev build 1) Sign into FxA 2) Homescreen -> UITest app -> tab API -> Firefox Accounts MozID item 3) Assertion prints, indicating onlogin() fired. 4) Switch to Settings -> Firefox Accounts. Sign out. 5) Use app switch (press/hold Home button) to return to running UITest app. 6) logout has been printed, indicating that onlogout() fired.
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.