Commit Graph

2771 Commits

Author SHA1 Message Date
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
Leo Balter 173e98e00b
Revert "Additional tests for QuantifiableAssertion" (#1458) 2018-02-26 10:12:09 -05:00
Daniel Ehrenberg 5b63d98a73
Merge pull request #1456 from littledan/quantifiedassertion
Additional tests for QuantifiableAssertion
2018-02-26 15:35:49 +01:00
Adrian Heine né Lang 25c83f2e32 Fix typo intialize(r) -> initialize(r) (#1454) 2018-02-26 09:27:36 -05:00
Daniel Ehrenberg f9a0f05850 Additional tests for QuantifiableAssertion
- Tests that lookahead and lookbehind are not extended to
  QuantifiableAssertion, as in https://github.com/tc39/ecma262/pull/1102
- Additional tests verifying some more combinations of cases for
  QuantifiableAssertion being invalid in Unicode mode.

Based on the tests in https://chromium-review.googlesource.com/c/v8/v8/+/926102

These tests pass on V8 (if the throw for early errors is removed to
work around a V8 issue where RegExps don't have early errors).
2018-02-26 12:34:39 +01: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
Valerie R Young 0e99fa8a3a async-iteration: add esid for 'esid: pending' tests 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
Leo Balter dd2dfc9fb1 remove bogus checks 2018-02-15 16:45:09 -05:00
Leo Balter 098c69540e Remove N() 2018-02-15 16:45:08 -05:00
Leo Balter 3f3f2faa8e whitespace 2018-02-15 16:45:08 -05:00
Leo Balter b6664ca24a Add missing feature flag for TypedArrays 2018-02-15 16:45:08 -05:00
Leo Balter d30bf82d47 Add missing feature flags 2018-02-15 16:45:07 -05:00
Leo Balter 08c1f36828 Use esid tags on TypedArray/prototype/* 2018-02-15 16:45:07 -05:00
Leo Balter c1bc43b1b1 Restore original tests for TypedArrays and optimize files
- optimize file names
- BigInt folder for TAs.from and of
- copy tests preparing for bigint
- copy ta prototype methods for bigint
- Use an exclusive harness for bigint typedarrays
- add features
- use proper harness
- use preper harness
- Restore original tests for TypedArrays
- final fixes
- fix includes
2018-02-15 16:45:06 -05:00
Leo Balter 5722ac494b Move TypedArray ctors tests to a bigint specific folder 2018-02-15 16:45:05 -05:00
Robin Templeton 9232d65b30 BigInt TypedArray tests
- add @jakobkummerow's changes
- remove EOL whitespace
- use 'Array.isArray' instead of 'instanceof Array'
- check for BigInt type in toLocaleString tests
- specify TypedArray constructor list for non-BigInt tests
- update TypedArray harness test for BigInt
- add a missing type coercion
- disable more tests for Big(U)Int64Array
- check for BigInt before using BigInt TypedArray constructors
2018-02-15 16:45:05 -05:00
Rick Waldron b59d956b3c built-ins/Date/*: make all indentation consistent (depth & character) (#1422) 2018-02-15 16:40:26 -05:00
Rick Waldron 6c50d46b39 built-ins/BigInt/*: make all indentation consistent (depth & character) (#1418) 2018-02-15 15:57:16 -05:00
Rick Waldron 4b5f07a9ff built-ins/DataView/*: make all indentation consistent (depth & character) (#1416) 2018-02-15 15:55:14 -05:00
Rick Waldron a7ab6b4fd5 built-ins/Boolean/*: make all indentation consistent (depth & character) (#1417) 2018-02-15 15:54:27 -05:00
Rick Waldron 93d0256d87 built-ins/ArrayBuffer/*: make all indentation consistent (depth & character) (#1421) 2018-02-15 15:54:16 -05:00
Rick Waldron 319a5bdb08 built-ins/SharedArrayBuffer/*: make all indentation consistent (depth & character) (#1426) 2018-02-15 15:51:40 -05:00
Rick Waldron b85474508c built-ins/decode/* - built-ins/eval/*: make all indentation consistent (depth & character) (#1423) 2018-02-15 15:50:18 -05:00
Rick Waldron 1b30a976e8 built-ins/Function/*: make all indentation consistent (depth & character) (#1424)
This intentionally skips test/built-ins/Function/prototype/toString/*
2018-02-15 15:49:19 -05:00
Rick Waldron f574680595 built-ins/Symbol/*: make all indentation consistent (depth & character) (#1425) 2018-02-15 15:41:33 -05:00
Rick Waldron bc70e0339f built-ins/ThrowTypeError/*: make all indentation consistent (depth & character) (#1427) 2018-02-15 15:41:09 -05:00
Rick Waldron 621d34d5ea built-ins/WeakMap/*: make all indentation consistent (depth & character) (#1428) 2018-02-15 15:40:46 -05:00
Rick Waldron e0db75f74b built-ins/Reflect/*: make all indentation consistent (depth & character) (#1429) 2018-02-15 15:40:15 -05:00
Rick Waldron 19ca734bea built-ins/String/*: make all indentation consistent (depth & character) (#1430) 2018-02-15 15:39:13 -05:00
Rick Waldron af37c92af7 built-ins/Set/*: make all indentation consistent (depth & character) (#1431) 2018-02-15 15:34:45 -05:00
Rick Waldron a61b9cd671 built-ins/Object/*: make all indentation consistent (depth & character) (#1432) 2018-02-15 15:33:45 -05:00
Rick Waldron dedd68020b built-ins/Atomics/*: make all indentation consistent (depth & character) (#1442) 2018-02-15 15:26:13 -05:00
Rick Waldron e1f4ced053 built-ins/Generator*: make all indentation consistent (depth & character) (#1441) 2018-02-15 15:25:56 -05:00
Rick Waldron 7c66f39f41 built-ins/JSON/*: make all indentation consistent (depth & character) (#1440) 2018-02-15 15:25:45 -05:00
Rick Waldron ff4f13099c built-ins/Infinity, NaN, undefined: make all indentation consistent (depth & character) (#1439) 2018-02-15 15:25:35 -05:00
Rick Waldron 6e7ba5060c built-ins/global/*: make all indentation consistent (depth & character) (#1438) 2018-02-15 15:25:21 -05:00
Rick Waldron 7108616b8e built-ins/parseInt, parseFloat/*: make all indentation consistent (depth & character) (#1437) 2018-02-15 15:12:07 -05:00