v8/test/message
caitpotter88 e6f4b7491c [parser] implement error reporting for Scanner
Enables the Scanner to provide a better error message when errors occur
in escape sequences, numbers, strings, etc.

BUG=v8:4829, v8:3230
LOG=N
R=adamk@chromium.org, littledan@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#34966}
2016-03-21 20:27:44 +00:00
..
regress [parser] implement error reporting for Scanner 2016-03-21 20:27:44 +00:00
arrow-bare-rest-param.js Remove always-on --harmony-rest-parameters flag 2015-12-12 00:00:38 +00:00
arrow-bare-rest-param.out Support rest parameters in arrow functions 2015-06-10 16:11:31 +00:00
arrow-formal-parameters.js Remove --harmony-arrow-functions flag 2015-09-30 19:50:40 +00:00
arrow-formal-parameters.out Remove --harmony-arrow-functions flag 2015-09-30 19:50:40 +00:00
arrow-invalid-rest-2.js [parser] report invalid rest parameter errors in Arrow functions 2016-02-02 00:33:07 +00:00
arrow-invalid-rest-2.out [parser] report invalid rest parameter errors in Arrow functions 2016-02-02 00:33:07 +00:00
arrow-invalid-rest.js [parser] report invalid rest parameter errors in Arrow functions 2016-02-02 00:33:07 +00:00
arrow-invalid-rest.out [parser] report invalid rest parameter errors in Arrow functions 2016-02-02 00:33:07 +00:00
arrow-missing.js Remove always-on --harmony-rest-parameters flag 2015-12-12 00:00:38 +00:00
arrow-missing.out Parse arrow functions at proper precedence level 2015-08-26 09:36:45 +00:00
arrow-param-after-rest-2.js Remove always-on --harmony-rest-parameters flag 2015-12-12 00:00:38 +00:00
arrow-param-after-rest-2.out Support rest parameters in arrow functions 2015-06-10 16:11:31 +00:00
arrow-param-after-rest.js Remove always-on --harmony-rest-parameters flag 2015-12-12 00:00:38 +00:00
arrow-param-after-rest.out Support rest parameters in arrow functions 2015-06-10 16:11:31 +00:00
arrow-strict-eval-bare-parameter.js Remove --harmony-arrow-functions flag 2015-09-30 19:50:40 +00:00
arrow-strict-eval-bare-parameter.out Remove --harmony-arrow-functions flag 2015-09-30 19:50:40 +00:00
arrow-two-rest-params.js Remove always-on --harmony-rest-parameters flag 2015-12-12 00:00:38 +00:00
arrow-two-rest-params.out Support rest parameters in arrow functions 2015-06-10 16:11:31 +00:00
class-constructor-accessor.js [es6] Remove harmony-classes flag 2015-06-26 21:16:58 +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 [es6] Remove harmony-classes flag 2015-06-26 21:16:58 +00:00
class-constructor-generator.out [parser] better error message for generator constructors 2015-03-06 16:54:39 +00:00
const-decl-no-init2.js [parser] early error when declaration Pattern missing Initializer 2015-11-04 19:26:40 +00:00
const-decl-no-init2.out [parser] early error when declaration Pattern missing Initializer 2015-11-04 19:26:40 +00:00
const-decl-no-init-sloppy.js Pass legacy const runtime flag to preparser appropriately 2016-03-18 01:09:17 +00:00
const-decl-no-init-sloppy.out Pass legacy const runtime flag to preparser appropriately 2016-03-18 01:09:17 +00:00
const-decl-no-init.js [parser] early error when declaration Pattern missing Initializer 2015-11-04 19:26:40 +00:00
const-decl-no-init.out [parser] early error when declaration Pattern missing Initializer 2015-11-04 19:26:40 +00:00
default-parameter-tdz-arrow.js Remove destructuring and default arguments runtime flags 2016-03-10 23:22:30 +00:00
default-parameter-tdz-arrow.out [es6] Self-assignment in a default parameter initializer should throw 2015-11-25 01:30:39 +00:00
default-parameter-tdz.js Remove destructuring and default arguments runtime flags 2016-03-10 23:22:30 +00:00
default-parameter-tdz.out [es6] Self-assignment in a default parameter initializer should throw 2015-11-25 01:30:39 +00:00
destructuring-decl-no-init-array2.js Remove destructuring and default arguments runtime flags 2016-03-10 23:22:30 +00:00
destructuring-decl-no-init-array2.out [parser] early error when declaration Pattern missing Initializer 2015-11-04 19:26:40 +00:00
destructuring-decl-no-init-array.js Remove destructuring and default arguments runtime flags 2016-03-10 23:22:30 +00:00
destructuring-decl-no-init-array.out [parser] early error when declaration Pattern missing Initializer 2015-11-04 19:26:40 +00:00
destructuring-decl-no-init-obj2.js Remove destructuring and default arguments runtime flags 2016-03-10 23:22:30 +00:00
destructuring-decl-no-init-obj2.out [parser] early error when declaration Pattern missing Initializer 2015-11-04 19:26:40 +00:00
destructuring-decl-no-init-obj.js Remove destructuring and default arguments runtime flags 2016-03-10 23:22:30 +00:00
destructuring-decl-no-init-obj.out [parser] early error when declaration Pattern missing Initializer 2015-11-04 19:26:40 +00:00
destructuring-modify-const.js Remove destructuring and default arguments runtime flags 2016-03-10 23:22:30 +00:00
destructuring-modify-const.out [destructuring] More tests for object literal pattern 2015-05-18 20:14:51 +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-destructuring.js Remove destructuring and default arguments runtime flags 2016-03-10 23:22:30 +00:00
for-in-loop-initializers-destructuring.out Disallow destructuring in legacy sloppy for-in loop parsing 2015-11-25 01:15:28 +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-loop-invalid-lhs.js Align PreParser for loop early error-checking with Parser 2015-08-13 19:11:10 +00:00
for-loop-invalid-lhs.out [parser] make kInvalidLhsInFor a SyntaxError 2015-08-15 17:57:16 +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
formal-parameters-bad-rest.js Remove always-on --harmony-rest-parameters flag 2015-12-12 00:00:38 +00:00
formal-parameters-bad-rest.out Factor formal argument parsing into ParserBase 2015-04-21 11:09:34 +00:00
formal-parameters-strict-body.js Factor formal argument parsing into ParserBase 2015-04-21 11:09:34 +00:00
formal-parameters-strict-body.out Factor formal argument parsing into ParserBase 2015-04-21 11:09:34 +00:00
formal-parameters-trailing-comma.js Factor formal argument parsing into ParserBase 2015-04-21 11:09:34 +00:00
formal-parameters-trailing-comma.out Factor formal argument parsing into ParserBase 2015-04-21 11:09:34 +00:00
function-sent-escaped.js [parser] unify metaproperty parsing and require unescaped property name 2016-02-16 23:38:09 +00:00
function-sent-escaped.out [parser] unify metaproperty parsing and require unescaped property name 2016-02-16 23:38:09 +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-noncallable.js ES6: instanceof error messages need updating. 2016-03-18 10:39:28 +00:00
instanceof-noncallable.out [es6] Rebaseline tests of 'instanceof' error messages. 2016-03-21 14:01:50 +00:00
instanceof-nonobject.js ES6: instanceof error messages need updating. 2016-03-18 10:39:28 +00:00
instanceof-nonobject.out [es6] Rebaseline tests of 'instanceof' error messages. 2016-03-21 14:01:50 +00:00
invalid-spread-2.js Remove always-on --harmony-rest-parameters flag 2015-12-12 00:00:38 +00:00
invalid-spread-2.out Support rest parameters in arrow functions 2015-06-10 16:11:31 +00:00
invalid-spread.js Remove always-on --harmony-rest-parameters flag 2015-12-12 00:00:38 +00:00
invalid-spread.out Support rest parameters in arrow functions 2015-06-10 16:11:31 +00:00
isvar.js
isvar.out
let-lexical-name-in-array-prohibited.js Remove destructuring and default arguments runtime flags 2016-03-10 23:22:30 +00:00
let-lexical-name-in-array-prohibited.out Fix let pattern error accumulation 2015-10-15 10:46:17 +00:00
let-lexical-name-in-object-prohibited.js Remove destructuring and default arguments runtime flags 2016-03-10 23:22:30 +00:00
let-lexical-name-in-object-prohibited.out Check for let in lexically bound names for short object literals 2015-10-15 07:52:20 +00:00
let-lexical-name-prohibited.js Prohibit let in lexical bindings 2015-10-05 20:29:22 +00:00
let-lexical-name-prohibited.out Prohibit let in lexical bindings 2015-10-05 20:29:22 +00:00
message.gyp Reland [swarming] Isolate v8 testing. 2015-10-05 09:48:42 +00:00
message.isolate Reland [swarming] Isolate v8 testing. 2015-10-05 09:48:42 +00:00
message.status ES6: instanceof error messages need updating. 2016-03-18 10:39:28 +00:00
new-target-assignment.js Remove --harmony-new-target flag 2015-10-28 16:47:08 +00:00
new-target-assignment.out Remove --harmony-new-target flag 2015-10-28 16:47:08 +00:00
new-target-escaped.js [parser] unify metaproperty parsing and require unescaped property name 2016-02-16 23:38:09 +00:00
new-target-escaped.out [parser] unify metaproperty parsing and require unescaped property name 2016-02-16 23:38:09 +00:00
new-target-for-loop.js Remove --harmony-new-target flag 2015-10-28 16:47:08 +00:00
new-target-for-loop.out Remove --harmony-new-target flag 2015-10-28 16:47:08 +00:00
new-target-postfix-op.js Remove --harmony-new-target flag 2015-10-28 16:47:08 +00:00
new-target-postfix-op.out Remove --harmony-new-target flag 2015-10-28 16:47:08 +00:00
new-target-prefix-op.js Remove --harmony-new-target flag 2015-10-28 16:47:08 +00:00
new-target-prefix-op.out Remove --harmony-new-target flag 2015-10-28 16:47:08 +00:00
nf-yield-in-generator.js [tests] add tests for "yield" as function name 2015-12-08 20:41:31 +00:00
nf-yield-in-generator.out [tests] add tests for "yield" as function name 2015-12-08 20:41:31 +00:00
nf-yield-strict-in-generator.js [tests] add tests for "yield" as function name 2015-12-08 20:41:31 +00:00
nf-yield-strict-in-generator.out [tests] add tests for "yield" as function name 2015-12-08 20:41:31 +00:00
nf-yield-strict.js [tests] add tests for "yield" as function name 2015-12-08 20:41:31 +00:00
nf-yield-strict.out [tests] add tests for "yield" as function name 2015-12-08 20:41:31 +00:00
nfe-yield-generator.js [tests] add tests for "yield" as function name 2015-12-08 20:41:31 +00:00
nfe-yield-generator.out [tests] add tests for "yield" as function name 2015-12-08 20:41:31 +00:00
nfe-yield-strict.js [tests] add tests for "yield" as function name 2015-12-08 20:41:31 +00:00
nfe-yield-strict.out [tests] add tests for "yield" as function name 2015-12-08 20:41:31 +00:00
no-legacy-const-2.js Reland of Ship ES2015 sloppy-mode function hoisting, let, class (patchset #1 id:1 of https://codereview.chromium.org/1565263002/ ) 2016-01-08 17:34:59 +00:00
no-legacy-const-2.out Reland of Ship ES2015 sloppy-mode function hoisting, let, class (patchset #1 id:1 of https://codereview.chromium.org/1565263002/ ) 2016-01-08 17:34:59 +00:00
no-legacy-const-3.js Reland of Ship ES2015 sloppy-mode function hoisting, let, class (patchset #1 id:1 of https://codereview.chromium.org/1565263002/ ) 2016-01-08 17:34:59 +00:00
no-legacy-const-3.out Reland of Ship ES2015 sloppy-mode function hoisting, let, class (patchset #1 id:1 of https://codereview.chromium.org/1565263002/ ) 2016-01-08 17:34:59 +00:00
no-legacy-const.js Reland of Ship ES2015 sloppy-mode function hoisting, let, class (patchset #1 id:1 of https://codereview.chromium.org/1565263002/ ) 2016-01-08 17:34:59 +00:00
no-legacy-const.out Reland of Ship ES2015 sloppy-mode function hoisting, let, class (patchset #1 id:1 of https://codereview.chromium.org/1565263002/ ) 2016-01-08 17:34:59 +00:00
non-alphanum.js [testing] Convert "non-alphanum" to be a "message" test. 2016-03-11 11:36:40 +00:00
non-alphanum.out [testing] Convert "non-alphanum" to be a "message" test. 2016-03-11 11:36:40 +00:00
non-use-strict-hex-escape.js [testing] Move the last JS tests out of "preparser". 2016-03-14 17:10:49 +00:00
non-use-strict-hex-escape.out [testing] Move the last JS tests out of "preparser". 2016-03-14 17:10:49 +00:00
non-use-strict-octal-escape.js [testing] Move the last JS tests out of "preparser". 2016-03-14 17:10:49 +00:00
non-use-strict-octal-escape.out [testing] Move the last JS tests out of "preparser". 2016-03-14 17:10:49 +00:00
non-use-strict-uhex-escape.js [testing] Move the last JS tests out of "preparser". 2016-03-14 17:10:49 +00:00
non-use-strict-uhex-escape.out [testing] Move the last JS tests out of "preparser". 2016-03-14 17:10:49 +00:00
nonstrict-arguments.js [testing] Move the last JS tests out of "preparser". 2016-03-14 17:10:49 +00:00
nonstrict-arguments.out [testing] Move the last JS tests out of "preparser". 2016-03-14 17:10:49 +00:00
nonstrict-eval.js [testing] Move the last JS tests out of "preparser". 2016-03-14 17:10:49 +00:00
nonstrict-eval.out [testing] Move the last JS tests out of "preparser". 2016-03-14 17:10:49 +00:00
nonstrict-with.js [testing] Move the last JS tests out of "preparser". 2016-03-14 17:10:49 +00:00
nonstrict-with.out [testing] Move the last JS tests out of "preparser". 2016-03-14 17:10:49 +00:00
overwritten-builtins.js
overwritten-builtins.out
paren_in_arg_string.js
paren_in_arg_string.out [runtime] Also migrate the Function and GeneratorFunction constructors to C++. 2015-12-22 14:15:53 +00:00
replacement-marker-as-argument.js
replacement-marker-as-argument.out
rest-param-class-setter-strict.js Remove always-on --harmony-rest-parameters flag 2015-12-12 00:00:38 +00:00
rest-param-class-setter-strict.out [parser] report SyntaxError if rest parameter used in Setter MethodDefinition 2015-05-18 15:52:45 +00:00
rest-param-object-setter-sloppy.js Remove always-on --harmony-rest-parameters flag 2015-12-12 00:00:38 +00:00
rest-param-object-setter-sloppy.out [parser] report SyntaxError if rest parameter used in Setter MethodDefinition 2015-05-18 15:52:45 +00:00
rest-param-object-setter-strict.js Remove always-on --harmony-rest-parameters flag 2015-12-12 00:00:38 +00:00
rest-param-object-setter-strict.out [parser] report SyntaxError if rest parameter used in Setter MethodDefinition 2015-05-18 15:52:45 +00:00
simple-throw.js
simple-throw.out
strict-formal-parameters.js Factor formal argument parsing into ParserBase 2015-04-21 11:09:34 +00:00
strict-formal-parameters.out Improve error message for duplicate parameters 2015-07-14 21:59:03 +00:00
strict-octal-indirect-regexp.js [testing] Move the last JS tests out of "preparser". 2016-03-14 17:10:49 +00:00
strict-octal-indirect-regexp.out [testing] Move the last JS tests out of "preparser". 2016-03-14 17:10:49 +00:00
strict-octal-number.js [testing] Convert some "preparser" tests into "message". 2016-03-11 11:00:12 +00:00
strict-octal-number.out [testing] Convert some "preparser" tests into "message". 2016-03-11 11:00:12 +00:00
strict-octal-regexp.js [testing] Convert some "preparser" tests into "message". 2016-03-11 11:00:12 +00:00
strict-octal-regexp.out [testing] Convert some "preparser" tests into "message". 2016-03-11 11:00:12 +00:00
strict-octal-string.js [testing] Convert some "preparser" tests into "message". 2016-03-11 11:00:12 +00:00
strict-octal-string.out [testing] Convert some "preparser" tests into "message". 2016-03-11 11:00:12 +00:00
strict-octal-use-strict-after.js [testing] Convert some "preparser" tests into "message". 2016-03-11 11:00:12 +00:00
strict-octal-use-strict-after.out [testing] Convert some "preparser" tests into "message". 2016-03-11 11:00:12 +00:00
strict-octal-use-strict-before.js [testing] Convert some "preparser" tests into "message". 2016-03-11 11:00:12 +00:00
strict-octal-use-strict-before.out [testing] Convert some "preparser" tests into "message". 2016-03-11 11:00:12 +00:00
strict-with.js [testing] Convert some "preparser" tests into "message". 2016-03-11 11:00:12 +00:00
strict-with.out [testing] Convert some "preparser" tests into "message". 2016-03-11 11:00:12 +00:00
super-constructor-extra-statement.js [es6] Remove harmony-classes flag 2015-06-26 21:16:58 +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 [es6] Remove harmony-classes flag 2015-06-26 21:16:58 +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 [es6] Remove harmony-classes flag 2015-06-26 21:16:58 +00:00
super-in-function.out Fix location of super syntax errors 2015-02-12 20:53:17 +00:00
testcfg.py Make test262 test runner check for which exception is thrown 2016-03-14 21:20:37 +00:00
try-catch-finally-no-message.js
try-catch-finally-no-message.out
try-catch-finally-return-in-finally.js
try-catch-finally-return-in-finally.out
try-catch-finally-throw-in-catch-and-finally.js
try-catch-finally-throw-in-catch-and-finally.out
try-catch-finally-throw-in-catch.js
try-catch-finally-throw-in-catch.out
try-catch-finally-throw-in-finally.js
try-catch-finally-throw-in-finally.out
try-catch-lexical-conflict.js Remove destructuring and default arguments runtime flags 2016-03-10 23:22:30 +00:00
try-catch-lexical-conflict.out Eagerly declare variables in ParseVariableDeclarations where possible 2016-02-16 19:09:45 +00:00
try-catch-variable-conflict.js Remove destructuring and default arguments runtime flags 2016-03-10 23:22:30 +00:00
try-catch-variable-conflict.out Eagerly declare variables in ParseVariableDeclarations where possible 2016-02-16 19:09:45 +00:00
try-finally-return-in-finally.js
try-finally-return-in-finally.out
try-finally-throw-in-finally.js
try-finally-throw-in-finally.out
try-finally-throw-in-try-and-finally.js
try-finally-throw-in-try-and-finally.out
try-finally-throw-in-try.js
try-finally-throw-in-try.out
unicode-escape-invalid-2.js [parser] implement error reporting for Scanner 2016-03-21 20:27:44 +00:00
unicode-escape-invalid-2.out [parser] implement error reporting for Scanner 2016-03-21 20:27:44 +00:00
unicode-escape-invalid.js [parser] implement error reporting for Scanner 2016-03-21 20:27:44 +00:00
unicode-escape-invalid.out [parser] implement error reporting for Scanner 2016-03-21 20:27:44 +00:00
unicode-escape-undefined.js [parser] implement error reporting for Scanner 2016-03-21 20:27:44 +00:00
unicode-escape-undefined.out [parser] implement error reporting for Scanner 2016-03-21 20:27:44 +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