test262/test/built-ins/Object
Jamie Kyle bad7c0487e
Add tests for Object.hasOwn (#2995)
* Add tests for Object.hasOwn

* Update test/built-ins/Object/hasOwn/length.js

Co-authored-by: Jordan Harband <ljharb@gmail.com>

* Update test/built-ins/Object/hasOwn/name.js

Co-authored-by: Jordan Harband <ljharb@gmail.com>

* Fixup comments for Object.hasOwn

* Add Object.hasOwn descriptor test

* use assert.sameValue with true instead of assert()

* remove extra semicolons

* Remove old $ERROR style tests from hasown

* Fix thrown error type in hasown tests

* Fix incorrect test cases

Co-authored-by: Jordan Harband <ljharb@gmail.com>
2021-06-16 17:35:06 -04:00
..
assign Add Object.freeze tests 2021-02-08 15:40:48 -05:00
create Info: adds "sec-evaluatenew" step to info for all "not-a-constructor.js" tests. 2020-10-06 12:01:34 -04:00
defineProperties Info: adds "sec-evaluatenew" step to info for all "not-a-constructor.js" tests. 2020-10-06 12:01:34 -04:00
defineProperty Info: adds "sec-evaluatenew" step to info for all "not-a-constructor.js" tests. 2020-10-06 12:01:34 -04:00
entries Info: adds "sec-evaluatenew" step to info for all "not-a-constructor.js" tests. 2020-10-06 12:01:34 -04:00
freeze Add Object.freeze test 2021-02-08 15:41:23 -05:00
fromEntries Info: adds "sec-evaluatenew" step to info for all "not-a-constructor.js" tests. 2020-10-06 12:01:34 -04:00
getOwnPropertyDescriptor Info: adds "sec-evaluatenew" step to info for all "not-a-constructor.js" tests. 2020-10-06 12:01:34 -04:00
getOwnPropertyDescriptors Info: adds "sec-evaluatenew" step to info for all "not-a-constructor.js" tests. 2020-10-06 12:01:34 -04:00
getOwnPropertyNames Info: adds "sec-evaluatenew" step to info for all "not-a-constructor.js" tests. 2020-10-06 12:01:34 -04:00
getOwnPropertySymbols Info: adds "sec-evaluatenew" step to info for all "not-a-constructor.js" tests. 2020-10-06 12:01:34 -04:00
getPrototypeOf Info: adds "sec-evaluatenew" step to info for all "not-a-constructor.js" tests. 2020-10-06 12:01:34 -04:00
hasOwn Add tests for Object.hasOwn (#2995) 2021-06-16 17:35:06 -04:00
internals/DefineOwnProperty
is Info: adds "sec-evaluatenew" step to info for all "not-a-constructor.js" tests. 2020-10-06 12:01:34 -04:00
isExtensible Info: adds "sec-evaluatenew" step to info for all "not-a-constructor.js" tests. 2020-10-06 12:01:34 -04:00
isFrozen Info: adds "sec-evaluatenew" step to info for all "not-a-constructor.js" tests. 2020-10-06 12:01:34 -04:00
isSealed Info: adds "sec-evaluatenew" step to info for all "not-a-constructor.js" tests. 2020-10-06 12:01:34 -04:00
keys Info: adds "sec-evaluatenew" step to info for all "not-a-constructor.js" tests. 2020-10-06 12:01:34 -04:00
preventExtensions Info: adds "sec-evaluatenew" step to info for all "not-a-constructor.js" tests. 2020-10-06 12:01:34 -04:00
prototype add feature tags 2020-10-08 18:05:00 -04:00
seal Add Object.seal test 2021-02-08 15:41:23 -05:00
setPrototypeOf Info: adds "sec-evaluatenew" step to info for all "not-a-constructor.js" tests. 2020-10-06 12:01:34 -04:00
values Info: adds "sec-evaluatenew" step to info for all "not-a-constructor.js" tests. 2020-10-06 12:01:34 -04:00
S9.9_A3.js
S9.9_A4.js
S9.9_A5.js
S9.9_A6.js
S15.2.1.1_A1_T1.js
S15.2.1.1_A1_T2.js
S15.2.1.1_A1_T3.js
S15.2.1.1_A1_T4.js
S15.2.1.1_A1_T5.js
S15.2.1.1_A2_T1.js
S15.2.1.1_A2_T2.js
S15.2.1.1_A2_T3.js
S15.2.1.1_A2_T4.js
S15.2.1.1_A2_T5.js
S15.2.1.1_A2_T6.js
S15.2.1.1_A2_T7.js
S15.2.1.1_A2_T8.js
S15.2.1.1_A2_T9.js
S15.2.1.1_A2_T10.js
S15.2.1.1_A2_T11.js
S15.2.1.1_A2_T12.js
S15.2.1.1_A2_T13.js
S15.2.1.1_A2_T14.js
S15.2.1.1_A3_T1.js
S15.2.1.1_A3_T2.js
S15.2.1.1_A3_T3.js
S15.2.2.1_A1_T1.js
S15.2.2.1_A1_T2.js
S15.2.2.1_A1_T3.js
S15.2.2.1_A1_T4.js
S15.2.2.1_A1_T5.js
S15.2.2.1_A2_T1.js
S15.2.2.1_A2_T2.js
S15.2.2.1_A2_T3.js
S15.2.2.1_A2_T5.js
S15.2.2.1_A2_T6.js
S15.2.2.1_A2_T7.js
S15.2.2.1_A3_T1.js
S15.2.2.1_A3_T2.js
S15.2.2.1_A3_T3.js
S15.2.2.1_A4_T1.js
S15.2.2.1_A4_T2.js
S15.2.2.1_A4_T3.js
S15.2.2.1_A5_T1.js
S15.2.2.1_A5_T2.js
S15.2.2.1_A5_T3.js
S15.2.2.1_A5_T4.js
S15.2.2.1_A6_T1.js
S15.2.2.1_A6_T2.js
S15.2.2.1_A6_T3.js
S15.2.3_A1.js
S15.2.3_A2.js
S15.2.3_A3.js
S15.2_A1.js
bigint.js
is-a-constructor.js Standardize built-in constructor testing 2020-10-06 12:01:34 -04:00
prop-desc.js
property-order.js Set function `length` and `name` in `CreateBuiltinFunction` 2021-01-29 09:45:20 -05:00
proto-from-ctor-realm.js
subclass-object-arg.js
symbol_object-returns-fresh-symbol.js