Closed
Bug 1419700
Opened 7 years ago
Closed 7 years ago
Add an async function to instead of `migrator.sourceProfiles`
Categories
(Firefox :: Migration, enhancement, P3)
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
Updated•7 years ago
|
Priority: -- → P3
Comment 2•7 years ago
|
||
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)
Comment 3•7 years ago
|
||
Let's dupe this to bug 1438972 which tracks making the other migrators use non-sync IO.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•