3316 Commits

Author SHA1 Message Date
Mike Pennisi
a7deb7bcce Add tests for arguments within function body 2018-10-28 16:23:38 -04:00
Mike Pennisi
aac38cb368 Normalize coverage for var declarations
Add tests to mirror similar tests which were authored previously.
2018-10-07 16:49:50 -04:00
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
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
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
Rick Waldron
90e69a3b59 Dynamic Imports: eval export default class imports 2018-10-04 16:16:35 -04:00
Rick Waldron
a3eef3f39f Generate tests 2018-10-04 16:16:35 -04:00
Rick Waldron
c77078809c Dynamic Imports: initial cases, templates, non-generated tests and fixtures 2018-10-04 16:16:35 -04:00
test262-automation
dfac9f35a9 [v8-test262-automation] Updated curation log with latest revision sha's from export and changed files.
sourceRevisionAtLastExport: 4ab8215e targetRevisionAtLastExport: 92143ed8c
2018-10-04 14:44:37 -04:00
test262-automation
9616d96c41 [v8-test262-automation] Changes from https://github.com/v8/v8.git at sha 4ab8215e on Thu Oct 04 2018 18:37:16 GMT+0000 (Coordinated Universal Time) 2018-10-04 14:44:37 -04:00
test262-automation
400af0fd79 [javascriptcore-test262-automation] Updated curation log with latest revision sha's from export and changed files.
sourceRevisionAtLastExport: 9dc12cff08 targetRevisionAtLastExport: bebaa21ad
2018-10-04 14:43:13 -04:00