want convenient way to write to stderr from js shell and xpcshell

NEW
Unassigned

Status

()

--
enhancement
10 years ago
5 years ago

People

(Reporter: zwol, Unassigned)

Tracking

(Blocks: 1 bug)

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

10 years ago
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

10 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.
Blocks: 1007015
Assignee: general → nobody
You need to log in before you can comment on or make changes to this bug.