Commit Graph

2555 Commits

Author SHA1 Message Date
André Bargull 0ec5b02ac6 Add test case for tc39/ecma402#204 2018-01-25 13:59:15 -05:00
Rick Waldron 2cb0028bf1 Rename sec-delete-operator test, mark non-obvious syntax 2018-01-17 12:47:44 -05:00
Mike Pennisi c4e02a7a65 fixup! Refactor DeleteExpression tests for parsers 2018-01-17 12:35:12 -05:00
Mike Pennisi cae69a9775 Refactor DeleteExpression tests for parsers
A number of tests for the parsing of the DeleteExpression production
were expressed using `eval`. This made the tests more complex than
necessary, and also prevented the tests from providing value to
ECMAScript parsers.

Remove the use of `eval` in the relevant tests and instead express the
expectations with literal source text. Remove superfluous tests which
only differed in the runtime semantics of source text that could not be
evaluated due to syntax errors.
2018-01-17 12:35:12 -05:00
Rick Waldron cc94370eb9 Frontmatter nits 2018-01-17 12:32:11 -05:00
Viktor 290cef061c Create non-integer-values.js 2018-01-17 12:02:19 -05:00
Rick Waldron b7afd3d00d Frontmatter: updates to ForIn/OfBodyEvaluation tests 2018-01-11 10:47:10 -05:00
Rick Waldron d7b5715e6c Fix: various lint fixes 2018-01-11 10:21:08 -05:00
Rick Waldron 7d9cb55345 Features: Object.is 2018-01-11 10:20:50 -05:00
Rick Waldron 50d840acea Lint: inflect for pluralizing 2018-01-11 10:20:37 -05:00
Rick Waldron 73120a5492 Fix: various lint fixes 2018-01-10 17:33:03 -05:00
Rick Waldron 1a057550d8 tools/lint/lib/checks/esid.py: allow "sup-" 2018-01-10 17:32:37 -05:00
Rick Waldron 4afc330363 Fix: various lint fixes 2018-01-10 17:29:48 -05:00
Rick Waldron 40cb228633 lint: accept frontmatter without esid, es6id. 2018-01-10 17:25:44 -05:00
Rick Waldron b1aa569c84 Fix: esid sec-runtime-semantics-classdefinitionevaluation 2018-01-10 16:10:32 -05:00
Rick Waldron 670560f16b Fix: esid sec-generator-function-definitions 2018-01-10 16:04:16 -05:00
Rick Waldron 3be781c92d Fix: es6id -> esid sec-additional-syntax-numeric-literals 2018-01-10 16:01:45 -05:00
Rick Waldron bbf3301ff4 Fix: es6id -> esid sec-html-like-comments 2018-01-10 16:01:21 -05:00
Rick Waldron 5cd8e7bd53 Fix esid: static-semantics-hasproductionintailposition => sec-static-semantics-hascallintailposition 2018-01-10 15:44:56 -05:00
Adrian Heine 0278a7d2a5 Add es[56]?id checks 2018-01-10 15:28:58 -05:00
Rick Waldron b0338941f7 INTERPRETING.md: Make negative phase values easier to read 2018-01-10 15:20:22 -05:00
Michael Ficarra 041da54c02 add flatten/flatMap to features.txt and mark appropriate tests 2018-01-05 16:59:34 -05:00
Michael Ficarra d8233624aa add missing compareArray function 2018-01-05 16:59:34 -05:00
Michael Ficarra 6bd7b21a2b add myself to flatten/flatMap copyrights 2018-01-05 16:59:34 -05:00
Michael Ficarra 33b6c31331 use `onlyStrict` flag instead of `"use strict"` directive 2018-01-05 16:59:34 -05:00
Michael Ficarra 02ceb62400 flatMap/flatten test improvements 2018-01-05 16:59:34 -05:00
shilpi 1547e49c95 flatten and flatMap tests 2018-01-05 16:59:34 -05:00
Rick Waldron f68488ffad Fix typo in INTERPRETING.md 2018-01-05 15:38:34 -05:00
Rick Waldron e9e928babe Resolving conflicts in class-fields src templates 2018-01-05 15:31:17 -05:00
Rick Waldron e9a187100a Remove irrelevant info from src/class-fields/propname-error-static/cls-decl-static-* frontmatter 2018-01-05 15:19:50 -05:00
Mike Pennisi fad683d14b Increment major version
Recent changes to the metadata for negative tests fundamentally alter
the way those tests are intended to be interpreted. Increment the
project's version number in order to signal this to project consumers.
2018-01-05 15:17:51 -05:00
Mike Pennisi e6d674ef7a Rename negative test "phase" for module resolution 2018-01-05 15:17:51 -05:00
Mike Pennisi 136110378b Rename negative test "phase" for parsing
Early errors may result from parsing the source text of a test file, but
they may also result from parsing some other source text as referenced
through the ES2015 module syntax. The latter form of early error is not
necessarily detectable by ECMAScript parsers, however. Because of this,
the label "early" is not sufficiently precise for all Test262 consumers
to correctly interpret all tests.

Update the "phase" name of "early" to "parse" for all those negative
tests that describe errors resulting from parsing of the file's source
text directly. A forthcoming commit will update the remaining tests to
use a "phase" name that is more specific to module resolution.
2018-01-05 15:17:50 -05:00
Rick Waldron 66df349af3 Assert that promise callbacks were actually called. Closes #1328
Originally reported here: https://github.com/tc39/test262/pull/1328, OP passed on revising.
2018-01-05 13:23:35 -05:00
Rick Waldron 02f1a0b630 Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:50:00 -05:00
Ivan Vyshnevskyi 7b868091a7 Add ToNumber tests for invalid HexIntegralLiterals 2018-01-05 12:48:57 -05:00
Ivan Vyshnevskyi d540256163 Add more ToNumber tests for invalid binary and octal literals 2018-01-05 12:48:57 -05:00
Josh Wolfe 4f06f98771 Infix operator ToNumeric coercion tests for BigInt operands 2018-01-05 12:46:27 -05:00
Rick Waldron 89ac510488 Frontmatter: fixup "description: |" to "description: >" 2018-01-05 12:29:17 -05:00
Rick Waldron 92a2621901 Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
Adrian Heine 60ecff7c99 Fix typo 2018-01-05 12:10:13 -05:00
Adrian Heine 8e7213db38 Remove unused constants in checks/features.py 2018-01-05 12:10:01 -05:00
Josh Wolfe e10344acf2 generate type coercion tests for DataView tests 2018-01-05 12:09:17 -05:00
Rick Waldron 5155397373 Add missing features 2017-12-21 16:46:57 -05:00
André Bargull 91460f90de Update property-descriptor tests to use verifyProperty 2017-12-21 16:46:56 -05:00
André Bargull c9ef958d01 Update currency digits data 2017-12-21 16:46:56 -05:00
André Bargull b6e9f9425f Remove unused includes in Intl test files 2017-12-21 16:46:56 -05:00
André Bargull a380c6b000 Use more descriptive names for Intl test files 2017-12-21 16:46:56 -05:00
André Bargull 48c3240580 Add test/harness file for isConstructor.js 2017-12-21 16:46:56 -05:00
André Bargull 266e0ffb66 Remove harness/testBuiltInObject.js file 2017-12-21 16:46:56 -05:00