Closed
Bug 1790960
Opened 4 years ago
Closed 3 years ago
FS: Start using XPCOM streams for file reads and writes
Categories
(Core :: DOM: File, task, P2)
Core
DOM: File
Tracking
()
RESOLVED
FIXED
108 Branch
| Tracking | Status | |
|---|---|---|
| firefox108 | --- | fixed |
People
(Reporter: janv, Assigned: janv)
References
(Depends on 1 open bug, Blocks 1 open bug)
Details
Attachments
(1 external file)
Currently, we use direct low level calls like PR_Read and PR_Write which limit our ability to do quota checks using existing stream wrappers.
The transition to streams will also allow:
- add any other stream wrapper, for example encryption/decryption for private browsing
- do I/O on a background thread pool
- cancel the reading or writing (for example during app shutdown or window/worker teardown or when a clear origin operation has been requested)
- to respond to control runnables in workers
| Assignee | ||
Comment 1•4 years ago
•
|
||
| Assignee | ||
Comment 2•4 years ago
|
||
Depends on D157805
Comment 3•4 years ago
|
||
Work ongoing in the child-bugs. This here is only the enabling patch.
Pushed by jvarga@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/3cd1919eae5c
FS: Start using XPCOM streams for file reads and writes; r=dom-storage-reviewers,jesup
Comment 5•3 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
status-firefox108:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 108 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•