aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4stringobject.cpp
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2022-08-30 15:20:10 +0200
committerUlf Hermann <ulf.hermann@qt.io>2022-08-31 09:33:02 +0200
commit9d89d0a0902f2e08434939f0b9d13ef376de3de8 (patch)
tree986760a4e8a95de17ffdfd6fc391c99df321e2cc /src/qml/jsruntime/qv4stringobject.cpp
parentb21290a731876d6c26546b48ab339d36cb873745 (diff)
V4: Fix IntryinsicTypeArrayPrototype::method_copyWithin
We cannot cast infinities of type double to integers because the behavior of that operation varies between platforms. Rather, keep all operations in double until we clamp the values to the dimensions of the array. Task-number: QTBUG-100242 Change-Id: Id95e8382cb6a4370586c2b331906273f65b5c82e Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4stringobject.cpp')
0 files changed, 0 insertions, 0 deletions