Closed Bug 1114903 Opened 10 years ago Closed 8 months ago

Make shell command line more compatible with d8 and jsc

Categories

(Core :: JavaScript Engine, enhancement, P5)

x86_64
Linux
enhancement

Tracking

()

RESOLVED INACTIVE

People

(Reporter: lth, Unassigned)

References

(Blocks 1 open bug)

Details

Specifically: - we should allow "--" to separate the shell arguments from script arguments - the "--", if present, should not be visible to the script - if "--" is present then all non-option arguments immediately preceding the "--" should be interpreted as file names, without "-f" being required. The purpose of these changes would be to make it easier to use any shell with a given command (for testing, etc).
Also, we store the arguments in `scriptArgs` and V8 uses `arguments`. This was done on purpose though, bug 884516 changed this...
Priority: -- → P3
Severity: normal → S3
Blocks: sm-shell
Status: NEW → RESOLVED
Closed: 8 months ago
Resolution: --- → INACTIVE
Severity: S3 → N/A
Type: defect → enhancement
Priority: P3 → P5
You need to log in before you can comment on or make changes to this bug.