Commit Graph

3622 Commits

Author SHA1 Message Date
Mike Pennisi b819c597ab Remove redundant test
This behavior is covered by another test in this directory:
`arguments-strict-single.js`. Although the syntax error happens to occur
within the body of a function expression, this distinction is not
significant enough to warrant the test's presence nor does it motivate
the introduction of many similar negative syntax tests which are
currently unavailable.
2018-10-07 16:49:49 -04:00
Mike Pennisi 6b00c8fbfe Rename and refactor tests
The tests for the parsing of variable declarations 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-07 16:49:49 -04:00
Mike Pennisi ceb79988ae Relocate and refactor tests
The tests for the parsing of `for/in` loops 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. Move the tests to the `for-in` directory to better reflect
the grammar production that they test.
2018-10-07 16:48:42 -04:00
Mike Pennisi 835c202b36 Remove redundant and irrelevant tests
Two tests placed within the "variable" directory do not include a variable
declaration. Because the behavior they assert is covered by an existing
test (test/language/arguments-object/10.5-1gs.js), they may be removed
without reducing coverage.
2018-10-07 16:43:08 -04:00
test262-automation d7c7e3309e [javascriptcore-test262-automation] Updated curation log with latest revision sha's from export and changed files.
sourceRevisionAtLastExport: 3a8f232444 targetRevisionAtLastExport: 0e9545be99
2018-10-07 18:39:00 +00:00
test262-automation 5ca4d8770b [javascriptcore-test262-automation] Changes from https://github.com/webkit/webkit.git at sha 3a8f232444 on Sun Oct 07 2018 18:35:44 GMT+0000 (Coordinated Universal Time) 2018-10-07 18:38:54 +00:00
test262-automation 2e9622158a [v8-test262-automation] Updated curation log with latest revision sha's from export and changed files.
sourceRevisionAtLastExport: 466306e9 targetRevisionAtLastExport: 4bc81c1dc2
2018-10-06 18:39:07 +00:00
test262-automation fd1b13ca85 [v8-test262-automation] Changes from https://github.com/v8/v8.git at sha 466306e9 on Sat Oct 06 2018 18:38:18 GMT+0000 (Coordinated Universal Time) 2018-10-06 18:39:03 +00:00
Frank Tang 0866789361 numeric should be a boolean not a string 2018-10-05 18:43:50 -07:00
Frank Tang 5072e841be
Merge pull request #1 from tc39/master
test
2018-10-05 18:30:09 -07:00
test262-automation 161ebcb76b [javascriptcore-test262-automation] Updated curation log with latest revision sha's from export and changed files.
sourceRevisionAtLastExport: 204d982056 targetRevisionAtLastExport: 0eb3a6f9e
2018-10-05 20:47:19 -04:00
test262-automation f4394f84ef [javascriptcore-test262-automation] Changes from https://github.com/webkit/webkit.git at sha 204d982056 on Fri Oct 05 2018 18:34:24 GMT+0000 (Coordinated Universal Time) 2018-10-05 20:47:19 -04:00
Leo Balter 3589fa9d82 Generate Tests 2018-10-05 17:17:41 -04:00
Leo Balter 8e28caa214 Add more coverage to dynamic import
- Add cases for invalid syntax
- Add valid cases
- nested imports
- add non existent file case
- Fix cases and templates to use a full importcall expr token
- add case for call expression position
- remove unnecessary module flag from templates
- Add templates for nested with
2018-10-05 17:17:32 -04:00
test262-automation 842ce97484 [v8-test262-automation] Updated curation log with latest revision sha's from export and changed files.
sourceRevisionAtLastExport: fb4d8c01 targetRevisionAtLastExport: 53ec6e9db
2018-10-05 15:42:18 -04:00
test262-automation ffb51db775 [v8-test262-automation] Changes from https://github.com/v8/v8.git at sha fb4d8c01 on Fri Oct 05 2018 18:37:43 GMT+0000 (Coordinated Universal Time) 2018-10-05 15:42:18 -04:00
Ujjwal Sharma f8e3a8ed11 Add let before variable declaration 2018-10-05 15:32:54 -04:00
Ujjwal Sharma ec35b59e88 intl: increase coverage for the NumberFormat constructor
Increase the coverage for the constructor for Intl.NumberFormat by
ensuring that HasProperty(O, Pk) is properly called.
2018-10-05 15:32:54 -04:00
Leo Balter 00cfe1628c
Merge pull request #1831 from leobalter/1829-dyn-import-fixes
[dynamic import] Fix async test to verify completion
2018-10-05 12:41:12 -04:00
Timothy Gu 140d922d4c Add async-functions feature to more files (#1830) 2018-10-05 10:37:21 -04:00
Leo Balter 18f1225570 Generate tests 2018-10-05 10:33:48 -04:00
Leo Balter 972fff9e17 Fix async test to verify completion
Fixes #1829
2018-10-05 10:33:08 -04:00
Leo Balter 754fe94c5d fixup! Generate tests 2018-10-04 16:21:11 -04:00
Rick Waldron a7ba033337 Generate tests 2018-10-04 16:21:11 -04:00
Rick Waldron 01e67df36e Generation: fix yaml frontmatter writer to eliminate errant newlines from yaml.dump() 2018-10-04 16:21:11 -04:00
Leo Balter 8e8a593e1a Remove checklist, now at #1164 2018-10-04 16:16:35 -04:00
Leo Balter d92d35605b missing fixup 2018-10-04 16:16:35 -04:00
Leo Balter 292fd0c956 fix test in module/script modes 2018-10-04 16:16:35 -04:00
Leo Balter 7f69f1c6bf Generate tests 2018-10-04 16:16:35 -04:00
Leo Balter dac8fd4975 Recover Fixture files 2018-10-04 16:16:35 -04:00
Leo Balter b13b5b9843 Regenerate tests 2018-10-04 16:16:35 -04:00
Leo Balter 7d1a5a18de Fix duplicate template paths 2018-10-04 16:16:35 -04:00
Leo Balter 724e3d7ccb Regenerate tests 2018-10-04 16:16:35 -04:00
Leo Balter 96f733d0c8 Checklist + quick template renaming 2018-10-04 16:16:35 -04:00
Leo Balter 7347b2a121 fix fixtures folders and nit picking on tests 2018-10-04 16:16:35 -04:00
Leo Balter 0a18f4068b remove duplicates, fix fixture folder 2018-10-04 16:16:35 -04:00
Leo Balter 1846d33c29 Regenerate tests 2018-10-04 16:16:35 -04:00
Leo Balter 54689ffa69 Update checklist and other fixups 2018-10-04 16:16:35 -04:00
Leo Balter e8305a7920 Regenerate tests 2018-10-04 16:16:35 -04:00
Leo Balter 8b021346a5 Small fixups on the templates and create a checklist (WIP) 2018-10-04 16:16:35 -04:00
Leo Balter 24d1a78015 fix folders to fixtures 2018-10-04 16:16:35 -04:00
Leo Balter bc13b8a7c1 Regenerate tests 2018-10-04 16:16:35 -04:00
Leo Balter 971ca8cc85 Remove case, no form of importing thing as namespace 2018-10-04 16:16:35 -04:00
Leo Balter fdcb06e093 move catch tests to a separate folder 2018-10-04 16:16:35 -04:00
Leo Balter 6150f24d25 Regenerate tests 2018-10-04 16:16:35 -04:00
Leo Balter cc8b8e955b move flags to templates 2018-10-04 16:16:35 -04:00
Leo Balter e116ccff0c Improve case clarify for syntax templates 2018-10-04 16:16:35 -04:00
Leo Balter d16874c264 remove duplicated 2018-10-04 16:16:35 -04:00
Leo Balter 290bbfbbfc split valid and invalid syntax templates 2018-10-04 16:16:35 -04:00
Rick Waldron c31feb753d Dynamic Imports: remove [module] flag 2018-10-04 16:16:35 -04:00