Closed
Bug 148264
Opened 23 years ago
Closed 19 years ago
No way to instantiate nsIBinaryStreams from javascript
Categories
(Core :: XPCOM, defect)
Core
XPCOM
Tracking
()
RESOLVED
DUPLICATE
of bug 170585
Future
People
(Reporter: mahlfors, Assigned: darin.moz)
Details
Problem:
There seems to be no way of instantiating nsIBinaryStreams from
javascript though the interface should be scriptable in itself.
Components.classes contains no entry for this interface.
I was asked to file this bug after a discussion on #mozilla where
the general opinion was that this was just an oversight.
My original problem was that I couldn't find any way to read/write
binary files from javascript. nsIScriptableInputStream doesn't seem
to work with binary files (as also noted in bug 128215).
Assignee | ||
Comment 1•23 years ago
|
||
reporter: how badly do you need this bug fixed?
Status: UNCONFIRMED → NEW
Ever confirmed: true
Target Milestone: --- → Future
Not that badly really since in my case I can use file
upload instead to get the job done.
But I can imagine that a lot of XUL programmers might be
somewhat dissapointed if there is no way one can read/write
binary files from javascript, that really limits the
possibilities for XUL projects a lot. Is there really no
workaround?
Comment 3•19 years ago
|
||
This has been fixed since 2003-03-13. See bug 170585, which fixed it. I suggest this is a dup of bug 170585.
Comment 4•19 years ago
|
||
*** This bug has been marked as a duplicate of 170585 ***
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•