diff options
author | Simon Hausmann <simon.hausmann@qt.io> | 2018-04-16 13:53:03 +0200 |
---|---|---|
committer | Aapo Keskimolo <aapo.keskimolo@qt.io> | 2018-04-16 17:52:10 +0000 |
commit | 8e2cfa1d77dd4568a126f5ed5736dfef844a28ef (patch) | |
tree | 07c5c76c95bbca05d4afd3e52da130b635aa30c9 /src/qml/jsruntime/qv4functionobject.cpp | |
parent | 539d724890aec3f00eadb39aeae973670e664ec6 (diff) |
Fix JSON.stringify with sequence types
Stringify::JA takes an ArrayObject* but it merely gets the length
property and does indexed get calls. Those work also on array-like
objects such as our sequence wrappers.
Task-number: QTBUG-45018
Change-Id: I4ec4f89a2e09c918fbc2ff1d48ae5915e67ce280
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4functionobject.cpp')
0 files changed, 0 insertions, 0 deletions