Commit Graph

709 Commits

Author SHA1 Message Date
Leo Balter 9bddfaea22
Merge pull request #1572 from rwaldron/super-property-reference
SuperProperty evaluation order
2018-06-22 16:42:22 -04:00
Rick Waldron 2f201e5561 TemplateMap: split TemplateMap cache test into own file 2018-06-07 23:12:16 -04:00
Rick Waldron 9388d6ad70
Merge pull request #1581 from WebReflection/master
GetTemplateObject with a unique template object
2018-06-07 22:50:25 -04:00
Rick Waldron f578b8754f NumericLiteralSeparator: Update "early" => "parse" in negative tests. Fixes gh-1512 2018-06-07 22:44:03 -04:00
Andrea Giammarchi 7c9469115e GetTemplateObject with a unique template object 2018-06-07 11:31:07 +02:00
Rick Waldron ecea13b04a SuperProperty evaluation order, must first call super()
- Invalid: super[super()]. Expects super() to be called prior to super property access.
2018-06-04 10:52:31 -04:00
Rick Waldron 85a4484c52 SuperProperty evaluation order
super[super()] should evaluate and resolve super() first
2018-05-24 15:10:35 -04:00
Rick Waldron 8579ac0356
Merge pull request #1565 from gibson042/2018-05-LineContinuation
Add tests for LineContinuation in StringLiteral
2018-05-21 15:45:12 -04:00
Richard Gibson 3758f6a97c Add tests for LineContinuation in StringLiteral 2018-05-21 12:19:48 -04:00
Caio Lima ebe393172f Adding prefixed string to compare with BigInt 2018-05-20 20:24:13 -03:00
Rick Waldron 1631fb76d1
Merge pull request #1551 from hotsphink/numident
Add test for numeric literal followed by identifier
2018-05-10 14:14:31 -04:00
Steve Fink fab08ab7a2 Add test for numeric literal followed by identifier 2018-05-09 15:45:52 -07:00
Rick Waldron ffc46a667c BigInt: cleanup assertion messages (#1549) 2018-05-09 18:14:09 -03:00
Rick Waldron c38bf8ba23
Merge pull request #1546 from caiolima/big-int-relational-symbol
Added tests for relational comparison among BigInt and Symbol
2018-05-09 15:42:10 -04:00
Caio Lima c93caac30b Updating error messages 2018-05-08 22:58:18 -03:00
Leo Balter 524e8e43a5
Merge pull request #1544 from gibson042/proposal-json-superset
Tests for proposal-json-superset
2018-05-08 15:33:33 -03:00
Richard Gibson dbc0c6b1cc Add json-superset feature 2018-05-08 14:19:44 -04:00
Caio Lima 5cacfaf64b Added tests of relational comparison among BigInt and boolean 2018-05-08 10:06:29 -03:00
Caio Lima 340dfba5dc Added tests for relational comparison among BigInt and Symbol 2018-05-08 09:34:34 -03:00
Richard Gibson ba124c31b2 Add tests for non-ASCII LineTerminator characters in string literals 2018-05-07 16:59:55 -04:00
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 173e98e00b.
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 8422147c17.
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