Rick Waldron
5c753769e6
Fixup: remove duplicate tests
2020-09-14 13:35:13 -04:00
Frank Tang
ab3a86d9b3
Move tests from
...
https://source.chromium.org/chromium/chromium/src/+/master:v8/test/test262/local-tests/
2020-09-14 13:35:13 -04:00
Rick Waldron
758b9ec575
Coverage: `new await ...` and `new (await ...)`. Fixes gh-1898
2020-09-10 16:09:50 -04:00
Rick Waldron
ced63df97b
ExportDeclaration : HoistableDeclaration; Fixes gh-2068 ( #2737 )
2020-08-20 14:42:35 -07:00
yulia
058adfed86
update comments in instn-once.js ( #2631 )
2020-05-20 12:24:55 -07:00
Leo Balter
eaf7f5d507
Fix exported bindings and ns ( #2616 )
...
Fixes #2614
2020-05-08 10:58:40 -07:00
Adrian Heine
f2bc400f98
Add missing tests for export-star-as-ns-from-module
2020-05-06 11:56:17 -04:00
Gus Caplan
13d057dffc
fix namespace set test ( #2574 )
2020-04-10 15:17:03 -07:00
Gus Caplan
b0bb917dc6
add dfs tests for https://github.com/tc39/ecma262/pull/1669
2020-03-23 14:31:57 -04:00
Nicolò Ribaudo
38709d0cca
Generate tests
2019-10-03 11:35:52 +02:00
Leo Balter
8d4c5f502f
Generate tests
2019-09-27 13:23:44 -04:00
Leo Balter
2e82d31eac
Add tests for evaluation and export declarations in TLA
2019-09-27 13:23:44 -04:00
Leo Balter
69bf8fb0f8
Update tests for top-level await
2019-09-27 13:23:44 -04:00
Leo Balter
32bb36f5e4
Tests for TLA module evaluation
2019-09-26 14:28:56 -04:00
Leo Balter
b63cdfd4f4
Fix a test for TLA ( #2319 )
...
Fixes #2300
2019-08-29 17:20:50 -03:00
Caio Lima
fbbab61b4a
Adding cases to check if SyntaxError is thrown if AllPrivateIdentifiersValid returns false. ( #2301 )
2019-08-28 14:58:43 -03:00
Leo Balter
00ef6331a6
More cases
2019-08-05 23:07:53 -04:00
Leo Balter
56a2dba975
First set of tests for Top Level Await
2019-08-05 23:07:53 -04:00
Ross Kirsling
079b004ac4
Update module resolution tests too.
2019-06-12 14:09:03 -04:00
Ross Kirsling
1859ec66f4
Test update for letting all early errors be SyntaxErrors
2019-06-12 14:09:03 -04:00
Rick Waldron
631b36a734
Refactor module _FIXTURE.js to have no harness dependencies ( #2129 )
...
rwaldron in ~/clonez/test262 on master
$ test262_runner test/language/module-code/instn-iee-bndng-{cls,const,fun,gen,let,var}.js
-----------------------------------------------------------------------------------------
V8 (jsvu)
test262-harness --hostArgs='' --hostType=d8 --hostPath=/Users/rwaldron/.jsvu/v8 test/language/module-code/instn-iee-bndng-cls.js test/language/module-code/instn-iee-bndng-const.js test/language/module-code/instn-iee-bndng-fun.js test/language/module-code/instn-iee-bndng-gen.js test/language/module-code/instn-iee-bndng-let.js test/language/module-code/instn-iee-bndng-var.js
Ran 12 tests
12 passed
0 failed
-----------------------------------------------------------------------------------------
ChakraCore (jsvu)
test262-harness --hostArgs='' --hostType=ch --hostPath=/Users/rwaldron/.jsvu/chakra test/language/module-code/instn-iee-bndng-cls.js test/language/module-code/instn-iee-bndng-const.js test/language/module-code/instn-iee-bndng-fun.js test/language/module-code/instn-iee-bndng-gen.js test/language/module-code/instn-iee-bndng-let.js test/language/module-code/instn-iee-bndng-var.js
Ran 12 tests
12 passed
0 failed
-----------------------------------------------------------------------------------------
JavaScriptCore (jsvu)
test262-harness --hostArgs='' --hostType=jsc --hostPath=/Users/rwaldron/.jsvu/javascriptcore test/language/module-code/instn-iee-bndng-cls.js test/language/module-code/instn-iee-bndng-const.js test/language/module-code/instn-iee-bndng-fun.js test/language/module-code/instn-iee-bndng-gen.js test/language/module-code/instn-iee-bndng-let.js test/language/module-code/instn-iee-bndng-var.js
Ran 12 tests
12 passed
0 failed
-----------------------------------------------------------------------------------------
SpiderMonkey (jsvu)
test262-harness --hostArgs='' --hostType=jsshell --hostPath=/Users/rwaldron/.jsvu/sm test/language/module-code/instn-iee-bndng-cls.js test/language/module-code/instn-iee-bndng-const.js test/language/module-code/instn-iee-bndng-fun.js test/language/module-code/instn-iee-bndng-gen.js test/language/module-code/instn-iee-bndng-let.js test/language/module-code/instn-iee-bndng-var.js
Ran 12 tests
12 passed
0 failed
-----------------------------------------------------------------------------------------
Moddable (jsvu)
test262-harness --hostArgs='' --hostType=xs --hostPath=/Users/rwaldron/.jsvu/xs test/language/module-code/instn-iee-bndng-cls.js test/language/module-code/instn-iee-bndng-const.js test/language/module-code/instn-iee-bndng-fun.js test/language/module-code/instn-iee-bndng-gen.js test/language/module-code/instn-iee-bndng-let.js test/language/module-code/instn-iee-bndng-var.js
Ran 12 tests
12 passed
0 failed
rwaldron in ~/clonez/test262 on refactor-fixtures-to-eliminate-harness-file-dependencies
$ test262_runner test/language/module-code/instn-iee-bndng-{cls,const,fun,gen,let,var}.js
-----------------------------------------------------------------------------------------
V8 (jsvu)
test262-harness --hostArgs='' --hostType=d8 --hostPath=/Users/rwaldron/.jsvu/v8 test/language/module-code/instn-iee-bndng-cls.js test/language/module-code/instn-iee-bndng-const.js test/language/module-code/instn-iee-bndng-fun.js test/language/module-code/instn-iee-bndng-gen.js test/language/module-code/instn-iee-bndng-let.js test/language/module-code/instn-iee-bndng-var.js
Ran 12 tests
12 passed
0 failed
-----------------------------------------------------------------------------------------
ChakraCore (jsvu)
test262-harness --hostArgs='' --hostType=ch --hostPath=/Users/rwaldron/.jsvu/chakra test/language/module-code/instn-iee-bndng-cls.js test/language/module-code/instn-iee-bndng-const.js test/language/module-code/instn-iee-bndng-fun.js test/language/module-code/instn-iee-bndng-gen.js test/language/module-code/instn-iee-bndng-let.js test/language/module-code/instn-iee-bndng-var.js
Ran 12 tests
12 passed
0 failed
-----------------------------------------------------------------------------------------
JavaScriptCore (jsvu)
test262-harness --hostArgs='' --hostType=jsc --hostPath=/Users/rwaldron/.jsvu/javascriptcore test/language/module-code/instn-iee-bndng-cls.js test/language/module-code/instn-iee-bndng-const.js test/language/module-code/instn-iee-bndng-fun.js test/language/module-code/instn-iee-bndng-gen.js test/language/module-code/instn-iee-bndng-let.js test/language/module-code/instn-iee-bndng-var.js
Ran 12 tests
12 passed
0 failed
-----------------------------------------------------------------------------------------
SpiderMonkey (jsvu)
test262-harness --hostArgs='' --hostType=jsshell --hostPath=/Users/rwaldron/.jsvu/sm test/language/module-code/instn-iee-bndng-cls.js test/language/module-code/instn-iee-bndng-const.js test/language/module-code/instn-iee-bndng-fun.js test/language/module-code/instn-iee-bndng-gen.js test/language/module-code/instn-iee-bndng-let.js test/language/module-code/instn-iee-bndng-var.js
Ran 12 tests
12 passed
0 failed
-----------------------------------------------------------------------------------------
Moddable (jsvu)
test262-harness --hostArgs='' --hostType=xs --hostPath=/Users/rwaldron/.jsvu/xs test/language/module-code/instn-iee-bndng-cls.js test/language/module-code/instn-iee-bndng-const.js test/language/module-code/instn-iee-bndng-fun.js test/language/module-code/instn-iee-bndng-gen.js test/language/module-code/instn-iee-bndng-let.js test/language/module-code/instn-iee-bndng-var.js
Ran 12 tests
12 passed
0 failed
2019-04-17 15:44:02 -04:00
Ross Kirsling
d0f57bff72
Ensure test file YAML blocks don't have a trailing space. ( #2018 )
2019-01-07 11:40:39 -02:00
Leo Balter
3703d2bad1
Generate tests
2018-12-20 12:49:50 -05:00
Leo Balter
dec4e5df74
Merge pull request #1801 from mathiasbynens/issue-1634
...
Move `throw "…"` for negative parsing errors to a helper function
2018-11-13 17:23:09 -05:00
Rick Waldron
757491d4f8
Corrections to export * specifier paths. Fixes gh-1883 ( #1894 )
2018-10-24 12:17:56 -04:00
Mathias Bynens
b9daa57dcb
Rename to $DONOTEVALUATE per @leobalter's suggestion
2018-10-23 13:51:17 +02:00
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