1339 Commits

Author SHA1 Message Date
Richard Gibson
48b4aa66af Remove no-longer-valid tests 2018-05-07 16:58:42 -04:00
Rick Waldron
3b7a456ddb
Merge pull request #1532 from anba/compat-new
Various test cases for cross-browser compliance bugs
2018-05-03 14:19:40 -04:00
André Bargull
b552dad5cb Various test cases for cross-browser compliance bugs 2018-05-03 09:27:27 -07:00
Mike Pennisi
e01a560648 Remove superfluous code from negative syntax tests
Because these files contain syntax errors, the code they contain is not
intended to be executed, and the runtime semantics are therefore
irrelevant. Simplify the files by removing the unnecessary code.
2018-04-27 22:04:23 -04:00
Rick Waldron
64cdeaf1ed Remove erroneous remnant $ERROR calls from negative SyntaxError tests 2018-04-26 13:39:36 -04:00
Rick Waldron
0b36f27000 Features: add missing "destructuring-binding" features; remove "default-arg" (#1521) 2018-04-24 14:52:19 -04:00
André Bargull
a1faccdd41 Fix various test bugs
- "CannotSuspendMainAgent" feature was changed to "CanBlockIsFalse" flag
- Move annex-b tests into annex-b directory
- Update variable names in nonshared-int-views.js tests
- Move getReport() call in nan-for-timeout.js to avoid iloop
- Update BigInt constructor to match new semantics (tc39/proposal-bigint#138)
2018-04-24 09:52:35 -07:00
Rick Waldron
a1a4e2b1b8 Corrections to sec-web-compat-evaldeclarationinstantiation and sec-web-compat-functiondeclarationinstantiation tests. Fixes gh-1364 (#1509) 2018-04-18 16:54:30 -04:00
Robin Templeton
34e7102b78 bigint comparison tests (#1513)
* relational comparison of bigint and string values

* additional tests for strings converted to NaN
2018-04-18 15:33:00 -04:00
Rick Waldron
ee3a57ca23
Merge pull request #1507 from bakkot/field-ref-error
Add test for proposal-class-fields#92
2018-04-11 13:49:54 -04:00
Daniel Ehrenberg
73b8d9c773 Revert "Revert "Additional tests for QuantifiableAssertion" (#1458)" (#1459)
This reverts commit 173e98e00b14db854d293108d559b79071dfaab2.
2018-04-09 17:35:13 -04:00
Kevin Gibbons
49039979c8 Add test for double super for proposal-class-fields#92 2018-04-09 12:02:22 -07:00
Kevin Gibbons
dba8d7cdc7 Add test for proposal-class-fields#92 2018-04-06 11:24:15 -07:00
Valerie
1e1d503c1b numeric literal seperators: test change in CodePoint production (#1464) 2018-02-28 13:58:22 -05:00
Daniel Ehrenberg
0b54908dba Add test for eval-in-function template tags (#1457)
Thanks to Caitin Potter for highlighting this test case.
2018-02-27 17:46:44 -05:00
Leo Balter
173e98e00b
Revert "Additional tests for QuantifiableAssertion" (#1458) 2018-02-26 10:12:09 -05:00
Daniel Ehrenberg
5b63d98a73
Merge pull request #1456 from littledan/quantifiedassertion
Additional tests for QuantifiableAssertion
2018-02-26 15:35:49 +01:00
Daniel Ehrenberg
f9a0f05850 Additional tests for QuantifiableAssertion
- Tests that lookahead and lookbehind are not extended to
  QuantifiableAssertion, as in https://github.com/tc39/ecma262/pull/1102
- Additional tests verifying some more combinations of cases for
  QuantifiableAssertion being invalid in Unicode mode.

Based on the tests in https://chromium-review.googlesource.com/c/v8/v8/+/926102

These tests pass on V8 (if the throw for early errors is removed to
work around a V8 issue where RegExps don't have early errors).
2018-02-26 12:34:39 +01:00
Valerie R Young
7882fbfae3 async-iteration: move existing throw/return tests to AsyncGeneratorPrototype dir 2018-02-22 13:34:08 -05:00
Valerie R Young
0e99fa8a3a async-iteration: add esid for 'esid: pending' tests 2018-02-22 13:34:08 -05:00
Jeff Walden
a19993e269 Add tests for the behavior of INT32_MIN (-2147483648) as exponent with the exponentiation operator and with Math.pow (which shares the same core algorithm in the spec, but might be differently implemented in actual implementations). (#1445) 2018-02-14 17:02:39 -05:00
Adrian Heine
2fb8eca677 Fix typo intialize(r) -> initialize(r) 2018-02-12 10:05:52 -05:00
Yusuke Suzuki
18c1e799a0 Prefer spaces to tabs if it is not syntax related tests
This patch changes tabs to spaces for newly added tests.
2018-02-08 13:32:42 -05:00
Rick Waldron
12797840ae features: [numeric-separator-literal] 2018-02-08 11:13:54 -05:00
Leo Balter
53c00784b6 Revert "Revert "Tests for NumericSeparatorLiteral. Closes gh-1051" (#1188)"
This reverts commit 8422147c17aa3f4061e524a8f88c251a3b371ecf.
2018-02-08 11:13:54 -05:00
Daniel Ehrenberg
d5fc8b25af Test for change to cache templates by site, not contents (#972)
* Test for change to cache templates by site, not contents

These tests are against a specification change based on discussion in
https://github.com/tc39/ecma262/issues/840

The tests here passed on SpiderMonkey but failed on other
implementations, which implement the current specification.

* Add a test that caching is by source location, not function identity

* Update existing tests to reference the spec properly
2018-02-05 14:40:19 -05:00
Leo Balter
31dfa8761a
Merge pull request #1404 from jugglinmike/refactor-for-parsers-function
Refactor function literal tests for parsers
2018-02-05 11:44:03 -05:00
Mike Pennisi
1d96e25784 Refactor function literal tests for parsers
A number of tests for the parsing of function literals 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.
2018-02-03 23:25:41 -05:00
Mike Pennisi
6dafe71f1a Improve file names 2018-02-03 23:15:40 -05:00
Zirak
1bcb4fc2ef Fix typo in comments (Standart -> Standard) 2018-01-29 09:51:13 -05:00
Mike Pennisi
baa5d94bc5 Refactor object initializer tests for parsers
A number of tests for the parsing of object initializers 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.
2018-01-25 14:01:06 -05:00
Josh Wolfe
4455b1017e remove unnecessary method syntax 2018-01-25 14:00:43 -05:00
Josh Wolfe
9d066a8181 Order of evaluation tests for infix numeric operators 2018-01-25 14:00:43 -05:00
Josh Wolfe
186ec5d177 BigInt and Number type mismatch tests for infix operators 2018-01-25 14:00:10 -05:00
André Bargull
cbe12a53e1 Remove duplicate esids 2018-01-25 13:59:37 -05:00
André Bargull
f717982c94 Remove unused includes 2018-01-25 13:59:37 -05:00
André Bargull
f3911d7ae4 Update remaining tests to use 'parse' instead of 'early' error phase 2018-01-25 13:59:37 -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
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
4afc330363 Fix: various lint fixes 2018-01-10 17:29:48 -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
Rick Waldron
e9e928babe Resolving conflicts in class-fields src templates 2018-01-05 15:31:17 -05:00
Mike Pennisi
e6d674ef7a Rename negative test "phase" for module resolution 2018-01-05 15:17:51 -05:00