0ad/source/scriptinterface/tests
phosit 616fa4a006 Handle C++ exceptions in Engine functions
`JSNatives` passed to SpiderMonkey must not throw exceptions. Most
callbacks are wrapped in `ScriptFunction::ToJSNative`.
This commit adds exception handling to `ScriptFunction::ToJSNative` so
that exceptions thrown in the wrapped callbacks are catched and rethrown
as JavaScript `Error`s.
2025-07-08 19:11:49 +02:00
..
test_FunctionWrapper.h Handle C++ exceptions in Engine functions 2025-07-08 19:11:49 +02:00
test_Module.h Store the ScriptInterface& in ModuleLoader::Result 2025-06-26 10:50:21 +02:00
test_Promises.h Log rejected promises 2024-07-22 08:40:33 +00:00
test_ScriptConversions.h Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
test_ScriptInterface.h Refactor freezing of JS objects 2024-12-05 17:49:16 +01:00