v8/test/message
caitpotter88 1fb76f055a [es6] emit error when for-in loop declarations are initialized in strict mode
The ES6 grammar forbids the initialization of variable declarations in IterationStatements.

This CL will report `for (var x = y in z)` as a SyntaxError in strict mode (as done in JSC). It is possible that this could break sites in sloppy mode, and so that change can wait.

BUG=
R=
LOG=N

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

Cr-Commit-Position: refs/heads/master@{#27639}
2015-04-07 19:28:42 +00:00
..
regress Add source position recording for variable loads 2011-07-11 15:20:17 +00:00
class-constructor-accessor.js [parser] better error message for generator constructors 2015-03-06 16:54:39 +00:00
class-constructor-accessor.out [parser] better error message for generator constructors 2015-03-06 16:54:39 +00:00
class-constructor-generator.js [parser] better error message for generator constructors 2015-03-06 16:54:39 +00:00
class-constructor-generator.out [parser] better error message for generator constructors 2015-03-06 16:54:39 +00:00
export-duplicate-as.js Teach ModuleDescriptor about basic local exports 2015-02-19 20:15:13 +00:00
export-duplicate-as.out Teach ModuleDescriptor about basic local exports 2015-02-19 20:15:13 +00:00
export-duplicate-default.js Teach ModuleDescriptor about basic local exports 2015-02-19 20:15:13 +00:00
export-duplicate-default.out Teach ModuleDescriptor about basic local exports 2015-02-19 20:15:13 +00:00
export-duplicate.js Teach ModuleDescriptor about basic local exports 2015-02-19 20:15:13 +00:00
export-duplicate.out Teach ModuleDescriptor about basic local exports 2015-02-19 20:15:13 +00:00
for-in-let-loop-initializers-strict.js [es6] emit error when for-in loop declarations are initialized in strict mode 2015-04-07 19:28:42 +00:00
for-in-let-loop-initializers-strict.out [es6] emit error when for-in loop declarations are initialized in strict mode 2015-04-07 19:28:42 +00:00
for-in-loop-initializers-strict.js [es6] emit error when for-in loop declarations are initialized in strict mode 2015-04-07 19:28:42 +00:00
for-in-loop-initializers-strict.out [es6] emit error when for-in loop declarations are initialized in strict mode 2015-04-07 19:28:42 +00:00
for-of-let-loop-initializers.js [es6] emit error when for-in loop declarations are initialized in strict mode 2015-04-07 19:28:42 +00:00
for-of-let-loop-initializers.out [es6] emit error when for-in loop declarations are initialized in strict mode 2015-04-07 19:28:42 +00:00
for-of-loop-initializers-sloppy.js [es6] emit error when for-in loop declarations are initialized in strict mode 2015-04-07 19:28:42 +00:00
for-of-loop-initializers-sloppy.out [es6] emit error when for-in loop declarations are initialized in strict mode 2015-04-07 19:28:42 +00:00
for-of-loop-initializers-strict.js [es6] emit error when for-in loop declarations are initialized in strict mode 2015-04-07 19:28:42 +00:00
for-of-loop-initializers-strict.out [es6] emit error when for-in loop declarations are initialized in strict mode 2015-04-07 19:28:42 +00:00
import-as-eval.js Simplify error message logic in ParseImportNames 2015-02-25 19:40:54 +00:00
import-as-eval.out Simplify error message logic in ParseImportNames 2015-02-25 19:40:54 +00:00
import-as-redeclaration.js Re-introduce ImportDeclaration to the parser 2015-02-26 18:41:04 +00:00
import-as-redeclaration.out Re-introduce ImportDeclaration to the parser 2015-02-26 18:41:04 +00:00
import-as-reserved-word.js Simplify error message logic in ParseImportNames 2015-02-25 19:40:54 +00:00
import-as-reserved-word.out Simplify error message logic in ParseImportNames 2015-02-25 19:40:54 +00:00
import-eval.js Simplify error message logic in ParseImportNames 2015-02-25 19:40:54 +00:00
import-eval.out Simplify error message logic in ParseImportNames 2015-02-25 19:40:54 +00:00
import-redeclaration.js Re-introduce ImportDeclaration to the parser 2015-02-26 18:41:04 +00:00
import-redeclaration.out Re-introduce ImportDeclaration to the parser 2015-02-26 18:41:04 +00:00
import-reserved-word.js Simplify error message logic in ParseImportNames 2015-02-25 19:40:54 +00:00
import-reserved-word.out Simplify error message logic in ParseImportNames 2015-02-25 19:40:54 +00:00
instanceof.js Fix error message wording when instanceof throws. 2013-11-08 11:45:56 +00:00
instanceof.out Fix error message wording when instanceof throws. 2013-11-08 11:45:56 +00:00
isvar.js Make sure files end with exactly one new line and police this in presubmit. 2013-11-22 13:50:39 +00:00
isvar.out Change 'Parse error' to three more informative messages. 2013-04-26 14:26:54 +00:00
message.status Fix messages tests. 2014-12-10 08:54:48 +00:00
overwritten-builtins.js Make sure that message reporting works when the builtin string and 2009-06-25 10:27:36 +00:00
overwritten-builtins.out Reland r13188, r13194, r13256 (Deferred formatting of error stack trace during GC). 2013-01-14 13:19:27 +00:00
paren_in_arg_string.js Make sure files end with exactly one new line and police this in presubmit. 2013-11-22 13:50:39 +00:00
paren_in_arg_string.out Crankshaft builtins. 2013-10-23 08:57:54 +00:00
replacement-marker-as-argument.js Make sure files end with exactly one new line and police this in presubmit. 2013-11-22 13:50:39 +00:00
replacement-marker-as-argument.out Fix bug introduced by earlier "cleanup". 2011-08-22 12:54:03 +00:00
simple-throw.js Added new test type, message, to test error reporting. 2008-09-26 13:06:49 +00:00
simple-throw.out Added new test type, message, to test error reporting. 2008-09-26 13:06:49 +00:00
single-function-literal.js Revert of Correctly compute line numbers in functions from the function constructor. (patchset #5 id:80001 of https://codereview.chromium.org/701093003/) 2015-04-01 10:11:26 +00:00
single-function-literal.out Change 'Parse error' to three more informative messages. 2013-04-26 14:26:54 +00:00
super-constructor-extra-statement.js Fix messages tests. 2014-12-10 08:54:48 +00:00
super-constructor-extra-statement.out Make super() a syntax error in base class constructor 2015-02-12 23:04:54 +00:00
super-constructor.js Fix messages tests. 2014-12-10 08:54:48 +00:00
super-constructor.out Make super() a syntax error in base class constructor 2015-02-12 23:04:54 +00:00
super-in-function.js Fix location of super syntax errors 2015-02-12 20:53:17 +00:00
super-in-function.out Fix location of super syntax errors 2015-02-12 20:53:17 +00:00
testcfg.py Teach ModuleDescriptor about basic local exports 2015-02-19 20:15:13 +00:00
try-catch-finally-no-message.js Changed the message reporting for try { ... } finally { ... } statements to 2008-10-23 08:40:19 +00:00
try-catch-finally-no-message.out First commit of new tools/run-tests.py 2012-09-24 09:38:46 +00:00
try-catch-finally-return-in-finally.js Update V8 to version 3.0 (re-land r5920). 2010-12-07 11:31:57 +00:00
try-catch-finally-return-in-finally.out Update V8 to version 3.0 (re-land r5920). 2010-12-07 11:31:57 +00:00
try-catch-finally-throw-in-catch-and-finally.js Changed the message reporting for try { ... } finally { ... } statements to 2008-10-23 08:40:19 +00:00
try-catch-finally-throw-in-catch-and-finally.out Changed the message reporting for try { ... } finally { ... } statements to 2008-10-23 08:40:19 +00:00
try-catch-finally-throw-in-catch.js Changed the message reporting for try { ... } finally { ... } statements to 2008-10-23 08:40:19 +00:00
try-catch-finally-throw-in-catch.out Changed the message reporting for try { ... } finally { ... } statements to 2008-10-23 08:40:19 +00:00
try-catch-finally-throw-in-finally.js Changed the message reporting for try { ... } finally { ... } statements to 2008-10-23 08:40:19 +00:00
try-catch-finally-throw-in-finally.out Changed the message reporting for try { ... } finally { ... } statements to 2008-10-23 08:40:19 +00:00
try-finally-return-in-finally.js Update V8 to version 3.0 (re-land r5920). 2010-12-07 11:31:57 +00:00
try-finally-return-in-finally.out Update V8 to version 3.0 (re-land r5920). 2010-12-07 11:31:57 +00:00
try-finally-throw-in-finally.js Changed the message reporting for try { ... } finally { ... } statements to 2008-10-23 08:40:19 +00:00
try-finally-throw-in-finally.out Changed the message reporting for try { ... } finally { ... } statements to 2008-10-23 08:40:19 +00:00
try-finally-throw-in-try-and-finally.js Changed the message reporting for try { ... } finally { ... } statements to 2008-10-23 08:40:19 +00:00
try-finally-throw-in-try-and-finally.out Changed the message reporting for try { ... } finally { ... } statements to 2008-10-23 08:40:19 +00:00
try-finally-throw-in-try.js Changed the message reporting for try { ... } finally { ... } statements to 2008-10-23 08:40:19 +00:00
try-finally-throw-in-try.out Changed the message reporting for try { ... } finally { ... } statements to 2008-10-23 08:40:19 +00:00
unterminated-arg-list.js Beautify syntax error for unterminated argument list 2015-03-16 09:16:26 +00:00
unterminated-arg-list.out Beautify syntax error for unterminated argument list 2015-03-16 09:16:26 +00:00