Commit Graph

4892 Commits

Author SHA1 Message Date
Rick Waldron d3c693bdfe
AggregateError: update args order evaluation (#2647)
Fixes #2646
2020-07-08 12:13:36 -07:00
Leo Balter bc433f1e1c Fix typo in the tests for waitAsync
Fixes #2689
2020-07-08 13:46:07 -04:00
Alexey Shvayka c472aeea4b Use $DONE instead of $ERROR to avoid unhandled rejections 2020-07-07 11:16:04 -07:00
Alexey Shvayka 739c4cd78d Remove duplicate of "subclass-species-constructor-resolve-count.js" 2020-07-07 11:16:04 -07:00
Yusuke Suzuki 281eb10b28
Intl.DateTimeFormat.{formatRange,formatRangeToParts} should throw TypeError instead of RangeError if either of parameter is undefined (#2685)
http://tc39.es/proposal-intl-DateTimeFormat-formatRange/
The spec draft throws TypeError instead of RangeError.

	1.4.5 Intl.DateTimeFormat.prototype.formatRange ( startDate , endDate )
	...
	4. If startDate is undefined or endDate is undefined, throw a TypeError exception.

	1.4.6 Intl.DateTimeFormat.prototype.formatRangeToParts ( startDate , endDate )
	...
	4. If startDate is undefined or endDate is undefined, throw a TypeError exception.
2020-07-01 14:45:43 -07:00
Gus Caplan fe3ad55d80
add missing Promise.any features (#2686) 2020-07-01 10:33:56 -07:00
Leo Balter 89f9c13449 Expand tests for Optional Chaining 2020-06-30 17:37:01 -04:00
Rick Waldron 6179359305
Promise.any: coverage updates, R4 (#2683) 2020-06-30 13:56:55 -07:00
Rick Waldron 16b48a1271
Promise.allSettled: coverage updates, R2 (#2684) 2020-06-30 13:56:04 -07:00
André Bargull 836f609b08 Update Atomics.exchange to allow non-shared buffers
Follow-up for: https://github.com/tc39/test262/pull/2633
2020-06-30 16:04:25 -04:00
Rick Waldron 51e73466ee
Atomics.waitAsync: more guards against false positive test passing (#2678) 2020-06-30 07:40:18 -07:00
André Bargull b5650d23a5
Don't call $DONE twice in S25.4.4_A2.1_T3.js (#2679)
Reverts the change from 040eb5393a to avoid
calling $DONE twice in the test file.
2020-06-25 08:35:46 -07:00
Rick Waldron fcb3b91e4a
Atomics.waitAsync: await $262.agent.getReportAsync() in a loop, instead of calling thrice asynchronously. Fixes 2664 (#2676) 2020-06-24 13:51:52 -07:00
Rick Waldron a2b45dd33b
README: where did website go? (#2677)
- Includes removal of website directory
2020-06-24 13:46:56 -07:00
Leo Balter 3fac29109a
Merge pull request #2675 from tc39/use-then-done-done
Use .then($DONE, $DONE) wherever possible
2020-06-24 12:58:46 -07:00
Rick Waldron ae7b606cc2 Atomics: use .then($DONE, $DONE) wherever possible 2020-06-24 15:47:49 -04:00
Rick Waldron 362d7af20f Generate tests 2020-06-24 15:47:49 -04:00
Rick Waldron db618e202b Case: use .then($DONE, $DONE) wherever possible 2020-06-24 15:47:48 -04:00
Rick Waldron a816c03735 Generate tests 2020-06-24 15:47:48 -04:00
Rick Waldron d76701d86d Template: use .then($DONE, $DONE) wherever possible 2020-06-24 15:47:48 -04:00
Rick Waldron 2f12ab71f8 Promise: use .then($DONE, $DONE) wherever possible 2020-06-24 15:47:48 -04:00
Rick Waldron 040eb5393a
Promises: whenever evaluating checkSequence(sequence), also assert length of sequence (#2672) 2020-06-24 12:18:35 -07:00
Alexey Shvayka 20a1345bbe Add Array.prototype.lastIndexOf test 2020-06-24 15:14:04 -04:00
Alexey Shvayka 545e66b251 Add Array.prototype.indexOf test 2020-06-24 15:14:04 -04:00
Leo Balter e0153b5957
Merge pull request #2673 from tc39/ci-info-readme
README: information about CI results
2020-06-24 12:12:51 -07:00
Rick Waldron 53597b65d5
Update README.md
Co-authored-by: Leo Balter <leonardo.balter@gmail.com>
2020-06-24 15:05:02 -04:00
André Bargull c91c31fe93
Adjust description for IsHTMLDDA to allow more than one argument (#2674)
The following tests call `IsHTMLDDA` with more than one argument:
- annexB/built-ins/String/prototype/split/custom-splitter-emulates-undefined.js
- annexB/built-ins/String/prototype/replaceAll/custom-replacer-emulates-undefined
- annexB/built-ins/String/prototype/replace/custom-replacer-emulates-undefined.js
2020-06-24 11:43:21 -07:00
Rick Waldron 9dbaa95aed
Promise.race: coverage updates (#2666)
Ref #2629
2020-06-24 11:42:40 -07:00
Rick Waldron cc136b333a README: information about CI results 2020-06-24 14:04:58 -04:00
Rick Waldron 729fa02951 Atomics: update Atomics.sub to match latest proposed spec change
https://github.com/tc39/ecma262/pull/1908#issuecomment-647614204
2020-06-24 12:26:41 -04:00
Rick Waldron 529cff8ee6 Atomics: corrections 2020-06-24 12:26:41 -04:00
Rick Waldron 7e603ae236 Atomics: fix mispelled harness function name 2020-06-24 12:26:41 -04:00
Rick Waldron 4adc41eccf Atomics.* assertion messages and formatting 2020-06-24 12:26:41 -04:00
Rick Waldron d3980866c8 Atomics.xor will operate on TA when TA.buffer is not a SharedArrayBuffer 2020-06-24 12:26:41 -04:00
Rick Waldron e4d24694ea Atomics.sub will operate on TA when TA.buffer is not a SharedArrayBuffer 2020-06-24 12:26:41 -04:00
Rick Waldron 5e43594d44 Atomics.store will operate on TA when TA.buffer is not a SharedArrayBuffer 2020-06-24 12:26:41 -04:00
Rick Waldron 131165be7e Atomics.or will operate on TA when TA.buffer is not a SharedArrayBuffer 2020-06-24 12:26:41 -04:00
Rick Waldron e1c71a65e2 fixup! Atomics.and will operate on TA when TA.buffer is not a SharedArrayBuffer 2020-06-24 12:26:41 -04:00
Rick Waldron 9e7b4e733d Fix license lint & issues 2020-06-24 12:26:41 -04:00
Rick Waldron 2979e917a2 Atomics: fix assertion messages 2020-06-24 12:26:41 -04:00
Rick Waldron 1f977dc9fc Atomics.exchange will operate on TA when TA.buffer is not a SharedArrayBuffer 2020-06-24 12:26:41 -04:00
Rick Waldron eb5120a1e9 Atomics.compareExchange will operate on TA when TA.buffer is not a SharedArrayBuffer 2020-06-24 12:26:41 -04:00
Rick Waldron f82e09bab0 Atomics.and will operate on TA when TA.buffer is not a SharedArrayBuffer 2020-06-24 12:26:41 -04:00
Rick Waldron b4517aa192 Atomics.add will operate on TA when TA.buffer is not a SharedArrayBuffer 2020-06-24 12:26:41 -04:00
Rick Waldron 8182e4efc4 Atomics.store will operate on TA when TA.buffer is not a SharedArrayBuffer 2020-06-24 12:26:41 -04:00
Rick Waldron 11a1eabcc6 Atomics.load will operate on TA when TA.buffer is not a SharedArrayBuffer 2020-06-24 12:26:41 -04:00
Rick Waldron 302f37eeff Atomics.notify changed to always return 0 on non-shared 2020-06-24 12:26:41 -04:00
Meir Blachman f7322cca7a use $ERROR instead of throwing in 15.2.3.7-2-18.js 2020-06-24 12:25:30 -04:00
André Bargull 649d0d2c9a Update list of non-algorithmic numbering systems
Per https://github.com/tc39/ecma402/pull/438
2020-06-24 12:11:36 -04:00
André Bargull 3d411fa969 Assert 'errors' is absent for AggregateError.prototype 2020-06-24 12:11:36 -04:00