devsnek
52cb1d0c98
Add missing feature
2020-10-08 20:13:18 -04:00
Gus Caplan
6aa8338d23
add feature tags
2020-10-08 18:05:00 -04:00
Gus Caplan
881c9e3ba5
move __proto__ tests
2020-10-08 18:05:00 -04:00
Gus Caplan
14788fee59
move define/lookup tests
2020-10-08 18:05:00 -04:00
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
12ed905003
Clean up some existing constructor checks; eliminate duplicate checks
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
8a65608dc2
Coverage: Object.seal instances of all built-in constructors, and other built-in values. Fixes gh-2845
2020-10-05 14:38:41 -04:00
Rick Waldron
c0b18dfadf
Cleanup
2020-10-05 14:38:41 -04:00
Rick Waldron
9d345b6a85
Coverage: Object.seal instances of all built-in constructors. Fixes gh-2845
2020-10-05 14:38:41 -04:00
Rick Waldron
d6732b2e28
Object.seal: rename in modern form.
2020-10-05 14:38:41 -04:00
Rick Waldron
32334e52ac
Object.seal: fix esids
2020-10-05 14:38:41 -04:00
Rick Waldron
dcbc02b7fa
Coverage: Object.getOwnPropertySymbols/Names called with non-object values. Fixes gh-2804
2020-09-24 14:53:26 -04:00
Rick Waldron
b11c1607c0
Coverage: Object.assign, Assignment to readonly property of target must throw a TypeError exception. Fixes gh-2788
2020-09-17 16:21:26 -04:00
Rick Waldron
1cd7d87501
Object.defineProperty: Property description must be an object. Fixes gh-1754
2020-09-17 09:59:31 -04:00
Rick Waldron
db5b9c1dd9
Object.defineProperties: Property description must be an object. Fixes gh-1754
2020-09-17 09:59:31 -04:00
Rick Waldron
896994413c
Missing coverage for Object.defineProperty method. Fixes gh-2660 ( #2738 )
2020-08-31 12:59:07 -07:00
Meir Blachman
f7322cca7a
use $ERROR instead of throwing in 15.2.3.7-2-18.js
2020-06-24 12:25:30 -04:00
Alexey Shvayka
0fcc51c9e2
Update copyright for "length" test
2020-06-03 14:03:21 -04:00
Alexey Shvayka
3a4bd7d050
Add symbol primitive test
2020-06-03 14:03:21 -04:00
Alexey Shvayka
38050f0cdd
Add string primitive test
2020-06-03 14:03:21 -04:00
Alexey Shvayka
f4b30daf12
Rename & improve "length" test
2020-06-03 14:03:21 -04:00
Alexey Shvayka
1fccea4471
Object.prototype.hasOwnProperty: Test coercion order
2020-05-06 11:56:49 -04:00
Alexey Shvayka
8a3fe5318d
Merge "length" tests & refactor using propertyHelper.js harness
2020-05-06 11:56:49 -04:00
Alexey Shvayka
1c3d1e3026
Object.prototype.toString: Improve revoked Proxy coverage
2020-05-06 11:51:46 -04:00
Alexey Shvayka
c9ce3be95d
Add Object.seal test
2020-04-25 18:45:48 -04:00
Alexey Shvayka
feaa555fc3
Add Object.isSealed test
2020-04-25 18:45:48 -04:00
Alexey Shvayka
a65d0bfb42
Add Object.isFrozen test
2020-04-25 18:45:48 -04:00
Alexey Shvayka
521446b36b
Add Object.freeze test
2020-04-25 18:45:48 -04:00
Alexey Shvayka
07ff2ffa4a
Add Object.defineProperties test
2020-04-25 18:45:48 -04:00
Alexey Shvayka
56cbc61e42
Add Object.getOwnPropertyDescriptors test
2020-04-25 18:45:48 -04:00
Alexey Shvayka
2183fa7e4e
Add Object.assign test
2020-04-25 18:45:48 -04:00
Alexey Shvayka
eca34edd7e
Drop "the" and align license headers
2020-04-23 10:48:16 -04:00
Alexey Shvayka
b273affa2c
Add Object.values test
2020-03-23 14:50:33 -04:00
Alexey Shvayka
5874ca46fc
Add Object.keys test
2020-03-23 14:50:33 -04:00
Alexey Shvayka
c370276c65
Add Object.getOwnPropertySymbols test
2020-03-23 14:50:33 -04:00
Alexey Shvayka
62c9541be4
Add Object.getOwnPropertyNames test
2020-03-23 14:50:33 -04:00
Alexey Shvayka
021b8f2b33
Add Object.getOwnPropertyDescriptors test
2020-03-23 14:50:33 -04:00
Alexey Shvayka
b94190e387
Add Object.entries test
2020-03-23 14:50:33 -04:00
Alexey Shvayka
4383f2c6ba
Add Object.{freeze,preventExtensions,seal} abrupt completion tests ( #2468 )
...
* Add Object.freeze test
* Add Object.preventExtensions test
* Add Object.seal test
2020-01-14 11:31:45 -05:00
Gus Caplan
502cc20010
fix delete test, add error tests, fix lint ( #2453 )
2019-12-21 16:57:41 -05:00
Alexey Shvayka
19fd4bea79
Improve Object.prototype.isPrototypeOf coverage ( #2446 )
2019-12-18 21:33:31 -05:00
Kevin Gibbons
cadd47aa5f
Add test for for-in order ( #2432 )
...
* Add EnumerateObjectProperties tests for builtins which use it
* Add tests for EnumerateObjectProperties for for-in
* Add feature flag for for-in-order
2019-12-18 11:25:20 -05:00
Alexey Shvayka
da9612db98
Add some more Proxy/ownKeys invariants tests ( #2413 )
...
* Defer making [[ProxyTarget]] non-extensible
* Fix typo in method name
* Add last Object.keys with Proxy invariant test
* Add Object.getOwnPropertySymbols with Proxy invariants tests
* Add Object.getOwnPropertyNames with Proxy invariants tests
* Replace "es6id" with "esid" in Object.getOwnPropertySymbols tests
2019-11-11 15:02:07 -05:00
Alexey Shvayka
1aac32e2f8
Improve Proxy/ownKeys invariants coverage ( #2384 )
...
* Add non-configurable invariant test
* Add non-extensible invariant test
2019-10-08 14:54:46 -04:00
Leo Balter
e2903e2648
Merge pull request #2366 from bocoup/unnecessary-includes
...
Remove unnecessary "includes" directives
2019-09-27 16:46:22 -04:00
Leo Balter
83d9f750c9
Merge pull request #2376 from bocoup/ud-coverage
...
Improve coverage
2019-09-27 16:30:13 -04:00
jugglinmike
479ea0ec0b
Avoid false positive ( #2375 )
...
Prior to this patch, the modified test would pass if no exception was
produced. Use the `assert.throws` utility function to concisely express
the expectation more completely.
2019-09-27 16:25:07 -04: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