v8/test/preparser
marja@chromium.org 5bbc92dee0 Throw syntax error when a getter/setter has the wrong number of params
We used to allow any number of parameters in getters and setters to
match JSC. This is a violation of ES5.1 and both SpiderMonkey and
Chakra throw on these syntax errors.

BUG=v8:3371
LOG=Y
R=marja@chromium.org

Review URL: https://codereview.chromium.org/329413002

Patch from Erik Arvidsson <arv@chromium.org>.

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21868 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-06-17 07:23:26 +00:00
..
duplicate-parameter.pyt
duplicate-property.pyt Throw syntax error when a getter/setter has the wrong number of params 2014-06-17 07:23:26 +00:00
empty.js
functions-only.js
non-alphanum.js
non-use-strict-hex-escape.js
non-use-strict-octal-escape.js
non-use-strict-uhex-escape.js
nonstrict-arguments.js
nonstrict-eval.js
nonstrict-with.js
preparser.expectation
preparser.status
strict-const.js
strict-function-statement.pyt
strict-identifiers.pyt
strict-octal-indirect-regexp.js
strict-octal-number.js
strict-octal-regexp.js
strict-octal-string.js
strict-octal-use-strict-after.js
strict-octal-use-strict-before.js
strict-with.js
symbols-only.js
testcfg.py