1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/test/script/error/NASHORN-154/README Wed Apr 27 01:36:41 2016 +0800 1.3 @@ -0,0 +1,6 @@ 1.4 +Section 16 of ECMAScript 5.1 spec details a set of "early errors". Early 1.5 +errors should be reported before running any line of the script containing 1.6 +such error(s). Examples include syntax error, errors in regexp literals etc. 1.7 +This directory contains tests to check early errors are reported as early 1.8 +errors. Each test starts with a print call -- the output from print should 1.9 +not be seen in expected output. If seen, early errors are reported late.