8055199: Tidy up Nashorn codebase for code standards (August 2014) Reviewed-by: lagergren, sundar |
||
|---|---|---|
| .. | ||
| README | ||
| function_mult_params_in_strict.js | ||
| function_mult_params_in_strict.js.EXPECTED | ||
| improper_return_break_continue.js | ||
| improper_return_break_continue.js.EXPECTED | ||
| invalid_lvalue.js | ||
| invalid_lvalue.js.EXPECTED | ||
| literal_data_and_accessor.js | ||
| literal_data_and_accessor.js.EXPECTED | ||
| literal_mult_getters.js | ||
| literal_mult_getters.js.EXPECTED | ||
| literal_mult_prop_in_strict.js | ||
| literal_mult_prop_in_strict.js.EXPECTED | ||
| with_in_strict.js | ||
| with_in_strict.js.EXPECTED | ||
README
Section 16 of ECMAScript 5.1 spec details a set of "early errors". Early errors should be reported before running any line of the script containing such error(s). Examples include syntax error, errors in regexp literals etc. This directory contains tests to check early errors are reported as early errors. Each test starts with a print call -- the output from print should not be seen in expected output. If seen, early errors are reported late.