summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2016-07-08 14:24:42 +0200
committerJoerg Bornemann <joerg.bornemann@qt.io>2016-07-08 13:34:27 +0000
commit3855015600418107485b31b0ec2bfa5b987787e7 (patch)
tree1c06e1c6e4ffcadfc46419a9557175ca378c4d54 /tests
parent7f261437d6a60d1f53624b68ed88fb32bf8c5f1c (diff)
Allow QWebEnginePage::createWindow to return this
Consider a QWebEnginePage subclass that does "return this;" in createWindow. Commit 1f07d2929a made this a no-op to prevent QtWebEngine from crashing. The reason for the crash was access to deleted memory after destroying the current adapter in adoptNewWindow. Defer the adoption in this case to whenever we hit the event loop again. Change-Id: I9674d80ef8b2f301c1446ff505b2486649451ba6 Task-number: QTBUG-42216 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions