0ad/source/simulation2/tests
Itms 9b794593db SpiderMonkey 38 upgrade: 32/35
JS_GetStringCharsAndLength was removed, use
JS_Get{Latin1,TwoByte}StringCharsAndLength instead.

Actually handle strings in both the Latin1 and TwoByte cases since we
need to.
This saves some space when serializing and also when running as they are
stored that way in the vm.
Also handle the error case.

Patch by leper.
For more information:
https://blog.mozilla.org/javascript/2014/07/21/slimmer-and-faster-javascript-strings-in-firefox/
Addresses https://bugzilla.mozilla.org/show_bug.cgi?id=1037869

This was SVN commit r18686.
2016-09-02 16:51:09 +00:00
..
test_CmpTemplateManager.h Convert CConsole to take UTF-8 strings. 2015-02-14 01:49:34 +00:00
test_ComponentManager.h Actually seed the random number generator used in the simulation. Reviewed by sanderd17, fixes #4127. 2016-08-14 16:28:54 +00:00
test_ParamNode.h Removed logger output for XML token node tests 2012-03-17 23:03:02 +00:00
test_Serializer.h SpiderMonkey 38 upgrade: 32/35 2016-09-02 16:51:09 +00:00
test_Simulation2.h Changes tests to use global g_ScriptRuntime instead of creating a new JSRuntime for each test. 2014-04-25 21:19:51 +00:00