Meghan Denny
60963bf468
chore: convert many tests to use verifyProperty ( #4263 )
...
Co-authored-by: André Bargull <andre.bargull@gmail.com>
2024-10-14 11:25:05 +02:00
Ioanna M Dimitriou H
c63d53ad9c
Builtin boilerplate tests from PR #3866 ( #4236 )
...
Includes some proto-from-ctor-realm.js tests that look like standard tests for prototypes.
Co-authored-by: Ron Buckton <ron.buckton@microsoft.com>
Co-authored-by: Philip Chimento <philip.chimento@gmail.com>
2024-09-24 14:04:28 +02:00
Ron Buckton
dc7a22dd28
Function branding boilerplate tests from PR #3866
2024-09-20 10:48:23 -07:00
Paul Bakker
98c7e9114e
Test computed accessor properties and AggregateError constructor without arguments ( #4222 )
2024-09-11 11:41:07 +02:00
Ron Buckton
cb8324fdba
Adds [is/not]-a-constructor.js tests from @rbuckton's PR #3866
...
to make reviewing easier.
2024-07-29 16:31:26 -07:00
Ron Buckton
c916d81d85
Adds .length property descriptor tests for explicit resource management
...
These are all the length.js tests from @rbuckton's PR #3866 to make reviewing easier.
2024-07-29 16:31:26 -07:00
Ron Buckton
59657217f1
Adds .name property descriptor tests for explicit resource management
...
These are all the name.js tests from @rbuckton's PR #3866 to make reviewing easier.
2024-07-29 16:31:26 -07:00
Ron Buckton
3a615a0c0e
Adds property descriptor tests for explicit resource management objects
...
These are all the prop-desc.js tests from @rbuckton's PR #3866 to make reviewing easier.
2024-07-29 16:31:26 -07:00
Kevin Gibbons
5424d7e834
rewrite tests to use verifyProperty
2024-03-25 12:05:06 +01:00
André Bargull
534decc36d
Fix typos in calls to verifyProperty
...
And update verifyProperty to catch misspelled descriptor fields.
2023-09-13 16:05:40 +02:00
Jordan Harband
00263bf90f
add missing Reflect.construct feature
2022-05-05 17:13:25 +02:00
Shu-yu Guo
70bc32edab
Give Error cause tests the error-cause feature tag ( #2977 )
2021-04-23 15:53:14 -07:00
legendecas
3e4e07c836
Add tests for stage 3 proposal error cause ( #2965 )
...
* Add tests for error cause
* Correct invocation of Proxy constructor
Co-authored-by: Mike Pennisi <mike@mikepennisi.com>
2021-04-23 14:45:27 -04:00
Rick Waldron
8aacff591c
Standardize built-in constructor testing
2020-10-06 12:01:34 -04:00
Rick Waldron
d3c693bdfe
AggregateError: update args order evaluation ( #2647 )
...
Fixes #2646
2020-07-08 12:13:36 -07:00
André Bargull
3d411fa969
Assert 'errors' is absent for AggregateError.prototype
2020-06-24 12:11:36 -04:00
André Bargull
660a3d6512
Remove built-ins/NativeErrors/AggregateError/prototype/errors
...
The `errors` property accessors has been removed from the spec proposal.
2020-06-24 12:11:36 -04:00
Shu-yu Guo
76b38918a8
Correctly tag AggregateError proto-from-ctor-realm test
2020-04-25 18:51:44 -04:00
Alexey Shvayka
0c06bbcebf
Add "proto-from-ctor-realm" test for AggregateError
2020-04-23 10:43:46 -04:00
Rick Waldron
dfc7ecc678
AggregateError: If NewTarget is undefined, let newTarget be the active function object ( #2537 )
2020-03-23 15:58:03 -07:00
Rick Waldron
991e05dd38
Move: AggregateError belongs in the NativeErrors directory ( #2528 )
2020-03-16 11:43:52 -07:00
Mike Pennisi
9cd62ffbd7
Improve coverage: ctor props of the global object
...
Prior to this commit, the descriptors of the constructor properties of
the global object were verified inconsistently, many independent
assertions occured in the same file, and that file test was poorly
located.
Restructure the relevant tests to improve coverage, follow convention,
and promote discoverability.
2019-09-27 15:39:10 -04:00
Alexey Shvayka
652cfc764a
Add "proto-from-ctor-realm" tests for native errors ( #2335 )
...
* Add EvalError test
* Add RangeError test
* Add ReferenceError test
* Add SyntaxError test
* Add TypeError test
* Add URIError test
2019-09-11 17:19:58 -03:00
Rick Waldron
92a2621901
Frontmatter: fixup "info: >" to "info: |"
2018-01-05 12:27:59 -05:00
André Bargull
d59e30c95e
Remove execute bit from files ( #976 )
2017-04-13 16:24:07 -04:00
André Bargull
33395b52f5
Add basic surface tests for NativeErrors
2016-01-15 18:13:36 +01:00
André Bargull
5e3eed63b9
Move Symbol.species and AnnexB tests to new subfolders
2016-01-15 18:11:03 +01:00