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
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
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
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
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
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
André Bargull
1989f0fe6d
Add test case for tc39/ecma262#1009 ( #1240 )
2018-01-30 10:29:19 -05:00
Mathias Bynens
6fa2525107
[string-trimming] Fix whitespace tests
...
This patch fixes a typo (`\FEFF` → `\uFEFF`) and adds some missing whitespace symbols as a follow-up to https://github.com/tc39/test262/pull/1246 .
2018-01-25 17:32:06 -05:00
Rick Waldron
966dfb4cd0
String.prototype.trimEnd,trimStart: add feature (per new convention)
2018-01-25 14:38:51 -05:00
Valerie R Young
05d1ddf670
Fixup edit to info
2018-01-25 14:10:41 -05:00
Valerie R Young
56d57956a0
Add this value object testing to trimEnd
2018-01-25 14:10:41 -05:00
Valerie R Young
2b7df61dd6
Fixup typos
2018-01-25 14:10:41 -05:00
Valerie R Young
828c8031ef
Add tests for object to primitive returns object errors
2018-01-25 14:10:40 -05:00
Valerie R Young
7c0053358a
Add tests for object to primitive method errors
2018-01-25 14:10:40 -05:00
Valerie R Young
94325316be
Add tests for object to primitive call errors
2018-01-25 14:10:40 -05:00
Valerie R Young
f945473767
Add test of object without to primitive functionality
2018-01-25 14:10:40 -05:00
Valerie R Young
232eec1f3b
Completely rewrite ToPrimitive method priority testing
2018-01-25 14:10:40 -05:00
Valerie R Young
fc86cef984
fix typos
2018-01-25 14:10:40 -05:00
Valerie R Young
6501563705
Add ToPrimitive method priority testing
2018-01-25 14:10:40 -05:00
Valerie R Young
bdcb73ae27
Add tests for sucessful whitespace removing
2018-01-25 14:10:40 -05:00
Valerie R Young
583a67af4c
Add number tests for trim(Start/End)
2018-01-25 14:10:14 -05:00
Valerie R Young
812e071f03
fixup: Add boolean/Symbol() tests for trim(Start/End)
2018-01-25 14:10:14 -05:00
Valerie R Young
fdf8e8bd3f
Fixup: Add object coercible tests for trim(start/End)
2018-01-25 14:10:14 -05:00
Valerie R Young
2905e6a293
fixup: Add initial tests for trim(Start/End/Left/Right)
2018-01-25 14:10:14 -05:00
Valerie R Young
0c796ea88b
Add boolean/Symbol() tests for trim(Start/End)
2018-01-25 14:10:14 -05:00
Valerie R Young
3f42003974
Add object coercible tests for trim(start/End)
2018-01-25 14:10:14 -05:00
Valerie R Young
5931e313fc
Add initial tests for trim(Start/End/Left/Right)
2018-01-25 14:10:14 -05:00
Jordan Harband
7c5b5bf750
Promise.prototype.finally: add missing tests
...
Per:
- https://github.com/tc39/test262/issues/866#issuecomment-328565337
- https://github.com/tc39/test262/issues/866#issuecomment-359978873
Closes #866 .
2018-01-25 14:03:28 -05:00
Robin Templeton
8b71c5fea5
Atomics tests for BigInt
2018-01-25 14:01:33 -05:00
Viktor
f9d8b29ae4
A fix for the copyright
2018-01-25 13:59:50 -05:00
André Bargull
79283bd80f
Add missing 'SharedArrayBuffer' feature tag
2018-01-25 13:59:37 -05:00
André Bargull
f717982c94
Remove unused includes
2018-01-25 13:59:37 -05:00
André Bargull
658f19005b
assert.compareArray does not perform deep-equality comparison
2018-01-25 13:59:37 -05:00
André Bargull
8b50602099
Replace Annex-B __proto__ with Object.[gs]etPrototypeOf
2018-01-25 13:59:37 -05:00
Rick Waldron
cc94370eb9
Frontmatter nits
2018-01-17 12:32:11 -05:00
Viktor
290cef061c
Create non-integer-values.js
2018-01-17 12:02:19 -05:00
Rick Waldron
d7b5715e6c
Fix: various lint fixes
2018-01-11 10:21:08 -05:00
Rick Waldron
73120a5492
Fix: various lint fixes
2018-01-10 17:33:03 -05:00
Rick Waldron
4afc330363
Fix: various lint fixes
2018-01-10 17:29:48 -05:00
Michael Ficarra
041da54c02
add flatten/flatMap to features.txt and mark appropriate tests
2018-01-05 16:59:34 -05:00
Michael Ficarra
d8233624aa
add missing compareArray function
2018-01-05 16:59:34 -05:00
Michael Ficarra
6bd7b21a2b
add myself to flatten/flatMap copyrights
2018-01-05 16:59:34 -05:00
Michael Ficarra
33b6c31331
use `onlyStrict` flag instead of `"use strict"` directive
2018-01-05 16:59:34 -05:00
Michael Ficarra
02ceb62400
flatMap/flatten test improvements
2018-01-05 16:59:34 -05:00
shilpi
1547e49c95
flatten and flatMap tests
2018-01-05 16:59:34 -05:00
Rick Waldron
66df349af3
Assert that promise callbacks were actually called. Closes #1328
...
Originally reported here: https://github.com/tc39/test262/pull/1328 , OP passed on revising.
2018-01-05 13:23:35 -05:00
Rick Waldron
02f1a0b630
Frontmatter: fixup "info: >" to "info: |"
2018-01-05 12:50:00 -05:00
Ivan Vyshnevskyi
7b868091a7
Add ToNumber tests for invalid HexIntegralLiterals
2018-01-05 12:48:57 -05:00
Ivan Vyshnevskyi
d540256163
Add more ToNumber tests for invalid binary and octal literals
2018-01-05 12:48:57 -05:00
Rick Waldron
89ac510488
Frontmatter: fixup "description: |" to "description: >"
2018-01-05 12:29:17 -05:00
Rick Waldron
92a2621901
Frontmatter: fixup "info: >" to "info: |"
2018-01-05 12:27:59 -05:00
Josh Wolfe
e10344acf2
generate type coercion tests for DataView tests
2018-01-05 12:09:17 -05:00
Josh Wolfe
5730f10114
generate some type coercion tests
2017-12-21 16:40:18 -05:00
Daniel Ehrenberg
cb84893f93
Add a test that BigInt does not have a parseInt function
2017-12-21 15:16:22 -05:00
Daniel Ehrenberg
422f91e8fd
Remove BigInt.parseInt tests
...
BigInt.parseInt will be removed in
https://github.com/tc39/proposal-bigint/pull/101
This patch removes the associated test262 tests.
2017-12-21 15:16:22 -05:00
Mathias Bynens
7446e885e9
[regexp-named-groups] Expand tests for `groups` property
...
The `groups` property must be created unconditionally. https://github.com/tc39/proposal-regexp-named-groups/pull/40
2017-12-20 15:33:37 -05:00
Rick Waldron
a801bdf786
Fix frontmatter
2017-12-19 15:42:57 -05:00
André Bargull
7f96cb10c1
Add tests for accessing Infinity on detached typed arrays
2017-12-19 15:42:56 -05:00
André Bargull
8311965251
Fix copy-paste bugs in BigInt tests ( #1361 )
2017-12-01 14:16:43 -05:00