Fabrice Bellard
2a53de04c6
test262 update
2025-10-12 13:28:37 +02:00
Fabrice Bellard
2c90110287
- optimized global variable access
...
- removed full compliance with the spec for strict mode variable
assignment so that they are as fast as in non strict mode (V8,
SpiderMonkey and JavascriptCore do the same, so IMHO the spec should
be updated).
2025-10-03 14:26:13 +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
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
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
Nick Vatamaniuc
00b1d8d0b2
Read byteOffset for detached buffers
...
The spec [1] expects to read `byteOffset` even for detached buffers.
Noticed a new test262 test [2] failed and there an an existing one we skipped
as well for the same reason.
[1] https://tc39.es/ecma262/#sec-%typedarray%.prototype.subarray
[2] https://github.com/tc39/test262/blob/main/test/built-ins/TypedArray/prototype/subarray/byteoffset-with-detached-buffer.js
Fix: https://github.com/bellard/quickjs/issues/417
2025-06-07 01:37:54 -04: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
3d92a9d30c
new keyword cannot be used with an optional chain
2025-05-24 13:01:50 +02:00
Fabrice Bellard
02a2643142
fixed parsing of function definition
2025-05-24 12:47:35 +02:00
Fabrice Bellard
8b2a1249a4
fixed Regexp.prototype[Symbol.match]
2025-05-24 10:12:51 +02:00
Fabrice Bellard
9bce51eefd
improved JSON parser conformity (chqrlie) ( #250 )
2025-05-19 17:23:25 +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
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
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
3b04c58628
fixed 'with' access by adding HasPropery() calls - removed unused 'with_get_ref_undef' opcode
2025-04-16 14:48:12 +02:00
Fabrice Bellard
83530ac9a7
fixed destructuring operation order when defining variables - optimized more cases of variable definition in destructuring
2025-04-16 14:23:54 +02:00
Fabrice Bellard
1d5e7cf300
fixed destructuring parsing: do it only in assignment expressions
2025-04-16 14:14:21 +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
2634856087
removed invalid tests
2025-03-28 10:19:28 +01:00
Fabrice Bellard
56c47f7d2a
fixed exception handling in AsyncFromSyncIterator and async for of
2025-03-28 10:11:15 +01:00
Fabrice Bellard
67de495254
fixed typed array set operation when obj != receiver
2025-03-27 17:06:26 +01:00
Fabrice Bellard
b0c1a12196
fixed set_date_field()
2025-03-27 16:28:56 +01:00
Fabrice Bellard
dec4aca27a
update test262_errors.txt
2025-03-25 19:17:19 +01:00
Fabrice Bellard
efdb722f02
fixed JS_GetScriptOrModuleName() in direct or indirect eval code
2024-01-13 11:15:06 +01:00
Fabrice Bellard
10fc744ae4
regexp: fixed the zero advance logic in quantifiers (github issue #158 )
2024-01-10 14:36:19 +01:00
Fabrice Bellard
f25e5d4094
optional chaining fixes (github issue #103 )
2024-01-09 19:15:40 +01:00
Fabrice Bellard
af308614a8
fixed regexp case insensitive flag
2024-01-08 18:42:29 +01:00
Fabrice Bellard
24aa7ba4f0
fixed test262: derived-this-uninitialized-realm.js
2024-01-06 14:42:43 +01:00
Fabrice Bellard
3ab1c2b314
added 'in' operator for private fields
2024-01-02 16:11:20 +01:00
Fabrice Bellard
b8791e9b4a
fixed detached TypedArray in sort()
2023-12-27 17:13:44 +01:00
Fabrice Bellard
07ff474992
use Unicode normalization in String.prototype.localeCompare
2023-12-22 11:05:49 +01:00
Fabrice Bellard
7cefa7b121
'for of' expression cannot start with 'async'
2023-12-22 11:05:18 +01:00
Fabrice Bellard
43420235d5
removed incorrect await in async yield*
2023-12-22 11:04:54 +01:00
Fabrice Bellard
3ba181e6c6
fixed define own property with writable=false on module namespace
2023-12-22 11:04:22 +01:00
Fabrice Bellard
57105c7f23
fixed async generator in case of exception in the implicit await in the 'return' statement
2023-12-13 19:01:59 +01:00
Fabrice Bellard
a42681a4a3
Fix AsyncGenerator.prototype.return error handling (bnoordhuis)
2023-12-13 19:01:10 +01:00