Rick Waldron
a1ff358a06
Atomics: fix invalid index; print error
2018-06-27 10:31:13 -04:00
Rick Waldron
64be6186be
Atomics: fix Atomics.xor for BigInt64Array and BigUint64Array
2018-06-26 15:34:55 -04:00
Rick Waldron
feab96e601
Atomics: ensure all SharedArrayBuffer sizes are uniform (r3)
2018-06-26 15:05:58 -04:00
Rick Waldron
9bf48e619d
Atomics: fix typo "throwes" => "throws"
2018-06-26 14:51:45 -04:00
Rick Waldron
5c5dd5b286
Atomics: ensure all ArrayBuffer & SharedArrayBuffer sizes are uniform
2018-06-26 14:40:00 -04:00
Rick Waldron
a93262428f
Atomics: improvements to wake-*.js tests
2018-06-26 13:39:09 -04:00
Rick Waldron
236473769a
Atomics: reduce startup time allowance
2018-06-25 17:02:58 -04:00
Rick Waldron
73be21272d
Atomics: wake/wake-in-order.js, capture waiterlist order for wake comparison
2018-06-25 17:02:40 -04:00
Rick Waldron
fc4a6f12cb
Atomics: ensure all SharedArrayBuffer sizes are uniform
2018-06-25 15:17:45 -04:00
Rick Waldron
7ec0cdba6c
Atomics: more fixes for review
2018-06-25 14:54:44 -04:00
Rick Waldron
84f448f060
Atomics: fix buffer sizes
2018-06-22 16:35:15 -04:00
Rick Waldron
5ebd632d8f
Atomics: features fixes, harness features, etc.
2018-06-22 15:14:12 -04:00
Rick Waldron
c5527b6d16
Atomics: Atomics.wake cleanup pass
2018-06-22 15:14:12 -04:00
Rick Waldron
695e1babd5
Atomics: remove non-sense test file
2018-06-22 15:14:11 -04:00
Rick Waldron
7f3a1c1be9
Atomics: moves getReport and waitUntil into atomicsHelper.js; broad updates to all Atomics.wait tests
2018-06-22 15:14:11 -04:00
Rick Waldron
daa9af846d
Atomics: wait/bigint cleanup
2018-06-22 15:14:11 -04:00
Rick Waldron
ab72a55748
Atomics: spurious wakeup tests
2018-06-22 15:14:11 -04:00
Rick Waldron
22d3877a2a
Atomics: further nit picking
2018-06-22 15:14:11 -04:00
Rick Waldron
7389389071
Atomics: use regular functions
2018-06-22 15:14:11 -04:00
Rick Waldron
a19232ca4c
Atomics: house keeping.
2018-06-22 15:14:11 -04:00
Rick Waldron
89fda0dbd5
Atomics: spurious wakeup tests for all operations that alter value at index
2018-06-22 15:14:11 -04:00
Rick Waldron
13446afa37
fixup! fixup! Atomics: updates to various Atomics tests. gh-1527
2018-06-22 15:14:11 -04:00
Rick Waldron
1a382d2c3c
Atomics: features list corrections
2018-06-22 15:14:11 -04:00
Rick Waldron
3ea465996c
fixup! Atomics: updates to various Atomics tests. gh-1527
2018-06-22 15:14:11 -04:00
Rick Waldron
7c30ad5c4f
Atomics: expected return values for all atomic operations
2018-06-22 15:14:11 -04:00
Rick Waldron
a3b05ee839
Atomics: updates to various Atomics tests. gh-1527
...
Ref gh-1531
2018-06-22 15:14:11 -04:00
Rick Waldron
e246d95deb
Remove strange copyright lines
2018-06-22 15:14:11 -04:00
Rick Waldron
8a78bb09a7
Atomics: remove BigInt condition from existing tests.
2018-06-22 15:14:10 -04:00
Leo Balter
6c2503a810
Adds String.fromCodePoint to the features list ( #1606 )
2018-06-21 16:03:08 -04:00
Rick Waldron
510f705689
Merge pull request #1599 from leobalter/u180e
...
Update RegExp tests for CharacterClassEscape \S
2018-06-19 14:34:01 -04:00
Leo Balter
e89e9a8a28
Add global feature tag ( #1600 )
2018-06-18 18:00:19 -04:00
Leo Balter
012114a6c7
Update non whitespace RegExp tests
2018-06-18 15:53:08 -04:00
Rick Waldron
f90a52b396
Merge pull request #1587 from peterwmwong/update-matchall
...
Update tests for String.prototype.matchAll
2018-06-07 23:15:50 -04:00
Rick Waldron
bb24a3966d
Merge pull request #1589 from mathiasbynens/update-property-escapes-tests-unicode-11
...
Update RegExp Unicode property escape tests per Unicode 11
2018-06-07 23:13:51 -04:00
peterwmwong
bbad9482e6
Update tests for String.prototype.matchAll
...
As per spec changes (https://github.com/tc39/proposal-string-matchall/pull/35 ), removed tests related to the removed IsRegExp call.
To prevent older implementations (not observing spec change) from passing, added a new test to verify the reduced number of observable calls to IsRegExp.
Also fix a misreference in `features` frontmatter.
2018-06-07 21:23:54 -05:00
Rick Waldron
cd4371b5a7
Symbol.prototype.description: Assertion messages and additional tests
2018-06-07 22:08:52 -04:00
Rick Waldron
5d58479827
Merge pull request #1590 from joyeecheung/symbol-desc
...
Add tests for Symbol.prototype.description
2018-06-07 21:21:59 -04:00
Rick Waldron
3d15371689
Merge pull request #1580 from tc39/reflect-keys-ordering
...
Reflect.ownKeys: order with large integer "index" keys
2018-06-07 21:19:21 -04:00
Joyee Cheung
70b97383a8
test getter on symbols and wrapper objects
2018-06-08 05:36:22 +08:00
Joyee Cheung
28a66ceb75
Use propertyHelper, add more tests, fix getter calls
2018-06-08 04:56:59 +08:00
Joyee Cheung
cc53f64325
Add tests for Symbol.prototype.description
2018-06-07 21:39:02 +08:00
Mathias Bynens
85d595effa
Update RegExp Unicode property escape tests per Unicode 11
...
Emoji data is now published as part of the Unicode standard itself, and thus follows the same version number.
Ref. f302c60c84
.
Ref. https://github.com/tc39/ecma262/pull/1218 .
Ref. https://github.com/tc39/ecma262/issues/1219 .
2018-06-07 15:32:41 +02:00
Rick Waldron
8e5340a56e
Merge pull request #1501 from apaprocki/date-parse-range
...
Date.parse breathing test, time value maximum range test
2018-06-04 16:20:07 -04:00
Rick Waldron
a94b3bf431
Reflect.ownKeys: order with large integer "index" keys
2018-05-31 17:04:27 -04:00
Robin Templeton
904d90d0d6
Add Object.prototype.toString tests for BigInt.
...
Reported by André Bargull in
<https://bugzilla.mozilla.org/show_bug.cgi?id=1464758 >.
2018-05-31 15:10:50 -04:00
Robin Templeton
dbf1362cbc
Check that JSON.stringify works with BigInt objects from other realms
...
This is based on André Bargull's test case in
<https://bugzilla.mozilla.org/show_bug.cgi?id=1464757 >.
2018-05-28 19:58:02 -04:00
Rick Waldron
a8f7012587
Array.prototype.flatten => Array.prototype.flat ( #1569 )
2018-05-22 15:47:50 -04:00
Nicolò Ribaudo
7ff8d48178
AsyncGeneratorPrototype/*/name.js use "async-iteration", not "generator" ( #1556 )
2018-05-15 13:52:59 -03:00
Valerie R Young
40883f4c6a
Update filename character restriction in documention, linter and a few filenames
2018-05-11 22:19:01 -04:00
Rick Waldron
3b7a456ddb
Merge pull request #1532 from anba/compat-new
...
Various test cases for cross-browser compliance bugs
2018-05-03 14:19:40 -04:00
André Bargull
b552dad5cb
Various test cases for cross-browser compliance bugs
2018-05-03 09:27:27 -07:00
Leo Balter
24356b0c2c
fix yaml
2018-04-25 11:39:23 -03:00
Rick Waldron
a43777651c
Atomics.wait: additional coverage. Completes gh-1466
2018-04-25 11:01:37 -03:00
Rick Waldron
d12d7d270e
Atomics.wake: additional coverage. ( #1523 )
...
Completes gh-1472
2018-04-25 10:00:35 -04:00
André Bargull
a1faccdd41
Fix various test bugs
...
- "CannotSuspendMainAgent" feature was changed to "CanBlockIsFalse" flag
- Move annex-b tests into annex-b directory
- Update variable names in nonshared-int-views.js tests
- Move getReport() call in nan-for-timeout.js to avoid iloop
- Update BigInt constructor to match new semantics (tc39/proposal-bigint#138 )
2018-04-24 09:52:35 -07:00
Rick Waldron
c55d2ab7c3
Extensive Function toString updates for "Function.prototype.toString revision" proposal. ( #1510 )
...
Fixes gh-1453
2018-04-19 16:44:52 -04:00
Rick Waldron
ac65ecab7c
Atomics: updates to tests
2018-04-19 15:09:39 -04:00
Amal Hussein
251a69acca
wip
2018-04-19 15:07:05 -04:00
Amal Hussein
9d909ed681
fixup from pr feedback
2018-04-19 15:07:05 -04:00
Amal Hussein
0059b4783d
additional test coverage for atomics.wait + removing old tests which have been replaced + test cleanup and renaming test files for consistency
2018-04-19 15:07:05 -04:00
Rick Waldron
9f57733ed9
Test all no-construct no-call objects consistently ( #1520 )
...
Related to https://github.com/tc39/ecma262/pull/1177
2018-04-19 11:23:17 -04:00
Rick Waldron
cd6305155b
BigInt: additional info frontmatter. Validated features ( #1518 )
2018-04-18 16:56:06 -04:00
Rick Waldron
14931c923f
Merge pull request #1516 from cxielarko/tostring-default-radix
...
test BigInt toString with default radix
2018-04-18 16:21:39 -04:00
Rick Waldron
119c8eadfa
Merge pull request #1517 from cxielarko/valueof-realm
...
cross-realm test for BigInt.prototype.valueOf
2018-04-18 16:19:49 -04:00
Robin Templeton
5be8900d6b
cross-realm test for BigInt.prototype.valueOf
...
Thanks to Jeff Walden for suggesting this test case.
2018-04-17 20:50:05 -04:00
Robin Templeton
6d4b9a55f1
test BigInt toString with default radix
...
Thanks to Jeff Walden for suggesting this test case.
2018-04-17 20:25:35 -04:00
Robin Templeton
bf1b79d65a
remove IsSafeInteger checks for BigInt
2018-04-16 13:29:03 -04:00
Andrew Paprocki
cab89848ad
Date.parse: Test maximum time value range per spec.
2018-03-22 15:42:56 +00:00
Andrew Paprocki
9db5005ac3
Date.parse: Add 0 (UTC epoch) test per spec.
2018-03-22 15:42:55 +00:00
Amal Hussein
5d6899522a
additional test coverage for atomics.wait ( #1497 )
2018-03-19 20:06:53 -04:00
Leo Balter
478f5b4c0c
Add features tags for Atomics and SharedArrayBuffer ( #1494 )
...
* Add features tags for Atomics
* Add features tags for SharedArrayBuffer
2018-03-19 19:51:32 -04:00
Leo Balter
431e6cb20c
Add more tests for Atomics wait ( #1495 )
2018-03-19 19:50:28 -04:00
Rick Waldron
03f0f56961
Promise.all/race with non-iterable or invalid return from Symbol.iterator. ( #1496 )
...
Fixes gh-1490
2018-03-19 14:01:36 -04:00
peterwmwong
f1e45d9e5e
Fleshed out tests for Symbol.matchAll, String.p.matchAll, RegExp.p[@@matchAll], and %RegExpStringIteratorPrototype%
...
Tests were updated and assuming https://github.com/tc39/proposal-string-matchall/pull/33 will be merged.
2018-03-17 22:48:31 -05:00
Amal Hussein
50dd1fbd58
additional tests for atomics wait + updated input values #1492 fix ( #1493 )
2018-03-16 15:41:59 -04:00
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