The default bug view has changed. See this FAQ.

JS shell's -D option misses early scripts

RESOLVED FIXED in mozilla9

Status

()

Core
JavaScript Engine
RESOLVED FIXED
6 years ago
6 years ago

People

(Reporter: sfink, Assigned: sfink)

Tracking

unspecified
mozilla9
x86_64
Linux
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [inbound])

Attachments

(1 attachment)

(Assignee)

Description

6 years ago
djf pointed out over IRC that the -D option is now printing an initial (null):0 script with no counts.
(Assignee)

Comment 1

6 years ago
Created attachment 553922 [details] [diff] [review]
Handle -D earlier

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.
Assignee: general → sphink
Status: NEW → ASSIGNED
Attachment #553922 - Flags: review?(cdleary)
Attachment #553922 - Flags: review?(cdleary) → review+
(Assignee)

Comment 2

6 years ago
http://hg.mozilla.org/integration/mozilla-inbound/rev/4e2365ec6145
Whiteboard: [inbound]
http://hg.mozilla.org/mozilla-central/rev/4e2365ec6145
Status: ASSIGNED → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla9
You need to log in before you can comment on or make changes to this bug.