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
Rick Waldron
9a211b1c9f
built-ins/Number/*: make all indentation consistent (depth & character) ( #1436 )
2018-02-15 15:11:50 -05:00
Rick Waldron
4fd36e7f1d
built-ins/Proxy/*: make all indentation consistent (depth & character) ( #1434 )
2018-02-15 15:11:36 -05:00
Rick Waldron
133dfa8793
built-ins/Promise/*: make all indentation consistent (depth & character) ( #1433 )
2018-02-15 15:11:21 -05:00
Leo Balter
8d54ea55ad
Merge pull request #1443 from tc39/async-iteration-builtins
...
async-iteration: add tests for AsyncGenerationFunction and AsyncIteratorPrototype built-in
2018-02-15 10:56:19 -05:00
Leo Balter
832542844c
s/es6id/esid
2018-02-15 10:46:28 -05:00
Valerie R Young
14d7bfeda2
async-iteration: add tests for AsyncIteratorPrototype
2018-02-15 10:45:13 -05:00
Valerie R Young
510d6b7f44
async-iteration: add tests for AsyncGenerationFunction
2018-02-15 10:45:13 -05:00
Jeff Walden
a19993e269
Add tests for the behavior of INT32_MIN (-2147483648) as exponent with the exponentiation operator and with Math.pow (which shares the same core algorithm in the spec, but might be differently implemented in actual implementations). ( #1445 )
2018-02-14 17:02:39 -05:00
Rick Waldron
8342824894
built-ins/AsyncFunction/*: make all indentation consistent (depth & character)
2018-02-13 14:35:02 -05:00
Amal Hussein
66eaf57f88
added coverage for built-in Map spec to ensure that a TypeError is thrown when Symbol.iterator is undefined ( #1444 )
2018-02-13 11:36:10 -05:00
Adrian Heine
2fb8eca677
Fix typo intialize(r) -> initialize(r)
2018-02-12 10:05:52 -05:00
André Bargull
f95b56ab28
Revert "js-beautify: make all indentation consistent (depth & character) ( #1409 )" ( #1412 )
...
This reverts commit a01de4a722
.
2018-02-09 12:09:47 -05:00
Rick Waldron
a01de4a722
js-beautify: make all indentation consistent (depth & character) ( #1409 )
2018-02-09 11:35:37 -05:00
jugglinmike
7b01f9799f
[generation] Tolerate unicode in source files ( #1411 )
2018-02-09 11:27:33 -05:00
Yusuke Suzuki
18c1e799a0
Prefer spaces to tabs if it is not syntax related tests
...
This patch changes tabs to spaces for newly added tests.
2018-02-08 13:32:42 -05:00
Leo Balter
6d5a7adf4e
Fix ToNumber operations
2018-02-08 11:13:54 -05:00
Rick Waldron
12797840ae
features: [numeric-separator-literal]
2018-02-08 11:13:54 -05:00
Leo Balter
53c00784b6
Revert "Revert "Tests for NumericSeparatorLiteral. Closes gh-1051" ( #1188 )"
...
This reverts commit 8422147c17
.
2018-02-08 11:13:54 -05:00
Daniel Ehrenberg
d5fc8b25af
Test for change to cache templates by site, not contents ( #972 )
...
* Test for change to cache templates by site, not contents
These tests are against a specification change based on discussion in
https://github.com/tc39/ecma262/issues/840
The tests here passed on SpiderMonkey but failed on other
implementations, which implement the current specification.
* Add a test that caching is by source location, not function identity
* Update existing tests to reference the spec properly
2018-02-05 14:40:19 -05:00
Leo Balter
31dfa8761a
Merge pull request #1404 from jugglinmike/refactor-for-parsers-function
...
Refactor function literal tests for parsers
2018-02-05 11:44:03 -05:00
Mike Pennisi
1d96e25784
Refactor function literal tests for parsers
...
A number of tests for the parsing of function literals were expressed
using `eval`. This made the tests more complex than necessary and also
prevented the tests from providing value to ECMAScript parsers.
Remove the use of `eval` in the relevant tests and instead express the
expectations with literal source text.
2018-02-03 23:25:41 -05:00
Mike Pennisi
6dafe71f1a
Improve file names
2018-02-03 23:15:40 -05:00
André Bargull
82c6148980
Add missing closing parenthesis and remove invalid async flag ( #1402 )
2018-02-01 14:04:51 -05:00
Jordan Harband
03da22868a
Promise.prototype.finally: add more tests
...
- per https://github.com/tc39/ecma262/pull/1083#issuecomment-361775023
2018-01-30 20:47:35 -05:00