Last Comment Bug 715498 - Bring back the "compile only" option for the shell
: Bring back the "compile only" option for the shell
Product: Core
Classification: Components
Component: JavaScript Engine (show other bugs)
: unspecified
: All All
-- normal (vote)
: mozilla12
Assigned To: Blake Kaplan (:mrbkap)
: Jason Orendorff [:jorendorff]
Depends on:
  Show dependency treegraph
Reported: 2012-01-05 07:40 PST by Blake Kaplan (:mrbkap)
Modified: 2012-01-06 15:47 PST (History)
1 user (show)
See Also:
Crash Signature:
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---

Proposed fix (2.13 KB, patch)
2012-01-05 07:40 PST, Blake Kaplan (:mrbkap)
cdleary: review+
mrbkap: checkin+
Details | Diff | Splinter Review

Description User image Blake Kaplan (:mrbkap) 2012-01-05 07:40:56 PST
Created attachment 586071 [details] [diff] [review]
Proposed fix

The JS shell used to have a "compile only" option that would lex a JS file but not try to run it. I've been doing some stuff recently that makes this option useful again and I was wondering if people would be amenable to adding the option back. The support is still there, all that's needed is to re-add support for -c.
Comment 1 User image Blake Kaplan (:mrbkap) 2012-01-06 06:43:46 PST
Comment on attachment 586071 [details] [diff] [review]
Proposed fix 

Thanks for the speedy review!
Comment 2 User image Ed Morley [:emorley] 2012-01-06 15:47:58 PST

Note You need to log in before you can comment on or make changes to this bug.