Open
Bug 898315
Opened 9 years ago
Updated 1 month ago
Deprecate and get rid of FileUtils.getDir(..., ..., true)
Categories
(Toolkit :: OS.File, task)
Toolkit
OS.File
Tracking
()
NEW
People
(Reporter: Yoric, Unassigned)
References
(Depends on 2 open bugs)
Details
(Keywords: main-thread-io, Whiteboard: [Async:ready])
FileUtils.getDir(..., ..., true) causes main thread I/O that's hard to spot. We should deprecate the method and eliminate its use.
Comment 1•9 years ago
|
||
I've just noticed that FileUtils.getFile is using FileUtils.getDir(..., ..., true) and we have a bunch of consumers of this function!
Reporter | ||
Updated•9 years ago
|
Product: Firefox → Toolkit
Reporter | ||
Comment 2•9 years ago
|
||
Good catch. Filed as bug 920187.
Reporter | ||
Comment 3•9 years ago
|
||
We could do this as a mentored bug, see how awful the result is, and prioritize based on the results.
Updated•9 years ago
|
Whiteboard: [Async] → [Async:ready]
Comment 4•6 months ago
•
|
||
IOUtils and PathUtils offers async alternatives
Updated•5 months ago
|
Updated•5 months ago
|
Component: General → OS.File
Updated•1 month ago
|
Type: defect → task
You need to log in
before you can comment on or make changes to this bug.
Description
•