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
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
Jordan Harband
e15be1853b
String.prototype.matchAll: add tests for stage 3
...
`RegExp.prototype[Symbol.matchAll]`: Add basic tests.
2018-01-25 23:45:12 -08: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
Jordan Harband
5b3914a37b
String.prototype.matchAll: add tests for stage 3
...
`String.prototype.matchAll`: Add basic tests.
2018-01-25 00:25:10 -08:00
Ross Kirsling
a7b2d07a94
Remove errant LF from CR line ending test.
2018-04-05 23:32:25 -07:00
Valerie Young
714fdc9125
whitespace and delete file ( #1505 )
2018-04-04 14:57:56 -04:00
Jeff Walden
ba783aef91
Add a test verifying that the OrdinaryCreateFromConstructor call in the DataView constructor is checked for underlying-buffer detachedness before its result is used.
2018-04-02 15:19:13 -07:00
André Bargull
ea6c18c5e2
Don't compute NaN values in functions ( #1503 )
...
`function nan() { return /* expression to compute NaN */ }` may not return the same implementation-distinguishable NaN value before and after JIT compilation.
2018-03-22 20:20:29 -04:00
André Bargull
500e48e6ce
Fix various test bugs ( #1502 )
...
Fixes #1492
2018-03-22 16:36:57 -04: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
Justin Ridgewell
da61938f8f
Fix several Decode tests ( #1357 )
...
The tests are explicitly for bad hex chars at certain indexes, and that
rogue `%` was giving false positives.
2017-11-27 12:28:17 -05:00
Leo Balter
fe1b7e2a74
Merge pull request #1349 from caiolima/big-int-constructor-obj
...
Added missing cases into BigIntConstructor with String parameters
2017-11-21 14:11:42 -05:00
Leo Balter
168cc4c638
Improve Array#sort tests for verifying non callable comparefn ( #1352 )
...
Fix #1345
2017-11-21 11:41:18 -05:00
Caio Lima
dd72bf0d26
Added case when Object has valueOf and toString
2017-11-17 00:22:13 -02:00
Caio Lima
349baebc01
Added missing cases into BigIntConstructor and String parameters
2017-11-17 00:11:27 -02:00
Leo Balter
076ecc38c6
Fix bugs reported in #1338 ( #1339 )
...
* Accessing `ta[0]` throws a TypeError.
* Fix array indices starting at 0 and property references
* Fix classfields templates for properly checking static propnames.
* Generate tests
* `assert.equal` is not defined
* Add missing includes
* Generate tests
* typo s/Avalue/42/
* fix whitespace
* Add missing var for strict mode
* Expand generated class fields tests for forbidden computed property name values
Ref https://github.com/tc39/test262/pull/1339#issuecomment-342830243
* derived classes have access to private names in base classes, if private names are in scope
2017-11-10 15:06:00 -05:00
Jeff Walden
5c8fa59c4c
Add tests for setting/defining an element of a typed array to a value, where converting that value to the typed array element type detaches the buffer underlying the typed array. ( #1336 )
2017-11-03 15:54:17 -04:00
Rick Waldron
4b4c44cb51
fixup: swap actual and expected in test/built-ins/Promise/prototype/finally/species-symbol.js ( #1333 )
2017-11-03 15:34:22 -04:00
Leo Balter
27e2c28d13
Merge pull request #1334 from anba/test-issues
...
Fix multiple test issues
2017-11-01 13:42:58 -04:00
André Bargull
2d6a356699
Move incomplete_hex_unicode_escape.js to annexB
...
Fixes #1313
2017-11-01 08:23:43 -07:00
André Bargull
b3fc8482fb
Remove empty line after | to fix monkeyYaml parsing issue
...
Fixes #1312
2017-11-01 08:23:43 -07:00
André Bargull
26b3015f33
Fix expected value for BigInt.prototype.toString.length
...
Fixes #1306
2017-11-01 08:23:42 -07:00
André Bargull
32b1984275
Fix multiple issues in nan-equivalence.js test case
2017-11-01 08:23:42 -07:00
Rick Waldron
2659c88820
Merge pull request #1329 from gsathya/promise-finally-species-constructor
...
Promise.p.finally: test SpeciesConstructor and Symbol.species lookup
2017-11-01 10:46:25 -04:00
Rick Waldron
350d2c70bf
Merge pull request #1302 from rwaldron/bigint-fixups
...
Bigint fixups
2017-11-01 09:20:23 -04:00
Rick Waldron
1f1d2d275d
Merge pull request #1317 from cxielarko/getbiguint64
...
getBigUint64 tests
2017-11-01 09:01:36 -04:00
Rick Waldron
bbdf494500
Merge pull request #1316 from cxielarko/setbigint64
...
setBigInt64 tests
2017-11-01 08:58:44 -04:00
Leo Balter
21b7e4a7bd
Add missing parameter and reorder actual, expected assertion parameters ( #1326 )
2017-10-30 11:22:13 -04:00
Sathya Gunasekaran
a392f6ced8
Promise.p.finally: test SpeciesConstructor and Symbol.species lookup
2017-10-28 14:01:13 -07:00
Leo Balter
f8456c6dac
s/assertEquals/assert.sameValue/g ( #1324 )
...
Ref f1602088e6 (commitcomment-25237057)
2017-10-27 12:20:34 -04:00
Rick Waldron
f1602088e6
Merge pull request #1320 from littledan/bigint-tostringtag
...
BigInt: Add test for BigInt.prototype[Symbol.toStringTag]
2017-10-27 11:44:19 -04:00
Leo Balter
f8f5a7a1e7
Add missing generators flags
2017-10-26 19:04:57 -04:00
Rick Waldron
e38587ec2c
Merge pull request #1315 from cxielarko/bigint-ta-2
...
BigInt64Array/BigUint64Array
2017-10-26 11:38:59 -04:00
Rick Waldron
92ff689d07
Merge pull request #1311 from mathiasbynens/p
...
RegExp property escapes: test Extended_Pictographic
2017-10-26 11:27:42 -04:00
Daniel Ehrenberg
d88d1fb2dd
BigInt: Add test for BigInt.prototype[Symbol.toStringTag]
...
Tests the fix for https://github.com/tc39/proposal-bigint/issues/92
2017-10-26 15:06:46 +02:00
Robin Templeton
f9e93bd61c
update frontmatter
2017-10-24 12:36:13 -04:00
Robin Templeton
bd63b02e27
remove unnecessary include
2017-10-24 12:07:34 -04:00
Robin Templeton
2f20235f3e
setBigInt64 tests
2017-10-24 11:50:14 -04:00
Robin Templeton
9aa15de18f
getBigUint64 tests
2017-10-24 11:48:59 -04:00
Robin Templeton
c23f22936c
update copyright
2017-10-24 11:48:34 -04:00
Robin Templeton
f2322cf8a6
use hex literals
2017-10-24 11:48:34 -04:00
Robin Templeton
2892cc78c7
improve error messages
2017-10-24 11:48:34 -04:00
Robin Templeton
cca3876881
getBigInt64
2017-10-24 11:48:34 -04:00
Robin Templeton
46041c35ed
BigInt64Array/BigUint64Array
2017-10-24 11:44:56 -04:00
Mathias Bynens
4e7ed93da8
RegExp property escapes: test Extended_Pictographic
2017-10-22 10:05:05 -07:00
Rick Waldron
f1b576af51
BigInt: BigInt .toString() returns only decimal digits, does not include BigIntLiteralSuffix
2017-10-19 11:53:18 -04:00
Rick Waldron
a7fbcf3d9a
BigInt: BigInt(Number.MAX_SAFE_INTEGER) & BigInt(-Number.MAX_SAFE_INTEGER)
2017-10-18 17:14:05 -04:00
Rick Waldron
08a967c8a4
BigInt: NaN is tested in nan-throws-rangeerror.js
2017-10-18 17:08:13 -04:00
Rick Waldron
e2e534b210
BigInt: NewTarget tests shouldn't include anything reaches step 2
2017-10-18 17:07:33 -04:00
Rick Waldron
747a2c86cf
Merge pull request #1288 from lars-t-hansen/atomics_wake_20171017
...
Make Atomics.wake test cases resilient on slow / overloaded systems
2017-10-17 13:24:34 -04:00
Robin Templeton
72fb638ca7
BigInt.parseInt tests ( #1208 )
...
* BigInt.parseInt tests
* update for PR#1208
* fix copyright notices
2017-10-17 12:40:22 -04:00
Lars T Hansen
510908517e
Make Atomics.wake test cases resilient on slow / overloaded systems
2017-10-17 14:56:52 +01:00
Rick Waldron
339222b445
Merge pull request #1279 from cxielarko/bigint-constructor
...
Property descriptor tests for BigInt.name, BigInt.length, and BigInt.prototype.constructor
2017-10-16 14:48:12 -04:00
Zirak
d36a1777b4
Test for proper handling of incomplete hex escapes ( #1274 )
...
See relevant firefox bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1408452
2017-10-16 13:04:51 -04:00
Robin Templeton
0d44bc821d
[BigInt] constructor, name, length properties
2017-10-16 12:55:56 -04:00
Daniel Ehrenberg
e6df79231d
Update RegExp named capture tests for spec change ( #1270 )
...
The RegExp named groups specification has changed to not throw
errors in certain cases. This patch updates the test262 tests to match
the new specification, and throws in an additional test that verifies
the interaction between named group syntax and other replacement.
The tests pass on a version of V8 which implements the new semantics.
92ceba518c
2017-10-13 14:16:16 -04:00
Leo Balter
b77af3aa0f
Update tests for BigInt.prototype.toString
2017-10-12 16:19:46 -04:00
Robin Templeton
8ca8f06ba1
BigInt.prototype.toString
2017-10-12 15:13:52 -04:00