Commit Graph

1041 Commits

Author SHA1 Message Date
Amal Hussein 5d6899522a additional test coverage for atomics.wait (#1497) 2018-03-19 20:06:53 -04:00
Leo Balter 478f5b4c0c
Add features tags for Atomics and SharedArrayBuffer (#1494)
* Add features tags for Atomics

* Add features tags for SharedArrayBuffer
2018-03-19 19:51:32 -04:00
Leo Balter 431e6cb20c
Add more tests for Atomics wait (#1495) 2018-03-19 19:50:28 -04:00
Rick Waldron 03f0f56961 Promise.all/race with non-iterable or invalid return from Symbol.iterator. (#1496)
Fixes gh-1490
2018-03-19 14:01:36 -04:00
Amal Hussein 50dd1fbd58 additional tests for atomics wait + updated input values #1492 fix (#1493) 2018-03-16 15:41:59 -04:00
Amal Hussein b07c546b8a Initial tests for extending Atomics.wait test coverage (#1488) 2018-03-13 17:22:10 -04:00
Valerie R Young cc86629301 BigInt: fix, make sure to correctly use different typedarray ctor 2018-03-13 15:23:39 -04:00
Valerie R Young 3f96092cb9 BigInt: fix, set only BigInts to index to avoid false negatives 2018-03-13 15:07:17 -04:00
Valerie R Young 324c18038b BigInt: fix input values to be type BigInt 2018-03-13 14:58:43 -04:00
Valerie R Young 7c857318f0 BigInt: fix, other TypedArray should be Big 2018-03-13 14:53:06 -04:00
Valerie R Young 07fdc340a4 BigInt: fix make buffer size BYTES_PER_ELEMENT 2018-03-13 14:37:15 -04:00
Valerie R Young a9827c945d BigInt: fix TypedArray fncs expecting BigInt for cmp 2018-03-13 13:47:29 -04:00
Valerie R Young fcb5207932 BigInt: fix test sortcompare does not call toString 2018-03-13 13:26:50 -04:00
Rick Waldron 2975694f86 Weaken tests about NaN canonicalization.
Fixes gh-1476
Closes gh-1484
2018-03-13 12:53:39 -04:00
Valerie 7b200cb9e7 Rename TypedArrays folder to TypedArrayConstructors (#1489) 2018-03-13 12:47:18 -04:00
Valerie 496771cd64 BigInt: fix error type in BigInt from string conversion (#1487) 2018-03-12 15:22:29 -04:00
Valerie b1bbf08bdc BigInt: some fixes listed in #1461 (#1485)
test/built-ins/TypedArray/prototype/fill/BigInt/fill-values-conversion-once.js
- Should refer to BigInt conversion instead of ToNumber

test/built-ins/TypedArray/prototype/fill/BigInt/fill-values-non-numeric.js
- Missing coverage for non-convertable values like undefined or null?
- added fill-values-non-numeric-throw.js

test/built-ins/TypedArray/prototype/set/BigInt/array-arg-return-abrupt-tointeger-offset-symbol.js
- Change [1] to [1n] to avoid possible false-positives because ToBigInt(1) also throws a TypeError.
- Issue also present in other set() tests.
2018-03-12 14:23:58 -04:00
Valerie 985c439c94 BigInt: Add tests for BigInt conversions in TypedArray prototype/set and TypedArray internal [[set]] (#1478)
* BigInt: Add tests for BigInt conversions in prototype/set

* BigInt: add conversion tests for internal [[set]]
2018-03-12 14:21:27 -04:00
Valerie 3c69133cc4 Bigint typedarray conversion (#1469)
* BigInt: add tests for TypedArray(typedArray) constructor of mixed 'Big'/'not Big' element types

* BigInt: update info text on tests of ToBigInt

* BigInt: conversion to big int on creation of Big(U)Int64 TypedArray

* BigInt: Add tests for ToBigInt64 and ToBigUint64 wrapping
2018-03-09 11:23:50 -05:00
Leo Balter 3854fc38dd
Merge pull request #1481 from bocoup/anba-fixes
TypedArray and Async Iteration bug fixes
2018-03-09 10:39:34 -05:00
Leo Balter dd147e5052 Whitespace 2018-03-09 10:31:38 -05:00
Valerie R Young 2576b60364 TypedArray and Async Iteration bug fixes 2018-03-08 18:23:27 -05:00
Leo Balter ccab9a18b0
Fix length prop tests for the TypedArrays ctors family (#1479) 2018-03-08 09:21:09 -05:00
Rick Waldron 3af53b8087 test/built-ins/Object/prototype/toString/*.js: clean up and extended fixes from gh-1473 (#1475) 2018-03-07 14:11:28 -05:00
Michael Ficarra 3207bf74d0 Function.prototype.toString works on symbol-named built-ins 2018-03-07 14:09:45 -05:00
Michael Ficarra f3b8aff71f Function.prototype.toString works on anonymous well-known intrinsics 2018-03-07 14:09:45 -05:00
Michael Ficarra 7d5a5fef36 add Function.prototype.toString result for callable proxies 2018-03-07 14:09:45 -05:00
Michael Ficarra 83ffb4bbf2 allow any function to report its toString as a NativeFunction
related: https://github.com/tc39/Function-prototype-toString-revision/pull/26
2018-03-07 14:09:45 -05:00
Rick Waldron ce9419779f typed-arrays/bigint: fixes per recommendation. (#1473)
Fixes gh-1467
2018-03-06 15:14:11 -05:00
Leo Balter ac55e29ed0 Fix yaml consistency 2018-03-06 14:36:02 -05:00
Valerie 52f70e2f63 typed-array: ctor test renames (#1468) 2018-03-02 15:20:41 -05:00
Valerie e14a9ad9fe async-iteration: AsyncGeneratorPrototype tests (#1451) 2018-03-02 09:44:23 -05:00
Valerie R Young 4a3e19b3e4 async-iteration: AsyncFromSyncIteratorPrototype next/throw/return 2018-03-01 18:40:06 -05:00
Rick Waldron 0192e0d70e TypedArrays with elementSize 1 cannot produce these range errors (#1465) 2018-03-01 15:10:10 -05:00
Leo Balter 7add5252e5 Remove unused parameter for testWithBigIntTypedArrayConstructors
+whitespace
2018-02-28 11:06:31 -05:00
Adrian Heine né Lang a01e2a3f03 Remove unused BigInt syntax in TA test (#1455) 2018-02-27 17:45:53 -05:00
Rick Waldron 4efdb83ae9 Updates a portion of the BigInt tests that need work. Ref gh-1461 (#1462) 2018-02-27 17:45:25 -05:00
Leo Balter 2712807027
Fix errors recently introduced. (#1448)
* Fix bad references on tests for BigInt TypedArrays

* Remove bad conversions for BigInt TypedArray

* Cleanup the BigInt TypedArray harness file

Remove non used code (testBigIntTypedArrayConversions)

Move the constructors list to inside the exposed function, this prevents early implementations to fail before the function is called.

* Fix bad references in TypedArrays.of (BigInt)

* Remove BigInt tests from typedarray harness test

* Use BigInt for BigInt typedArrays

* Apply last fixings on BigInt TypedArray tests

* Apply fixes to last revision from @anba
2018-02-27 14:58:56 -05:00
Sathya Gunasekaran 476ebcebf1 Remove whitespace between Literal and BigIntLiteralSuffix (#1452) 2018-02-22 21:55:13 -05:00
Valerie R Young 7882fbfae3 async-iteration: move existing throw/return tests to AsyncGeneratorPrototype dir 2018-02-22 13:34:08 -05:00
Valerie R Young d807e8fa96 Update Function/prototype/toString 'esid: pending' frontmatter 2018-02-22 13:34:08 -05:00
Leo Balter 8add0d64b2 Fix whitespace 2018-02-15 18:04:03 -05:00
Rick Waldron 7024f3fa11
Merge pull request #1413 from leobalter/cxielarko-bigint-ta-3
BigInt+TypedArray tests, splitted
2018-02-15 18:03:39 -05:00
Leo Balter 857f1d429b fix bad fixings from Remove N 2018-02-15 17:51:52 -05:00
Rick Waldron afa24856b4 built-ins/Array/*: make all indentation consistent (depth & character) (#1415) 2018-02-15 17:40:02 -05:00
Rick Waldron 0bf08dff3d built-ins/Math/*: make all indentation consistent (depth & character) (#1435) 2018-02-15 17:35:45 -05:00
Leo Balter 77096157d1 fix syntax typo 2018-02-15 16:45:10 -05:00
Leo Balter c6cd535940 Last cases of convertToBigInt 2018-02-15 16:45:10 -05:00
Leo Balter 3325e2a516 Minimize use of convertToBigInt 2018-02-15 16:45:10 -05:00
Leo Balter 296657cd90 Fix missing BigInt usage in TypedArrays 2018-02-15 16:45:09 -05:00