Commit Graph

2735 Commits

Author SHA1 Message Date
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
Valerie 1e1d503c1b numeric literal seperators: test change in CodePoint production (#1464) 2018-02-28 13:58:22 -05:00
Leo Balter 7add5252e5 Remove unused parameter for testWithBigIntTypedArrayConstructors
+whitespace
2018-02-28 11:06:31 -05:00
Daniel Ehrenberg 0b54908dba Add test for eval-in-function template tags (#1457)
Thanks to Caitin Potter for highlighting this test case.
2018-02-27 17:46:44 -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
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