Closed Bug 1842605 Opened 1 year ago Closed 1 year ago

[macOS] Infinite loading when importing an invalid or empty .csv file by using the Safari browser option

Categories

(Firefox :: Migration, defect, P3)

Desktop
macOS
defect

Tracking

()

VERIFIED FIXED
117 Branch
Tracking Status
firefox-esr102 --- unaffected
firefox-esr115 --- disabled
firefox115 --- disabled
firefox116 --- wontfix
firefox117 --- verified

People

(Reporter: atrif, Assigned: mconley)

References

(Blocks 2 open bugs)

Details

Attachments

(3 files)

Attached video safari_infinite.mov (deleted) —

Found in

  • 116.0b3

Affected versions

  • 116.0b3
  • 117.0a1 (2023-07-09)

Tested platforms

  • Affected platforms: macOS 12
  • Unaffected platforms: Windows 11x64,Ubuntu 22.04

Preconditions

  • signon.management.page.fileImport.enabled:true
  • emty .csv file

Steps to reproduce

  1. Import data from Safari.
  2. Choose the empty .CSV file from the preconditions.

Expected result

  • Chosen data is imported, besides passwords.

Actual result

  • Infinite loading and no data is imported.

Regression range

  • Not a regression. Reproducible with Firefox 115.0a1 (2023-05-30) after bug 1825874 was implemented.

Additional notes

  • Attached a screen recording.
  • This also happens when importing a .csv file alone using the Safari option.

:atrif, if you think that's a regression, could you try to find a regression range using for example mozregression?

Priority: -- → P3

This also fixes some incorrect inline documentation I found in some of our tests,
and fixes a case where we were showing the warning state for importing bookmarks
in browser_safari_passwords.js.

Assignee: nobody → mconley
Status: NEW → ASSIGNED
Pushed by mconley@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/14cc087582a1 Handle errors in loading passwords from Safari CSV files. r=kpatenio,fluent-reviewers,bolsson
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 117 Branch

The patch landed in nightly and beta is affected.
:mconley, is this bug important enough to require an uplift?

  • If yes, please nominate the patch for beta approval.
  • If no, please set status-firefox116 to wontfix.

For more information, please visit BugBot documentation.

Flags: needinfo?(mconley)

This involves a string change, so we'll not uplift.

Flags: needinfo?(mconley)
Attached image Screenshot 2023-07-18 at 11.18.35.png (deleted) —

Verified fixed with Firefox 117.0a1 (2023-07-17) on macOS 12. The infinite loading no longer occurs and the The file doesn't include any valid password data. Pick another file. error is displayed in the import window.

Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: