Rick Waldron
8b4382d2f2
Transform compareArray -> assert.compareArray: test/language/**/*.js ( #3239 )
2021-10-15 20:35:01 -04:00
Mike Pennisi
d9ddf80479
Revert "Merge pull request #3219 from tc39/rwaldron/migrate-comparearray"
...
This reverts commit b690cb67be
, reversing
changes made to 50dd431dff
. This is
necessary because the reverted changeset reduced coverage by an unknown
extent.
2021-10-01 10:18:47 -04:00
rwaldron
4847d9db5a
chore: update test/**/*.js to use assert.compareArray wherever applicable
2021-09-24 12:58:15 -04:00
André Bargull
b74b15c49c
Derived class constructor checks are executed after leaving the function body ( #3129 )
2021-08-04 09:58:24 -07:00
rwaldron
4a125f2f4e
chore: migrate $ERROR -> throw new Test262Error in test/language/s*
2021-07-29 10:38:53 -04:00
Gus Caplan
516ca9af39
Update tests for ECMA262 #2216
...
https://github.com/tc39/ecma262/pull/2216
2021-02-26 11:49:49 -05:00
Alexey Shvayka
9bd8813674
Rename bound function test and update meta
2020-05-13 12:58:33 -04:00
Alexey Shvayka
47abdd0c5e
Add async generator function test
2020-05-13 12:58:33 -04:00
Alexey Shvayka
4118a67bef
Add async function test
2020-05-13 12:58:33 -04:00
Alexey Shvayka
a71bc984ff
Add arrow function test
2020-05-13 12:58:33 -04:00
Alexey Shvayka
9ff500ed70
Rename & improve generator function test
2020-05-13 12:58:33 -04:00
Gus Caplan
922e27fd8c
fix super evaluation order tests
2020-02-20 12:37:03 -05:00
Shu-yu Guo
27bda64012
Update tests for removal of per-parameter position var scope ( #2445 )
...
See https://github.com/tc39/ecma262/pull/1046
2019-12-23 13:36:09 -05:00
Gus Caplan
34333993d7
tag subclass tests with WeakSet and WeakMap ( #2421 )
2019-11-11 20:58:38 -05:00
Gus Caplan
a53f43e1ce
add missing newlines in tests
2019-11-10 20:18:56 -08:00
André Bargull
f717982c94
Remove unused includes
2018-01-25 13:59:37 -05:00
Rick Waldron
92a2621901
Frontmatter: fixup "info: >" to "info: |"
2018-01-05 12:27:59 -05:00
Leo Balter
f8f5a7a1e7
Add missing generators flags
2017-10-26 19:04:57 -04:00
Leo Balter
7f88a6d7f9
Add other missing Symbol feature flags
2017-09-08 10:13:50 -04:00
Leo Balter
c41faf1aca
Add missing Symbol features flags
2017-09-07 15:51:13 -04:00
André Bargull
d59e30c95e
Remove execute bit from files ( #976 )
2017-04-13 16:24:07 -04:00
André Bargull
7e94b8b7ac
Fix executor arguments validation in Promise subclass test
2017-02-22 18:05:08 +01:00
André Bargull
c16359bc3c
Update tests for classes extending null
...
Per https://github.com/tc39/ecma262/pull/781
2017-02-22 18:04:43 +01:00
Adam Klein
4ff7e4342e
Fix test for instantiating a class extending null ( #813 )
...
The sameValue assertion should be that the [[Prototype]] is
equal to the class's prototype, not the constructor.
2016-12-28 17:18:19 -08:00
Kevin Gibbons
fcc9e07265
Add test for extending a constructor with null .prototype ( #806 )
2016-12-21 01:30:06 -05:00
jugglinmike
35206ee85b
Add test for subclassing bound functions ( #720 )
...
The semantics under test have been incorrectly implemented by the
SpiderMonkey engine.
2016-07-11 13:46:03 -07:00
Leonardo Balter
c204c30a54
Remove invalid test from ArrayBuffer subclassing
...
Fixes gh-696
As pointed in gh-696, the ArrayBuffer ctor won't throw a RangeError when
invoked without arguments.
Instead of fixing the invalid assertion, this commit removes it as the
coverage for subclassing is already satisfied by the use of slice.
2016-07-05 16:29:21 -04:00
jugglinmike
dee1526ca7
Update tests concerning null-extending classes ( #658 )
...
The latest revision of ECMA262 makes special provisions for classes
which extend the `null` value [1]. Update the relevant tests
accordingly.
[1] https://github.com/tc39/ecma262/issues/543
2016-06-10 15:10:32 -04:00
André Bargull
2acbd3e98e
Improve coverage for default class constructors
2016-03-01 19:15:21 +01:00
Leonardo Balter
d9a277aa7c
Fix location based return value for Date on subclassing tests
...
Fixes #489
2016-02-22 13:53:43 -05:00
Leonardo Balter
42d1a10d6d
fixup! Add tests for Array - calling super with a single argument
2016-01-13 13:28:00 -05:00
Leonardo Balter
c99ace29d7
Move subclass tests to test/language/statements/class/subclass/builtin-objects
2016-01-12 16:45:03 -05:00
Rick Waldron
29e2990d9b
14.5 Class Definitions
...
- 14.5.1 Static Semantics: Early Errors
- 14.5.3 Static Semantics: ConstructorMethod
- 14.5.14 Runtime Semantics: ClassDefinitionEvaluation
2015-05-02 14:06:57 -04:00