1
0
forked from 0ad/0ad
0ad/source/simulation2/tests
wraitii fd8f5abd2e [SM52 2/2] Update to Spidermonkey 52 APIs.
No particularly noteworthy changes, as most complex API changes were
already supported in SM45 and done.
The addition of JSStructuredCloneData allows to remove our custom class.

Changes:
- InformalValueTypeName is back in the API, so remove our
implementation.
- Stop using JSRuntime entirely in favour of JSContext*
- JSPropertyDescriptor is renamed.
- CompartmentOptions are tweaked slightly (no functional changes)
- JS::Construct - API update.
- JSClass split - API update.
- A js.msg error message was removed, so we had to use a different one.
- Tests fix: fix comparison of union instances
- Disable warning in spidermonkey Vector.h
- Update error reporting to SM52 (minor API updates)
- Ignore warnings about unused return values (would come from OOM, which
isn't recoverable)

Most of the patching was done by Itms.

Tested by: Stan, Freagarach
Fixes #4893

Differential Revision: https://code.wildfiregames.com/D3095
This was SVN commit r24203.
2020-11-18 14:39:04 +00:00
..
test_CmpTemplateManager.h Improve JS Exception handling. 2020-11-15 18:29:17 +00:00
test_ComponentManager.h Improve JS Exception handling. 2020-11-15 18:29:17 +00:00
test_EntityMap.h Revert b56f7f39d4 as it triggers an assertion failure. 2019-01-05 22:38:00 +00:00
test_ParamNode.h Use XML files instead of hardcoded C++ code in the template manager to universally change template properties at load time. 2017-03-16 19:56:12 +00:00
test_Serializer.h [SM52 2/2] Update to Spidermonkey 52 APIs. 2020-11-18 14:39:04 +00:00
test_SerializeTemplates.h Rename ScriptRuntime to ScriptContext 2020-11-14 10:57:50 +00:00
test_Simulation2.h Rename ScriptRuntime to ScriptContext 2020-11-14 10:57:50 +00:00