History

Fixed entity script whitelist and a bug in makeError

ksuprynowicz committed 3 years ago

Commit f72e8941 parent 8de13312 files · +71 −2Browse files

Showing the changes to libraries/script-engine/src/v8/ScriptEngineV8.cpp (1 of 2 files). Show all

Unified · Split

libraries/script-engine/src/v8/ScriptEngineV8.cpp+0−1
@@ -80,7 +80,6 @@ ScriptValue ScriptEngineV8::makeError(const ScriptValue& _other, const QString& · 79 unmodified lines
80 if (!IS_THREADSAFE_INVOCATION(thread(), __FUNCTION__)) {80 if (!IS_THREADSAFE_INVOCATION(thread(), __FUNCTION__)) {
81 return nullValue();81 return nullValue();
82 }82 }
83 return nullValue();
84 83
85 auto other = _other;84 auto other = _other;
86 if (_other.isString()) {85 if (_other.isString()) {