Closed
Bug 482304
Opened 15 years ago
Closed 3 years ago
want convenient way to write to stderr from js shell and xpcshell
Categories
(Core :: JavaScript Engine, enhancement)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
People
(Reporter: zwol, Unassigned)
References
(Blocks 1 open bug)
Details
There doesn't appear to be any way to write arbitrary text to stderr from the bare Javascript shell, or even from xpcshell (i.e. I can't find a Components thing that does it either). This would be nice for better error reporting in Javascript test libraries.
Comment 1•15 years ago
|
||
This is very easy to accomplish, you can model your work off of the print (in C, "Print") function that already exists. Let me know if I can offer hints.
Assignee | ||
Updated•10 years ago
|
Assignee: general → nobody
Comment 2•3 years ago
|
||
printErr("print to stderr")
, so closing as FIXED.
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•