Open Bug 898315 Opened 10 years ago Updated 8 months ago

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

Categories

(Toolkit :: OS.File, task)

task

Tracking

()

People

(Reporter: Yoric, Unassigned)

References

(Depends on 1 open bug)

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

IOUtils and PathUtils offers async alternatives

No longer depends on: 1745361
Severity: normal → --
No longer depends on: 1652644
See Also: → 1652644
Component: General → OS.File
Type: defect → task
No longer depends on: 898314
You need to log in before you can comment on or make changes to this bug.