summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAge
* better promise rejection tracker heuristics (#112)Fabrice Bellard3 days
|
* 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
|
* update testsFabrice Bellard2025-04-22
|
* added staging test262 testsFabrice Bellard2025-04-21
|
* dtoa fix for minus zeroFabrice Bellard2025-04-21
|
* added column number in error messages - simplified parserFabrice Bellard2025-04-14
|
* workaround for #282Fabrice Bellard2025-04-10
|
* fixed the handling of unicode identifiersFabrice Bellard2025-04-10
|
* fixed break statement in the presence of labels (bnoordhuis) (#275)Fabrice Bellard2025-04-07
|
* fixed and improved Map/Set hashingFabrice Bellard2025-04-07
|
* fixed module cyclic imports (#329)Fabrice Bellard2025-04-05
|
* 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
* updated to unicode 16.0.0 (bnoordhuis) - updated test262Fabrice Bellard2025-03-25
|
* added string ropes for faster concatenation of long strings (issue #67)Fabrice Bellard2025-03-25
|
* more dtoa bench (Charlie Gordon)Fabrice Bellard2025-03-22
|
* enable dtoa tests on win32Fabrice Bellard2025-03-22
|
* fixed hash_map_resize() - added Map/WeakMap in microbenchFabrice 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)
* more bignum cleanupFabrice Bellard2025-03-19
|
* added missing variableFabrice Bellard2025-03-18
|
* removed bignum support and qjscalc - added optimized BigInt implementationFabrice Bellard2025-03-18
|
* microbench: use toFixed()Fabrice Bellard2025-03-13
|
* Fix termination in Worker testAkos Kiss2024-07-27
| | | | | | | Function names are case sensitive, `onMessage` is not the same as `onmessage`. Related to #98
* regexp: fix non greedy quantizers with zero length matchesFabrice Bellard2024-05-30
|
* updated test262.patchFabrice Bellard2024-05-30
|
* Improve class parser (#289)Charlie Gordon2024-05-05
| | | | | - accept `class P { async = 1 }}` - accept `class P { static = 1 }}` etc. - Fixes #261
* fix class method with name get (#258)Richard Davison2024-05-05
| | | Co-authored-by: Richard Davison <ridaviso@amazon.com>
* Add CI targets, fix test_std.js (#247)Charlie Gordon2024-03-03
| | | | | | | | | | | | This switches the exec test to `SIGTERM` rather than `SIGQUIT` since the latter didn’t seem to work in QEMU, and the distinction doesn’t really matter for this test. This also makes the `isatty()` check smarter by checking whether `STDIN` is, in fact, a terminal. Added qemu-alpine targets i386, arm32v6, arm32v7, arm64v8, s390x Co-authored-by: Felipe Gasper <felipe@felipegasper.com>
* Add github CI testsBen Noordhuis2024-03-03
| | | | | - disable `isatty()` test in `test_os()` - add `.github/workflows/ci.yml` with 8 targets
* fix microbench when microbench.txt is missing (#246)Charlie Gordon2024-03-03
|
* 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 microbench.jsCharlie Gordon2024-02-26
| | | | | | | | | | | | | | - ensure handler behavior does not depend on n argument - load and save reference file in node.js - add -s filename option to name the output reference file - add targets in Makefile for tests and bencharks using node.js - fix incorrect timings when not using high resolution timer - use performance timer in node.js - output performance factor instead of percentage - use smaller threshold by default - add benchmarks for: date_parse(), prop_update(), prop_clone(), array_slice() global_func_call(),
* 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
* pass node-js command line arguments to microbenchCharlie Gordon2024-02-15
|
* Unbroke tests/test_test_bjson.jsBen Noordhuis2024-02-11
|
* Add more testsBen Noordhuis2024-02-11
| | | | | - add regexp tests in tests/microbench.js - add bjson_test_regexp in tests/test_test_bjson.js
* Improve microbenchCharlie Gordon2024-02-11
| | | | | | | | | | | - remove import statements (invoke with qjs --std) - fix compatibility issues with node - add more loop styles - add more string concatenation tests - use === and !=== where appropriate - fix sort timing log - add `-r ref_file` command line option to specify reference file - add .gitignore file with target file patterns
* Strip trailing spacesCharlie Gordon2024-02-10
|
* simplified and fixed arrow function parsing (github issue #226)Fabrice Bellard2024-01-27
|
* regexp: fixed the zero advance logic in quantifiers (github issue #158)Fabrice Bellard2024-01-10
|
* optional chaining fixes (github issue #103)Fabrice Bellard2024-01-09
|