summaryrefslogtreecommitdiff
path: root/src/qml/jsruntime/qv4regexpobject.cpp
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2020-01-23 11:01:33 +0100
committerUlf Hermann <ulf.hermann@qt.io>2020-01-23 12:45:07 +0100
commit31d05c6734057bed56ac783d4f9d03d3c2ecbcbb (patch)
treef33ebf3a68d34568cbc2a26cdac0f4f782d55e3f /src/qml/jsruntime/qv4regexpobject.cpp
parent6597d990147d21d55449302cb3201e4769e15a2a (diff)
downloadqtdeclarative-31d05c6734057bed56ac783d4f9d03d3c2ecbcbb.tar.gz
ArrayPrototype::method_filter: Check for exception after callback
If there was an exception we cannot assume the returned value holds anything sensible. Also, we should immediately return. Fixes: QTBUG-81581 Change-Id: I822c204c476e05d6de78124b66ab2f939ca38ffd Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4regexpobject.cpp')
0 files changed, 0 insertions, 0 deletions