293 Commits

Author SHA1 Message Date
Alexey Shvayka
c00087e129 Test Array.prototype.sort called with a primitive 2021-03-02 16:33:02 -05:00
Mathias Bynens
79060efc7f Add tests for accessors setting their successor 2021-01-27 09:23:28 -05:00
Mathias Bynens
e610e75985 Add tests for accessors setting precedessors 2021-01-27 09:23:28 -05:00
Mathias Bynens
80c18c0ea8 Add tests for accessors popping elements 2021-01-27 09:23:28 -05:00
Mathias Bynens
7733d900b2 Add tests for accessors increasing length 2021-01-27 09:23:28 -05:00
Mathias Bynens
b7da7c75ce Rename tests 2021-01-27 09:23:28 -05:00
Mathias Bynens
82f634d7fc Add tests for more precise Array#sort
https://github.com/tc39/ecma262/pull/1585
2021-01-27 09:23:28 -05:00
Sébastien Ros
7376666039 Typo 2020-12-10 09:19:33 -05:00
Rick Waldron
3b425c6da3 Coverage: missing tests for Array.prototype.reverse method. Fixes gh-2902 2020-12-02 16:34:44 -05:00
Leo Balter
2e5ff2461b fixup! Fix missing renames for item->at 2020-11-18 15:18:14 -05:00
Leo Balter
65bd4432f9 Fix missing renames for item->at
Ref #2905
2020-11-18 15:18:14 -05:00
Ross Kirsling
df1bce9c2e Rename item() to at(). 2020-11-18 13:31:11 -05: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
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
e3b12065b2 Coverage: Array.prototype.item, String.prototype.item, TypedArray.prototype.item. Closes gh-2809, gh-2810, gh-2811 2020-09-24 17:23:38 -04:00
Rick Waldron
07cc3c8bb1 Coverage: calling array methods with boolean as thisValue. Fixes gh-2803 2020-09-24 14:52:48 -04:00
Rick Waldron
f94fc660cc Array#shift throws TypeError if this value's "length" property was defined with [[Writable]]: false. Fixes gh-2773 2020-09-15 16:35:11 -04:00
Alexey Shvayka
afd849ad29 Test "length" [[Value]] overflow check order in ArraySetLength 2020-09-09 14:40:23 -04:00
Alexey Shvayka
d993d87766 Test "length" [[Value]] coercion order in ArraySetLength 2020-09-09 14:40:23 -04:00
Alexey Shvayka
9857b124c0 Test Array.prototype methods called as top-level functions 2020-09-09 14:34:20 -04:00
Alexey Shvayka
c64db438df Test [[Set]] failure near integer limit in Array.prototype.push 2020-09-02 15:30:33 -04:00
Leo Balter
2e127ec40e Rename usage of master to main
Ref #2699
2020-07-15 15:47:15 -04:00
Alexey Shvayka
20a1345bbe Add Array.prototype.lastIndexOf test 2020-06-24 15:14:04 -04:00
Alexey Shvayka
545e66b251 Add Array.prototype.indexOf test 2020-06-24 15:14:04 -04:00
Alexey Shvayka
fea38b7b8e Remove extra operation from "info" 2020-03-23 14:23:05 -04:00
Alexey Shvayka
13082b0385 Add Array#concat test 2020-03-23 14:23:05 -04:00
Alexey Shvayka
679ad48603 Add Array#reduceRight test 2020-03-23 14:23:05 -04:00
Alexey Shvayka
27162904a7 Add Array#fill test 2020-03-23 14:23:05 -04:00
Alexey Shvayka
66913bf778 Add Array#lastIndexOf test 2020-03-23 14:23:05 -04:00
Alexey Shvayka
4d91ea0955 Add Array#indexOf test 2020-03-23 14:23:05 -04:00
Alexey Shvayka
5885db1361 Add Array#copyWithin test 2020-03-23 14:23:05 -04:00
Steven Cole
22cd9fe809
Repair filter test that was testing concat (#2522)
Looks like a cut-n-paste error. A test in the
built-ins/Array/prototype/filter subtree was exercising the concat
function.

Fixes #2519.
2020-03-10 18:10:39 -07:00
Steven Cole
b0cb75f30c
Repair indexOf test that was testing lastIndexOf (#2521)
Looks like a cut-n-paste error; a test in the `indexOf` subtree was
actually testing the `lastIndexOf` function. Now pointing where it
should.

Fixes #2520.
2020-03-10 18:09:10 -07:00
Alexey Shvayka
6d4b62614b Add Symbol.isConcatSpreadable get order test 2020-02-20 12:38:28 -05:00
Alexey Shvayka
e8c53a2d4e Add "length" exceeding integer limit test 2020-02-20 12:38:28 -05:00
Alexey Shvayka
b1e8a1cf8d Refactor 2 tests using propertyHelper.js harness 2020-02-20 12:38:28 -05:00
Alexey Shvayka
602cdaca46 Add Array#flatMap non-extensible test 2020-02-20 12:36:10 -05:00
Alexey Shvayka
08634993b4 Add Array#flatMap non-configurable property test 2020-02-20 12:36:10 -05:00
Alexey Shvayka
2d3a718c8e Add Array#flatMap non-writable property test 2020-02-20 12:36:10 -05:00
Alexey Shvayka
e9a7dc5eb6 Add Array#flat non-extensible test 2020-02-20 12:36:10 -05:00
Alexey Shvayka
9b7f7bb80a Add Array#flat non-configurable property test 2020-02-20 12:36:10 -05:00
Alexey Shvayka
e9c8807caf Add Array#flat non-writable property test 2020-02-20 12:36:10 -05:00
Alexey Shvayka
61e969d953 Add Array#concat non-extensible tests 2020-02-20 12:36:10 -05:00
Alexey Shvayka
3fa940e7cd Add Array#concat non-configurable property tests 2020-02-20 12:36:10 -05:00
Alexey Shvayka
5faee49d36 Add Array#concat non-writable property tests 2020-02-20 12:36:10 -05:00
Alexey Shvayka
8310766461 Add Array#splice non-extensible test 2020-02-20 12:36:10 -05:00
Alexey Shvayka
4566372b88 Add Array#splice non-configurable property test 2020-02-20 12:36:10 -05:00
Alexey Shvayka
7c8dac120f Add Array#slice non-extensible test 2020-02-20 12:36:10 -05:00
Alexey Shvayka
b6590765f9 Add Array#slice non-configurable property test 2020-02-20 12:36:10 -05:00