Open Bug 352289 Opened 19 years ago Updated 3 years ago

Not-so-useful error message from dissrc with function not read from a file

Categories

(Core :: JavaScript Engine, defect)

PowerPC
macOS
defect

Tracking

()

People

(Reporter: jruderman, Unassigned)

References

(Blocks 1 open bug)

Details

js> function h() { } js> dissrc(h) typein:40: ReferenceError: can't open typein: No such file or directory Why didn't DisassWithSrc output JSSMSG_FILE_SCRIPTS_ONLY -- "only works on JS scripts read from files"?
It would be nice if it printed something like "(typein line 1)", omitting the actual source, instead of bailing completely.
Assignee: general → nobody
Severity: minor → S4
You need to log in before you can comment on or make changes to this bug.