The Import card is offered in the card stack after importing passwords via a CSV file from a browser that doesn’t support direct password import
Categories
(Firefox :: Migration, defect, P3)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox158 | --- | unaffected |
| firefox159 | --- | unaffected |
| firefox160 | --- | affected |
People
(Reporter: srosu, Unassigned)
References
(Blocks 2 open bugs)
Details
(Whiteboard: [fide-fi])
[Notes]:
- This issue does not reproduce if the user has already imported bookmarks, browsing history, or passwords directly from a browser.
- This issue does not reproduce when the CSV file is imported using this option other than a browser source.
- The issue only reproduces when the user selects a browser source (e.g., Safari or Chrome) and completes the import using a CSV file.
[Affected versions]:
- Firefox Nightly 160.0a1 (Build ID: 20261020195026)
[Affected Platforms]:
- macOS 26.6.2
- Windows 10 and 11
[Prerequisites]:
- Have the latest Firefox Nightly 160.0a1 en-* build installed/extracted and opened.
- Have the Nimbus DevTools extension installed.
- Have a CSV file containing passwords saved to your device.
[Steps to reproduce]:
- Open the devTools extension and click on the Feature Configuration Enrollment.
- Select fxms-message-15 from the drop-down and paste in the contents of this GitHub gist, and click Enroll.
- Change the drop-down to newtabTrainhop, enter the contents of this gist, and click Enroll.
- Restart the browser and navigate to the about:welcome page in an existing tab.
- Reach the Import screen, select Safari (on macOS) or Chrome (on Windows), and uncheck the Bookmarks and Browsing History options.
- Click the Import button and complete the import using a CSV file.
- Skip the onboarding flow and observe the first screen displayed in the Card Stack.
[Expected result]:
- The Import card is not displayed in the Card Stack.
[Actual result]:
- The Import card is displayed in the Card Stack.
[Additional Notes]:
- Attached here a screen recording of the issue.
Comment 1•1 month ago
|
||
| frontend-triage | ||
MigrationWizardParent.sys.mjs imports the CSV chosen on the Safari/Chrome password step by calling LoginCSVImport.importFromCSV directly and sets no browser.migrate.interactions.* pref. With Bookmarks and History unchecked it also returns before migrator.migrate(), so MigratorBase.sys.mjs never sets one either, and the Import card's hasMigrated* targeting still sees no import. Both paths that comment 0 says don't reproduce do set one of these prefs.
Fix: Once importFromCSV resolves in that branch, set browser.migrate.interactions.csvpasswords, as FileMigrators.sys.mjs already does. In the password-only tasks of browser_safari_passwords.js and browser_chrome_windows_passwords.js, clear the pref first and then assert that it gets set.
Suggested severity: S3. Users who import only CSV passwords through a browser source see a redundant Import card they can dismiss; nothing is lost or broken.
If you'd like to provide feedback on this comment, please use the 👍 or 👎 reaction.
If you want to categorize your feedback you can add one of the following tags: ai-triage-{wrong-file, wrong-cause, hallucination, out-of-scope, not-a-bug, wrong-fix, shallow-fix, wrong-severity}.
Needinfo hackbot@mozilla.tld to have a patch generated for this bug, include any questions or directions as needed in your comment.
Updated•1 month ago
|
Updated•1 month ago
|
Updated•1 month ago
|
Comment 2•1 month ago
•
|
||
Updated•1 month ago
|
Updated•17 days ago
|
Comment 3•17 days ago
|
||
The component has been changed since the backlog priority was decided, so we're resetting it.
For more information, please visit BugBot documentation.
Updated•13 days ago
|
Description
•