Closed Bug 1419700 Opened 7 years ago Closed 6 years ago

Add an async function to instead of `migrator.sourceProfiles`

Categories

(Firefox :: Migration, enhancement, P3)

55 Branch
enhancement

Tracking

()

RESOLVED DUPLICATE of bug 1438972

People

(Reporter: evanxd, Unassigned)

References

Details

The issue is from https://bugzilla.mozilla.org/show_bug.cgi?id=1410839#c50. 

> Can you file a followup bug to make getting a list of profiles async, so we
> can use non-mainthread IO for this instead of the manual file inputstream
> stuff? We'd need to change migrator code to use `getSourceProfiles` instead
> of just `migrator.sourceProfiles`, and make that new method be async.

Let's add a new async function called `getSourceProfiles` to instead of `migrator.sourceProfiles`[1]. The we could use the non-mainthread IO there.

[1]: https://searchfox.org/mozilla-central/source/browser/components/migration/ChromeProfileMigrator.js#164
Priority: -- → P3
Doug, didn't this get fixed?
Flags: needinfo?(dothayer)
Yeah. Not all migrators are off of main thread IO, but they're all on the async interface now as of bug 862127 landing.
Flags: needinfo?(dothayer)
Let's dupe this to bug 1438972 which tracks making the other migrators use non-sync IO.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.