Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a version of JS_SetPropertyFunctionList() that handles errors. #346

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

xeioex
Copy link
Contributor

@xeioex xeioex commented Sep 14, 2024

Current status:

  • Error handling in QuickJS is inconsistent across the codebase
  • Some areas implement error checks, while others do not

This patch:

  • Enhances error checking in JS_SetPropertyFunctionList()
  • Aims to make QuickJS more reliable for long-running processes where uncaught errors can cause significant issues

Next steps:

  • This is the first in a series of planned improvements
  • Future patches will address other areas, including JS_AddIntrinsicBaseObjects() and related functions

Feedback is needed before proceeding with additional patches.

@xeioex xeioex mentioned this pull request Sep 14, 2024
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.

1 participant