Mathias Bynens
e3feffb01e
Move `throw "…"` for negative parsing errors to a helper function
...
Closes #1634 .
2018-10-23 13:51:16 +02:00
Leo Balter
20b6a3b0a7
Move dynamic-import tests to test/language/expressions
2018-10-19 11:48:17 -04:00
Leo Balter
e620039286
Add some more cases for import()
2018-10-18 17:17:54 -04:00
Leo Balter
f1b337cf55
Generate tests
2018-10-18 17:06:26 -04:00
Leo Balter
eedbf4cf1d
Generate tests
2018-10-18 17:06:26 -04:00
Leo Balter
aefadabda7
Generate tests
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
faed4fb089
Fix various test issues
2018-10-17 07:45:33 -07: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
Leo Balter
3968c2d831
Migrate test for ns
2018-10-11 16:57:36 -04:00
Leo Balter
019322b114
Generate tests
2018-10-11 11:09:48 -04:00
Leo Balter
ec1d7ccc6f
Rename imported to namespace
2018-10-11 11:09:48 -04:00
Leo Balter
1c119e323e
Generate tests
2018-10-11 11:09:48 -04:00
Leo Balter
dc2da1558f
Add tests for the resolved namespace obj
2018-10-11 11:09:48 -04:00
Leo Balter
070198fbad
Generate tests
2018-10-11 11:09:47 -04:00
Leo Balter
f8fda5b6d2
Remove nested-with template for usage/catch tests
...
This should be well covered in the syntax templates and opens the path for tests with module code restrictions
2018-10-11 11:09:47 -04:00
Leo Balter
b0ec060e62
Add more cases for Dynamic Imports usage
...
- Add cases for mixing module and script code
- Rename test case from return promise to thenable
- Fix script code case with valid loaded fixture
- Add a test to assert a promise return
- Add case for specifier toString rejection
- Add case for specifier toString
- Test Assignment expression abrupt completion
- Test Promise return
2018-10-11 11:09:47 -04:00
Leo Balter
3450ed544e
fix linting
2018-10-08 13:32:28 -04:00
Leo Balter
874f508077
Generate tests
2018-10-08 11:41:21 -04:00
Leo Balter
9e4fc1b1c2
Generate tests
2018-10-08 11:05:09 -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
Leo Balter
18f1225570
Generate tests
2018-10-05 10:33:48 -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
724e3d7ccb
Regenerate tests
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
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
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
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
Thomas Wood
2d4ac25fa0
Add feature flags for `new.target`
...
Additionally removed the `arrow-function` feature for
test/language/eval-code/direct/new.target-fn.js as it is not testing
arrow-functions, but they are mentioned in the preamble.
2018-07-24 20:31:35 +01:00
Leo Balter
d1ad8e8fbc
fix features tag ( #1647 )
2018-07-24 01:15:26 -04:00
André Bargull
06c2f01901
Fix multiple test bugs and remove incomplete or no longer valid tests ( #1616 )
2018-06-29 18:52:53 -04:00
Valerie Young
2fa8fc40e4
Tests for `export * as ns from 'foo'` syntax ( #1498 )
2018-06-28 15:46:36 -04:00