aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmlcppcodegen/tst_qmlcppcodegen.cpp
diff options
context:
space:
mode:
authorFabian Kosmale <fabian.kosmale@qt.io>2024-04-16 12:32:31 +0200
committerUlf Hermann <ulf.hermann@qt.io>2025-06-27 14:20:05 +0200
commitb1bdad8096a45098d6ac668142493cccfd019579 (patch)
tree484c728b23be5b7bcf1d0c7d2f1329bedb881274 /tests/auto/qml/qmlcppcodegen/tst_qmlcppcodegen.cpp
parentc78667aba2bc27d58cce05fe4de572411631297c (diff)
QtQml: Avoid infinite recursion in Array.join
So far, self-referencing arrays can lead to infinite recursion in Array.join. The standard allows us to throw an exception in this case, just like we already do in ObjectPrototype.toString(). This is not what browsers do, but arguably they are diverging from the spec. Pick-to: 6.10 6.9 6.8 6.5 Fixes: QTBUG-124157 Change-Id: Iac241a90ba7e583e53f52ec635add7b5cf05b200 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io> Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'tests/auto/qml/qmlcppcodegen/tst_qmlcppcodegen.cpp')
0 files changed, 0 insertions, 0 deletions