Last Comment Bug 715498 - Bring back the "compile only" option for the shell
: Bring back the "compile only" option for the shell
Status: RESOLVED FIXED
:
Product: Core
Classification: Components
Component: JavaScript Engine (show other bugs)
: unspecified
: All All
: -- normal (vote)
: mozilla12
Assigned To: Blake Kaplan (:mrbkap)
:
: Jason Orendorff [:jorendorff]
Mentors:
Depends on:
Blocks:
  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:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


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

Description 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 Blake Kaplan (:mrbkap) 2012-01-06 06:43:46 PST
Comment on attachment 586071 [details] [diff] [review]
Proposed fix

https://hg.mozilla.org/integration/mozilla-inbound/rev/347c13fd3e43 

Thanks for the speedy review!
Comment 2 Ed Morley [:emorley] 2012-01-06 15:47:58 PST
https://hg.mozilla.org/mozilla-central/rev/347c13fd3e43

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