Enable fxbackup on all platforms
Categories
(Firefox :: Profile Backup, task, P1)
Tracking
()
People
(Reporter: hsohaney, Assigned: hsohaney)
References
Details
(Whiteboard: [fidedi])
Attachments
(2 external files)
Updated•7 months ago
|
| Assignee | ||
Comment 1•7 months ago
|
||
Updated•7 months ago
|
Comment 4•7 months ago
|
||
Backed out for causing several bc failures on macOS.
Failure logs:
| Assignee | ||
Comment 5•7 months ago
•
|
||
hey emily, do you know of the top of your head why enabling backup on mac would cause errors in browser/components/aboutwelcome/tests/browser/browser_aboutwelcome_rtamo.js - its an OMC test that I don't fully understand
edit: I noticed that the test fails on windows 11 right now when restore is the aboutwelcome screen - it seems like that is being replicated onto mac with my patch
Comment 6•7 months ago
|
||
Most likely what is happening is that the backup attribution is taking precedence over RTAMO attribution and inserting the backup screen in front of the RTAMO screen (which is fine in real life, but causes the test to fail because it sees the "wrong" screen being rendered.) The fix is typically to add the screen we don't want to the targeting exemptions (they'll just shortcut the targeting inside that particular test and return it as false so the screen doesn't render)
I'll take a look and make sure that's what's happening.
Comment 7•7 months ago
•
|
||
Okay, that is indeed what's happening, but the tests in question don't actually have a targeting exemption set up. So I think the cleanest way to fix this is to add a setup step before the first add_task in three places:
add_setup(async () => {
await SpecialPowers.pushPrefEnv({
set: [["browser.backup.restore.enabled", false]],
});
});
in browser/components/aboutwelcome/tests/browser/browser_aboutwelcome_attribution.js,
browser/components/aboutwelcome/tests/browser/browser_aboutwelcome_rtamo.js, &&
browser/components/aboutwelcome/tests/browser/browser_aboutwelcome_screen_targeting.js
Should be fine to turn off the restore screen for these since we're independently testing the backup and restore flows in other places.
Comment 9•7 months ago
|
||
| bugherder | ||
Comment 10•7 months ago
|
||
firefox-beta Uplift Approval Request
- User impact if declined/Reason for urgency: Firefox backup and recovery won't be available on macos and linux. User's porting over from windows to another device will not be able to recover their backups.
- Code covered by automated testing?: yes
- Fix verified in Nightly?: no
- Needs manual QE testing?: yes
- Steps to reproduce for manual QE testing: - verify backup and recover are available on macos and linux in about:preferences#sync .
- manual testing will be covered by QA of the feature itself.
- Risk associated with taking this patch: low
- Explanation of risk level: - Pref flip
- String changes made/needed?: No
- Is Android affected?: no
| Assignee | ||
Comment 11•7 months ago
|
||
Original Revision: https://phabricator.services.mozilla.com/D294658
Updated•7 months ago
|
Updated•7 months ago
|
Comment 12•7 months ago
|
||
| uplift | ||
| Assignee | ||
Comment 13•7 months ago
|
||
Release Note Request (optional, but appreciated)
[Why is this notable]: Enables firefox backup and restore on macos and linux.
[Affects Firefox for Android]: No
[Suggested wording]: Starting with Fx151, users can enable local backups of their profiles on macOS and Linux, and restore them across platforms.
[Links (documentation, blog post, etc)]: https://support.mozilla.org/en-US/kb/firefox-backup
Updated•7 months ago
|
Updated•7 months ago
|
Comment 14•7 months ago
|
||
Thanks, added to the Fx151 beta release notes, please allow 30 minutes for the site to update.
Keeping the relnote-firefox flag as ? to keep it on the radar for inclusion in the final Fx151 release notes.
Marking as verified since QA has finished testing this on both Linux and MacOS for both Nightly 152 and Beta 151. Note that for MacOS the backup/restore feature is disabled by bug 2039334 in Firefox 151 but not in Firefox 152.
Description
•