Commit Graph

916 Commits

Author SHA1 Message Date
Rick Waldron cc94370eb9 Frontmatter nits 2018-01-17 12:32:11 -05:00
Viktor 290cef061c Create non-integer-values.js 2018-01-17 12:02:19 -05:00
Rick Waldron d7b5715e6c Fix: various lint fixes 2018-01-11 10:21:08 -05:00
Rick Waldron 73120a5492 Fix: various lint fixes 2018-01-10 17:33:03 -05:00
Rick Waldron 4afc330363 Fix: various lint fixes 2018-01-10 17:29:48 -05:00
Michael Ficarra 041da54c02 add flatten/flatMap to features.txt and mark appropriate tests 2018-01-05 16:59:34 -05:00
Michael Ficarra d8233624aa add missing compareArray function 2018-01-05 16:59:34 -05:00
Michael Ficarra 6bd7b21a2b add myself to flatten/flatMap copyrights 2018-01-05 16:59:34 -05:00
Michael Ficarra 33b6c31331 use `onlyStrict` flag instead of `"use strict"` directive 2018-01-05 16:59:34 -05:00
Michael Ficarra 02ceb62400 flatMap/flatten test improvements 2018-01-05 16:59:34 -05:00
shilpi 1547e49c95 flatten and flatMap tests 2018-01-05 16:59:34 -05:00
Rick Waldron 66df349af3 Assert that promise callbacks were actually called. Closes #1328
Originally reported here: https://github.com/tc39/test262/pull/1328, OP passed on revising.
2018-01-05 13:23:35 -05:00
Rick Waldron 02f1a0b630 Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:50:00 -05:00
Ivan Vyshnevskyi 7b868091a7 Add ToNumber tests for invalid HexIntegralLiterals 2018-01-05 12:48:57 -05:00
Ivan Vyshnevskyi d540256163 Add more ToNumber tests for invalid binary and octal literals 2018-01-05 12:48:57 -05:00
Rick Waldron 89ac510488 Frontmatter: fixup "description: |" to "description: >" 2018-01-05 12:29:17 -05:00
Rick Waldron 92a2621901 Frontmatter: fixup "info: >" to "info: |" 2018-01-05 12:27:59 -05:00
Josh Wolfe e10344acf2 generate type coercion tests for DataView tests 2018-01-05 12:09:17 -05:00
Josh Wolfe 5730f10114 generate some type coercion tests 2017-12-21 16:40:18 -05:00
Daniel Ehrenberg cb84893f93 Add a test that BigInt does not have a parseInt function 2017-12-21 15:16:22 -05:00
Daniel Ehrenberg 422f91e8fd Remove BigInt.parseInt tests
BigInt.parseInt will be removed in
https://github.com/tc39/proposal-bigint/pull/101

This patch removes the associated test262 tests.
2017-12-21 15:16:22 -05:00
Mathias Bynens 7446e885e9 [regexp-named-groups] Expand tests for `groups` property
The `groups` property must be created unconditionally. https://github.com/tc39/proposal-regexp-named-groups/pull/40
2017-12-20 15:33:37 -05:00
Rick Waldron a801bdf786 Fix frontmatter 2017-12-19 15:42:57 -05:00
André Bargull 7f96cb10c1 Add tests for accessing Infinity on detached typed arrays 2017-12-19 15:42:56 -05:00
André Bargull 8311965251 Fix copy-paste bugs in BigInt tests (#1361) 2017-12-01 14:16:43 -05:00
Justin Ridgewell da61938f8f Fix several Decode tests (#1357)
The tests are explicitly for bad hex chars at certain indexes, and that
rogue `%` was giving false positives.
2017-11-27 12:28:17 -05:00
Leo Balter fe1b7e2a74
Merge pull request #1349 from caiolima/big-int-constructor-obj
Added missing cases into BigIntConstructor with String parameters
2017-11-21 14:11:42 -05:00
Leo Balter 168cc4c638
Improve Array#sort tests for verifying non callable comparefn (#1352)
Fix #1345
2017-11-21 11:41:18 -05:00
Caio Lima dd72bf0d26 Added case when Object has valueOf and toString 2017-11-17 00:22:13 -02:00
Caio Lima 349baebc01 Added missing cases into BigIntConstructor and String parameters 2017-11-17 00:11:27 -02:00
Leo Balter 076ecc38c6
Fix bugs reported in #1338 (#1339)
* Accessing `ta[0]` throws a TypeError.

* Fix array indices starting at 0 and property references

* Fix classfields templates for properly checking static propnames.

* Generate tests

* `assert.equal` is not defined

* Add missing includes

* Generate tests

* typo s/Avalue/42/

* fix whitespace

* Add missing var for strict mode

* Expand generated class fields tests for forbidden computed property name values

Ref https://github.com/tc39/test262/pull/1339#issuecomment-342830243

* derived classes have access to private names in base classes, if private names are in scope
2017-11-10 15:06:00 -05:00
Jeff Walden 5c8fa59c4c Add tests for setting/defining an element of a typed array to a value, where converting that value to the typed array element type detaches the buffer underlying the typed array. (#1336) 2017-11-03 15:54:17 -04:00
Rick Waldron 4b4c44cb51 fixup: swap actual and expected in test/built-ins/Promise/prototype/finally/species-symbol.js (#1333) 2017-11-03 15:34:22 -04:00
Leo Balter 27e2c28d13
Merge pull request #1334 from anba/test-issues
Fix multiple test issues
2017-11-01 13:42:58 -04:00
André Bargull 2d6a356699 Move incomplete_hex_unicode_escape.js to annexB
Fixes #1313
2017-11-01 08:23:43 -07:00
André Bargull b3fc8482fb Remove empty line after | to fix monkeyYaml parsing issue
Fixes #1312
2017-11-01 08:23:43 -07:00
André Bargull 26b3015f33 Fix expected value for BigInt.prototype.toString.length
Fixes #1306
2017-11-01 08:23:42 -07:00
André Bargull 32b1984275 Fix multiple issues in nan-equivalence.js test case 2017-11-01 08:23:42 -07:00
Rick Waldron 2659c88820
Merge pull request #1329 from gsathya/promise-finally-species-constructor
Promise.p.finally: test SpeciesConstructor and Symbol.species lookup
2017-11-01 10:46:25 -04:00
Rick Waldron 350d2c70bf
Merge pull request #1302 from rwaldron/bigint-fixups
Bigint fixups
2017-11-01 09:20:23 -04:00
Rick Waldron 1f1d2d275d
Merge pull request #1317 from cxielarko/getbiguint64
getBigUint64 tests
2017-11-01 09:01:36 -04:00
Rick Waldron bbdf494500
Merge pull request #1316 from cxielarko/setbigint64
setBigInt64 tests
2017-11-01 08:58:44 -04:00
Leo Balter 21b7e4a7bd
Add missing parameter and reorder actual, expected assertion parameters (#1326) 2017-10-30 11:22:13 -04:00
Sathya Gunasekaran a392f6ced8 Promise.p.finally: test SpeciesConstructor and Symbol.species lookup 2017-10-28 14:01:13 -07:00
Leo Balter f8456c6dac
s/assertEquals/assert.sameValue/g (#1324)
Ref f1602088e6 (commitcomment-25237057)
2017-10-27 12:20:34 -04:00
Rick Waldron f1602088e6 Merge pull request #1320 from littledan/bigint-tostringtag
BigInt: Add test for BigInt.prototype[Symbol.toStringTag]
2017-10-27 11:44:19 -04:00
Leo Balter f8f5a7a1e7
Add missing generators flags 2017-10-26 19:04:57 -04:00
Rick Waldron e38587ec2c Merge pull request #1315 from cxielarko/bigint-ta-2
BigInt64Array/BigUint64Array
2017-10-26 11:38:59 -04:00
Rick Waldron 92ff689d07 Merge pull request #1311 from mathiasbynens/p
RegExp property escapes: test Extended_Pictographic
2017-10-26 11:27:42 -04:00
Daniel Ehrenberg d88d1fb2dd BigInt: Add test for BigInt.prototype[Symbol.toStringTag]
Tests the fix for https://github.com/tc39/proposal-bigint/issues/92
2017-10-26 15:06:46 +02:00