History

V8-related cleanup

ksuprynowicz committed 3 years ago

Commit 3c804111 parent 30f460814 files · +5 −62Browse files

Showing the changes to libraries/script-engine/src/XMLHttpRequestClass.cpp (1 of 14 files). Show all

Unified · Split

libraries/script-engine/src/XMLHttpRequestClass.cpp+1−0
@@ -221,6 +221,7 @@ void XMLHttpRequestClass::requestFinished() { · 220 unmodified lines
221221 _rawResponseData.append(_reply->readAll());
222222
223223 if (_responseType == "json") {
224+ // V8TODO: V8 JSON parser needs to be used instead
224225 _responseData = _engine->evaluate("(" + QString(_rawResponseData.data()) + ")");
225226 if (_responseData.isError()) {
226227 _engine->clearExceptions();