Nick Vatamaniuc
8b5422e8d8
Merge 8b43bae10b1f5d0bd714169395e8489bf68d959a into 8807fedec55bc4dbdf7b4780d36bfc4b4fd6e5e2
2025-09-23 01:07:10 +08:00
Fabrice Bellard
8807fedec5
- added Atomics.pause (bnoordhuis)
...
- use the pause instruction for x86 and ARM64 in Atomics.pause()
2025-09-22 18:58:18 +02:00
Fabrice Bellard
f021d7714f
- added resizable array buffers (bnoordhuis)
...
- fixed Atomics.wait, Atomics.notify, TypedArray.prototype.lastIndexOf
- fixed JS_PreventExtensions() with resizable typed arrays
2025-09-22 18:37:41 +02:00
Fabrice Bellard
1e19893c82
- added ArrayBuffer.prototype.transfer (Divy Srivastava)
...
- fixed transfer when the ArrayBuffer was allocated with a custom allocator
2025-09-21 16:41:02 +02:00
Fabrice Bellard
2d99c323a2
Iterator functions:
...
- removed memory leak
- don't close iterator when IteratorStepValue fails
- fixed Iterator Wrap next() and return() arguments
- fixed Iterator.from()
2025-09-20 18:30:02 +02:00
Fabrice Bellard
b2ed2e91f5
added Iterator.prototype.[drop,filter,flatMap,map,take,every,find,forEach,some,reduce,[Symbol.toStringTag]] (saghul)
2025-09-20 16:47:43 +02:00
Fabrice Bellard
a1e073e444
added set methods (bnoordhuis)
2025-09-20 12:19:50 +02:00
Nick Vatamaniuc
8b43bae10b
Run test262 tests in CI
...
Run test262 tests for Linux, macOS and Cosmopolitan
Add a Makefile `test2-bootstrap` helper to clone and patch test262 tests at
a particular commit. Running with the latest commit noticed a few tests were
failing and added them to the errors list.
The CI environment, especially for macOS, was a bit more unpredictable and was
failing in atomics tests due to lower timeouts in the `atomicsHelper` so double
the timeouts. The time didn't worsen too much. It still takes about 2-3 min.
2025-09-17 18:46:55 -04:00
Fabrice Bellard
f1b1c000c2
update test262
2025-06-28 10:43:26 +02:00
Fabrice Bellard
098f221cf3
added Error.isError() (bnoordhuis)
2025-06-14 11:42:54 +02:00
Fabrice Bellard
bb986e55ff
update tests
2025-05-24 15:43:14 +02:00
Fabrice Bellard
dfc254af51
update tests
2025-05-24 13:26:36 +02:00
Fabrice Bellard
f10ef299a6
added JSON modules and import attributes
2025-05-20 18:27:23 +02:00
Fabrice Bellard
f95b8ba1bb
added regexp modifiers
2025-05-16 20:34:18 +02:00
Fabrice Bellard
9c973a8923
added Promise.try (saghul)
2025-05-16 18:02:14 +02:00
Fabrice Bellard
d7cdfdc8d7
regexp: added v flag support - fixed corner cases of case insensitive matching
2025-05-16 17:43:03 +02:00
Fabrice Bellard
a8b2d7c2b2
added Float16Array (bnoordhuis) - optimized float16 conversion functions
2025-05-05 19:12:32 +02:00
Fabrice Bellard
c95b024d3e
added RegExp.escape (bnoordhuis)
2025-05-05 16:46:21 +02:00
Fabrice Bellard
3fbea36863
update tests
2025-04-28 16:37:51 +02:00
Fabrice Bellard
8e9e8e86c5
update tests
2025-04-22 19:16:19 +02:00
Fabrice Bellard
e5e724829a
added staging test262 tests
2025-04-21 16:23:42 +02:00
Fabrice Bellard
8b5b1277ad
reworked weak references so that cycles are (hopefully) correctly handled - added Symbol as WeakMap key, WeakRef and FinalizationRegistry
2025-04-05 12:49:29 +02:00
Fabrice Bellard
2634856087
removed invalid tests
2025-03-28 10:19:28 +01:00
Fabrice Bellard
b31bb20666
updated to unicode 16.0.0 (bnoordhuis) - updated test262
2025-03-25 19:08:19 +01:00
Charlie Gordon
37bd4ae62d
Strip trailing spaces
2024-02-10 16:19:17 +01:00
Fabrice Bellard
3ab1c2b314
added 'in' operator for private fields
2024-01-02 16:11:20 +01:00
Fabrice Bellard
16057644f3
class static block (initial patch by bnoordhuis)
2024-01-02 16:10:43 +01:00
Fabrice Bellard
5c120cd471
added Error cause
2024-01-02 16:08:08 +01:00
Fabrice Bellard
a47f40cde8
added RegExp 'd' flag (bnoordhuis)
2023-12-27 17:19:44 +01:00
Fabrice Bellard
5fc27dc7cf
added Promise.withResolvers
2023-12-27 17:19:25 +01:00
Fabrice Bellard
feefdb1742
added Array.prototype.{with,toReversed,toSpliced,toSorted} and TypedArray.prototype.{with,toReversed,toSorted} (initial patch by bnoordhuis)
2023-12-27 17:19:00 +01:00
Fabrice Bellard
c2c773e135
added Object.groupBy and Map.groupBy (initial patch by bnoordhuis)
2023-12-27 17:18:39 +01:00
Fabrice Bellard
4876f72a1a
added String.prototype.isWellFormed and String.prototype.toWellFormed
2023-12-27 17:16:47 +01:00
Fabrice Bellard
6e4931c4ad
top-level-await support - follow the spec in the implementation of the module linking and evaluation to avoid errors with cycling module dependencies
2023-12-27 17:10:47 +01:00
Fabrice Bellard
a0570086c6
added Array.prototype.findLast{Index} and TypeArray.prototype.findLast{index} (initial patch by bnoordhuis)
2023-12-09 12:33:05 +01:00
Fabrice Bellard
f87cab0fc6
added String.prototype.at, Array.prototype.at and TypedArray.prototype.at
2023-12-05 16:54:43 +01:00
Fabrice Bellard
cdeca4de42
updated to unicode 15.0.0
2023-12-05 16:51:16 +01:00
bellard
851695958a
updated test262.conf
2022-03-06 18:55:04 +01:00
bellard
b5e62895c6
2021-03-27 release
2021-03-27 11:17:31 +01:00
bellard
b1f67dfc1a
2020-11-08 release
2020-11-08 14:30:56 +01:00
bellard
7c312df422
2020-09-06 release
2020-09-06 19:10:15 +02:00
bellard
8900766099
2020-07-05 release
2020-09-06 19:07:30 +02:00
bellard
1722758717
2020-04-12 release
2020-09-06 19:04:20 +02:00
bellard
383e2b06c8
2020-03-16 release
2020-09-06 19:02:03 +02:00
bellard
91459fb672
2020-01-05 release
2020-09-06 18:53:08 +02:00