0ad/source/scriptinterface/tests
phosit b8348bec55 Store the ScriptInterface& in ModuleLoader::Result
During hotloading the `ScriptRequest` was constructed from a
`JSContext*`. That requires that already an other `ScriptRequest` is
active. Which isn't always the case.
Now The `ScriptRequest` is constructed from a `ScriptInterface&`.

Storing a `ScriptInterface&` in the `ModuleLoader::Result` allows to
remove the `m_Result` as it is retrieved from the `ScriptInterface`.
2025-06-26 10:50:21 +02:00
..
test_FunctionWrapper.h Add a class to register stateful callbacks to JS 2025-04-17 15:02:05 +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