1
0
forked from 0ad/0ad
0ad/source
wraitii ffd2219200 Don't overwrite JS error reporting by calling JS_ReportError.
Upstream spidermonkey supports JSNative error reporting by returning an
explicit failure code. This provides a full stacktrace. Calling
JS_ReportError, removed upstream, removes that stacktrace.

Instead, we should simply LOGERROR.

Based on a patch by: elexis
Reviewed By: wraitii
Differential Revision: https://code.wildfiregames.com/D2627
This was SVN commit r23773.
2020-06-14 10:34:49 +00:00
..
collada Fix compiler warnings on VS 2015, refs #3439, refs #5069. 2018-03-10 09:58:53 +00:00
graphics RangeManager: Grid for 2D array, enum cleanups. 2020-06-13 09:05:40 +00:00
gui Don't overwrite JS error reporting by calling JS_ReportError. 2020-06-14 10:34:49 +00:00
i18n Remove some unused Profiler.h and CLogger.h includes. 2019-09-07 13:35:45 +00:00
lib Fixes missing deletion of files in 409c436ae2. 2020-06-08 22:36:19 +00:00
lobby Rework ScriptInterface EnumeratePropertyNames to support non-enumerable properties. 2020-06-14 09:49:32 +00:00
maths Implement a FixedVector2D::CompareLengthSquared function to provide a more performant alternative to CompareLength. 2020-02-09 21:00:43 +00:00
mocks More FreeBSD build fixes. 2012-01-30 06:21:11 +00:00
network Add thread names on Linux (implements debug_SetThreadName), also add the thread name of the UPnP thread. 2020-04-06 20:20:27 +00:00
pch Precompiled logic update [Windows build] 2019-12-31 13:58:48 +00:00
ps Remove obsolete GetVideoMode platform-specifics, replaces by platform-agnostic SDL2`s APIs. 2020-06-08 17:49:26 +00:00
renderer Remove duplicated call in tile rendering for TerrainOverlay. 2020-06-12 20:52:18 +00:00
scriptinterface Rework ScriptInterface EnumeratePropertyNames to support non-enumerable properties. 2020-06-14 09:49:32 +00:00
simulation2 Rework ScriptInterface EnumeratePropertyNames to support non-enumerable properties. 2020-06-14 09:49:32 +00:00
soundmanager Removes duplication of Clamp function. 2019-09-26 21:14:21 +00:00
third_party Fix gcc warning reported by Imarok after 204e17206b 2020-05-23 12:21:49 +00:00
tools Internationalise Damage Types and Status Effects using (optional) JSON files. 2020-05-20 17:26:37 +00:00
main.cpp Implement keyDown event 2020-05-26 21:47:03 +00:00
test_setup.cpp Fix string format of the JS test assertion failure following 7c2e9027c2 (cxxtest expects a char* instead of a std::wstring, so newlines were printed as \n characters). 2017-10-13 21:56:45 +00:00