test262/test/built-ins/Object/hasOwn
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
..
descriptor.js Add tests for Object.hasOwn (#2995) 2021-06-16 17:35:06 -04:00
hasown.js Add tests for Object.hasOwn (#2995) 2021-06-16 17:35:06 -04:00
hasown_inherited_exists.js Add tests for Object.hasOwn (#2995) 2021-06-16 17:35:06 -04:00
hasown_inherited_getter.js Add tests for Object.hasOwn (#2995) 2021-06-16 17:35:06 -04:00
hasown_inherited_getter_and_setter.js Add tests for Object.hasOwn (#2995) 2021-06-16 17:35:06 -04:00
hasown_inherited_getter_and_setter_configurable_enumerable.js Add tests for Object.hasOwn (#2995) 2021-06-16 17:35:06 -04:00
hasown_inherited_getter_and_setter_configurable_nonenumerable.js Add tests for Object.hasOwn (#2995) 2021-06-16 17:35:06 -04:00
hasown_inherited_getter_and_setter_nonconfigurable_enumerable.js Add tests for Object.hasOwn (#2995) 2021-06-16 17:35:06 -04:00
hasown_inherited_getter_and_setter_nonconfigurable_nonenumerable.js Add tests for Object.hasOwn (#2995) 2021-06-16 17:35:06 -04:00
hasown_inherited_getter_configurable_enumerable.js Add tests for Object.hasOwn (#2995) 2021-06-16 17:35:06 -04:00
hasown_inherited_getter_configurable_nonenumerable.js Add tests for Object.hasOwn (#2995) 2021-06-16 17:35:06 -04:00
hasown_inherited_getter_nonconfigurable_enumerable.js Add tests for Object.hasOwn (#2995) 2021-06-16 17:35:06 -04:00
hasown_inherited_getter_nonconfigurable_nonenumerable.js Add tests for Object.hasOwn (#2995) 2021-06-16 17:35:06 -04:00
hasown_inherited_nonwritable_configurable_enumerable.js Add tests for Object.hasOwn (#2995) 2021-06-16 17:35:06 -04:00
hasown_inherited_nonwritable_configurable_nonenumerable.js Add tests for Object.hasOwn (#2995) 2021-06-16 17:35:06 -04:00
hasown_inherited_nonwritable_nonconfigurable_enumerable.js Add tests for Object.hasOwn (#2995) 2021-06-16 17:35:06 -04:00
hasown_inherited_nonwritable_nonconfigurable_nonenumerable.js Add tests for Object.hasOwn (#2995) 2021-06-16 17:35:06 -04:00
hasown_inherited_setter.js Add tests for Object.hasOwn (#2995) 2021-06-16 17:35:06 -04:00
hasown_inherited_setter_configurable_enumerable.js Add tests for Object.hasOwn (#2995) 2021-06-16 17:35:06 -04:00
hasown_inherited_setter_configurable_nonenumerable.js Add tests for Object.hasOwn (#2995) 2021-06-16 17:35:06 -04:00
hasown_inherited_setter_nonconfigurable_enumerable.js Add tests for Object.hasOwn (#2995) 2021-06-16 17:35:06 -04:00
hasown_inherited_setter_nonconfigurable_nonenumerable.js Add tests for Object.hasOwn (#2995) 2021-06-16 17:35:06 -04:00
hasown_inherited_writable_configurable_enumerable.js Add tests for Object.hasOwn (#2995) 2021-06-16 17:35:06 -04:00
hasown_inherited_writable_configurable_nonenumerable.js Add tests for Object.hasOwn (#2995) 2021-06-16 17:35:06 -04:00
hasown_inherited_writable_nonconfigurable_enumerable.js Add tests for Object.hasOwn (#2995) 2021-06-16 17:35:06 -04:00
hasown_inherited_writable_nonconfigurable_nonenumerable.js Add tests for Object.hasOwn (#2995) 2021-06-16 17:35:06 -04:00
hasown_nonexistent.js Add tests for Object.hasOwn (#2995) 2021-06-16 17:35:06 -04:00
hasown_own_getter.js Add tests for Object.hasOwn (#2995) 2021-06-16 17:35:06 -04:00
hasown_own_getter_and_setter.js Add tests for Object.hasOwn (#2995) 2021-06-16 17:35:06 -04:00
hasown_own_getter_and_setter_configurable_enumerable.js Add tests for Object.hasOwn (#2995) 2021-06-16 17:35:06 -04:00
hasown_own_getter_and_setter_configurable_nonenumerable.js Add tests for Object.hasOwn (#2995) 2021-06-16 17:35:06 -04:00
hasown_own_getter_and_setter_nonconfigurable_enumerable.js Add tests for Object.hasOwn (#2995) 2021-06-16 17:35:06 -04:00
hasown_own_getter_and_setter_nonconfigurable_nonenumerable.js Add tests for Object.hasOwn (#2995) 2021-06-16 17:35:06 -04:00
hasown_own_getter_configurable_enumerable.js Add tests for Object.hasOwn (#2995) 2021-06-16 17:35:06 -04:00
hasown_own_getter_configurable_nonenumerable.js Add tests for Object.hasOwn (#2995) 2021-06-16 17:35:06 -04:00
hasown_own_getter_nonconfigurable_enumerable.js Add tests for Object.hasOwn (#2995) 2021-06-16 17:35:06 -04:00
hasown_own_getter_nonconfigurable_nonenumerable.js Add tests for Object.hasOwn (#2995) 2021-06-16 17:35:06 -04:00
hasown_own_nonwritable_configurable_enumerable.js Add tests for Object.hasOwn (#2995) 2021-06-16 17:35:06 -04:00
hasown_own_nonwritable_nonconfigurable_enumerable.js Add tests for Object.hasOwn (#2995) 2021-06-16 17:35:06 -04:00
hasown_own_nonwriteable_configurable_nonenumerable.js Add tests for Object.hasOwn (#2995) 2021-06-16 17:35:06 -04:00
hasown_own_nonwriteable_nonconfigurable_nonenumerable.js Add tests for Object.hasOwn (#2995) 2021-06-16 17:35:06 -04:00
hasown_own_property_exists.js Add tests for Object.hasOwn (#2995) 2021-06-16 17:35:06 -04:00
hasown_own_setter.js Add tests for Object.hasOwn (#2995) 2021-06-16 17:35:06 -04:00
hasown_own_setter_configurable_enumerable.js Add tests for Object.hasOwn (#2995) 2021-06-16 17:35:06 -04:00
hasown_own_setter_configurable_nonenumerable.js Add tests for Object.hasOwn (#2995) 2021-06-16 17:35:06 -04:00
hasown_own_setter_nonconfigurable_enumerable.js Add tests for Object.hasOwn (#2995) 2021-06-16 17:35:06 -04:00
hasown_own_setter_nonconfigurable_nonenumerable.js Add tests for Object.hasOwn (#2995) 2021-06-16 17:35:06 -04:00
hasown_own_writable_configurable_enumerable.js Add tests for Object.hasOwn (#2995) 2021-06-16 17:35:06 -04:00
hasown_own_writable_configurable_nonenumerable.js Add tests for Object.hasOwn (#2995) 2021-06-16 17:35:06 -04:00
hasown_own_writable_nonconfigurable_enumerable.js Add tests for Object.hasOwn (#2995) 2021-06-16 17:35:06 -04:00
hasown_own_writable_nonconfigurable_nonenumerable.js Add tests for Object.hasOwn (#2995) 2021-06-16 17:35:06 -04:00
length.js Add tests for Object.hasOwn (#2995) 2021-06-16 17:35:06 -04:00
name.js Add tests for Object.hasOwn (#2995) 2021-06-16 17:35:06 -04:00
not-a-constructor.js Add tests for Object.hasOwn (#2995) 2021-06-16 17:35:06 -04:00
prototype.js Add tests for Object.hasOwn (#2995) 2021-06-16 17:35:06 -04:00
symbol_own_property.js Add tests for Object.hasOwn (#2995) 2021-06-16 17:35:06 -04:00
symbol_property_toPrimitive.js Add tests for Object.hasOwn (#2995) 2021-06-16 17:35:06 -04:00
symbol_property_toString.js Add tests for Object.hasOwn (#2995) 2021-06-16 17:35:06 -04:00
symbol_property_valueOf.js Add tests for Object.hasOwn (#2995) 2021-06-16 17:35:06 -04:00
toobject_before_topropertykey.js Add tests for Object.hasOwn (#2995) 2021-06-16 17:35:06 -04:00
toobject_null.js Add tests for Object.hasOwn (#2995) 2021-06-16 17:35:06 -04:00
toobject_undefined.js Add tests for Object.hasOwn (#2995) 2021-06-16 17:35:06 -04:00