Closed
Bug 1746667
Opened 3 years ago
Closed 3 years ago
PathUtils: Make `get{ProfileDir,LocalProfileDir,TempDir}` sync on main thread
Categories
(Toolkit Graveyard :: OS.File, enhancement, P1)
Toolkit Graveyard
OS.File
Tracking
(firefox98 fixed)
RESOLVED
FIXED
98 Branch
Tracking | Status | |
---|---|---|
firefox98 | --- | fixed |
People
(Reporter: beth, Assigned: beth)
References
Details
Attachments
(2 files)
All of these methods have to do work on the main thread to get their paths. If we're on the main thread anyway, it would be nice if these methods weren't async and we can leave the async methods for off-main-thread workers and such.
Assignee | ||
Updated•3 years ago
|
Assignee: nobody → brennie
Priority: P4 → P1
Assignee | ||
Comment 1•3 years ago
|
||
Depends on D137216
Assignee | ||
Comment 2•3 years ago
|
||
Depends on D137217
Pushed by brennie@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/f58bf601f0f5
Make PathUtils path lookups sync on main thread r=Gijs
https://hg.mozilla.org/integration/autoland/rev/c9fa8ed3dde6
Replace PathUtils.getTempDir with PathUtils.tempDir in IOUtils tests r=Gijs
Comment 4•3 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/f58bf601f0f5
https://hg.mozilla.org/mozilla-central/rev/c9fa8ed3dde6
Status: NEW → RESOLVED
Closed: 3 years ago
status-firefox98:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 98 Branch
Updated•1 year ago
|
Product: Toolkit → Toolkit Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•