Skip to content

Conversation

@bghgary
Copy link
Contributor

@bghgary bghgary commented Apr 5, 2024

  • Move Node-API extensions from Babylon Native into JsRuntimeHost.
  • Add helper method to Node-API extensions to get error string from either callstack or message if callstack is not available. Use this method where appropriate (e.g., DefaultUnhandledExceptionHandler) to avoid crash when callstack is not available.
  • Add EnableDebugger flag to AppRuntime to allow user configuration.
  • Add Node-API defines required for JsRuntimeHost directly into the headers instead in CMake to avoid having all consumers add defines to the compile options.
  • Fix an issue in Napi::Error::New to allow Napi::Error to propogate properly.
  • Don't throw in Chakra's napi_add_finalizer to avoid compiler warning.
  • Fix an issue in XMLHttpRequest where some errors are being dropped.

bghgary added 2 commits April 5, 2024 09:46
- Move Node-API extensions from Babylon Native into JsRuntimeHost.
- Add helper method to Node-API extensions to get error string from either callstack or message if callstack is not available. Use this method where appropriate (e.g., DefaultUnhandledExceptionHandler) to avoid crash when callstack is not available.
- Add EnableDebugger flag to AppRuntime to allow user configuration.
- Add Node-API defines required for JsRuntimeHost directly into the headers instead in CMake to avoid having all consumers add defines to the compile options.
- Fix an issue in Napi::Error::New to allow Napi::Error to propogate properly.
- Don't throw in Chakra's napi_add_finalizer to avoid compiler warning.
- Fix an issue in XMLHttpRequest where some errors are being dropped.
@bghgary bghgary merged commit 5c06ce7 into BabylonJS:main Apr 18, 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.

2 participants