summaryrefslogtreecommitdiff
path: root/tests/test_builtin.js
Commit message (Collapse)AuthorAge
* regexp: added v flag support - fixed corner cases of case insensitive matchingFabrice Bellard3 days
|
* added Float16Array (bnoordhuis) - optimized float16 conversion functionsFabrice Bellard14 days
|
* more precise error location reportingFabrice Bellard2025-04-26
|
* dtoa fix for minus zeroFabrice Bellard2025-04-21
|
* added column number in error messages - simplified parserFabrice Bellard2025-04-14
|
* added forgotten js_weakref_is_live() testsFabrice Bellard2025-04-05
|
* avoid freeing an object structure in js_weakref_free() if it is about to be ↵Fabrice Bellard2025-04-05
| | | | freed in free_zero_refcount()
* reworked weak references so that cycles are (hopefully) correctly handled - ↵Fabrice Bellard2025-04-05
| | | | added Symbol as WeakMap key, WeakRef and FinalizationRegistry
* added string ropes for faster concatenation of long strings (issue #67)Fabrice Bellard2025-03-25
|
* enable dtoa tests on win32Fabrice Bellard2025-03-22
|
* added new dtoa library to print and parse float64 numbers. It is necessary ↵Fabrice Bellard2025-03-19
| | | | to fix corner cases (e.g. radix != 10) and to have correct behavior regardless of the libc implementation.
* fixed BigInt hashing - removed -fno-bigint in qjsc and ↵Fabrice Bellard2025-03-19
| | | | JS_AddIntrinsicBigInt() (BigInt is now considered as a base object)
* regexp: fix non greedy quantizers with zero length matchesFabrice Bellard2024-05-30
|
* Improve Date.parseCharlie Gordon2024-03-03
| | | | | | | | | | - accept many more alternative date/time formats - add test cases in tests/test_builtin.js - match month and timezone names case insensitively - accept AM and PM markers - recognize US timezone names - skip parenthesized stuff - fix almost all v8 test cases
* Improve Date.parseCharlie Gordon2024-02-25
| | | | | | | | - rewrite Date.parse() with separate parsers - return `NaN` for out of bounds field values as specified - accept up to 9 decimals for millisecond fraction but truncate at 3 - accept many more alternative date/time formats - add test cases in tests/test_builtin.js
* Fix Map hash bugCharlie Gordon2024-02-22
| | | | | | - `map_hash_key` must generate the same key for JS_INT and JS_FLOAT64 with the same value - add test cases in tests/test_builtin.js
* Rewrite `set_date_fields` to match the ECMA specificationCharlie Gordon2024-02-21
| | | | | | | | | | | | - use `double` arithmetic where necessary to match the spec - use `volatile` to ensure correct order of evaluation and prevent FMA code generation - reject some border cases. - avoid undefined behavior in `double` -> `int64_t` conversions - improved tests/test_builtin.js `assert` function to compare values more reliably. - added some tests in `test_date()` - disable some of these tests on win32 and cygwin targets
* Improve testsCharlie Gordon2024-02-17
| | | | | | | | | - split test_bigfloat.js from test_bignum.js - make test_date() compatible with node - document Date constructor string argument format: should add test cases for invalid strings - test_argument_scope(): only test this syntax error in strict mode: `var f = function(a = eval("var arguments")) {};`
* Fix UB signed integer overflow in js_math_imulCharlie Gordon2024-02-17
| | | | | | | - Use uint32_t arithmetics and Standard conformant conversion to avoid UB in js_math_imul. - add builtin tests - use specific object directories for SAN targets
* Strip trailing spacesCharlie Gordon2024-02-10
|
* regexp: fixed the zero advance logic in quantifiers (github issue #158)Fabrice Bellard2024-01-10
|
* fixed 'return' handling with 'yield' in 'for of' or with finally blocks ↵Fabrice Bellard2023-12-13
| | | | (gihub ticket #166)
* 2021-03-27 releasebellard2021-03-27
|
* 2020-11-08 releasebellard2020-11-08
|
* 2020-09-06 releasebellard2020-09-06
|
* 2020-07-05 releasebellard2020-09-06
|
* 2020-03-16 releasebellard2020-09-06
|
* 2020-01-05 releasebellard2020-09-06