quickjs icon indicating copy to clipboard operation
quickjs copied to clipboard

Add a version of `JS_SetPropertyFunctionList()` that handles errors.

Open xeioex opened this issue 1 year ago • 0 comments

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 avatar Sep 14 '24 00:09 xeioex