Closed
Bug 679893
Opened 14 years ago
Closed 14 years ago
JS shell's -D option misses early scripts
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
FIXED
mozilla9
People
(Reporter: sfink, Assigned: sfink)
Details
(Whiteboard: [inbound])
Attachments
(1 file)
|
1.63 KB,
patch
|
cdleary
:
review+
|
Details | Diff | Splinter Review |
djf pointed out over IRC that the -D option is now printing an initial (null):0 script with no counts.
| Assignee | ||
Comment 1•14 years ago
|
||
The -D option was being handled in ProcessArgs, which happens after the global object is created. This patch does a check for that option right after the context is created.
Updated•14 years ago
|
Attachment #553922 -
Flags: review?(cdleary) → review+
| Assignee | ||
Comment 2•14 years ago
|
||
Whiteboard: [inbound]
Comment 3•14 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla9
You need to log in
before you can comment on or make changes to this bug.
Description
•