The “Take Your Settings with You” card should not be displayed if the `identity.fxaccounts.enabled` preference is set to `false`
Categories
(Firefox :: Messaging System, enhancement)
Tracking
()
Tracking | Status | |
---|---|---|
firefox70 | --- | unaffected |
firefox71 | --- | unaffected |
firefox72 | --- | affected |
People
(Reporter: acupsa, Unassigned)
References
Details
Attachments
(1 file)
855.57 KB,
image/gif
|
Details |
[Notes]:
- If the user clicks the “Sign in to Sync” button from the “Take Your Settings with You” and they try to log in to sync the firefox accounts page will remain in a loop after adding an email and clicking the “Continue” button.
- However, having the “Take Your Settings with You” option displayed to users who have the
identity.fxaccounts.enabled
preference set tofalse
might influence them into changing the preference intotrue
in order to be able to sign in to sync and benefit from the products linked to it.
[Affected versions]:
- Firefox Nightly 72.0a1, Build ID: 20191126212708
[Affected Platforms]:
- All Windows
- All Mac
- All Linux
[Prerequisites]:
- Have the following settings:
identity.fxaccounts.enabled
preference set tofalse
trailhead.firstrun.branches
preference set tojoin-dynamic
value.
[Steps to reproduce]:
- Open the browser from the prerequisites.
- Open a new tab and observe the displayed cards.
[Expected result]:
- The “Stay Alert to Data Breaches”, “Browse Privately”, and “Instantly Send Yourself Tabs” cards are displayed.
[Actual result]:
- The “Take Your Settings with You”, “Stay Alert to Data Breaches”, and “Instantly Send Yourself Tabs” cards are displayed.
[Additional Notes]:
- Attached a screen recording of the issue.
Comment 1•6 years ago
•
|
||
As of now the skip condition for Sync card checks if user has sync enabled and uses firefox Sync and has pref "services.sync.username" set. https://searchfox.org/mozilla-central/source/browser/components/newtab/lib/OnboardingMessageProvider.jsm#271
It will be easy to include an additional check to skip Sync card if user has disabled firefox account i.e pref 'identity.fxaccounts.enabled' to false. NI Jim to weigh in adding fxaccounts disabled in skip condition.
From looking at the code by default 'identity.fxaccounts.enabled' is true and only false for enterprise. Not sure about various usecases when fx accounts are disabled?
https://searchfox.org/mozilla-central/source/browser/components/enterprisepolicies/Policies.jsm#416
Yes, suppressing the sync card if identity.fxaccounts.enabled=false
is fine. I'm not sure exactly when else accounts are disabled, but with enterprise builds as an example it can be skipped in our targeting for sync-related messages.
Comment 3•6 years ago
|
||
This is working as expected.
Description
•