You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Improve error messages when JS code throws exceptions (#173)
* Remove a not neede try/catch when evaluating JSFunction values so we can improve error reporting by not hiding the information we get form the JS crash
* Modify JSThrowingFunction to be based on the safe version of _call_function_with_this and _call_function instead of the unsafe version we created
* Update swjs_call_function_unsafe to notify wasm when there is an exception
Co-authored-by: Jed Fox <git@jedfox.com>
* Modify swjs_call_function_with_this_unsafe to notify WASM there was an exception as Jed suggested
* Recover the already written test cases for JSThrowingFunction and create a new test case for the new functionality
* Rename unsafe fuctions to no_catch and simplify invokeNonThrowingJSFunction implementation
* Bump swjs_library_version version
Co-authored-by: Jed Fox <git@jedfox.com>
0 commit comments