Open
Bug 1797358
Opened 2 years ago
Updated 2 years ago
Support writing an nsIStream to a file in IOUtils
Categories
(Toolkit :: IOUtils and PathUtils, task, P3)
Toolkit
IOUtils and PathUtils
Tracking
()
NEW
People
(Reporter: barret, Unassigned)
References
Details
This is needed to migrate the logmanager.jsm
Reporter | ||
Comment 1•2 years ago
|
||
This is not required to migrate logmanager, but would be a nice to have.
It also might be possible to migrate all of the IOUtils::Write* logic on top of streams to be more async, but that has some issues:
- Right now order of operations is guaranteed and this will break that. There is at least one piece of code relying on this (RemoteImages)
- The shutdown / queue flushing logic would need to be rewritten to handle tasks that continue
- The amount of work is non trivial
Reporter | ||
Updated•2 years ago
|
Assignee: brennie → nobody
Priority: P1 → P3
Reporter | ||
Updated•2 years ago
|
Component: OS.File → IOUtils and PathUtils
You need to log in
before you can comment on or make changes to this bug.
Description
•