Commit Graph

3504 Commits

Author SHA1 Message Date
Leo Balter 0e4310fc45 fix typo on features 2018-10-18 17:06:26 -04:00
Leo Balter eedbf4cf1d Generate tests 2018-10-18 17:06:26 -04:00
Leo Balter 5f88a9293c fix binding 2018-10-18 17:06:26 -04:00
Leo Balter aefadabda7 Generate tests 2018-10-18 17:06:26 -04:00
Leo Balter 335156f861 Add default templates for async arrow fns and async generators 2018-10-18 17:06:26 -04:00
Leo Balter a4d102e020
Add tests for Assignment Expressions in Dynamic Imports (#1865) 2018-10-18 16:14:02 -04:00
André Bargull 100b3b4afe Add missing includes for await tests (#1874) 2018-10-18 12:02:25 -04:00
test262-automation cb4bc7130e [v8-test262-automation] Updated curation log with latest revision sha's from export and changed files.
sourceRevisionAtLastExport: d34cbcd7 targetRevisionAtLastExport: 225cb28a69
2018-10-18 11:54:55 -04:00
test262-automation 82955482de [v8-test262-automation] Changes from https://github.com/v8/v8.git at sha d34cbcd7 on Wed Oct 17 2018 18:44:12 GMT+0000 (Coordinated Universal Time) 2018-10-18 11:54:55 -04:00
test262-automation 614d34af22 [javascriptcore-test262-automation] Updated curation log with latest revision sha's from export and changed files.
sourceRevisionAtLastExport: ac12ca41a6 targetRevisionAtLastExport: b47fed1a36
2018-10-18 11:54:43 -04:00
test262-automation 83f4d5c7c9 [javascriptcore-test262-automation] Changes from https://github.com/webkit/webkit.git at sha ac12ca41a6 on Wed Oct 17 2018 18:41:25 GMT+0000 (Coordinated Universal Time) 2018-10-18 11:54:43 -04:00
Maya Lekova b98c45ca5a AsyncFunction: Add tests ensuring the new 1-tick await behaviour (#1843)
* AsyncFunction: Add tests ensuring the new 1-tick await behaviour

This commit adds 3 tests ensuring the optimized behaviour of await
(see https://github.com/tc39/ecma262/pull/1250) in the following cases:
- async functions
- yielding from async generator functions
- for-await-of loops

* AsyncFunction: Add tests ensuring the monkey-patched promises behaviour

This commit adds 2 more tests ensuring the optimized behaviour of await
(see tc39/ecma262#1250) in the following cases:
- awaiting on a native promise with monkey-patched "then"
- awaiting on a non-native promise (a "thenable" object)

* AsyncFunction: Add tests ensuring the non-native promises behaviour

This commit adds 1 more tests ensuring the optimized behaviour of await
(see tc39/ecma262#1250) in the following cases:
- awaiting on a non-promise, non-thenable object

It also renames the previous test for non-promise (a "thenable" object)
to distinguish from the new case.

The commit adds checks for proper await/promises interleaving in the
aforementioned cases and includes a small code clean-up.

* AsyncFunction: Refactor tests ensuring the new 1-tick await behaviour

Gather all the tests to their appropriate folder and update copyright header.
2018-10-17 16:10:09 -04:00
André Bargull 4d6e47bca9 Change RelativeTimeFormat -> ListFormat in ListFormat test 2018-10-17 13:35:58 -04:00
Ms2ger fa16d7df3f Intl: Add tests for table iteration order.
The order was defined in <https://github.com/tc39/ecma402/pull/279>.
2018-10-17 12:59:38 -04:00
Leo Balter 1690ac5389
Merge pull request #1869 from anba/test-bugs-oct2018
Test bugs oct2018
2018-10-17 11:26:13 -04:00
Mathias Bynens 73d9169cab Generation: fix more YAML frontmatter writer to eliminate errant newlines from yaml.dump()
This applies the fix from #1821 to the remaining frontmatter properties that consist of lists.

Ref. https://github.com/tc39/test262/pull/1821/files#r222811633.
Ref. #1817.
2018-10-17 10:51:10 -04:00
André Bargull d3e5b818d9 Revert "remove "invalid" from invalid date of "cu" and "nu""
This reverts commit a1c3929c35.
2018-10-17 07:46:46 -07:00
André Bargull faed4fb089 Fix various test issues 2018-10-17 07:45:33 -07:00
Leo Balter 2ac5f1766e Add tests for delete expression returning true on non reference types 2018-10-16 19:47:25 -04:00
test262-automation 1f83526476 [javascriptcore-test262-automation] Updated curation log with latest revision sha's from export and changed files.
sourceRevisionAtLastExport: 54374edc2b targetRevisionAtLastExport: bbc9ae15d9
2018-10-16 14:59:14 -04:00
test262-automation 93e27d5654 [javascriptcore-test262-automation] Changes from https://github.com/webkit/webkit.git at sha 54374edc2b on Mon Oct 15 2018 18:40:44 GMT+0000 (Coordinated Universal Time) 2018-10-16 14:59:14 -04:00
test262-automation ad672f6246 [v8-test262-automation] Updated curation log with latest revision sha's from export and changed files.
sourceRevisionAtLastExport: 4dc8ce93 targetRevisionAtLastExport: 25f3532881
2018-10-16 14:58:51 -04:00
test262-automation dfd00b5d29 [v8-test262-automation] Changes from https://github.com/v8/v8.git at sha 4dc8ce93 on Mon Oct 15 2018 18:44:03 GMT+0000 (Coordinated Universal Time) 2018-10-16 14:58:51 -04:00
Leo Balter 061a8ea63a
Merge pull request #1853 from leobalter/dyn-import-part3
Add more cases for dynamic imports
2018-10-15 14:36:01 -04:00
Ms2ger 3113b90d55 Intl.RelativeTimeFormat: Add some basic tests for CanonicalizeLocaleList. 2018-10-15 13:41:46 -04:00
Ms2ger e1d80f75c7 Intl.ListFormat: Add some basic tests for CanonicalizeLocaleList. 2018-10-15 13:41:46 -04:00
Ms2ger a3d91b12e5 Intl.ListFormat: Add a test for unsupported options combinations.
This was changed in https://github.com/tc39/proposal-intl-list-format/pull/27.
2018-10-15 13:40:52 -04:00
Frank Tang e5ae99c6ca Change tests to reflect https://github.com/tc39/proposal-intl-list-format/pull/27 (#1860)
* Changes Intl.ListFormat tests reflecting spec

Reflect https://github.com/tc39/proposal-intl-list-format/pull/27
while style:"narrow" and type is not "unit".

* add cases for throws

* remove commetns which cause lint error
2018-10-15 13:40:25 -04:00
Ujjwal Sharma 9dc33cc5b4 intl: fix mistyped test for array-like objects 2018-10-15 12:54:05 -04:00
Adrian Heine 21f6a86a6d Remove explicit sta.js includes
INTERPRETING.md states that sta.js has to be included unconditionally.
2018-10-15 12:45:55 -04:00
Rick Waldron 3bcb28e918 Generate tests 2018-10-15 12:43:16 -04:00
Rick Waldron 8a59f61c2b Remove unnecessary parts of test case for "PrivateName IdentifierName is accessed on SuperProperty" 2018-10-15 12:38:53 -04:00
Jaideep Bhoosreddy 7736c00f6a Update super-private-access-invalid.case 2018-10-15 12:36:34 -04:00
jbhoosreddy b7a83ecaf3 test: syntax error if superproperty private name access 2018-10-15 12:36:34 -04:00
Mike Pennisi 36f5d9527f Refactor compound assignment tests for parsers
The tests for the parsing of compound assignment expressions 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 and instead express the expectations with
literal source text.
2018-10-15 11:55:29 -04:00
Mike Pennisi a3a5bedee4 Add `esid` metadata 2018-10-15 11:55:29 -04:00
Mike Pennisi 6870cc4a77 Rename files 2018-10-15 11:55:29 -04:00
Ms2ger e527498bff Intl.Segmenter: Some initial tests. (#1844) 2018-10-15 11:29:25 -04:00
Ms2ger f6dcb4fc2b Intl.ListFormat: Add some tests for the localeMatcher constructor option. (#1855)
This was added in https://github.com/tc39/proposal-intl-list-format/pull/25.

I don't know how to test that the option has any effect, so this just checks
that it is read and verified.
2018-10-15 11:04:34 -04:00
Mathias Bynens e654d7b2ae Quote variables in ci_build.sh (#1858)
This makes it possible to run the script locally even if `TRAVIS_PULL_REQUEST` is not set.

Currently, it results in an error:

tools/scripts/ci_build.sh: line 2: [: !=: unary operator expected
2018-10-15 11:02:51 -04:00
Leo Balter 2b726b73e4
Merge pull request #1861 from test262-automation/javascriptcore-test262-automation-export-f595c41625
Import test changes from JavaScriptCore
2018-10-15 10:59:13 -04:00
Leo Balter 7d49ff213b
Merge pull request #1859 from test262-automation/v8-test262-automation-export-234933fe8a
Import test changes from V8
2018-10-15 10:59:00 -04:00
Leo Balter 206370b98e missing copyright header 2018-10-12 17:58:54 -04:00
Leo Balter 81d6bb21a9 Generate tests 2018-10-12 17:27:24 -04:00
Leo Balter 103ee25959 More coverage for namespace object 2018-10-12 17:27:00 -04:00
Leo Balter b7e0a48725 Reuse fixture 2018-10-12 15:32:38 -04:00
Leo Balter 1eb6c6a546 Generate tests 2018-10-12 14:49:54 -04:00
Leo Balter cce2f219f0 Add tests for export * as ns from mod to dyn imports 2018-10-12 14:49:53 -04:00
test262-automation db33ff2225 [javascriptcore-test262-automation] Updated curation log with latest revision sha's from export and changed files.
sourceRevisionAtLastExport: d44c4f5a10 targetRevisionAtLastExport: f595c41625
2018-10-12 18:42:34 +00:00
test262-automation bbc9ae15d9 [javascriptcore-test262-automation] Changes from https://github.com/webkit/webkit.git at sha d44c4f5a10 on Fri Oct 12 2018 18:39:22 GMT+0000 (Coordinated Universal Time) 2018-10-12 18:42:30 +00:00