aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/blackbox/tst_blackboxapple.cpp
diff options
context:
space:
mode:
authorRichard Weickelt <richard@weickelt.de>2020-07-08 23:48:32 +0200
committerRichard Weickelt <richard@weickelt.de>2020-07-13 22:25:42 +0000
commit91ca67815af4512004d11a582753d4e6980e2004 (patch)
treee51f6d2fa4ba253db4b8f716e60e625add95f190 /tests/auto/blackbox/tst_blackboxapple.cpp
parent09401f5eab3f5c8955e85baf3c98f79fbc03d8b1 (diff)
Fix wrong array iteration
It is not recommended to use 'for in' loops to iterate over arrays because additional properties in Array.prototype would be iterated over as well. For unknown reasons this is not the case when using QtScript, but it would be a problem when running on QJSEngine. Change-Id: I4404c03a6277dae471a9beb162b539edb9ace426 Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
Diffstat (limited to 'tests/auto/blackbox/tst_blackboxapple.cpp')
0 files changed, 0 insertions, 0 deletions