1
Vote

Tests 12.2.1-1-s to 12.2.1-10-s expect an EvalError when it should be a SyntaxError

description

Tests 12.2.1-1-s to 12.2.1-10-s all expect that declaring a variable called "eval" will throw an EvalError. This is not correct - the spec states that SyntaxError should be thrown instead.

comments

jwalden wrote Jan 1, 2011 at 9:39 PM

http://es5conform.codeplex.com/workitem/29141 has a patch that also fixes this.

wrote Feb 13, 2013 at 2:09 AM