Rick Waldron
d576baf73f
Info: adds "sec-evaluatenew" step to info for all "not-a-constructor.js" tests.
2020-10-06 12:01:34 -04:00
Rick Waldron
8aacff591c
Standardize built-in constructor testing
2020-10-06 12:01:34 -04:00
Rick Waldron
c644ede430
Built-in function objects that are not identified as constructors must throw a TypeError exception when new'ed. Fixes gh-1739
2020-10-06 12:01:34 -04:00
Rick Waldron
ce8ec71c98
Features: add full name for FinalizationRegistry.prototype.cleanupSome.
2020-10-06 12:01:10 -04:00
Leo Balter
5a01caed71
Add feature tag for cleanupSome
...
The WeakRefs proposal advanced to Stage 4 but cleanupSome moved back to a Stage 2 status.
The tests should remain in Test262 for now but this feature flag should help users to
filter tests out.
2020-07-21 16:57:50 -04:00
Daniel Ehrenberg
c6dd620ad3
Rename FinalizationGroup to FinalizationRegistry
...
Corresponds to https://github.com/tc39/proposal-weakrefs/pull/183
(Note, this is untested)
2020-02-20 12:13:29 -05:00
Gus Caplan
5b231ab2d6
add missing WeakSet and WeakMap features
2020-02-08 08:54:09 -05:00
Gus Caplan
a53f43e1ce
add missing newlines in tests
2019-11-10 20:18:56 -08:00
Leo Balter
3bfb341203
Fixes after test feedback
2019-09-23 12:26:02 -04:00
Leo Balter
08844700fe
Update tests for GC hook, apply async
...
- Fix incorrect tests for WeakRefs
Ref #2239
Fixes #2260
Fixes #2256
2019-09-23 12:26:02 -04:00
Leo Balter
7134634aa4
Revert "Remove tests based on the $262.gc hook"
...
This reverts commit d6d37f2f43
.
2019-09-23 12:26:02 -04:00
Alexey Shvayka
ef7fd2bc27
Add "proto-from-ctor-realm" tests for Intl constructors ( #2334 )
...
* Rename "Object/proto-from-ctor.js" test
* Add missing "Symbol" features
* Add Intl.Collator test
* Add Intl.DateTimeFormat test
* Add Intl.NumberFormat test
* Add Intl.PluralRules test
2019-09-11 17:22:21 -03:00
Leo Balter
d6d37f2f43
Remove tests based on the $262.gc hook
...
Fixes #2239
Closes #2329
2019-09-05 19:38:03 +01:00
Leo Balter
3c293f0e6c
Some edgy cases for weakrefs/finalizationgroups
2019-07-11 11:17:30 -04:00
Gus Caplan
7a1da555a5
add WeakRef feature to WeakRef/constructor test. ( #2209 )
2019-06-21 13:41:28 -04:00
Leo Balter
dcac20d8ed
Add tests for FG register/unregister
2019-06-21 11:50:22 -04:00
Leo Balter
ab38ce4e84
Add more tests, include deref
2019-06-21 11:50:22 -04:00
Leo Balter
c2c81409b2
fixup! Normative optional WeakRef#constructor
2019-06-21 11:50:22 -04:00
Leo Balter
5fabef83dc
Normative optional WeakRef#constructor
2019-06-21 11:50:22 -04:00
Leo Balter
62477ea0c9
More tests
2019-06-21 11:50:22 -04:00
Leo Balter
e3d87d6690
No ctor for WeakRef.prototype
2019-06-21 11:50:22 -04:00
Leo Balter
969d4e68b4
Basic tests for weakref and finalizationgroup
2019-06-21 11:50:22 -04:00