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
Robin Templeton
f9e93bd61c
update frontmatter
2017-10-24 12:36:13 -04:00
Robin Templeton
bd63b02e27
remove unnecessary include
2017-10-24 12:07:34 -04:00
Robin Templeton
2f20235f3e
setBigInt64 tests
2017-10-24 11:50:14 -04:00
Robin Templeton
9aa15de18f
getBigUint64 tests
2017-10-24 11:48:59 -04:00
Robin Templeton
c23f22936c
update copyright
2017-10-24 11:48:34 -04:00
Robin Templeton
f2322cf8a6
use hex literals
2017-10-24 11:48:34 -04:00
Robin Templeton
2892cc78c7
improve error messages
2017-10-24 11:48:34 -04:00
Robin Templeton
cca3876881
getBigInt64
2017-10-24 11:48:34 -04:00
Robin Templeton
46041c35ed
BigInt64Array/BigUint64Array
2017-10-24 11:44:56 -04:00
Mathias Bynens
4e7ed93da8
RegExp property escapes: test Extended_Pictographic
2017-10-22 10:05:05 -07:00
Rick Waldron
f1b576af51
BigInt: BigInt .toString() returns only decimal digits, does not include BigIntLiteralSuffix
2017-10-19 11:53:18 -04:00
Rick Waldron
a7fbcf3d9a
BigInt: BigInt(Number.MAX_SAFE_INTEGER) & BigInt(-Number.MAX_SAFE_INTEGER)
2017-10-18 17:14:05 -04:00
Rick Waldron
08a967c8a4
BigInt: NaN is tested in nan-throws-rangeerror.js
2017-10-18 17:08:13 -04:00
Rick Waldron
e2e534b210
BigInt: NewTarget tests shouldn't include anything reaches step 2
2017-10-18 17:07:33 -04:00
Rick Waldron
747a2c86cf
Merge pull request #1288 from lars-t-hansen/atomics_wake_20171017
...
Make Atomics.wake test cases resilient on slow / overloaded systems
2017-10-17 13:24:34 -04:00
Robin Templeton
72fb638ca7
BigInt.parseInt tests ( #1208 )
...
* BigInt.parseInt tests
* update for PR#1208
* fix copyright notices
2017-10-17 12:40:22 -04:00
Lars T Hansen
510908517e
Make Atomics.wake test cases resilient on slow / overloaded systems
2017-10-17 14:56:52 +01:00
Rick Waldron
339222b445
Merge pull request #1279 from cxielarko/bigint-constructor
...
Property descriptor tests for BigInt.name, BigInt.length, and BigInt.prototype.constructor
2017-10-16 14:48:12 -04:00
Zirak
d36a1777b4
Test for proper handling of incomplete hex escapes ( #1274 )
...
See relevant firefox bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1408452
2017-10-16 13:04:51 -04:00
Robin Templeton
0d44bc821d
[BigInt] constructor, name, length properties
2017-10-16 12:55:56 -04:00
Daniel Ehrenberg
e6df79231d
Update RegExp named capture tests for spec change ( #1270 )
...
The RegExp named groups specification has changed to not throw
errors in certain cases. This patch updates the test262 tests to match
the new specification, and throws in an additional test that verifies
the interaction between named group syntax and other replacement.
The tests pass on a version of V8 which implements the new semantics.
92ceba518c
2017-10-13 14:16:16 -04:00
Leo Balter
b77af3aa0f
Update tests for BigInt.prototype.toString
2017-10-12 16:19:46 -04:00
Robin Templeton
8ca8f06ba1
BigInt.prototype.toString
2017-10-12 15:13:52 -04:00
Leo Balter
b8abd71305
fix repeated features tags ( #1266 )
2017-10-06 12:29:33 -04:00
Leo Balter
b3092c61b6
Add generators flags for tests depending on generators features ( #1259 )
...
* Add missing generators feature flags
* Generate files
* Add generators flags
* fixup! Add generators flags
2017-10-04 16:12:34 -04:00
Rick Waldron
a7b5a7aa97
Features.txt: Add string-trimming; replace "#" in feature tags ( #1247 )
2017-10-03 17:02:29 -04:00
Robin Templeton
184a37f011
additional BigInt JSON tests ( #1235 )
...
* additional BigInt JSON tests
* single quotes
* BigInt stringify order of steps
2017-10-03 17:00:31 -04:00
Leo Balter
9737a5ff73
Improve tests for BigInt.prototype.valueOf ( #1256 )
...
* Improve tests for BigInt.prototype.valueOf
* fixup! Improve tests for BigInt.prototype.valueOf
* fixup! Improve tests for BigInt.prototype.valueOf
* fixup! Improve tests for BigInt.prototype.valueOf
2017-10-03 16:51:07 -04:00
Robin Templeton
5f338a30a1
Add tests for BigInt.prototype.valueOf ( #1234 )
...
* BigInt valueOf tests
* add features from typeCoercion.js
2017-10-02 16:13:09 -04:00
Leo Balter
c969153145
Fix a test looping for space separator chars
2017-09-26 14:13:29 -04:00