diff options
author | Michael BrĂ¼ning <michael.bruning@digia.com> | 2012-12-06 14:06:08 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-12-06 16:18:55 +0100 |
commit | 2e9b46553049d2bcdd244a1908ada3a5faeac073 (patch) | |
tree | c5507e126616a81a03393690aa8903a22fc83b56 /examples/webkitwidgets/browser/browserapplication.cpp | |
parent | 11a7354c9e14ba30dd4504e85ce5c736db3528e0 (diff) | |
download | qtwebkit-examples-2e9b46553049d2bcdd244a1908ada3a5faeac073.tar.gz |
Fix FancyBrowser crash caused by recursion loops.
Using jQuery iterators can cause recursion loops crash when converting
the result set of the call to a QVariant because nextSibling, parentNode
and previousSibling are all enumerable properties and hence get visited
in the conversion to QVariantMap.
The workaround is to append "; undefined" to the evaluated JavaScript
to prevent that the whole iterator set is returned and converted.
Task-number: QTBUG-28378
Change-Id: I92fb43ed823e34a9f68eb2904b0128b656115d74
Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>
Reviewed-by: Pierre Rossi <pierre.rossi@gmail.com>
Diffstat (limited to 'examples/webkitwidgets/browser/browserapplication.cpp')
0 files changed, 0 insertions, 0 deletions