Last Comment Bug 715400 - Error with sharps does not cause shell to stop processing input file
: Error with sharps does not cause shell to stop processing input file
Status: RESOLVED FIXED
js-triage-needed
: testcase
Product: Core
Classification: Components
Component: JavaScript Engine (show other bugs)
: Trunk
: x86 Mac OS X
: -- critical (vote)
: ---
Assigned To: general
:
Mentors:
Depends on:
Blocks: jsfunfuzz js-differential-test
  Show dependency treegraph
 
Reported: 2012-01-04 17:18 PST by Gary Kwong [:gkw] [:nth10sd]
Modified: 2012-02-22 23:29 PST (History)
7 users (show)
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Attachments

Comment 1 Jesse Ruderman 2012-01-04 18:41:00 PST
Clearer testcase, without the crash:

try { ({ a: #1# }); } catch (e) { }
#1=[#1#];
try { x = #1#; print("FAIL"); } catch(e) { print("PASS: " + e); }

It prints "FAIL". If the first or second line is removed, it prints "PASS: Error: invalid sharp variable use #1#", like it should.
Comment 2 Gary Kwong [:gkw] [:nth10sd] 2012-02-22 23:26:02 PST
Fixed possibly before m-c changeset 24f2c7e26fbd. Possibly fixed by sharp removal in bug 566700.

-> FIXED.
Comment 3 Gary Kwong [:gkw] [:nth10sd] 2012-02-22 23:29:42 PST
> try { ({ a: #1# }); } catch (e) { }

It now prints an error at this line in the testcase in comment 1.

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