QML Engine: JSON XHR response type support
authorValery Kotov <kotov.valery@gmail.com>
Tue, 7 Apr 2015 17:34:44 +0000 (20:34 +0300)
committerSimon Hausmann <simon.hausmann@theqtcompany.com>
Thu, 16 Apr 2015 17:44:29 +0000 (17:44 +0000)
commit43961057a973715856486c596959213bd911df73
tree95a93b3f273a0540c5063331e942da738207bd27
parent4930941197576c6017451856beb59a0ff8d045bd
QML Engine: JSON XHR response type support

Support for "json" response type for QQmlXMLHttpRequest was
added.

[ChangeLog][QtQml][QQmlXMLHttpRequest] QQmlXMLHttpRequest now
supports "json" binary response type.

Change-Id: I21b7659c02dfdc6b64a73e1d2003e269d90b3b23
Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
src/qml/jsruntime/qv4jsonobject.cpp
src/qml/jsruntime/qv4jsonobject_p.h
src/qml/qml/qqmlxmlhttprequest.cpp
tests/auto/qml/qqmlxmlhttprequest/data/json.data [new file with mode: 0644]
tests/auto/qml/qqmlxmlhttprequest/data/receiveJsonData.qml [new file with mode: 0644]
tests/auto/qml/qqmlxmlhttprequest/data/receive_json_data.expect [new file with mode: 0644]
tests/auto/qml/qqmlxmlhttprequest/data/receive_json_data.reply [new file with mode: 0644]
tests/auto/qml/qqmlxmlhttprequest/tst_qqmlxmlhttprequest.cpp