QML Engine: ArrayBuffer XHR response type support
authorValery Kotov <kotov.valery@gmail.com>
Wed, 4 Mar 2015 19:57:14 +0000 (21:57 +0200)
committerSimon Hausmann <simon.hausmann@theqtcompany.com>
Mon, 9 Mar 2015 19:41:41 +0000 (19:41 +0000)
commitd988310434b00cc0e159fdf6ff3f586eefc47eed
tree6dd1bdfb543a3ca8a2a1d0c51273b1e6a9fe5bb8
parent0294702c9c174c67de563cfdea5c32548d111a58
QML Engine: ArrayBuffer XHR response type support

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

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

Change-Id: I866e543cc7bc6ab037ffff1ef6628057b73daf90
Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
src/qml/jsruntime/qv4engine.cpp
src/qml/jsruntime/qv4engine_p.h
src/qml/qml/qqmlxmlhttprequest.cpp
tests/auto/qml/qqmlxmlhttprequest/data/qml_logo.png [new file with mode: 0644]
tests/auto/qml/qqmlxmlhttprequest/data/receiveBinaryData.qml [new file with mode: 0644]
tests/auto/qml/qqmlxmlhttprequest/data/receive_binary_data.expect [new file with mode: 0644]
tests/auto/qml/qqmlxmlhttprequest/data/receive_binary_data.reply [new file with mode: 0644]
tests/auto/qml/qqmlxmlhttprequest/tst_qqmlxmlhttprequest.cpp