Skip to content

Conversation

chqrlie
Copy link
Collaborator

@chqrlie chqrlie commented Mar 9, 2024

This patch aims at reducing the number of failures in v8.sh.

chqrlie added 5 commits March 8, 2024 08:43
- throw RangeError for invalid string length
- throw RangeError for stack overflow
- fix case for `BigInt` error messages
- refine stack check for `next_token` and `json_next_token`
- throw SyntaxError for too many variables, arguments, parameters...
- v8.js: disable v8 specific tests
- v8.js: disable Realm object tests
- v8.js: disable MODULE tests
- v8.js: disable RegExp static properties tests
- use more precise error messages
- reorder property lookup in `js_obj_to_desc()` according to ECMA
Copy link
Contributor

@bnoordhuis bnoordhuis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice 👍

@chqrlie chqrlie merged commit aaa208a into quickjs-ng:master Mar 10, 2024
@chqrlie chqrlie deleted the improve-error-handling branch March 10, 2024 16:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants