1
0
forked from 0ad/0ad
0ad/source/scriptinterface
wraitii 518fb7eafa Set a stack quota for JS scripts to prevent crashes from infinite loops.
Infinite loop will instead trigger JS exceptions, which will make error
reports much nicer.

Differential Revision: https://code.wildfiregames.com/D3851
This was SVN commit r25280.
2021-04-16 16:49:18 +00:00
..
tests Make real directory paths on the VFS predictable (retry) 2021-03-23 12:46:59 +00:00
FunctionWrapper.h Simplify GUI Proxy implementation & customisation. 2021-04-09 18:01:47 +00:00
NativeWrapperDecls.h Refactor all usage of RegisterFunction to ScriptFunction::Register 2021-03-02 20:01:14 +00:00
NativeWrapperDefns.h Replace DISCARD macro with ignore_result template. 2020-12-15 09:03:44 +00:00
ScriptContext.cpp Set a stack quota for JS scripts to prevent crashes from infinite loops. 2021-04-16 16:49:18 +00:00
ScriptContext.h Removes unused containers included in headers. 2021-03-03 23:01:08 +00:00
ScriptConversions.cpp Replaces CPos by more a consistent CVector2D, reduces geometry code duplication. 2021-03-28 21:55:13 +00:00
ScriptConversions.h [SM78 2/2] Update to Spidermonkey 78 APIs 2020-12-06 14:03:02 +00:00
ScriptEngine.h Address concerns in 5473393e30 (RL interface) 2021-01-15 16:30:05 +00:00
ScriptExceptions.cpp [SM78 2/2] Update to Spidermonkey 78 APIs 2020-12-06 14:03:02 +00:00
ScriptExceptions.h [SM52 2/2] Update to Spidermonkey 52 APIs. 2020-11-18 14:39:04 +00:00
ScriptExtraHeaders.h [SM78 2/2] Update to Spidermonkey 78 APIs 2020-12-06 14:03:02 +00:00
ScriptForward.h [SM68 2/2] Update to Spidermonkey 68 APIs 2020-11-30 09:03:20 +00:00
ScriptInterface.cpp Cleanups includes for cassert and streams. 2021-03-03 22:26:49 +00:00
ScriptInterface.h Refactor all usage of RegisterFunction to ScriptFunction::Register 2021-03-02 20:01:14 +00:00
ScriptStats.cpp [SM78 2/2] Update to Spidermonkey 78 APIs 2020-12-06 14:03:02 +00:00
ScriptStats.h Further header & precompiled cleanup, fix no-PCH builds. 2020-12-09 14:39:14 +00:00
ScriptTypes.h [SM78 1/2] Upgrade Spidermonkey build system and binaries to 78.6.0 2020-12-06 14:00:57 +00:00