Open Bug 2068462 Opened 2 months ago Updated 3 days ago

[macOS 27] Missing options in Import browser data for some Chrome profiles

Categories

(Firefox :: Migration, defect, P3)

Desktop
macOS
defect

Tracking

()

Tracking Status
firefox155 --- affected
firefox156 --- affected
firefox157 --- affected

People

(Reporter: csasca, Unassigned, NeedInfo)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fide-fi])

Attachments

(3 files)

Found in

  • Firefox 157.0a1

Affected versions

  • Firefox 155.0
  • Firefox 156.0b1
  • Firefox 157.0a1

Tested platforms

  • Affected platforms: macOS 27 (Public Beta 6 - 26A5425a)
  • Unaffected platforms: macOS 26.6.2

Preconditions

  • Multiple Chrome profiles with browing data in it (bookmarks, passwords/passkeys, history, etc) available.

Steps to reproduce

  1. Access about:preferences#sync and press on Import data
  2. Select the Chrome profile from the list
  3. Expand the Import all available data list

Expected result

  • Bookmarks, Saved passwords, Browsing history, extensions and Form autofill data are all importable options

Actual result

  • Only Browsing history, Extensions and Form autofill data is shown in the list

Additional notes

  • A difference with the exact same profile can be seen in the attachment (left macOS 26 and right macOS 27)
  • The ALBERT profile is a testing profile which has multiple data saved including bookmarks, passwords, passkeys, lots of history, etc. While this profile is affected on macOS 27 it is not on macOS 26.
  • I also have a second profile, personal, which has nearly the same data saved in it (bookmarks, passwords, passkeys, history) but this one has all the options available in macOS 27.
Severity: -- → S3
Component: Widget: Cocoa → Migration
Product: Core → Firefox
Severity: S3 → --

The severity field is not set for this bug.
:mconley, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(mconley)

Hi Catalin, are you seeing any data access warnings when attempting to do this, similar to what's being reported in bug 2078922?

Flags: needinfo?(mconley) → needinfo?(csasca)
See Also: → 2078922

(In reply to Mike Conley (:mconley) (:⚙️) from comment #2)

Hi Catalin, are you seeing any data access warnings when attempting to do this, similar to what's being reported in bug 2078922?

In case this is relevant, I thought I'd add that macOS only shows the "Data Access Blocked" notification once per app, so it could be easy to miss or not remember. But it also leaves a trace in System Settings. If necessary, you can check as follows:

  1. Open "System Settings" > "Privacy & Security" > "Files & Folders".
  2. Expand the entry for the Firefox you tested with, for example "Firefox" or "Firefox Nightly".
  3. Is there a "Google Chrome" row under it, and is its switch on or off?

Hey Catalin, any updates on whether or not this is still reproducible in Firefox 160?

Hello, sorry for the late response (was in PTO), so I just started 159.0a1 (2026-10-06) on macOS 27.0.1 and the first thing I got when pressed on Import data was the Manage Data popup (I entered system settings and allowed it), after that the chrome profiles were available to be selected and as initially, Saved Passwords was missing from the Albert profile.

After updating to 161.0a1 (2026-10-24), it seems I have lost access to the other browsers installed on the machine (I'll attach a screenshot) even though the files and folder permission is toggled ON (and previously worked on 159.0a1.

Flags: needinfo?(csasca)

What happens once you grant access to the others browser(s)? macOS 27 explicitly requires that Firefox first request access via the dialog that seems to be visible in your screenshot. See bug 2078922, which is being tested by QA as part of https://mozilla-hub.atlassian.net/browse/QA-5851. In other words, this appears to be working as expected, if you can confirm that the import works as expected once you follow the steps in the dialog (select "Continue" and choose "Open" in the file picker).

Flags: needinfo?(csasca)

Well seems that in system dialog I only have Chrome available with toggle and Safari is not there although it has the prompt available in Firefox to select what data to import.

Flags: needinfo?(csasca)

That's correct, Safari uses a different mechanism and will not show in System Settings, even after granting access to its data in our dialog.

The severity field is not set for this bug.
:mconley, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(mconley)

Hi Catalin, if you are still seeing this bug with missing Chrome resource types on import, is it possible to share the test profile so we can try to reproduce in a local build? (We can coordinate internally on slack to share the file.)

I'm very curious what kind of autofill data is in this Chrome profile, and if it has been used in the latest version of Chrome before trying to import it into Firefox. (If the test profile is very old, it's possible it is out of date with current Chrome data storage).

I'm not able to reproduce the bug today in Nightly. I created a new Chrome profile, and used this website to save some different kinds of autofill data: https://autofill.me/

Flags: needinfo?(mconley) → needinfo?(csasca)

Marking P3/S3 for now while we continue investigating

Severity: -- → S3
Priority: -- → P3

I think I found a likely cause, and it may not be specific to macOS 27.

Firefox's Chrome importer only reads passwords from the profile's "Login Data" file (_GetPasswordsResource in ChromeProfileMigrator.sys.mjs). When Chrome saves passwords to the user's Google Account, they go to "Login Data For Account" instead, and we never open that file. If "Login Data" has no usable entries, we don't offer Passwords at all. Bookmarks already read both of Chrome's files ("Bookmarks" and "AccountBookmarks"), but passwords don't.

My Chrome profile matches this. "Login Data" is 41 KB and last changed Nov 6, 2025. "Login Data For Account" is 143 KB and changed today. Chrome's password manager shows many saved passwords for this profile, but Nightly 162 on macOS 27.0.1 offered bookmarks, history, extensions and form autofill, not passwords.

That would also explain why a new Chrome profile doesn't reproduce it, since a profile that isn't signed in saves to "Login Data". I couldn't open the files myself (macOS blocks the read), so the empty "Login Data" part is inferred from the missing option.

Jared, does that match what you're seeing? A quick repro might be a Chrome profile signed in to a Google Account with a newly saved password.

Flags: needinfo?(jhirsch)

(In reply to Ray Fambro from comment #12)

That matches the code as far as I can tell. _GetPasswordsResource in ChromeProfileMigrator.sys.mjs only opens Login Data, and it only offers "Saved passwords" when that file's logins table has rows with blacklisted_by_user = 0. Passwords that Chrome saves to the Google Account in Login Data For Account are never looked at. It would also fit what Catalin saw in comment 5: "Saved passwords" was already missing for the Albert profile in 159, with access granted, so I don't think the macOS 27 folder access step is involved.

Reading Login Data For Account next to Login Data, the same way we already read AccountBookmarks next to Bookmarks, looks like the right fix. On macOS 27 it would happen at the same point as the other profile reads, after the user has selected Chrome's folder. I haven't checked yet whether Chrome encrypts the account passwords with the same Keychain key as the local ones, or how we'd want to handle a login that exists in both files.

(In reply to Stephen A Pohl [:spohl] from comment #13)

Thanks Stephen. Since this isn't specific to macOS 27, could we:

  1. Retitle to: Chrome import doesn't offer passwords saved to the Google Account ("Login Data For Account")
  2. Move to P2. Up to about 2.7K of 17.5K weekly Mac Chrome imports on release were missing passwords (Oct 26 to Nov 22, https://sql.telemetry.mozilla.org/queries/132124), and those users never see passwords offered.

Also, does this affect Windows too, or does the CSV step already cover account passwords there?

Stephen or Niklas, would either of you want to own this?

Flags: needinfo?(spohl.mozilla.bugs)
Flags: needinfo?(nbaumgardner)
Whiteboard: [fide-fi]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: