293 Commits

Author SHA1 Message Date
deathbearbrown
474237a725 add esid to array/prototype/some tests 2017-07-12 17:05:07 -04:00
deathbearbrown
da291ca3b1 add esid to array/prototype/shift tests 2017-07-12 17:04:32 -04:00
deathbearbrown
a62da2b499 add esid to array/prototype/reverse tests 2017-07-12 17:04:18 -04:00
deathbearbrown
4a9c9e9886 add esid to array/protoype 2017-07-05 10:10:28 -04:00
deathbearbrown
1122913fd9 add esid to array/prototype/slice tests 2017-06-30 15:08:08 -04:00
Sue Lockwood
73ec5e6cd9 add esid to array/prototype/reduceRight tests (#1118) 2017-06-30 10:45:25 -04:00
Sue Lockwood
051bbb88ff add esid to array/prototype/reduce tests (#1117) 2017-06-30 10:45:16 -04:00
Sue Lockwood
5ff6550197 add esid to array/prototype/push tests (#1116) 2017-06-30 10:42:59 -04:00
Sue Lockwood
d6b492205d add esid to array/prototype/pop tests (#1115) 2017-06-30 10:42:52 -04:00
Sue Lockwood
a6a3cf74c4 add esid to array/prototype/map tests (#1114) 2017-06-30 10:42:44 -04:00
Sue Lockwood
d22b84173e add esid to array/prototype/lastIndexOf tests (#1113) 2017-06-30 10:42:36 -04:00
Sue Lockwood
7457fe6608 add esid to array/prototype/keys test (#1112) 2017-06-30 10:42:28 -04:00
Sue Lockwood
4fe640b297 add esid to array/prototype/join (#1111) 2017-06-30 10:42:18 -04:00
Sue Lockwood
54e6302219 add esid to array/prototype/indexOf (#1110) 2017-06-30 10:42:06 -04:00
Sue Lockwood
f5a5bdebb8 add esid to array/prototype/forEach tests (#1106) 2017-06-30 10:37:24 -04:00
Sue Lockwood
3aa94e2f08 add esid to array/prototype/findIndex tests (#1105) 2017-06-30 10:37:06 -04:00
Sue Lockwood
82e53e14c3 add esid to array/prototype/find tests (#1104) 2017-06-30 10:36:54 -04:00
Sue Lockwood
f395b67d29 add esid to array/prototype/filter tests (#1102) 2017-06-30 10:36:17 -04:00
Sue Lockwood
6155f6161a add esid to array/prototype/fill tests (#1101) 2017-06-30 10:33:46 -04:00
Sue Lockwood
6443c43532 add esid to array/prototype/copyWithin (#1100) 2017-06-30 10:33:19 -04:00
Sue Lockwood
69d85e2622 add esid to array/prototype/entries (#1099) 2017-06-30 10:32:35 -04:00
Sue Lockwood
e9c50b3ac2 add esid to array/prototype/every (#1098) 2017-06-30 10:32:12 -04:00
deathbearbrown
c30216b959 add esid to array/prototype/concat 2017-06-29 17:47:51 -04:00
deathbearbrown
005e570f7c add esid to Array/of 2017-06-29 17:29:17 -04:00
deathbearbrown
1341088b36 add esid to frontmatter for Array/length 2017-06-29 17:28:20 -04:00
deathbearbrown
2f4d0be4b8 Add esid to Array/isArray front matter 2017-06-29 17:24:52 -04:00
Rick Waldron
e5ffc904d6 Adding Symbol to Array.prototype.sort "throws on a non-undefined non-function" (#1066)
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-06-28 10:34:05 -04:00
Sue Lockwood
b07621ded1 update Array/From files ESID to sec-array.from (#1077) 2017-06-27 17:12:06 -04:00
Jordan Harband
f1c1b33b53 Array.prototype.sort and %TypedArray%.prototype.sort should throw on a non-undefined non-function (#1059)
Per https://github.com/tc39/ecma262/pull/785/
2017-06-12 19:21:33 -03:00
Leo Balter
715b9052cf
Remove unnecessary tests
These tests are not adding any coverage to the respective API they
should be covering.

There are other files checking cases for array-like objects, and
playing this with the global might cause issues and unnexpected
behavior on specific environments like browsers.
2017-05-17 15:27:51 -04:00
André Bargull
947bf6d3e2 Add tests for Array.prototype methods when length property exceeds safe integer limit (#1028) 2017-05-10 12:20:06 -04:00
Rick Waldron
6fc8082e64 Merge pull request #963 from leobalter/prop-descs
Cleanup prop desc tests in the Array folder
2017-04-28 14:51:57 -04:00
Leo Balter
d6efc316ed
Update some tests to avoid $ERROR 2017-04-25 15:18:27 -04:00
André Bargull
d59e30c95e Remove execute bit from files (#976) 2017-04-13 16:24:07 -04:00
Leo Balter
7972f9bbdc
Add and update common tests for Array and Array.prototype
Ref #960
2017-04-11 03:01:00 -04:00
Leo Balter
c58738e041
Add test for Array.name 2017-04-11 02:34:04 -04:00
Leo Balter
0546fb2f52
Update tests for Array.length 2017-04-11 02:34:03 -04:00
Leo Balter
e98ccd13ef
Move tests for Array length to a proper folder 2017-04-11 02:33:44 -04:00
Leonardo Balter
340543bc11
Rename top level 'name' and 'length' bindings
Fix 850
2017-03-14 12:43:24 -04:00
Leo Balter
c062d93012 Add Infinity test cases to Array.prototype.copyWithin (#882)
Fixes #861
Ref #849

Based on the cases from TypedArray.prototype.copyWithin
2017-03-13 10:50:10 -07:00
Rick Waldron
fdd2fa9b1c Rename $ => $262. Fixes gh-802 (#823)
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-03-01 16:34:15 -05:00
Corey Frang
8a0563dd5e Remove old test file (now using the named version) 2017-01-31 10:55:58 -05:00
Corey Frang
80b091ce2d Add Array.prototype.every.length tests 2017-01-31 10:55:58 -05:00
Lyza Danger Gardner
d13565ab05 Rename 2017-01-20 16:06:46 -05:00
Lyza Danger Gardner
da6657c94c Add descriptor tests for sec-array.isarray 2017-01-20 16:06:46 -05:00
jugglinmike
71e573f7da Add tests for realm interactions (#688)
* Add tests for prototype realm inference

* Add tests for miscellaneous realm concerns

* Add tests for realm of spec-created Errors

In some cases, Error objects produced by the specification are
observable from ECMAScript code. Among these cases, some are further
differentiated in that they occur outside of any built-in function and
may be triggered through syntactic production directly. The current
realm record is commonly interpreted incorrectly under these
circumstances.

Add tests asserting that the expected realm record is used when
constructing such Error objects.

* Add tests for realm use in ArraySpeciesCreate

* Add tests for function realm retrieval

* Add tests for cross-realm behaviors of Symbols

* Add tests for GetValue and PutValue

* Add tests for realm of spec-created Arrays

In some cases, Arrays produced by CreateArrayFromList are observable
from ECMAScript code. Among these cases, two occur outside of any
built-in function and may be triggered through syntactic production
directly. The current realm record is commonly interpreted incorrectly
under these circumstances.

Add tests asserting that the expected realm record is used when
constructing arrays.

* Add test for spec-created object

* fixup! Add tests for realm of spec-created Errors

* fixup! Add tests for realm of spec-created Errors

* fixup! Add tests for prototype realm inference

* fixup! Add tests for miscellaneous realm concerns
2016-10-24 10:43:17 -07:00
Viktor
22f8df2315 Update S15.4.4.11_A7.2.js (#777)
`Array.prototype.sort` should be used instead of `Array.sort`
2016-10-19 14:00:35 -07:00
Leo Balter
e49d2661a8 Improve assertions comparing values to NaN (#690)
The global isNaN is not precise at all, and Number.isNaN is an ES6 feature that makes it preferrable to use assert's sameValue for NaN values, as it handles it internally using the comparison.
2016-07-01 11:22:55 -07:00
Leonardo Balter
ac628975a3
Remove unused variables
Fixes gh-597
2016-06-21 13:03:22 -04:00
jugglinmike
ee7496f713 Add tests for usage of IsArray (#667) 2016-06-10 15:07:40 -04:00