test262/test/built-ins/Object/getOwnPropertyNames
Mike Pennisi f782971ad2 Remove harness file, arrayContains.js
The `arrayContains` function has a number of deficiencies which make it
inappropriate for Test262:

- It apparently isn't very useful: despite being available for over 7
  years, fewer than ten tests use it
- It's misleading: its documentation reads, "Verify that a subArray is
  contained within an array." In reality, it only verifies that all the
  elements of one array are present in another--order does not matter.
- It's not ergonomic for test authors: it has been misused to create
  tests that were prone to false positives [1]
- It's not ergonomic for implementers: ostensibly designed for use with
  `assert`, the failure messages produced by tests that use it do not
  necessarily have very much context

All code in the "harness" directory adds to the total amount of
project-specific information which contributors are expected to to
learn. In light of the above deficiencies, the burden of this particular
harness file is unjustified.

Remove the harness file and its associated tests. Update the tests which
depend on it to express their expectations using alternate methods, and
strengthen the tests to assert element order wherever appropriate.

[1] https://github.com/tc39/test262/pull/3289
2021-11-01 12:55:10 -04:00
..
15.2.3.4-0-1.js
15.2.3.4-0-2.js
15.2.3.4-1-2.js
15.2.3.4-1-3.js
15.2.3.4-1-4.js
15.2.3.4-1-5.js
15.2.3.4-1.js
15.2.3.4-2-1.js
15.2.3.4-2-2.js
15.2.3.4-2-3.js
15.2.3.4-2-4.js
15.2.3.4-3-1.js
15.2.3.4-4-1.js
15.2.3.4-4-2.js Remove harness file, arrayContains.js 2021-11-01 12:55:10 -04:00
15.2.3.4-4-36.js
15.2.3.4-4-37.js
15.2.3.4-4-38.js
15.2.3.4-4-39.js
15.2.3.4-4-40.js
15.2.3.4-4-41.js
15.2.3.4-4-42.js
15.2.3.4-4-43.js
15.2.3.4-4-44.js Transform compareArray -> assert.compareArray: test/built-ins/Object/**/*.js (#3236) 2021-10-08 16:13:08 -04:00
15.2.3.4-4-45.js
15.2.3.4-4-46.js
15.2.3.4-4-47.js
15.2.3.4-4-48.js
15.2.3.4-4-49.js Transform compareArray -> assert.compareArray: test/built-ins/Object/**/*.js (#3236) 2021-10-08 16:13:08 -04:00
15.2.3.4-4-50.js
15.2.3.4-4-b-1.js
15.2.3.4-4-b-2.js Transform compareArray -> assert.compareArray: test/built-ins/Object/**/*.js (#3236) 2021-10-08 16:13:08 -04:00
15.2.3.4-4-b-3.js
15.2.3.4-4-b-4.js
15.2.3.4-4-b-5.js
15.2.3.4-4-b-6.js
S15.2.3.4_A1_T1.js Transform legacy format to harness assertions: test/built-ins/O*/**/*.js 2021-09-02 11:34:27 -07:00
name.js
non-object-argument-invalid.js Coverage: Object.getOwnPropertySymbols/Names called with non-object values. Fixes gh-2804 2020-09-24 14:53:26 -04:00
non-object-argument-valid.js Coverage: Object.getOwnPropertySymbols/Names called with non-object values. Fixes gh-2804 2020-09-24 14:53:26 -04:00
not-a-constructor.js Info: adds "sec-evaluatenew" step to info for all "not-a-constructor.js" tests. 2020-10-06 12:01:34 -04:00
order-after-define-property.js Add Object.getOwnPropertyNames test 2020-03-23 14:50:33 -04:00
proxy-invariant-absent-not-configurable-symbol-key.js Add some more Proxy/ownKeys invariants tests (#2413) 2019-11-11 15:02:07 -05:00
proxy-invariant-duplicate-symbol-entry.js Add some more Proxy/ownKeys invariants tests (#2413) 2019-11-11 15:02:07 -05:00
proxy-invariant-not-extensible-absent-symbol-key.js Add some more Proxy/ownKeys invariants tests (#2413) 2019-11-11 15:02:07 -05:00
proxy-invariant-not-extensible-extra-symbol-key.js Add some more Proxy/ownKeys invariants tests (#2413) 2019-11-11 15:02:07 -05:00