Commit Graph

66 Commits

Author SHA1 Message Date
Fabrice Bellard
d7ae12ae71 added JSON.parse source text access
Some checks failed
ci / Linux (Ubuntu) (push) Has been cancelled
ci / Linux LTO (push) Has been cancelled
ci / Linux 32bit (push) Has been cancelled
ci / linux-asan (push) Has been cancelled
ci / linux-msan (push) Has been cancelled
ci / linux-ubsan (push) Has been cancelled
ci / macOS (push) Has been cancelled
ci / macos-asan (push) Has been cancelled
ci / macos-ubsan (push) Has been cancelled
ci / freebsd (push) Has been cancelled
ci / Cosmopolitan (push) Has been cancelled
ci / MinGW Windows target (push) Has been cancelled
ci / Windows MSYS2 (push) Has been cancelled
ci / qemu-alpine (linux/386) (push) Has been cancelled
ci / qemu-alpine (linux/arm/v6) (push) Has been cancelled
ci / qemu-alpine (linux/arm/v7) (push) Has been cancelled
ci / qemu-alpine (linux/arm64) (push) Has been cancelled
ci / qemu-alpine (linux/ppc64le) (push) Has been cancelled
ci / qemu-alpine (linux/riscv64) (push) Has been cancelled
ci / qemu-alpine (linux/s390x) (push) Has been cancelled
2026-03-23 18:45:52 +01:00
Fabrice Bellard
4d16546cdf fixed RegExp.escape 2026-03-21 15:53:25 +01:00
Fabrice Bellard
aaf0174e71 test262 update 2026-03-21 12:39:29 +01:00
Fabrice Bellard
68caa5f226 fixed TypedArray constructor semantics which removes a buffer overflow (#478) 2026-03-21 12:23:53 +01:00
Fabrice Bellard
0989d4cb4a fixed TypedArray sort semantics by copying the array before calling the comparison function. Fixed buffer overflow when the array is resized (#477) 2026-03-21 11:33:13 +01:00
Fabrice Bellard
c73a435f36 Don't call well-known Symbol methods for RegExp on primitive values 2025-12-11 19:27:19 +01:00
Fabrice Bellard
24379bf53c added regexp duplicate named groups - fixed reset of captures with quantizers 2025-12-03 13:30:33 +01:00
Fabrice Bellard
b226856177 updated to unicode 17.0.0 - updated test262 version 2025-11-29 15:14:41 +01:00
Fabrice Bellard
e015918dd8 Much faster destructuring at the expense of a slight incompatibility
with the spec when direct evals are present (v8 behaves the same way).
2025-11-03 17:08:59 +01:00
Fabrice Bellard
eab6945fca updated test results 2025-10-18 11:09:17 +02:00
Fabrice Bellard
2161640067 stricter year parsing in Date 2025-10-13 14:51:37 +02:00
Fabrice Bellard
7fb994c45d fixed argument evaluation order in Date constructor and Date.UTC() 2025-10-13 14:11:47 +02:00
Fabrice Bellard
2a53de04c6 test262 update 2025-10-12 13:28:37 +02:00
Fabrice Bellard
31663a930d updated test262 2025-10-03 11:55:50 +02:00
Fabrice Bellard
00608769df fixed Date parsing: "1997-03-08 11:19:10-0700" is a valid date and "1997-03-08T11:19:10-07" should yield an error 2025-09-29 15:13:04 +02:00
Fabrice Bellard
bc753c6a15 added Math.sumPrecise() 2025-09-27 18:44:19 +02:00
Fabrice Bellard
456e016f7c added Map and WeakMap upsert methods (bnoordhuis) 2025-09-27 10:24:48 +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
44d03a823d fixed parsing of computed property name 2025-09-22 14:48:43 +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
0cef7f0ddb set methods: removed memory leaks - fixed ordering of property access - fixed conversion to integer of 'size' in GetSetRecord() - added missing iterator close - factorized code 2025-09-20 14:21:39 +02:00
Fabrice Bellard
bb34e2797f test262 update 2025-08-25 12:05:21 +02:00
Fabrice Bellard
2fd48bf7df fixed module async evaluation logic - added DUMP_MODULE_EXEC 2025-06-28 17:25:54 +02: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
9bce51eefd improved JSON parser conformity (chqrlie) (#250) 2025-05-19 17:23:25 +02:00
Fabrice Bellard
a33610de16 update test results 2025-05-16 20:38:56 +02:00
Fabrice Bellard
a8b2d7c2b2 added Float16Array (bnoordhuis) - optimized float16 conversion functions 2025-05-05 19:12:32 +02:00
Fabrice Bellard
30fe3de91d Object.prototype has an immutable prototype 2025-04-29 19:03:36 +02:00
Fabrice Bellard
3fbea36863 update tests 2025-04-28 16:37:51 +02:00
Fabrice Bellard
19abf1888d new release 2025-04-26 12:30:26 +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
0c5d59f6a9 optimized and fixed JS_AtomIsNumericIndex1(): 'NaN' is also a number 2025-04-16 15:04:57 +02:00
Fabrice Bellard
5449fd42d6 more ToPropertyKey ordering changes 2025-04-15 11:26:53 +02:00
Fabrice Bellard
8f99de5b7f spec update: ToPropertyKey() is now done after the evaluation of the expression in assignments 2025-04-15 10:50:59 +02:00
Fabrice Bellard
5b0c98a43a fixed HTML comments (chqrlie) 2025-04-12 12:38:51 +02:00
Fabrice Bellard
7adeb5c56e Fix exporting destructured variables (saghul) (#382) 2025-04-10 16:23:25 +02:00
Fabrice Bellard
949c105aff fixed class field named get or set 2025-04-10 16:01:26 +02:00
Fabrice Bellard
d546fbfdb7 changed js_throw_type_error ES5 workaround to be more compatible with test262 2025-04-10 15:37:19 +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
Fabrice Bellard
61e8b94428 removed bignum support and qjscalc - added optimized BigInt implementation 2025-03-18 18:29:10 +01:00
Fabrice Bellard
090685a8c2 update test results 2024-01-27 13:12:37 +01:00
Fabrice Bellard
c9509664ab update test results 2024-01-11 15:28:12 +01:00
Fabrice Bellard
3ab1c2b314 added 'in' operator for private fields 2024-01-02 16:11:20 +01:00