Closed Bug 1791721 Opened 4 years ago Closed 4 years ago

Create a dedicated interface for read write (input output) streams

Categories

(Core :: XPCOM, task, P2)

task

Tracking

()

RESOLVED FIXED
107 Branch
Tracking Status
firefox107 --- fixed

People

(Reporter: janv, Assigned: janv)

References

Details

Attachments

(1 file)

NS_NewLocalInputFileStream returns nsIInputStream
NS_NewLocalOutputFileStream returns nsIOutputStream
NS_NewLocalStream returns nsIFileStream (note the File substring)

We should fix the last one to return nsIInputOutputStream.

Also, we are going to add IPC serialization support for read write (input output) streams, so it would be better to have a dedicated interface for it (instead of using nsISupports or nsIFileStream which is file specific).

Pushed by jvarga@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/df40645f791d Create a dedicated interface for read write (input output) streams; r=xpcom-reviewers,necko-reviewers,nika,valentin
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 107 Branch
Regressions: 1793446
No longer regressions: 1793446
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: