Open Bug 898315 Opened 8 years ago Updated 10 months ago

Deprecate and get rid of FileUtils.getDir(..., ..., true)

Categories

(Toolkit :: General, defect)

defect
Not set
normal

Tracking

()

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.
I've just noticed that FileUtils.getFile is using FileUtils.getDir(..., ..., true) and we have a bunch of consumers of this function!
Product: Firefox → Toolkit
We could do this as a mentored bug, see how awful the result is, and prioritize based on the results.
Whiteboard: [Async] → [Async:ready]
Depends on: 1651628
Depends on: 1652644
You need to log in before you can comment on or make changes to this bug.